浏览代码

lang: fixed totp langs

DerLinkman 1 年之前
父节点
当前提交
b5a1a18b04
共有 3 个文件被更改,包括 6 次插入4 次删除
  1. 1 0
      data/web/lang/lang.de-de.json
  2. 1 0
      data/web/lang/lang.en-gb.json
  3. 4 4
      data/web/templates/modals/footer.twig

+ 1 - 0
data/web/lang/lang.de-de.json

@@ -1093,6 +1093,7 @@
         "verified_yotp_login": "Yubico-OTP-Anmeldung verifiziert"
         "verified_yotp_login": "Yubico-OTP-Anmeldung verifiziert"
     },
     },
     "tfa": {
     "tfa": {
+        "authenticators": "Authentikatoren",
         "api_register": "%s verwendet die Yubico-Cloud-API. Ein API-Key für den Yubico-Stick kann <a href=\"https://upgrade.yubico.com/getapikey/\" target=\"_blank\">hier</a> bezogen werden.",
         "api_register": "%s verwendet die Yubico-Cloud-API. Ein API-Key für den Yubico-Stick kann <a href=\"https://upgrade.yubico.com/getapikey/\" target=\"_blank\">hier</a> bezogen werden.",
         "confirm": "Bestätigen",
         "confirm": "Bestätigen",
         "confirm_totp_token": "Bitte bestätigen Sie die Änderung durch Eingabe eines generierten Tokens",
         "confirm_totp_token": "Bitte bestätigen Sie die Änderung durch Eingabe eines generierten Tokens",

+ 1 - 0
data/web/lang/lang.en-gb.json

@@ -1100,6 +1100,7 @@
         "verified_yotp_login": "Verified Yubico OTP login"
         "verified_yotp_login": "Verified Yubico OTP login"
     },
     },
     "tfa": {
     "tfa": {
+        "authenticators": "Authenticators",
         "api_register": "%s uses the Yubico Cloud API. Please get an API key for your key <a href=\"https://upgrade.yubico.com/getapikey/\" target=\"_blank\">here</a>",
         "api_register": "%s uses the Yubico Cloud API. Please get an API key for your key <a href=\"https://upgrade.yubico.com/getapikey/\" target=\"_blank\">here</a>",
         "confirm": "Confirm",
         "confirm": "Confirm",
         "confirm_totp_token": "Please confirm your changes by entering the generated token",
         "confirm_totp_token": "Please confirm your changes by entering the generated token",

+ 4 - 4
data/web/templates/modals/footer.twig

@@ -155,7 +155,7 @@
 
 
             {% if pending_tfa_authmechs["totp"] is defined and pending_tfa_authmechs["u2f"] is not defined %}
             {% if pending_tfa_authmechs["totp"] is defined and pending_tfa_authmechs["u2f"] is not defined %}
               <li class="nav-item">
               <li class="nav-item">
-                <a class="nav-link {% if pending_tfa_authmechs["totp"] %}active{% endif %}" href="#tfa_tab_totp" data-bs-toggle="tab" id="pending_tfa_tab_totp"><i class="bi bi-clock-history"></i> Time based OTP</a>
+                <a class="nav-link {% if pending_tfa_authmechs["totp"] %}active{% endif %}" href="#tfa_tab_totp" data-bs-toggle="tab" id="pending_tfa_tab_totp"><i class="bi bi-clock-history"></i> Time-based OTP</a>
               </li>
               </li>
             {% endif %}
             {% endif %}
 
 
@@ -173,7 +173,7 @@
                     <form role="form" method="post" id="webauthn_auth_form">
                     <form role="form" method="post" id="webauthn_auth_form">
                       <legend class="mt-2 mb-2">
                       <legend class="mt-2 mb-2">
                           <i class="bi bi-shield-fill-check"></i>
                           <i class="bi bi-shield-fill-check"></i>
-                          Authenticators
+                          {{ lang.tfa.authenticators }}
                           <hr />
                           <hr />
                       </legend>
                       </legend>
                       <div class="list-group">
                       <div class="list-group">
@@ -216,7 +216,7 @@
                     <form role="form" method="post">
                     <form role="form" method="post">
                       <legend class="mt-2 mb-2">
                       <legend class="mt-2 mb-2">
                           <i class="bi bi-shield-fill-check"></i>
                           <i class="bi bi-shield-fill-check"></i>
-                          Authenticate
+                          {{ lang.tfa.authenticators }}
                           <hr />
                           <hr />
                       </legend>
                       </legend>
                       <div class="collapse show pending-tfa-collapse" id="collapseYubiTFA">
                       <div class="collapse show pending-tfa-collapse" id="collapseYubiTFA">
@@ -244,7 +244,7 @@
                     <form role="form" method="post">        
                     <form role="form" method="post">        
                       <legend class="mt-2 mb-2">
                       <legend class="mt-2 mb-2">
                           <i class="bi bi-shield-fill-check"></i>
                           <i class="bi bi-shield-fill-check"></i>
-                          Authenticators
+                          {{ lang.tfa.authenticators }}
                           <hr />
                           <hr />
                       </legend>
                       </legend>
                       <div class="list-group">
                       <div class="list-group">