diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2018-12-03 06:15:57 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2019-01-23 13:28:02 +0100 |
commit | 6e4fc956abc909232044e7af0fa37cbb1b510f18 (patch) | |
tree | ea89db2094c8921179559273dbf41d686d771d44 /src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig | |
parent | 43ccf4b1787c294dbfa7b052c41e95ac9eeca3af (diff) | |
download | wallabag-6e4fc956abc909232044e7af0fa37cbb1b510f18.tar.gz wallabag-6e4fc956abc909232044e7af0fa37cbb1b510f18.tar.zst wallabag-6e4fc956abc909232044e7af0fa37cbb1b510f18.zip |
Better translations
Replace “Google Authenticator” by “Google Authenticator, Authy or FreeOTP” in all text.
Translate how to use the code / qr code.
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig index ca7eb9f3..73cf592e 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig | |||
@@ -214,19 +214,18 @@ | |||
214 | 214 | ||
215 | {% for OtpQrCode in app.session.flashbag.get('OtpQrCode') %} | 215 | {% for OtpQrCode in app.session.flashbag.get('OtpQrCode') %} |
216 | <div class="card-panel yellow darken-1 black-text"> | 216 | <div class="card-panel yellow darken-1 black-text"> |
217 | You just enabled the OTP two factor authentication, open your OTP app and use that code to get a one time password. | 217 | {{ 'config.form_user.two_factor_code_description_1'|trans }} |
218 | <br/> | 218 | <br/> |
219 | That code will disapear after a page reload. | 219 | {{ 'config.form_user.two_factor_code_description_2'|trans }} |
220 | <br/><br/> | 220 | <br/><br/> |
221 | <strong>{{ app.user.getGoogleAuthenticatorSecret }}</strong> | ||
222 | <br/><br/> | ||
223 | Or you can scan that QR Code with your app: | ||
224 | <br/> | ||
225 | <img id="2faQrcode" class="hide-on-med-and-down" /> | 221 | <img id="2faQrcode" class="hide-on-med-and-down" /> |
226 | |||
227 | <script> | 222 | <script> |
228 | document.getElementById('2faQrcode').src = jrQrcode.getQrBase64('{{ OtpQrCode }}');; | 223 | document.getElementById('2faQrcode').src = jrQrcode.getQrBase64('{{ OtpQrCode }}');; |
229 | </script> | 224 | </script> |
225 | <br/><br/> | ||
226 | {{ 'config.form_user.two_factor_code_description_3'|trans }} | ||
227 | <br/><br/> | ||
228 | <strong>{{ app.user.getGoogleAuthenticatorSecret }}</strong> | ||
230 | </div> | 229 | </div> |
231 | {% endfor %} | 230 | {% endfor %} |
232 | {% endif %} | 231 | {% endif %} |