Skip to content

Commit

Permalink
Localization #212
Browse files Browse the repository at this point in the history
  • Loading branch information
Levminer committed May 18, 2022
1 parent 7a3a0d8 commit db03c83
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
16 changes: 10 additions & 6 deletions app/export/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,21 +58,25 @@ <h4 data-loc class="m-0 mb-3">Export .authme file</h4>
<h5 data-loc class="m-0 mb-3">Ideal to import for Authme or other Authme apps.</h5>

<button class="buttoni my-2" onclick="saveFile()">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z" />
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
<path d="M14 3v4a1 1 0 0 0 1 1h4"></path>
<path d="M11.5 21h-4.5a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v5m-5 6h7m-3 -3l3 3l-3 3"></path>
</svg>
<span data-loc>Confirm</span>
<span>Export</span>
</button>
</div>
<div class="my-3 mr-3 ml-1.5 flex w-1/2 flex-wrap items-center justify-center rounded-2xl bg-gray-700 p-4">
<h4 data-loc class="m-0 mb-3">Export .html file</h4>
<h5 data-loc class="m-0 mb-3">Ideal for scanning the QR codes or for security backup.</h5>

<button onclick="saveQrCodes()" class="buttoni my-2">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z" />
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
<path d="M14 3v4a1 1 0 0 0 1 1h4"></path>
<path d="M11.5 21h-4.5a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v5m-5 6h7m-3 -3l3 3l-3 3"></path>
</svg>
<span data-loc>Confirm</span>
<span>Export</span>
</button>
</div>
</div>
Expand Down
1 change: 0 additions & 1 deletion languages/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ module.exports = {
"Logs",
"You can view the logs for debugging. You can view all the logs in the settings folder.",
"Latest log",
"Logs folder",
"Clear data",
"Clear password, 2FA codes and all other settings. Be careful.",
"Clear data",
Expand Down
5 changes: 2 additions & 3 deletions languages/hu.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ module.exports = {
"Logok",
"Megnézheted a logokat ha hibákat tapasztalsz. Az összes logot a log mappába találod.",
"Legújabb log",
"Log mappa",
"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 Down Expand Up @@ -263,9 +262,9 @@ module.exports = {
"Megerősítés",
"Exportált kódok mentése",
"El tudod mententi a 2FA kódjaidat hogy máshol használd azokat, vagy egy biztonsági mentés mindig jó ötlet.",
".authme fájl",
"Export .authme fájl",
"Ideális ha az Authme-be vagy más Authme alkalmzásba akarsz importálni.",
".html fájl",
"Export .html fájl",
"Ideális ha be akarod olvasni a QR-kódokat vagy biztonsági mentésnek.",
],

Expand Down
Loading

0 comments on commit db03c83

Please sign in to comment.