mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 13:23:58 +01:00
This commit is contained in:
parent
e09ce41df3
commit
102b2d7e56
2 changed files with 10 additions and 10 deletions
|
|
@ -236,22 +236,22 @@ public class ImageUtils {
|
|||
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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue