Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/helpers/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand All @@ -30,6 +31,7 @@ const languages: Record<string, string> = {
ar: 'العربية', // Arabic
pt: 'Português', // Portuguese
id: 'Indonesia', // Indonesia
it: 'Italiano', // Italian
};

i18next.init({
Expand Down Expand Up @@ -75,6 +77,9 @@ i18next.init({
id: {
translation: idTranslation,
},
it: {
translation: itTranslation,
},
},
});

Expand Down
57 changes: 57 additions & 0 deletions src/locales/it.json
Original file line number Diff line number Diff line change
@@ -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=<your token>`": "Per favore imposta la tua chiave API OpenAI tramite `ai config set OPENAI_KEY=<your token>`",
"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"
}