Browse Source

add identicon alt text translation #19

main
ghost 1 year ago
parent
commit
0aa38c16dd
  1. 2
      templates/default/user/info.html.twig
  2. 2
      templates/default/user/profile.html.twig

2
templates/default/user/info.html.twig

@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
{% block title %}{{ 'User'|trans }} #{{ user.id }} - {{ name }}{% endblock %}
{% block main_content %}
<div class="text-center">
<img class="border-radius-50 border-default border-width-2-px" src="{{ user.identicon }}" alt="identicon" />
<img class="border-radius-50 border-default border-width-2-px" src="{{ user.identicon }}" alt="{{ 'identicon'|trans }}" />
</div>
<h2>{{ 'Profile'|trans }}</h2>
<table class="width-100">

2
templates/default/user/profile.html.twig

@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
{% block main_content %}
<form name="profile" action="{{ path('user_profile') }}" method="post">
<div class="text-center">
<img class="border-radius-50 border-default border-width-2-px" src="{{ user.identicon }}" alt="identicon" />
<img class="border-radius-50 border-default border-width-2-px" src="{{ user.identicon }}" alt="{{ 'identicon'|trans }}" />
</div>
<h2>{{ 'Profile'|trans }}</h2>
<table class="width-100">

Loading…
Cancel
Save