Skip to content

Commit bbfe783

Browse files
committed
Rename button for escaping 2FA flow
1 parent 9e492de commit bbfe783

File tree

5 files changed

+15
-7
lines changed

5 files changed

+15
-7
lines changed

packages/hidp/hidp/locale/django.pot

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,8 +383,6 @@ msgstr ""
383383
#: hidp/templates/hidp/otp/recovery_codes.html
384384
#: hidp/templates/hidp/otp/setup_device.html
385385
#: hidp/templates/hidp/otp/setup_device_done.html
386-
#: hidp/templates/hidp/otp/verify.html
387-
#: hidp/templates/hidp/otp/verify_recovery_code.html
388386
msgid "Back"
389387
msgstr ""
390388

@@ -932,6 +930,12 @@ msgstr ""
932930
msgid "These codes can be used to log in if you lose access to your two-factor device. You can generate new codes at any time, but you can only have one set of codes at a time."
933931
msgstr ""
934932

933+
#: hidp/templates/hidp/otp/setup_device.html
934+
#: hidp/templates/hidp/otp/verify.html
935+
#: hidp/templates/hidp/otp/verify_recovery_code.html
936+
msgid "Cancel and return to login"
937+
msgstr ""
938+
935939
#: hidp/templates/hidp/otp/setup_device.html
936940
msgid "Enter the following URL in your authenticator app:"
937941
msgstr ""

packages/hidp/hidp/locale/nl/LC_MESSAGES/django.po

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,8 +384,6 @@ msgstr "Opslaan"
384384
#: hidp/templates/hidp/otp/recovery_codes.html
385385
#: hidp/templates/hidp/otp/setup_device.html
386386
#: hidp/templates/hidp/otp/setup_device_done.html
387-
#: hidp/templates/hidp/otp/verify.html
388-
#: hidp/templates/hidp/otp/verify_recovery_code.html
389387
msgid "Back"
390388
msgstr "Terug"
391389

@@ -933,6 +931,12 @@ msgstr "Bewaar deze codes veilig. Deze codes zijn de enige manier om in te logge
933931
msgid "These codes can be used to log in if you lose access to your two-factor device. You can generate new codes at any time, but you can only have one set of codes at a time."
934932
msgstr "Deze codes kunnen worden gebruikt om in te loggen als je geen toegang meer hebt tot je tweefactor­apparaat. Je kunt op elk moment nieuwe codes genereren, maar je kunt slechts één set codes tegelijk hebben."
935933

934+
#: hidp/templates/hidp/otp/setup_device.html
935+
#: hidp/templates/hidp/otp/verify.html
936+
#: hidp/templates/hidp/otp/verify_recovery_code.html
937+
msgid "Cancel and return to login"
938+
msgstr "Annuleren en terug naar inloggen"
939+
936940
#: hidp/templates/hidp/otp/setup_device.html
937941
msgid "Enter the following URL in your authenticator app:"
938942
msgstr "Voer de volgende URL in bij je authenticator-app:"

packages/hidp/hidp/templates/hidp/otp/setup_device.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ <h2>{% translate 'Recovery codes' %}</h2>
7070
</form>
7171

7272
{% if logout_url %}
73-
{% include 'hidp/includes/forms/logout_form.html' with logout_label=_('Back') %}
73+
{% include 'hidp/includes/forms/logout_form.html' with logout_label=_('Cancel and return to login') %}
7474
{% elif back_url %}
7575
<a href="{{ back_url }}">{% translate 'Back' %}</a>
7676
{% endif %}

packages/hidp/hidp/templates/hidp/otp/verify.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ <h1>{% translate 'Two-factor authentication' %}</h1>
1313
{% include 'hidp/includes/forms/submit_row.html' with submit_label=_('Verify') %}
1414
</form>
1515

16-
{% include 'hidp/includes/forms/logout_form.html' with logout_label=_('Back') %}
16+
{% include 'hidp/includes/forms/logout_form.html' with logout_label=_('Cancel and return to login') %}
1717

1818
<p>
1919
{% url 'hidp_otp:verify-recovery-code' as recovery_code_url %}

packages/hidp/hidp/templates/hidp/otp/verify_recovery_code.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ <h1>{% translate 'Two-factor authentication' %}</h1>
1313
{% include 'hidp/includes/forms/submit_row.html' with submit_label=_('Verify') %}
1414
</form>
1515

16-
{% include 'hidp/includes/forms/logout_form.html' with logout_label=_('Back') %}
16+
{% include 'hidp/includes/forms/logout_form.html' with logout_label=_('Cancel and return to login') %}
1717
{% endblock %}

0 commit comments

Comments
 (0)