Improved Localization in Addons Screen

This commit is contained in:
albyalex96 2026-03-05 15:55:20 +01:00
parent 821a6b864f
commit 07542d2838
3 changed files with 5 additions and 3 deletions

View file

@ -494,7 +494,8 @@
"no_description": "No description available",
"overview": "OVERVIEW",
"no_categories": "No categories",
"pre_installed": "PRE-INSTALLED"
"pre_installed": "PRE-INSTALLED",
"already_installed":"This addon is already installed. Multiple installations are only allowed for stream providers."
},
"trakt": {
"title": "Trakt Settings",

View file

@ -509,7 +509,8 @@
"no_description": "Nessuna descrizione disponibile",
"overview": "PANORAMICA",
"no_categories": "Nessuna categoria",
"pre_installed": "PRE-INSTALLATO"
"pre_installed": "PRE-INSTALLATO",
"already_installed":"Questo addon è già installato. Installazioni multiple sono permesse solo per addon che aggiungono provider di flussi video."
},
"trakt": {
"title": "Impostazioni Trakt",

View file

@ -643,7 +643,7 @@ const AddonsScreen = () => {
if (isAlreadyInstalled && !providesStreams) {
setAlertTitle(t('common.error'));
setAlertMessage('This addon is already installed. Multiple installations are only allowed for stream providers.');
setAlertMessage(t('addons.already_installed'));
setAlertActions([{ label: t('common.ok'), onPress: () => setAlertVisible(false) }]);
setAlertVisible(true);
return;