From f5289cb3d3f74fe5c4bdf73e3d9c4f740d26034d Mon Sep 17 00:00:00 2001 From: Neil Rizen <33267501+newrizen@users.noreply.github.com> Date: Fri, 29 Aug 2025 21:52:48 -0300 Subject: [PATCH] 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. --- .../amethyst/ui/components/TranslatableRichTextViewer.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amethyst/src/play/java/com/vitorpamplona/amethyst/ui/components/TranslatableRichTextViewer.kt b/amethyst/src/play/java/com/vitorpamplona/amethyst/ui/components/TranslatableRichTextViewer.kt index 70b6c2de8..0a0d3f2ec 100644 --- a/amethyst/src/play/java/com/vitorpamplona/amethyst/ui/components/TranslatableRichTextViewer.kt +++ b/amethyst/src/play/java/com/vitorpamplona/amethyst/ui/components/TranslatableRichTextViewer.kt @@ -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) }