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:
Neil Rizen
2025-08-29 21:52:48 -03:00
committed by GitHub
parent 0064a4c596
commit f5289cb3d3

View File

@@ -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) }