i18n edited_suffix

This commit is contained in:
Benoit Marty 2019-07-10 15:29:52 +02:00
parent 06699eaefc
commit d613abf4b4
2 changed files with 3 additions and 2 deletions

View file

@ -311,8 +311,7 @@ class MessageItemFactory @Inject constructor(
editSummary: EditAggregatedSummary?): SpannableStringBuilder {
val spannable = SpannableStringBuilder()
spannable.append(linkifiedBody)
// TODO i18n
val editedSuffix = "(edited)"
val editedSuffix = stringProvider.getString(R.string.edited_suffix)
spannable.append(" ").append(editedSuffix)
val color = colorProvider.getColorFromAttribute(R.attr.vctr_list_header_secondary_text_color)
val editStart = spannable.indexOf(editedSuffix)

View file

@ -14,5 +14,7 @@
<string name="downloading_file">Downloading file %1$s…</string>
<string name="downloaded_file">File %1$s has been downloaded!</string>
<string name="edited_suffix">"(edited)"</string>
</resources>