diff --git a/app/src/main/java/com/owncloud/android/utils/ErrorMessageAdapter.java b/app/src/main/java/com/owncloud/android/utils/ErrorMessageAdapter.java index a53b6d99f3..abde01affd 100644 --- a/app/src/main/java/com/owncloud/android/utils/ErrorMessageAdapter.java +++ b/app/src/main/java/com/owncloud/android/utils/ErrorMessageAdapter.java @@ -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())) { diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 3e91ba7bc3..28a810398b 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -831,6 +831,7 @@ Sync conflict, please resolve manually Cannot create local file File could not be copied to local storage + Storage quota exceeded Server not available Delete entries Dismiss notification