Skip to content

Commit

Permalink
Translation updates
Browse files Browse the repository at this point in the history
Translation fallback
Update translations does not pull empty string translations
Portuguese (European) support
Slovak language support
  • Loading branch information
jameskokoska committed Mar 22, 2024
1 parent 6402587 commit b440b2f
Show file tree
Hide file tree
Showing 16 changed files with 2,626 additions and 1,141 deletions.
1 change: 1 addition & 0 deletions budget/assets/translations/generate-translations.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
print("Current Language - " + lang)
current_lang_data = {}
for row in rows[2:]:
if row[current_lang_index]=="": continue
current_lang_data[row[0]] = row[current_lang_index]

# Write the JSON file
Expand Down
2 changes: 1 addition & 1 deletion budget/assets/translations/generated/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"greetings-general-4": "Cómo estás",
"greetings-general-5": "Qué pasa",
"greetings-general-6": "Hola",
"greetings-general-7": "Espero que todo este bien",
"greetings-general-7": "Hola",
"greetings-morning-1": "Buenos dias",
"greetings-morning-2": "Buen día",
"greetings-afternoon-1": "Buenas tardes",
Expand Down
2 changes: 1 addition & 1 deletion budget/assets/translations/generated/fi.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"greetings-general-4": "Mitä kuuluu",
"greetings-general-5": "Miten menee",
"greetings-general-6": "Hei siellä",
"greetings-general-7": "Toivottavasti kaikki on hyvin",
"greetings-general-7": "Hei",
"greetings-morning-1": "Hyvää huomenta",
"greetings-morning-2": "Hyvää päivää",
"greetings-afternoon-1": "Hyvää iltapäivää",
Expand Down
2 changes: 1 addition & 1 deletion budget/assets/translations/generated/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"greetings-general-4": "Comment allez-vous",
"greetings-general-5": "Quoi de neuf",
"greetings-general-6": "Bonjour",
"greetings-general-7": "J'espère que tout va bien",
"greetings-general-7": "Salut",
"greetings-morning-1": "Bonjour",
"greetings-morning-2": "Bonne journée",
"greetings-afternoon-1": "Bon après-midi",
Expand Down
2 changes: 1 addition & 1 deletion budget/assets/translations/generated/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"greetings-general-4": "Hoe is het",
"greetings-general-5": "Wat is er",
"greetings-general-6": "Hallo daar",
"greetings-general-7": "Hoop dat alles goed gaat",
"greetings-general-7": "Hoi",
"greetings-morning-1": "Goedemorgen",
"greetings-morning-2": "Goededag",
"greetings-afternoon-1": "Goedemiddag",
Expand Down
2 changes: 1 addition & 1 deletion budget/assets/translations/generated/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"greetings-general-4": "Jak się masz",
"greetings-general-5": "Co słychać",
"greetings-general-6": "Witaj",
"greetings-general-7": "Mam nadzieję, że wszystko w porządku",
"greetings-general-7": "Cześć",
"greetings-morning-1": "Dzień dobry",
"greetings-morning-2": "Dobrego dnia",
"greetings-afternoon-1": "Dzień dobry",
Expand Down
1,103 changes: 1,103 additions & 0 deletions budget/assets/translations/generated/pt-PT.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions budget/assets/translations/generated/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@
"greetings-general-4": "Como vai você?",
"greetings-general-5": "E aí",
"greetings-general-6": "Olá",
"greetings-general-7": "Espero que esteja tudo bem",
"greetings-general-7": "Olá",
"greetings-morning-1": "Dia!",
"greetings-morning-2": "Bom dia",
"greetings-afternoon-1": "Boa tarde",
"greetings-afternoon-2": "Tarde!",
"greetings-evening-1": "",
"greetings-late-1": "",
"greetings-late-2": "",
"greetings-evening-1": "Boa noite",
"greetings-late-1": "Boa noite",
"greetings-late-2": "Descanse um bocadinho",
"all-spending": "Todos os gastos",
"edit-data": "Editar dados",
"account-details": "Detalhes da conta",
Expand Down
1 change: 0 additions & 1 deletion budget/assets/translations/generated/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,6 @@
"backup-frequency": "Частота резервной копии",
"number-of-days": "Количество дней",
"backup-limit": "Лимит резервного копирования",
"change-limit": "",
"change-limit-warning": "Если вы уменьшите предел резервного копирования, то при следующем резервном копировании будут удалены все старые резервные копии, которые превышают новый предел",
"change": "Изменять",
"load-backup": "Резервное копирование загрузки?",
Expand Down
Loading

0 comments on commit b440b2f

Please sign in to comment.