mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 04:13:53 +01:00
Change filename to username in toasts about sending thanks (#6467)
This fixes #6466. Also fix the messages themselves a bit: * Removed "successfully" from the success message. This word is usually redundant, because the message already says that it was done. (In MediaWiki, there's a specific convention about it: https://www.mediawiki.org/wiki/Help:System_message#Avoid_jargon_and_slanghttps://www.mediawiki.org/wiki/Help:System_message#Avoid_jargon_and_slang ) * Added a missing preposition to the failure message. Co-authored-by: Nicolas Raoul <nicolas.raoul@gmail.com>
This commit is contained in:
parent
adb6181e9f
commit
dd1814c793
2 changed files with 4 additions and 4 deletions
|
|
@ -1027,12 +1027,12 @@ class MediaDetailFragment : CommonsDaggerSupportFragment(), CategoryEditHelper.C
|
|||
val message: String = if (result) {
|
||||
context.getString(
|
||||
R.string.send_thank_success_message,
|
||||
media!!.displayTitle
|
||||
media!!.user
|
||||
)
|
||||
} else {
|
||||
context.getString(
|
||||
R.string.send_thank_failure_message,
|
||||
media!!.displayTitle
|
||||
media!!.user
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -493,8 +493,8 @@ Upload your first media by tapping on the add button.</string>
|
|||
<string name="check_category_toast">Requesting category check for %1$s</string>
|
||||
<string name="nominate_for_deletion_done">Done</string>
|
||||
<string name="send_thank_success_title">Sending Thanks: Success</string>
|
||||
<string name="send_thank_success_message">Successfully sent thanks to %1$s</string>
|
||||
<string name="send_thank_failure_message">Failed to send thanks %1$s</string>
|
||||
<string name="send_thank_success_message">Sent thanks to %1$s</string>
|
||||
<string name="send_thank_failure_message">Failed to send thanks to %1$s</string>
|
||||
<string name="send_thank_failure_title">Sending Thanks: Failure</string>
|
||||
|
||||
<string name="send_thank_toast">Sending Thanks for %1$s</string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue