feat(i18n): add Italian translation
This commit is contained in:
@@ -10,6 +10,7 @@ import bgTranslations from './locales/bg.json' with {type: 'json'};
|
|||||||
import csTranslations from './locales/cs.json' with {type: 'json'};
|
import csTranslations from './locales/cs.json' with {type: 'json'};
|
||||||
import plTranslations from './locales/pl.json' with {type: 'json'};
|
import plTranslations from './locales/pl.json' with {type: 'json'};
|
||||||
import esTranslations from './locales/es.json' with {type: 'json'};
|
import esTranslations from './locales/es.json' with {type: 'json'};
|
||||||
|
import itTranslations from './locales/it.json' with {type: 'json'};
|
||||||
|
|
||||||
export {
|
export {
|
||||||
SUPPORTED_LANGUAGES,
|
SUPPORTED_LANGUAGES,
|
||||||
@@ -45,6 +46,7 @@ const translationsMap: Record<string, Translations> = {
|
|||||||
cs: csTranslations,
|
cs: csTranslations,
|
||||||
pl: plTranslations,
|
pl: plTranslations,
|
||||||
es: esTranslations,
|
es: esTranslations,
|
||||||
|
it: itTranslations,
|
||||||
};
|
};
|
||||||
|
|
||||||
// In-memory cache for loaded translations
|
// In-memory cache for loaded translations
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ export const SUPPORTED_LANGUAGES: Language[] = [
|
|||||||
{code: 'cs', name: 'Czech', nativeName: 'Čeština', flag: '🇨🇿'},
|
{code: 'cs', name: 'Czech', nativeName: 'Čeština', flag: '🇨🇿'},
|
||||||
{code: 'pl', name: 'Polish', nativeName: 'Polski', flag: '🇵🇱'},
|
{code: 'pl', name: 'Polish', nativeName: 'Polski', flag: '🇵🇱'},
|
||||||
{code: 'es', name: 'Spanish (Spain)', nativeName: 'Español (España)', flag: '🇪🇸'},
|
{code: 'es', name: 'Spanish (Spain)', nativeName: 'Español (España)', flag: '🇪🇸'},
|
||||||
|
{code: 'it', name: 'Italian', nativeName: 'Italiano', flag: '🇮🇹'},
|
||||||
];
|
];
|
||||||
|
|
||||||
export const DEFAULT_LANGUAGE = 'en';
|
export const DEFAULT_LANGUAGE = 'en';
|
||||||
|
|||||||
@@ -0,0 +1,45 @@
|
|||||||
|
{
|
||||||
|
"pages": {
|
||||||
|
"unsubscribe": {
|
||||||
|
"title": "Annulla l'iscrizione",
|
||||||
|
"description": "Ci dispiace vederti andare via. Sei sicuro di voler annullare l'iscrizione per {email} dalla ricezione di e-mail?",
|
||||||
|
"button": "Annulla iscrizione",
|
||||||
|
"buttonLoading": "Annullamento in corso...",
|
||||||
|
"managePreferences": "Gestisci invece le preferenze",
|
||||||
|
"successTitle": "Iscrizione annullata",
|
||||||
|
"successDescription": "L'iscrizione per {email} è stata annullata. Non riceverai più nostre e-mail.",
|
||||||
|
"changedMind": "Hai cambiato idea?",
|
||||||
|
"subscribeAgain": "Iscriviti di nuovo"
|
||||||
|
},
|
||||||
|
"subscribe": {
|
||||||
|
"title": "Iscriviti agli aggiornamenti",
|
||||||
|
"description": "Vuoi iscrivere {email} per ricevere e-mail?",
|
||||||
|
"button": "Iscriviti",
|
||||||
|
"buttonLoading": "Iscrizione in corso...",
|
||||||
|
"successTitle": "Ti sei iscritto!",
|
||||||
|
"successDescription": "{email} è ora iscritto per ricevere nostre e-mail."
|
||||||
|
},
|
||||||
|
"manage": {
|
||||||
|
"title": "Gestisci le preferenze",
|
||||||
|
"description": "Gestisci le preferenze e-mail per {email}",
|
||||||
|
"subscriptionLabel": "Iscrizione e-mail",
|
||||||
|
"subscribedStatus": "Al momento sei iscritto per ricevere e-mail",
|
||||||
|
"unsubscribedStatus": "Al momento l'iscrizione alle e-mail è annullata",
|
||||||
|
"subscribedSuccess": "Iscrizione avvenuta con successo!",
|
||||||
|
"unsubscribedSuccess": "Iscrizione annullata con successo!",
|
||||||
|
"unsubscribeCompletely": "Annulla completamente l'iscrizione",
|
||||||
|
"subscribeToEmails": "Iscriviti alle e-mail",
|
||||||
|
"disclaimer": "Questa pagina ti consente di gestire le tue preferenze e-mail. Lo stato della tua iscrizione viene aggiornato in tempo reale."
|
||||||
|
},
|
||||||
|
"common": {
|
||||||
|
"loading": "Caricamento in corso...",
|
||||||
|
"error": "Errore"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"email": {
|
||||||
|
"footer": {
|
||||||
|
"unsubscribeText": "Hai ricevuto questa e-mail perché hai accettato di ricevere e-mail da {projectName}. Se non desideri più ricevere e-mail di questo tipo, ti preghiamo di",
|
||||||
|
"updatePreferences": "aggiornare le tue preferenze"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user