AI Settings Screen Localization Improvements and Support

This commit is contained in:
cyberalby2 2026-03-16 14:19:20 +01:00
parent 97513ab3cc
commit 0f7b7cbdf5
3 changed files with 10 additions and 4 deletions

View file

@ -925,7 +925,10 @@
"confirm_remove_title": "Remove API Key",
"confirm_remove_msg": "Are you sure you want to remove your OpenRouter API key? This will disable AI chat features.",
"success_removed": "API key removed successfully",
"error_remove": "Failed to remove API key"
"using":"Using",
"error_remove": "Failed to remove API key",
"free_routing":"free automatic routing",
"paid_plan":"Use a custom OpenRouter model ID (useful for paid plans)"
},
"catalog_settings": {
"title": "Catalogs",

View file

@ -909,7 +909,10 @@
"confirm_remove_title": "Rimuovi Chiave API",
"confirm_remove_msg": "Sei sicuro di voler rimuovere la tua chiave API OpenRouter? Questo disabiliterà le funzioni di chat IA.",
"success_removed": "Chiave API rimossa con successo",
"error_remove": "Impossibile rimuovere la chiave API"
"error_remove": "Impossibile rimuovere la chiave API",
"using":"In uso",
"free_routing":"scelta modello gratuito automatica",
"paid_plan":"Usa un ID di un modello custom di OpenRouter (utile in caso di piani a pagamento)"
},
"catalog_settings": {
"title": "Cataloghi",

View file

@ -286,8 +286,8 @@ const AISettingsScreen: React.FC = () => {
</View>
<Text style={[styles.description, { color: currentTheme.colors.mediumEmphasis }]}>
{useDefaultModel
? `Using ${DEFAULT_OPENROUTER_MODEL} (free automatic routing).`
: 'Use a custom OpenRouter model ID (useful for paid plans).'}
? `${t('ai_settings.using')} ${DEFAULT_OPENROUTER_MODEL} (${t('ai_settings.free_routing')}).`
: `${t('ai_settings.paid_plan')}`}
</Text>
{!useDefaultModel && (
<TextInput