From 0533cb718c7687bf57b5a52de975f6e304d66dee Mon Sep 17 00:00:00 2001 From: loviuz Date: Sun, 28 Dec 2025 23:09:22 +0100 Subject: [PATCH] feat: added italian translation --- src/helpers/i18n.ts | 5 ++++ src/locales/it.json | 57 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 src/locales/it.json diff --git a/src/helpers/i18n.ts b/src/helpers/i18n.ts index c62f0af7..dce78669 100644 --- a/src/helpers/i18n.ts +++ b/src/helpers/i18n.ts @@ -12,6 +12,7 @@ import viTranslation from '../locales/vi.json'; import arTranslation from '../locales/ar.json'; import ptTranslation from '../locales/pt.json'; import idTranslation from '../locales/id.json'; +import itTranslation from '../locales/it.json'; let currentlang: string = 'en'; @@ -30,6 +31,7 @@ const languages: Record = { ar: 'العربية', // Arabic pt: 'Português', // Portuguese id: 'Indonesia', // Indonesia + it: 'Italiano', // Italian }; i18next.init({ @@ -75,6 +77,9 @@ i18next.init({ id: { translation: idTranslation, }, + it: { + translation: itTranslation, + }, }, }); diff --git a/src/locales/it.json b/src/locales/it.json new file mode 100644 index 00000000..3aacb143 --- /dev/null +++ b/src/locales/it.json @@ -0,0 +1,57 @@ +{ + "Starting new conversation": "Avvia una nuova conversazione", + "Goodbye!": "Arrivederci!", + "send a message ('exit' to quit)": "invia un messaggio ('exit' per uscire)", + "Please enter a prompt.": "Per favore inserisci un prompt.", + "THINKING...": "pensando...", + "Please set your OpenAI API key via `ai config set OPENAI_KEY=`": "Per favore imposta la tua chiave API OpenAI tramite `ai config set OPENAI_KEY=`", + "Set config": "Imposta la configurazione", + "Enter your OpenAI API key": "Inserisci la tua chiave API OpenAI", + "(not set)": "(non impostato)", + "OpenAI Key": "Chiave OpenAI", + "Please enter a key": "Per favore inserisci una chiave", + "OpenAI API Endpoint": "Endpoint API OpenAI", + "Enter your OpenAI API Endpoint": "Inserisci il tuo endpoint API OpenAI", + "Silent Mode": "Modalità silenziosa", + "Enable silent mode?": "Abilitare la modalità silenziosa?", + "Model": "Modello", + "Enter the model you want to use": "Inserisci il modello che vuoi utilizzare", + "Language": "Lingua", + "Enter the language you want to use": "Inserisci la lingua che vuoi utilizzare", + "What would you like me to do?": "Cosa vorresti che facessi?", + "delete all log files": "elimina tutti i file di log", + "list js files": "elenca i file js", + "fetch me a random joke": "raccontami una barzelletta", + "list all commits": "elenca tutti i commit", + "Say hello": "Saluta", + "you can edit script here": "puoi modificare lo script qui", + "What would you like me to change in this script?": "Cosa vorresti che cambiassi in questo script?", + "e.g.": "es.", + "e.g. change the folder name": "es. cambia il nome della cartella", + "Your script": "Il tuo script", + "Loading...": "Caricamento...", + "Getting explanation...": "Ottieni spiegazione...", + "Explanation": "Spiegazione", + "Run this script?": "Esegui questo script?", + "Revise this script?": "Rivedi questo script?", + "Yes": "Si", + "Lets go!": "Vai!", + "Edit": "Modifica", + "Make some adjustments before running": "Fai alcune modifiche prima di eseguire", + "Revise": "Revisiona", + "Give feedback via prompt and get a new result": "Dai un feedback tramite prompt e ottieni un nuovo risultato", + "Copy": "Copia", + "Copy the generated script to your clipboard": "Copia lo script generato negli appunti", + "Cancel": "Annulla", + "Exit the program": "Esci dal programma", + "Running": "Esecuzione", + "Copied to clipboard!": "Copiato negli appunti!", + "Your new script": "Il tuo nuovo script", + "Invalid config property": "Proprietà di configurazione non valida", + "Shell detection failed unexpectedly": "Rilevamento shell fallito inaspettatamente", + "Invalid model": "Modello non valido", + "Error": "Errore", + "Please open a Bug report with the information above": "Apri un report di bug con le informazioni sopra", + "Prompt to run": "Prompt da eseguire", + "You": "Tu" +}