mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 13:38:49 +03:00
i18n edited_suffix
This commit is contained in:
parent
06699eaefc
commit
d613abf4b4
2 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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>
|
Loading…
Reference in a new issue