fix some string resources

This commit is contained in:
jonasgaudian
2026-02-13 15:21:37 +01:00
parent b3e73db956
commit 391fe403ad
5 changed files with 8 additions and 10 deletions

View File

@@ -143,7 +143,7 @@ class TranslationService(private val context: Context) {
playable = TextToSpeechHelper.isPlayable(context, targetLang),
sourceText = sentence,
// FIXED: Removed translatedText = fixed
translationSource = context.getString(R.string.translation_server),
translationSource = context.getString(R.string.label_translation_server),
translationModel = null
)
}
@@ -204,7 +204,7 @@ class TranslationService(private val context: Context) {
targetLanguageCode = targetLang.nameResId,
sourceText = word,
// FIXED: Removed translatedText = fixed
translationSource = context.getString(R.string.translation_server),
translationSource = context.getString(R.string.label_translation_server),
translationModel = null
)
}

View File

@@ -146,7 +146,7 @@ fun CategoryProgressWidget(
SecondaryButton(
onClick = onViewAllClicked,
text = stringResource(id = R.string.text_view_all),
text = stringResource(id = R.string.label_all_categories),
icon = AppIcons.ArrowForward
)
}

View File

@@ -647,7 +647,7 @@
<string name="text_frequent">Sehr häufig</string>
<string name="text_very_frequent">Äußerst häufig</string>
<string name="label_ai_model">KI-Modell</string>
<string name="translation_server">Übersetzungsserver</string>
<string name="label_translation_server">Übersetzungsserver</string>
<string name="text_text">Text</string>
<string name="text_enter_a_text_to_extract">Gib einen Text ein, um Wörter zu extrahieren und zu übersetzen</string>
<string name="label_enter_a_text">Gib einen Text ein</string>

View File

@@ -642,7 +642,7 @@
<string name="text_frequent">Frequente</string>
<string name="text_very_frequent">Muito Frequente</string>
<string name="label_ai_model">Modelo de IA</string>
<string name="translation_server">Servidor de Tradução</string>
<string name="label_translation_server">Servidor de Tradução</string>
<string name="text_text">Texto</string>
<string name="text_enter_a_text_to_extract">Insira um texto para extrair palavras e traduzir</string>
<string name="label_enter_a_text">Insira um texto</string>
@@ -707,10 +707,7 @@
<string name="text_delete_vocabulary_item">Excluir Item do Vocabulário?</string>
<string name="text_are_you_sure_delete_vocabulary_item">Tem certeza de que deseja excluir este item do vocabulário?</string>
<string name="label_origin_language">Idioma de Origem</string>
<string name="label_target_language">Língua Alvo</string>
<string name="label_language_direction">Direção da Língua
</string>
<string name="text_language_direction_explanation">Você pode definir uma preferência opcional de qual língua vem primeiro ou segundo.</string>
<string name="label_guessing_exercise">Chutando</string>
<string name="label_spelling_exercise">Ortografia</string>
<string name="label_multiple_choice_exercise">Múltipla Escolha</string>

View File

@@ -1000,7 +1000,7 @@
<string name="translate_the_following_d">Translate the following (%1$s):</string>
<string name="translation_prompt_settings">Translation Prompt Settings</string>
<string name="translation_server">Translation Server</string>
<string name="label_translation_server">Translation Server</string>
<string name="try_again">Try Again</string>
@@ -1049,4 +1049,5 @@
<string name="label_auto_cycle_dev">Auto Cycle (Dev)</string>
<string name="label_regenerate">Regenerate</string>
<string name="label_read_aloud">Read Aloud</string>
<string name="label_all_categories">All Categories</string>
</resources>