From 1857590fc9923a8087e8d1c957b573212462506b Mon Sep 17 00:00:00 2001 From: Milos Stojanovic Date: Fri, 17 Apr 2020 17:09:39 +0200 Subject: [PATCH] Italian lang added --- CHANGELOG.md | 2 +- docs/translations/default.md | 1 + frontend/mixins/shared.js | 2 + frontend/translations/italian.js | 80 ++++++++++++++++++++++++++++++++ 4 files changed, 84 insertions(+), 1 deletion(-) create mode 100644 frontend/translations/italian.js diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d6f029..1d65d61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## Upcoming... -* Translations added: Polish +* Translations added: Polish, Italian * Bump symfony, dibi ## 7.3.4 - 2020-03-23 diff --git a/docs/translations/default.md b/docs/translations/default.md index 09ac46b..b07ab8c 100644 --- a/docs/translations/default.md +++ b/docs/translations/default.md @@ -22,6 +22,7 @@ Available languages: - ```french``` - ```slovak``` - ```polish``` +- ```italian``` Please help us translating FileGator to your language by submitting a Pull Request on GitHub. diff --git a/frontend/mixins/shared.js b/frontend/mixins/shared.js index c673235..293523c 100644 --- a/frontend/mixins/shared.js +++ b/frontend/mixins/shared.js @@ -18,6 +18,7 @@ import serbian from '../translations/serbian' import french from '../translations/french' import slovak from '../translations/slovak' import polish from '../translations/polish' +import italian from '../translations/italian' const funcs = { methods: { @@ -45,6 +46,7 @@ const funcs = { 'french': french, 'slovak': slovak, 'polish': polish, + 'italian': italian, } let language = store.state.config.language diff --git a/frontend/translations/italian.js b/frontend/translations/italian.js new file mode 100644 index 0000000..8dd6004 --- /dev/null +++ b/frontend/translations/italian.js @@ -0,0 +1,80 @@ +const data = { + 'Selected': 'Selezionati: {0} di {1}', + 'Uploading files': 'Caricamento {0}% di {1}', + 'File size error': '{0} File troppo grande. Dimensione massima consentita {1}', + 'Upload failed': '{0} Caricamento fallito', + 'Per page': '{0} per pagina', + 'Folder': 'Cartella', + 'Login failed, please try again': 'Username o password non corretti', + 'Already logged in': 'Sei già connesso', + 'Please enter username and password': 'Inserisci username e password', + 'Not Found': 'Nessun risultato', + 'Not Allowed': 'Non consentito', + 'Please log in': 'Per cortesia autenticati', + 'Unknown error': 'Errore sconosciuto', + 'Add files': 'Aggiungi files', + 'New': 'Nuovo', + 'New name': 'Nuovo nome', + 'Username': 'Username', + 'Password': 'Password', + 'Login': 'Entra', + 'Logout': 'Esci', + 'Profile': 'Cambia password', + 'No pagination': 'Uno per pagina', + 'Time': 'Data', + 'Name': 'Nome', + 'Size': 'Dimensione', + 'Home': 'Cartella principale', + 'Copy': 'Copia', + 'Move': 'Sposta', + 'Rename': 'Rinomina', + 'Required': 'Campo obbligatorio', + 'Zip': 'Comprimi', + 'Batch Download': 'Scarica batch', + 'Unzip': 'Estrai', + 'Delete': 'Elimina', + 'Download': 'Scarica', + 'Copy link': 'Copia collegamento', + 'Done': 'Completato', + 'File': 'File', + 'Drop files to upload': 'Trascina i files che vuoi caricare', + 'Close': 'Chiudi', + 'Select Folder': 'Seleziona cartella', + 'Users': 'Utenti', + 'Files': 'Files', + 'Role': 'Ruolo', + 'Cancel': 'Annulla', + 'Paused': 'Sospeso', + 'Confirm': 'Elimina', + 'Create': 'Crea', + 'User': 'Utente', + 'Admin': 'Amministratore', + 'Save': 'Salva', + 'Read': 'Lettura', + 'Write': 'Scrittura', + 'Upload': 'Caricamento', + 'Permissions': 'Permessi', + 'Homedir': 'Cartella principale', + 'Leave blank for no change': 'Lascia in bianco per non effettuare modifiche', + 'Are you sure you want to do this?': 'Sei sicuro di voler eliminare gli elementi selezionati?', + 'Are you sure you want to allow access to everyone?': 'Sei sicuro di voler consentire libero accesso a tutti?', + 'Are you sure you want to stop all uploads?': 'Vuoi sospendere tutti i caricamenti?', + 'Something went wrong': 'Qualcosa é andato storto', + 'Invalid directory': 'Cartella non corretta', + 'This field is required': 'Questo campo é obbligatorio', + 'Username already taken': 'Username giá esistente', + 'User not found': 'Utente non trovato', + 'Old password': 'Vecchia password', + 'New password': 'Nuova password', + 'Wrong password': 'Password errata', + 'Updated': 'Aggiornato', + 'Deleted': 'Eliminato', + 'Your file is ready': 'Il tuo file è disponibile', + 'View': 'Leggi', + 'Search': 'Cerca', + 'Download permission': 'Scarica', + 'Guest': 'Guest', +} + +export default data +