Skip to content

Commit

Permalink
Better wording
Browse files Browse the repository at this point in the history
  • Loading branch information
Levminer committed Mar 4, 2022
1 parent f003e54 commit 7474363
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 27 deletions.
15 changes: 7 additions & 8 deletions app/application/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -160,12 +160,8 @@ <h4 data-loc>Importing files</h4>
<span data-loc>Help</span>
</button>
<button class="buttoni" onclick="sampleImport()">
<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="M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"></path>
<path d="M11 14h1v4h1"></path>
<path d="M12 11h.01"></path>
<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 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />
</svg>
<span data-loc>Sample import file</span>
</button>
Expand Down Expand Up @@ -194,8 +190,11 @@ <h4 data-loc>Save your 2FA codes to your computer for future use.</h4>
<div class="flex flex-row items-center justify-center">
<div class="gap-3">
<button class="buttoni" onclick="saveCodes()">
<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="M12 10v6m0 0l-3-3m3 3l3-3m2 8H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />
<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="M6 4h10l4 4v10a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2"></path>
<circle cx="12" cy="14" r="2"></circle>
<polyline points="14 4 14 8 8 8 8 4"></polyline>
</svg>
<span data-loc>Save codes</span>
</button>
Expand Down
16 changes: 11 additions & 5 deletions app/edit/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ <h4 data-loc>You can restore the latest save. If you load your codes below it wi
<!-- load codes -->
<div class="beforeLoad mx-auto mb-20 mt-20 w-2/3 rounded-2xl bg-gray-800">
<h3 data-loc id="rollbackBut" class="pt-5">Load saved codes</h3>
<h4 data-loc>You can load the 2FA codes you saved. After that you can edit or delete them and you can add more codes.</h4>
<h4 data-loc>Load your saved 2FA codes. You can edit or delete your codes, or you can even add new codes here.</h4>
<button class="buttoni mb-5" onclick="loadCodes()">
<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" />
Expand All @@ -68,15 +68,21 @@ <h3 data-loc id="rollbackBut" class="pt-5">Edit mode</h3>
<h4 data-loc>Now you can modify existing codes or add more codes.</h4>
<div class="flex flex-row flex-wrap justify-center gap-3 pb-5">
<button class="buttoni" onclick="createSave()">
<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="M12 10v6m0 0l-3-3m3 3l3-3m2 8H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />
<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="M6 4h10l4 4v10a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2"></path>
<circle cx="12" cy="14" r="2"></circle>
<polyline points="14 4 14 8 8 8 8 4"></polyline>
</svg>
<span data-loc>Save modifications</span>
</button>

<button class="buttoni" onclick="addCodes()">
<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="M9 13h6m-3-3v6m5 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />
<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>
<circle cx="12" cy="12" r="9"></circle>
<line x1="9" y1="12" x2="15" y2="12"></line>
<line x1="12" y1="9" x2="12" y2="15"></line>
</svg>
<span data-loc>Add codes</span>
</button>
Expand Down
4 changes: 2 additions & 2 deletions app/export/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ <h4 data-loc>You can export the 2FA codes you saved.</h4>
<!-- before export -->
<div class="before_export mx-auto mt-20 mb-20 w-2/3 rounded-2xl bg-gray-800 pb-1">
<h3 data-loc class="pt-5">Export codes</h3>
<h4 data-loc>If you saved your codes you can export the secrets and the saved QR codes.</h4>
<h4 data-loc>Your saved codes can be exported here. Ideal if you want to use your codes elsewhere or for a security backup.</h4>
<button class="buttoni but1 mb-5" id="but0" onclick="exportCodes()">
<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" />
Expand All @@ -50,7 +50,7 @@ <h4 data-loc>If you saved your codes you can export the secrets and the saved QR
<div class="after_export hidden">
<div class="mx-auto mt-20 mb-20 w-2/3 rounded-2xl bg-gray-800">
<h3 data-loc class="pt-5">Save exported codes</h3>
<h4 data-loc>Save your exported 2FA codes to use it elsewhere.</h4>
<h4 data-loc>You can save your exported 2FA codes, so you can use them elsewhere, and keeping a backup of your codes is always a good idea.</h4>
<div class="flex flex-row flex-wrap justify-center gap-3">
<div>
<button class="buttoni" id="but1" onclick="saveFile()">
Expand Down
11 changes: 6 additions & 5 deletions languages/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ module.exports = {
},

