Skip to content

Commit

Permalink
Update localization
Browse files Browse the repository at this point in the history
  • Loading branch information
Levminer committed Feb 7, 2022
1 parent f590c69 commit 21536c4
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 18 deletions.
4 changes: 2 additions & 2 deletions app/application/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,9 @@ <h4 data-loc>Importing files</h4>
<div class="flex flex-row flex-wrap gap-3 items-center justify-center">
<button class="buttoni" onclick="readDocs()">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9a9 9 0 01-9-9m9 9c1.657 0 3-4.03 3-9s-1.343-9-3-9m0 18c-1.657 0-3-4.03-3-9s1.343-9 3-9m-9 9a9 9 0 019-9" />
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M18.364 5.636l-3.536 3.536m0 5.656l3.536 3.536M9.172 9.172L5.636 5.636m3.536 9.192l-3.536 3.536M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-5 0a4 4 0 11-8 0 4 4 0 018 0z" />
</svg>
<span data-loc>Read online docs</span>
<span data-loc>Help</span>
</button>
<button class="buttoni" onclick="sampleImport()">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
Expand Down
4 changes: 2 additions & 2 deletions app/settings/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -461,12 +461,12 @@ <h4 data-loc>You can modify the global shortcuts here, read the documentation fo
<!-- experimental -->
<div id="experimental" class="tabcontent part hidden">
<div class="md:w-4/5 lg:w-2/3 mx-auto rounded-2xl bg-gray-800 mt-5">
<h4 class="pt-5">These features are under development and can be unstable! Use it at your own risk!</h4>
<h4 class="pt-5" data-loc>These features are under development and can be unstable! Use it at your own risk!</h4>
<button class="buttoni mb-8" onclick="experimentalDocs()">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19.428 15.428a2 2 0 00-1.022-.547l-2.387-.477a6 6 0 00-3.86.517l-.318.158a6 6 0 01-3.86.517L6.05 15.21a2 2 0 00-1.806.547M8 4h8l-1 1v5.172a2 2 0 00.586 1.414l5 5c1.26 1.26.367 3.414-1.415 3.414H4.828c-1.782 0-2.674-2.154-1.414-3.414l5-5A2 2 0 009 10.172V5L8 4z" />
</svg>
Features
<span data-loc>Features</span>
</button>
</div>

