Skip to content

Commit

Permalink
fix(profile): improve 2fa strings in admin profile
Browse files Browse the repository at this point in the history
  • Loading branch information
comradekingu authored and nijel committed Feb 6, 2025
1 parent 64057e3 commit a3ed927
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions weblate/templates/accounts/user.html
Original file line number Diff line number Diff line change
Expand Up @@ -392,16 +392,16 @@ <h4 class="panel-title">
</div>
<div class="panel-body">
{% if page_user.profile.has_2fa %}
{% trans "User has two-factor authentication configured." %}
{% trans "The user has two-factor authentication." %}
{% else %}
{% trans "User doesn't have two-factor authentication configured." %}
{% trans "The user doesn't have two-factor authentication." %}
{% endif %}
</div>
{% if page_user.profile.has_2fa %}
<div class="panel-footer">
<input type="submit"
name="remove_2fa"
value="{% trans "Disable two-factor authentication" %}"
value="{% trans "Turn off two-factor authentication" %}"
class="btn-danger red">
</div>
{% endif %}
Expand Down

0 comments on commit a3ed927

Please sign in to comment.