Skip to content

Commit

Permalink
add italian to list of languages
Browse files Browse the repository at this point in the history
  • Loading branch information
AmyrAhmady committed Nov 12, 2023
1 parent ebaf83a commit 3071552
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
6 changes: 5 additions & 1 deletion src/locales/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import English from "./translations/en";
import Spanish from "./translations/es";
import Farsi from "./translations/fa";
import Filipino from "./translations/fil";
import Italian from "./translations/it";

i18n.use(initReactI18next).init({
// we init with resources
Expand All @@ -20,8 +21,11 @@ i18n.use(initReactI18next).init({
fil: {
translations: Filipino,
},
it: {
translations: Italian,
},
},
fallbackLng: "fil",
fallbackLng: "en",
debug: true,

// have a common namespace used around the full app
Expand Down
12 changes: 8 additions & 4 deletions src/locales/translations/it.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,17 @@ export default {
minimize: "Riduci a Icona",
maximize: "Ingrandisci",
close: "Chiudi",
add_server_modal_description_1: "Aggiungi manualmente un server alla lista dei preferiti.",
add_server_modal_description_1:
"Aggiungi manualmente un server alla lista dei preferiti.",
add_server_modal_description_2: "Esempio: 127.0.0.1:7777",
add: "Aggiungi",
server: "Server",
address: "IP",
players: "Players",
server_join_prompt_enter_password:
"Questo server è protetto, inserisci la password.",
server_join_prompt_enter_password_input_placeholder: "Inserisci la password...",
server_join_prompt_enter_password_input_placeholder:
"Inserisci la password...",
server_join_prompt_nickname_input_placeholder: "Inserisci un Nickname...",
connect: "Play",
copy: "Copia",
Expand All @@ -43,7 +45,8 @@ export default {
play: "Play",
remove_selected_server_from_favorites:
"Rimuovi il Server Selezionato dai Preferiti",
add_selected_server_to_favorites: "Aggiungi il Server Selezionato ai Preferiti",
add_selected_server_to_favorites:
"Aggiungi il Server Selezionato ai Preferiti",
add_server: "Aggiungi Server",
hide_player_and_rule_list: "Nascondi lista player e regole",
show_player_and_rule_list: "Mostra lista player e regole",
Expand All @@ -56,7 +59,8 @@ export default {
settings_import_samp_favorite_list: "Imposta lista preferiti da SA-MP",
settings_reset_application_data:
"Ripristina dati dell'app (elimina impostazioni e liste)",
settings_new_update_available: "⚠ Nuovo Aggiornamento Disponibile. Clicca per Scaricare! ⚠",
settings_new_update_available:
"⚠ Nuovo Aggiornamento Disponibile. Clicca per Scaricare! ⚠",
settings_credits_made_by: "Realizzato con ❤️ da",
settings_credits_view_source_on_github: "Guarda il codice sorgente su GitHub",
update_modal_update_available_title: "Aggiornamento Disponibile!",
Expand Down

0 comments on commit 3071552

Please sign in to comment.