diff --git a/app/src/main/java/fr/free/nrw/commons/utils/ImageUtils.java b/app/src/main/java/fr/free/nrw/commons/utils/ImageUtils.java index 8666739078..9f1e0e6bcf 100644 --- a/app/src/main/java/fr/free/nrw/commons/utils/ImageUtils.java +++ b/app/src/main/java/fr/free/nrw/commons/utils/ImageUtils.java @@ -236,22 +236,22 @@ public static String getErrorMessageForResult(Context context, @Result int resul errorMessage.append(context.getResources().getString(R.string.upload_problem_exist)); if ((IMAGE_DARK & result) != 0 ) { // We are checking image dark bit to see if that bit is set or not - errorMessage.append(context.getResources().getString(R.string.upload_problem_image_dark)); + errorMessage.append("\n - ").append(context.getResources().getString(R.string.upload_problem_image_dark)); } if ((IMAGE_BLURRY & result) != 0 ) { - errorMessage.append(context.getResources().getString(R.string.upload_image_problem_blurry)); + errorMessage.append("\n - ").append(context.getResources().getString(R.string.upload_image_problem_blurry)); } if ((IMAGE_DUPLICATE & result) != 0 ) { - errorMessage.append(context.getResources().getString(R.string.upload_problem_image_duplicate)); + errorMessage.append("\n - ").append(context.getResources().getString(R.string.upload_problem_image_duplicate)); } if ((IMAGE_GEOLOCATION_DIFFERENT & result) != 0 ) { - errorMessage.append(context.getResources().getString(R.string.upload_problem_different_geolocation)); + errorMessage.append("\n - ").append(context.getResources().getString(R.string.upload_problem_different_geolocation)); } - errorMessage.append(context.getResources().getString(R.string.upload_problem_do_you_continue)); + errorMessage.append("\n\n").append(context.getResources().getString(R.string.upload_problem_do_you_continue)); } return errorMessage.toString(); diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index c920561577..82b76389d8 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -237,11 +237,11 @@ This picture is blurry, are you sure you want to upload it? Wikimedia Commons is only for pictures with encyclopedic value. Potential problems with this image: - \n - Image is too dark. - \n - Image is blurry. - \n - Image is already on Commons. - \n - This picture was taken at a different location. - \n\nDo you still want to upload this picture? + Image is too dark. + Image is blurry. + Image is already on Commons. + This picture was taken at a different location. + Do you still want to upload this picture? Give permission Use external storage