Skip to content

Commit

Permalink
Translate language selection #327
Browse files Browse the repository at this point in the history
  • Loading branch information
Levminer committed Dec 8, 2024
1 parent 798fb2e commit 6f79f66
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 2 deletions.
2 changes: 2 additions & 0 deletions interface/utils/language/de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,5 +161,7 @@ export const localeDE: typeof localeEN = {
showLogsButton: "Logs anzeigen",
aboutAuthme: "Über Authme",
aboutAuthmeText: "Informationen zu Ihrem Authme-Build und Ihrem Computer.",
language: "Language",
languageText: "Select your preferred language. By default it will be the system language.",
},
}
2 changes: 2 additions & 0 deletions interface/utils/language/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,5 +159,7 @@ export const localeEN = {
showLogsButton: "Show logs",
aboutAuthme: "About Authme",
aboutAuthmeText: "Information about your Authme build and your computer.",
language: "Language",
languageText: "Select your preferred language. By default it will be the system language.",
},
}
2 changes: 2 additions & 0 deletions interface/utils/language/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,5 +161,7 @@ export const localeES: typeof localeEN = {
showLogsButton: "Mostrar logs",
aboutAuthme: "Sobre Authme",
aboutAuthmeText: "Información sobre su compilación de Authme y su computadora.",
language: "Language",
languageText: "Select your preferred language. By default it will be the system language.",
},
}
2 changes: 2 additions & 0 deletions interface/utils/language/fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,5 +161,7 @@ export const localeFR: typeof localeEN = {
showLogsButton: "Afficher les journaux",
aboutAuthme: "À propos d'Authme",
aboutAuthmeText: "Informations sur votre version Authme et votre ordinateur.",
language: "Langue",
languageText: "Choisissez votre langue préférée. Par défaut ce sera la langue du système.",
},
}
2 changes: 2 additions & 0 deletions interface/utils/language/hu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,5 +161,7 @@ export const localeHU: typeof localeEN = {
showLogsButton: "Log-ok mutatása",
aboutAuthme: "Authme névjegye",
aboutAuthmeText: "Információ az Authme build-edről és a számítógépedről",
language: "Nyelv",
languageText: "Válaszd ki a kívánt nyelvet. Alapértelmezetten a rendszer nyelve van kiválasztva.",
},
}
2 changes: 2 additions & 0 deletions interface/utils/language/pl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,5 +149,7 @@ export const localePL: typeof localeEN = {
showLogsButton: "Pokaż logi",
aboutAuthme: "O Authme",
aboutAuthmeText: "Informacje o twojej wersji Authme i twoim komputerze.",
language: "Language",
languageText: "Select your preferred language. By default it will be the system language.",
},
}
2 changes: 2 additions & 0 deletions interface/utils/language/ru.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,5 +161,7 @@ export const localeRU: typeof localeEN = {
showLogsButton: "Показать логи",
aboutAuthme: "Об Authme",
aboutAuthmeText: "Информация о вашей сборке Authme и вашем компьютере.",
language: "Language",
languageText: "Select your preferred language. By default it will be the system language.",
},
}
2 changes: 2 additions & 0 deletions interface/utils/language/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,5 +161,7 @@ export const localeZH: typeof localeEN = {
showLogsButton: "显示日志",
aboutAuthme: "关于 Authme",
aboutAuthmeText: "当前 Authme 版本和计算机信息.",
language: "Language",
languageText: "Select your preferred language. By default it will be the system language.",
},
}
4 changes: 2 additions & 2 deletions interface/windows/settings/settings.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@

<div class="transparent-800 mb-5 flex w-full flex-row items-center justify-between rounded-xl p-5 text-left">
<div>
<h2>Language</h2>
<h3>Select your preferred language. By default it will be the system language</h3>
<h2>{language.settings.language}</h2>
<h3>{language.settings.languageText}</h3>
</div>
<div class="ml-20 flex gap-3">
<Select options={["Default", "English", "Hungarian", "Spanish", "French", "Russian", "German", "Chinese", "Polish"]} setting={"language"} />
Expand Down

0 comments on commit 6f79f66

Please sign in to comment.