"dialog": {
"error": "Error occurred while running Authme.",
"error": "Error occurred while running Authme. You may continue using the program, but it is recommended to restart!",
"integrity": "Failed to check the integrity of the files. \n\nYou or someone messed with the settings file, shutting down for security reasons!",
"support": "Authme is a free, open source software. \n\nIf you like the app, please consider supporting!",
"feedback": "Thank you for providing feedback! \n\nPlease report issues or feature requests on GitHub or by Email.",
Expand All @@ -58,7 +58,8 @@ module.exports = {
"copied": "Copied",
"help": "Help",
"exit": "Exit",
"report": "Report"
"report": "Report",
"restart": "Restart",
},

"text": {
Expand Down Expand Up @@ -272,10 +273,10 @@ module.exports = {
"You can export the 2FA codes you saved.",
"Close window",
"Export codes",
"If you saved your codes you can export the secrets and the saved QR codes.",
"Your saved codes can be exported here. Ideal if you want to use your codes elsewhere or for a security backup.",
"Confirm",
"Save exported codes",
"Save your exported 2FA codes to use it elsewhere.",
"You can save your exported 2FA codes, so you can use them elsewhere, and keeping a backup of your codes is always a good idea.",
"Export .authme file",
"Ideal to import for Authme or other Authme apps.",
"Export .html file",
Expand All @@ -296,7 +297,7 @@ module.exports = {
"You can restore the latest save. If you load your codes below it will overwrite the current save!",
"Restore",
"Load saved codes",
"You can load the 2FA codes you saved. After that you can edit or delete them and you can add more codes.",
"Load your saved 2FA codes. You can edit or delete your codes, or you can even add new codes here.",
"Confirm",
"Edit mode",
"Now you can modify existing codes or add more codes.",
Expand Down
13 changes: 7 additions & 6 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": "Zoom Visszaállítás",
"reset": "Zoom Visszaállítása",
"zoom_in": "Nagyítás",
"zoom_out": "Kicsinyítés",
"tools": "Eszközök",
Expand All @@ -37,7 +37,7 @@ module.exports = {
},

"dialog": {
"error": "Hiba történt az Authme futtatása közben.",
"error": "Hiba történt az Authme futtatása közben. Használhatod tovább a programot, de ajánlott egy újraindítás!",
"integrity": "Nem sikerült a fájlok biztonságának ellenőrzése. \n\nTe vagy valaki más szerkesztette a beállítások fájlt, Authme leállítása biztonsági okokból!",
"support": "Authme egy ingyenes, nyílt forráskódú program. \n\nHa tetszik az alkalmazás kérlek támogass!",
"feedback": "Köszönöm a visszajelzést! \n\nKérlek a hibákat vagy az ötleteket a GitHub-on vagy Email-be jelezd.",
Expand All @@ -58,7 +58,8 @@ module.exports = {
"copied": "Másolva",
"help": "Segítség",
"exit": "Kilépés",
"report": "Jelentés"
"report": "Jelentés",
"restart": "Újraindítás",
},

"text": {
Expand Down Expand Up @@ -272,10 +273,10 @@ module.exports = {
"Itt exportálhatod az elmentett 2FA kódjaidat.",
"Ablak bezárása",
"Kódok exportálása",
"Ha elmentetted a kódjaidat akkor exportálhatod a QR-kódokat és az adatokat.",
"Az elmentett kódjaidat itt tudod exportálni. Ideális ha máshol is akarod használni a kódjaidat vagy egy biztonsági mentéshez.",
"Megerősítés",
"Exportált kódok mentése",
"Mentsd el a 2FA kódjaidat hogy máshol is tudd azokat használni.",
"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",
"Ideális ha az Authme-be vagy más Authme alkalmzásba akarsz importálni.",
".html fájl",
Expand All @@ -296,7 +297,7 @@ module.exports = {
"Vissza tudod állítani az előző mentést. Ha lentebb betöltöd a kódjaidat az felül fogja írni a jelenlegi mentést.",
"Visszaállítás",
"Kódok betöltése",
"Be tutod tölteni a mentett kódjaidat. Ezután tudod szerkeszteni azokat, vagy újakat hozzáadni.",
"A mentett 2FA kódok betöltése. Ezután tudod szerkeszteni a meglévő kódjaidat, vagy újakat hozzáadni.",
"Megerősítés",
"Szerkesztő mód",
"Most már tudod szerkeszteni a kódjaidat, vagy újakat hozzáadni.",
Expand Down
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ let manual_update = false
let password_buffer = null
let tray = null
let menu = null
let lang = null
let lang = en

/**
* Check if running in development mode
Expand Down

0 comments on commit 7474363

Please sign in to comment.