mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 17:46:37 +03:00
Use custom quota exceeded error message
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
This commit is contained in:
parent
37e0d2eda3
commit
09127827a3
2 changed files with 4 additions and 0 deletions
|
@ -437,6 +437,9 @@ public final class ErrorMessageAdapter {
|
|||
} else if (result.getCode() == ResultCode.ACCOUNT_NOT_THE_SAME) {
|
||||
message = res.getString(R.string.auth_account_not_the_same);
|
||||
|
||||
} else if (result.getCode() == ResultCode.QUOTA_EXCEEDED) {
|
||||
message = res.getString(R.string.upload_quota_exceeded);
|
||||
|
||||
}
|
||||
|
||||
else if (!TextUtils.isEmpty(result.getHttpPhrase())) {
|
||||
|
|
|
@ -831,6 +831,7 @@
|
|||
<string name="upload_sync_conflict">Sync conflict, please resolve manually</string>
|
||||
<string name="upload_cannot_create_file">Cannot create local file</string>
|
||||
<string name="upload_local_storage_not_copied">File could not be copied to local storage</string>
|
||||
<string name="upload_quota_exceeded">Storage quota exceeded</string>
|
||||
<string name="host_not_available">Server not available</string>
|
||||
<string name="delete_entries">Delete entries</string>
|
||||
<string name="dismiss_notification_description">Dismiss notification</string>
|
||||
|
|
Loading…
Reference in a new issue