Use specific term "image" in error UI, not "attachment" (#2592)

The new message for the crop feature, "The attachment could not be edited.", turned out to be awkward in some languages (French) where according to the translator it would be better to more specifically say "The image could not be edited." (as currently we can only edit images). Patch replaces error_media_edit_failed with a error_image_edit_failed and deletes the existing error_media_edit_failed-s.
This commit is contained in:
mcclure 2022-06-21 16:14:11 -04:00 committed by GitHub
commit 3ca8a0b549
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 2 additions and 12 deletions

View file

@ -177,7 +177,7 @@ class ComposeActivity :
Log.w("ComposeActivity", "Edit image cancelled by user")
} else {
Log.w("ComposeActivity", "Edit image failed: " + result.error)
displayTransientError(R.string.error_media_edit_failed)
displayTransientError(R.string.error_image_edit_failed)
}
viewModel.cropImageItemOld = null
}