TMDB Settings Screen Localization Fix

This commit is contained in:
cyberalby2 2026-03-06 23:57:49 +01:00
parent eb852ca8fb
commit 598561a88f
3 changed files with 10 additions and 4 deletions

View file

@ -629,7 +629,9 @@
"key_verified": "API key verified and saved successfully.",
"disclaimer_part_one": "This product uses the TMDB API but is not",
"disclaimer_part_two": "endorsed or certified by TMDB.",
"done": "Done"
"done": "Done",
"current":"Current:",
"fallback_to_available":"(fallback to available)"
},
"settings": {
"language": "Language",

View file

@ -629,7 +629,10 @@
"key_verified": "Chiave API verificata e salvata con successo.",
"disclaimer_part_one": "Questo prodotto usa l'API di TMDB ",
"disclaimer_part_two": "ma non è sponsorizzato nè certificato da TMDB.",
"done": "Fatto"
"done": "Fatto",
"current": "Attuale:",
"fallback_to_available":"(usa disponibile)"
},
"settings": {
"language": "Lingua",

View file

@ -721,7 +721,8 @@ const TMDBSettingsScreen = () => {
{ color: currentTheme.colors.mediumEmphasis },
]}
>
Current: {(settings.tmdbLanguagePreference || 'en').toUpperCase()}
{t('tmdb_settings.current')}{' '}
{(settings.tmdbLanguagePreference || 'en').toUpperCase()}
</Text>
</View>
<TouchableOpacity
@ -822,7 +823,7 @@ const TMDBSettingsScreen = () => {
{ color: currentTheme.colors.mediumEmphasis },
]}
>
{`Language: ${(previewLanguage || '').toUpperCase() || 'N/A'}${isPreviewFallback ? ' (fallback to available)' : ''}`}
{`${t('tmdb_settings.language')}: ${(previewLanguage || '').toUpperCase() || 'N/A'} ${isPreviewFallback ? t('tmdb_settings.fallback_to_available') : ''}`}
</Text>
)}
</View>