Skip to content

Commit

Permalink
Import page translation #186
Browse files Browse the repository at this point in the history
  • Loading branch information
Levminer committed Feb 19, 2022
1 parent 2ac9325 commit 74d254d
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 47 deletions.
20 changes: 10 additions & 10 deletions app/import/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h5 class="build-content m-0 mx-3 flex flex-row text-center font-bold">You are r
<div class="mx-auto mt-40 w-3/5 rounded-2xl bg-gray-700 text-center">
<img src="../../img/header.png" class="relative top-5 h-16 w-16" />
<h2>Import</h2>
<h4 data-loc>You can create your import file from QR codes and Google Authenticator QR codes.</h4>
<h4 data-loc>You can create your import file here, see supported QR codes for more information.</h4>
<button class="buttoni mb-6" onclick="hide()">
<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="M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z" />
Expand All @@ -39,7 +39,7 @@ <h4 data-loc>You can create your import file from QR codes and Google Authentica
<!-- supported qr code -->
<div class="mx-auto mb-20 w-2/3 rounded-2xl bg-gray-800">
<h3 data-loc class="pt-5">Supported QR codes</h3>
<h4 data-loc>List of the supported QR codes. Currently you can import one type at a time.</h4>
<h4 data-loc>List of the currently supported QR codes. You can import from more types at the same time.</h4>
<button class="buttoni mb-8" onclick="examplesLink()">
<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 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" />
Expand All @@ -51,15 +51,15 @@ <h4 data-loc>List of the supported QR codes. Currently you can import one type a
<div class="my-3 ml-3 mr-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">TOTP 2FA QR code</h4>
<h5 data-loc class="m-0">A TOTP QR code is that you find mostly everywhere if you want to setup 2FA.</h5>
<h5 data-loc class="m-0">Example: (Google, Facebook, Microsoft)</h5>
<h5 data-loc class="m-0">Starts with: (otpauth://totp/)</h5>
<h5 data-loc class="m-0">Example: (Google, Facebook, Microsoft).</h5>
<h5 data-loc class="m-0">Starts with: (otpauth://totp/).</h5>
<a data-loc class="link pt-3 !text-lg" href="#totp" onclick="totpLink()">Detailed steps</a>
</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">Migration 2FA QR code</h4>
<h5 data-loc class="m-0">A migration QR code is what you can export, and contains all of your codes.</h5>
<h5 data-loc class="m-0">Example: (Google Authenticator)</h5>
<h5 data-loc class="m-0">Starts with: (otpauth-migration://)</h5>
<h5 data-loc class="m-0">Example: (Google Authenticator).</h5>
<h5 data-loc class="m-0">Starts with: (otpauth-migration://).</h5>
<a data-loc class="link pt-3 !text-lg" href="#migration" onclick="migrationLink()">Detailed steps</a>
</div>
</div>
Expand All @@ -75,7 +75,7 @@ <h4 data-loc>Create your import file here. Choose the most convenient way for yo
<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 4v1m6 11h2m-6 0h-2v4m0-11v3m0 0h.01M12 12h4.01M16 20h4M4 12h4m12 0h.01M5 8h2a1 1 0 001-1V5a1 1 0 00-1-1H5a1 1 0 00-1 1v2a1 1 0 001 1zm12 0h2a1 1 0 001-1V5a1 1 0 00-1-1h-2a1 1 0 00-1 1v2a1 1 0 001 1zM5 20h2a1 1 0 001-1v-2a1 1 0 00-1-1H5a1 1 0 00-1 1v2a1 1 0 001 1z" />
</svg>
<span data-loc>Choose image(s)</span>
<span data-loc>Choose images</span>
</button>
<h5 data-loc class="m-0 pt-4">Choose images that contain a 2FA QR code.</h5>
</div>
Expand All @@ -90,13 +90,13 @@ <h5 data-loc class="m-0 pt-4">Choose images that contain a 2FA QR code.</h5>
<h5 data-loc class="m-0 pt-4">Use your webcam to scan 2FA QR codes.</h5>
</div>
<div class="screenCapture m-1 hidden">
<button class="buttoni w-[576px] sm:w-72" onclick="screenCapture()">
<button class="buttoni w-[576px] sm:w-72" onclick="captureFromScreen()">
<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.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z" />
</svg>
<span data-loc>Capture from screen</span>
</button>
<h5 data-loc class="m-0 pt-4 pb-10">Capture a 2FA QR code from your screen.</h5>
<h5 data-loc class="m-0 pt-4 pb-6">Capture a 2FA QR code from your screen.</h5>
</div>
</div>
<!-- video -->
Expand All @@ -105,7 +105,7 @@ <h5 data-loc class="m-0 pt-4 pb-10">Capture a 2FA QR code from your screen.</h5>
<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="M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg>
Stop
<span data-loc>Stop</span>
</button>
</div>
</div>
Expand Down
42 changes: 25 additions & 17 deletions languages/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,41 +221,49 @@ module.exports = {
},

"import": [
"You can create your import file from QR codes and Google Authenticator QR codes.",
"You can create your import file here, see supported QR codes for more information.",
"Close window",
"QR code",
"Instructions",
"Just screenshot the QR code(s) you want to import, save them on your computer, and choose the image(s) you saved.",
"If you need more steps or help:",
"Supported QR codes",
"List of the currently supported QR codes. You can import from more types at the same time.",
"Examples",
"TOTP 2FA QR code",
"A TOTP QR code is that you find mostly everywhere if you want to setup 2FA.",
"Example: (Google, Facebook, Microsoft).",
"Starts with: (otpauth://totp/).",
"Detailed steps",
"Choose image(s)",
"Use webcam",
"Google Authenticator QR code",
"Instructions",
"Tap on the three dots on the top right corner of the screen and export your accounts, take a picture of the export QR code(s), and choose the image(s) you saved and transferred to your computer.",
"If you need more steps or help:",
"Migration 2FA QR code",
"A migration QR code is what you can export, and contains all of your codes.",
"Example: (Google Authenticator).",
"Starts with: (otpauth-migration://).",
"Detailed steps",
"Choose image(s)",
"Create import file",
"Create your import file here. Choose the most convenient way for you.",
"Choose images",
"Choose images that contain a 2FA QR code.",
"Use webcam",
"Use your webcam to scan 2FA QR codes.",
"Capture from screen",
"Capture a 2FA QR code from your screen.",
"Stop"
],

"import_dialog": {
"import_qrcode": "Import from QR code(s)",
"choose_images": "Choose images",
"image_file": "Image file",
"save_file": "Save file",
"no_webcam": "Not found webcam! \n\nPlease check if your webcam is working correctly or not used by another application.",
"wrong_qrcode": "Wrong QR code found on camera! \n\nMake sure this is a correct QR code and try again!",
"wrong_qrcode": "Wrong QR code found! \n\nMake sure this is a correct QR code and try again!",
"qrcode_found": "QR code(s) found! \n\nNow select where do you want to save the file!",
"webcam_used": "Webcam in use! \n\nPlease check if your webcam is not used by another application.",
"import_qa_qrcode": "Import from Google Authenticator QR code(s)",
"no_qrcode_found_0": "No QR code found on the picture:",
"no_qrcode_found_1": "\n\nTry to take a better picture and try again!",
"correct_qrcode_found_0": "QR codes found on the selected pictures!",
"correct_qrcode_found_0": "QR codes imported, you have saved codes, so you can add your new codes under Edit codes.",
"correct_qrcode_found_1": "\n\nNow select where do you want to save the file!",
"correct_qrcode_found_2": "QR codes imported, go back to the main page to see codes!",
"correct_qrcode_found_3": "\n\nDo you want to save to file for a backup?",
"wrong_qrcode_found_0": "Wrong QR code found on the picture:",
"wrong_qrcode_found_1": "\n\nMake sure this is a correct QR code and try again!",
"capture_error": "Error starting capture!",
},

"export": [
Expand Down Expand Up @@ -313,7 +321,7 @@ module.exports = {
},

"info_bar": {
"feedback": "Do you have any ideas or found a mistake?",
"feedback": "Do you have any ideas or found a bug?",
"feedback_link": "Feedback",
"rate": "Enjoying Authme?",
"rate_link": "Rate on Microsoft Store",
Expand Down
48 changes: 28 additions & 20 deletions languages/hu.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,41 +221,49 @@ module.exports = {
},

"import": [
"Az import fájlodat létre tudod hozni 2FA QR-kódokból és Google Hitelesítő QR-kódokból.",
"Itt tudod létrehozni az import fájlodat, több információért nézd meg a támogatott QR-kódokat.",
"Ablak bezárása",
"QR kód",
"Használat",
"Készíts képernyőképeket a QR-kódokról, mentsd őket le a számítógépedre, és válaszd ki a képeket.",
"Ha segítségre lenne szükséged:",
"Támogatott QR-kódok",
"A jelenleg támogatott QR-kódok listája. Több féle típusból is importálhatsz egyszerre.",
"Példák",
"TOTP 2FA QR-kód",
"TOTP QR-kód a leggyakoribb fajta 2FA kód, nagyjábol mindenhol ezzel találkozhatsz.",
"Például: (Google, Facebook, Microsoft).",
"Ezzel kezdődik: (otpauth://totp/).",
"Részletes leírás",
"Kép(ek) kiválasztása",
"Webkamera",
"Google Hitelesítő QR kód",
"Használat",
"Nyomj a három pontra a jobb felső sarokba, exportáld a fiókod, fényképezd le a QR-kódokat, és válaszd ki a képeket amiket átmentettél a számítógépedre.",
"Ha segítségre lenne szükséged:",
"Migration 2FA QR-kód",
"A migration QR-kód amit exportálni tudsz és tartalmazza az összes 2FA kódodat.",
"Például: (Google Authenticator).",
"Ezzel kezdődik: (otpauth-migration://).",
"Részletes leírás",
"Kép(ek) kiválasztása",
"Import fájl létrehozása",
"Itt tudod létrehozni az import fájlod. Válaszd ki a számodra legkényelmesebb módot.",
"Képek kiválasztása",
"Válassz olyan képeket amik 2FA QR-kódokat tartalmaznak.",
"Webkamera",
"Használd a webkamerádat a a 2FA QR-kódok beszkenneléséhez.",
"Képernyő felvétel",
"2FA QR-kódok rögzítése a képernyődről.",
"Stop"
],

"import_dialog": {
"import_qrcode": "Importálás QR kód-okból",
"import_qrcode": "Importálás QR-kódokból",
"image_file": "Kép fájl",
"save_file": "Fájl mentése",
"no_webcam": "Nem található webkamera! \n\nEllenőrizd hogy a webkamerád megfelelően működik vagy nem használja más alkamazás.",
"wrong_qrcode": "Nem megfelelő QR kód van a kamerán! \n\nGyőződj meg róla hogy ez egy jó QR kód!",
"qrcode_found": "QR kódok sikeresen beolvasva! \n\nVálaszd ki hova akarod menteni a fájlt!",
"wrong_qrcode": "Nem megfelelő QR-kód! \n\nGyőződj meg róla hogy ez egy jó QR kód!",
"qrcode_found": "QR-kódok sikeresen beolvasva! \n\nVálaszd ki hova akarod menteni a fájlt!",
"webcam_used": "Webkamera használatban! \n\nEllenőrizd hogy a webkamerád megfelelően működik vagy nem használja más alkamazás.",
"import_qa_qrcode": "Importálás Google Hitelesítő QR kód-okból",
"no_qrcode_found_0": "Nem található QR kód a képen:",
"no_qrcode_found_1": "\n\nPróbálj készíteni egy jobb képet.",
"correct_qrcode_found_0": "QR kódok sikeresen beolvasva a képekről!",
"correct_qrcode_found_0": "QR-kódok importálva, mivel már vannak mentett kódjaid a Kódok szerkesztés-énél tudod hozzáadni az új kódjaidat!",
"correct_qrcode_found_1": "\n\nVálaszd ki hova akarod menteni a fájlt!",
"correct_qrcode_found_2": "QR kódok importálva, menj vissza főoldalra hogy megtekintsd a kódjaidat!",
"correct_qrcode_found_2": "QR-kódok importálva, menj vissza főoldalra hogy megtekintsd a kódjaidat!",
"correct_qrcode_found_3": "\n\nEl akarod menteni az import fájlt a biztonság kedvéért?",
"wrong_qrcode_found_0": "Nem megfelelő QR kód van ezeken a képeken:",
"wrong_qrcode_found_1": "\n\nGyőződj meg róla hogy ez egy jó QR kód!",
"wrong_qrcode_found_0": "Nem megfelelő QR-kód van ezeken a képeken:",
"wrong_qrcode_found_1": "\n\nGyőződj meg róla hogy ez egy jó QR-kód!",
"capture_error": "Nem sikerült a képernyő rögzítése!",
},

"export": [
Expand Down

0 comments on commit 74d254d

Please sign in to comment.