Skip to content

Commit

Permalink
Merge pull request #59 from ZiClaud/it-lang
Browse files Browse the repository at this point in the history
Added Italian language
  • Loading branch information
XengShi authored Oct 15, 2024
2 parents 9a64ee2 + 31456da commit cb5d377
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@ <h1>Material You NewTab</h1>
<option value="hi">हिन्दी (Hindi)</option>
<option value="zh">中文 (Chinese)</option>
<option value="cs">Čeština (Czech)</option>
<option value="it">Italiano (Italian)</option>
</select>
<!-- end of languageSelector -->
</div>
Expand Down
35 changes: 34 additions & 1 deletion languages.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,40 @@ const translations = {
"ai_tools": "AI nástroje",
"userText": "Upravit dvojklikem",
// End of Body Itens
}
},
"it": {
// Menu Items
"shortcutsText": "Scorciatoie",
"enableShortcutsText": "Abilita/disabilita scorciatoie",
"ai_tools_button": "Strumenti AI",
"enable_ai_tools": "Abilita/disabilita scorciatoie Strumenti AI",
"fahrenheitCelciusCheckbox": "Passa a Fahrenheit",
"fahrenheitCelciusText": "Ricarica la pagina per vedere gli aggiornamenti",
"WeatherApiText": "Inserisci la tua chiave WeatherAPI",
"WeatherApiSubtext": "Se la funzionalità meteo non funziona",
"LearnMoreButton": "Scopri di più",
"saveAPI": "Invia",
// End of Menu Items

// Body Items
// Calendar
"days": ['Domenica', 'Lunedì', 'Martedì', 'Mercoledì', 'Giovedì', 'Venerdì', 'Sabato'],
"months": ['Gennaio', 'Febbraio', 'Marzo', 'Aprile', 'Maggio', 'Giugno', 'Luglio', 'Agosto', 'Settembre', 'Ottobre', 'Novembre', 'Dicembre'],
// End of Calendar

// Weather
"humidityText": "Umidità",
"feelsLike": "Percepito",
// End of Weather

"conditionText": "Ciao! Come stai oggi?",
"enterBtn": "Invia",
"searchPlaceholder": "Cerca...",
"searchWithHint": "Cerca con",
"ai_tools": "Strumenti AI",
"userText": "Clicca per modificare",
// End of Body Items
},
};

// Function to apply the language to the page
Expand Down

0 comments on commit cb5d377

Please sign in to comment.