From 166bf8c67540eb4dcd9a298fce9bf257da96a94a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Allan=20Nordh=C3=B8y?= Date: Mon, 9 Sep 2024 03:54:52 +0000 Subject: [PATCH 01/16] Two-factor strings --- weblate/templates/accounts/profile.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/weblate/templates/accounts/profile.html b/weblate/templates/accounts/profile.html index 00f7ca1f4568..41201bead92a 100644 --- a/weblate/templates/accounts/profile.html +++ b/weblate/templates/accounts/profile.html @@ -127,7 +127,7 @@ {% endif %} {% trans "The e-mail address can be chosen from verified addresses only." %}

- + @@ -195,7 +195,7 @@

{% trans "Security keys (WebAuthn)" %}
{% if not webauthn_keys %} -

{% trans "There are currently no WebAuthn keys registered." %}

+

{% trans "No WebAuthn keys registered yet." %}

{% else %}
    {% for key in webauthn_keys %} @@ -217,7 +217,7 @@
    {% trans "Security keys (WebAuthn)" %}
    @@ -227,7 +227,7 @@
    {% trans "Security keys (WebAuthn)" %}
    {% trans "Authenticator apps (TOTP)" %}
    {% if not totp_keys %} -

    {% trans "There are currently no authenticator apps registered." %}

    +

    {% trans "No authenticator apps registered yet." %}

    {% else %}
      {% for key in totp_keys %} @@ -244,14 +244,14 @@
      {% trans "Authenticator apps (TOTP)" %}
      {% trans "Recovery codes" %}
      {% if recovery_keys_count == 0 %} -

      {% trans "There are currently no recovery codes generated." %}

      +

      {% trans "No recovery codes generated yet." %}

      {% trans "Generate new recovery codes" %} {% else %}

      {% blocktranslate count count=recovery_keys_count trimmed %} - {{ count }} recovery code is available. + {{ count }} recovery code available. {% plural %} - {{ count }} recovery codes are available. + {{ count }} recovery codes available. {% endblocktranslate %}

      {% trans "View recovery codes" %} @@ -300,7 +300,7 @@
      {% trans "Recovery codes" %}
      {% crispy profileform %}

      - {% blocktrans %}All of the fields on this page are optional and can be deleted at any time, and by filling them out, you're giving us consent to share this data wherever your user profile appears.{% endblocktrans %} + {% blocktrans %}All fields on this page are optional and can be deleted at any time. By filling them out, you are consent to their use wherever your user profile appears.{% endblocktrans %}