mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-21 23:46:56 +02:00
Update TranslatableRichTextViewer.kt
Changed the hyphen to a space to move the word "auto-translated" (and its translations) to "translations_auto" string and "from" (and its translations) to "translated_from" string, as this hyphen only exists in some languages.
This commit is contained in:
@@ -173,7 +173,7 @@ private fun TranslationMessage(
|
||||
text =
|
||||
buildAnnotatedString {
|
||||
appendLink(stringRes(R.string.translations_auto), textColor) { langSettingsPopupExpanded = !langSettingsPopupExpanded }
|
||||
append("-${stringRes(R.string.translations_translated_from)} ")
|
||||
append(" ${stringRes(R.string.translations_translated_from)} ")
|
||||
appendLink(Locale(source).displayName, textColor) { onChangeWhatToShow(true) }
|
||||
append(" ${stringRes(R.string.translations_to)} ")
|
||||
appendLink(Locale(target).displayName, textColor) { onChangeWhatToShow(false) }
|
||||
|
Reference in New Issue
Block a user