Expand Down
6 changes: 3 additions & 3 deletions app/settings/src/js/shortcuts.js
Original file line number Diff line number Diff line change
Expand Up @@ -658,12 +658,12 @@ const checkForIssuers = () => {
} else {
document.querySelector(".quickShortcutsDiv").innerHTML = `
<div class="mx-auto rounded-2xl bg-gray-800 w-2/3 -mt-16">
<h4 class="pt-5">Please save your codes on the main page and click reload to be able to create quick shortcuts!</h4>
<h4 class="pt-5">${lang.text.quick_shortcuts}</h4>
<button class="buttoni mb-8" onclick="location.reload()">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15" />
</svg>
Reload
</svg>
${lang.text.refresh}
</button>
</div>
`
Expand Down
8 changes: 6 additions & 2 deletions languages/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ module.exports = {
"latest_save": "Latest save",
"display": "Display",
"default": "Default",
"quick_shortcuts": "Please save your 2FA codes on the main page and click reload to be able to create quick shortcuts!",
"refresh": "Refresh",
},

"landing": [
Expand Down Expand Up @@ -126,7 +128,7 @@ module.exports = {
"Create import file",
"Getting started",
"Importing files",
"Read online docs",
"Help",
"Sample import file",
"Useful options",
"Configure settings",
Expand Down Expand Up @@ -157,7 +159,7 @@ module.exports = {
"Shortcuts",
"Experimental",
"Feedback",
"About",
"Version",
"New Authme version available. Starting the update...",
"Restart",
"Release notes",
Expand Down Expand Up @@ -208,6 +210,8 @@ module.exports = {
"You can modify the shortcuts here, read the documentation for more information. Shortcuts not work on this tab, go to any other settings tab to reactivate them!",
"Global shortcuts",
"You can modify the global shortcuts here, read the documentation for more information. Shortcuts not work on this tab, go to any other settings tab to reactivate them!",
"These features are under development and can be unstable! Use it at your own risk!",
"Features",
],

"settings_dialog": {
Expand Down
22 changes: 13 additions & 9 deletions languages/hu.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module.exports = {
"settings": "Beállítások",
"exit": "Kilépés",
"view": "Nézet",
"reset": "Visszaállítás",
"reset": "Zoom Visszaállítás",
"zoom_in": "Nagyítás",
"zoom_out": "Kicsinyítés",
"tools": "Eszközök",
Expand Down Expand Up @@ -68,6 +68,8 @@ module.exports = {
"latest_save": "Legfrisebb mentés",
"display": "Monitor",
"default": "Alapértelmezett",
"quick_shortcuts": "Kérlek mentsd el a 2FA kódjaidat a főoldalon és kattints a frissítésre!",
"refresh": "Frissítés",
},

"landing": [
Expand Down Expand Up @@ -126,7 +128,7 @@ module.exports = {
"Fájl létrehozása",
"Első lépések",
"Fájlok importálása",
"Online dokumentáció",
"Segítség",
"Minta import fájl",
"Hasznos opciók",
"Beállítások",
Expand Down Expand Up @@ -157,7 +159,7 @@ module.exports = {
"Gyorsgombok",
"Kísérletek",
"Visszajelzés",
"Névjegy",
"Verzió",
"Új Authme verzió elérhető. Frissítés kezdése...",
"Újraindítás",
"Újdonságok",
Expand All @@ -169,17 +171,17 @@ module.exports = {
"Itt tudod szerkeszteni a beállításokat.",
"Ablak bezárása",
"Autómatikus indítás",
"Authme elindul a számítógépeddel együtt. Az Authme a tálcán fog indulni.",
"Az Authme elindul a számítógépeddel együtt. Az alkalmazás a tálcán fog indulni.",
"Tálcára kicsinyítés",
"Az Authme bezárásakor nem záródik be. A tálcáról tudod megnyitni az Authme-t.",
"Ha bezárod az Authme-t az nem záródik be. A tálcáról tudod megjeleníteni az alkalmazást.",
"Ablak rögzítése",
"Képernyőképek és az ablak rögzítésének engedélyezése. Aktív amíg újra nem indítod az Atuhme-t.",
"Hardveres gyorsítás",
"A GPU használata a jobb élmény érdekébe. Kapcsold be ha laggokat vagy akadásokat tapasztalsz.",
"Nyelv",
"Válaszd ki a nyelvet amin az Authme megjelenik. A fordítások nem tökéletesek és a nyelvváltáshoz újraindítás szükséges.",
"Válaszd ki a nyelvet amin az Authme megjelenik. A fordítások nem tökéletesek, hibák előfordulhatnak.",
"Alapértelmezett monitor",
"Válaszd ki melyik képernyőn nyílik meg az Authme. Ha a kiválasztott monitor nem elérhető, a fő monitoron fog megnyílni az Authme.",
"Válaszd ki melyik képernyőn nyíljon meg az Authme. Ha a kiválasztott monitor nem elérhető, a fő monitoron fog megnyílni az Authme.",
"Adatok törlése",
"A jelszavak, a 2FA kódjaid, valamint a beállításaid törlődnek. Légy óvatos.",
"Adatok törlése",
Expand All @@ -189,11 +191,11 @@ module.exports = {
"Beállítások mappa",
"Cache mappa",
"Logok",
"Megnézheted a logokat ha hibákat tapasztalsz. Az összes logot a beállítások mappába találod.",
"Megnézheted a logokat ha hibákat tapasztalsz. Az összes logot a log mappába találod.",
"Legújabb log",
"Log mappa",
"Kódok rendezése",
"Itt tudod kiválasztani milyen sorrendben jelennek meg a kódok. Alapértelmezetten a kódok az importálás sorrendjében vannak.",
"Itt tudod kiválasztani milyen sorrendben jelenjenek meg a kódok. Alapértelmezetten a kódok az importálás sorrendjében vannak.",
"Kódok leírása",
"A mentett kódok leírása látható lesz. Kattintás után másolhatod a leírást.",
"Kódok elhomályosítása",
Expand All @@ -208,6 +210,8 @@ module.exports = {
"Itt tudod módosítani a gyorsgombokat, olvasd el a dokumentációt több infóért. A gyorsgombok nem működnek ezen a lapon, menj át egy mások beállítás lapra hogy aktiváld azokat!",
"Globális gyorsgombok",
"Itt tudod módosítani a globális gyorsgombokat, olvasd el a dokumentációt több infóért. A gyorsgombok nem működnek ezen a lapon, menj át egy mások beállítás lapra hogy aktiváld azokat!",
"Ezek a fukciók fejlesztés alatt állnak és instabilak lehetnek! Csak saját felelősségre!",
"Funkciók",
],

"settings_dialog": {
Expand Down

0 comments on commit 21536c4

Please sign in to comment.