Browse Source

fix strings case registry

main
ghost 1 year ago
parent
commit
ac49397a1a
  1. 8
      templates/default/torrent/info.html.twig
  2. 18
      templates/default/user/profile.html.twig

8
templates/default/torrent/info.html.twig

@ -270,7 +270,7 @@
<path d="M12.854.146a.5.5 0 0 0-.707 0L10.5 1.793 14.207 5.5l1.647-1.646a.5.5 0 0 0 0-.708l-3-3zm.646 6.061L9.793 2.5 3.293 9H3.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.207l6.5-6.5zm-7.468 7.468A.5.5 0 0 1 6 13.5V13h-.5a.5.5 0 0 1-.5-.5V12h-.5a.5.5 0 0 1-.5-.5V11h-.5a.5.5 0 0 1-.5-.5V10h-.5a.499.499 0 0 1-.175-.032l-.179.178a.5.5 0 0 0-.11.168l-2 5a.5.5 0 0 0 .65.65l5-2a.5.5 0 0 0 .168-.11l.178-.178z"/> <path d="M12.854.146a.5.5 0 0 0-.707 0L10.5 1.793 14.207 5.5l1.647-1.646a.5.5 0 0 0 0-.708l-3-3zm.646 6.061L9.793 2.5 3.293 9H3.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.207l6.5-6.5zm-7.468 7.468A.5.5 0 0 1 6 13.5V13h-.5a.5.5 0 0 1-.5-.5V12h-.5a.5.5 0 0 1-.5-.5V11h-.5a.5.5 0 0 1-.5-.5V10h-.5a.499.499 0 0 1-.175-.032l-.179.178a.5.5 0 0 0-.11.168l-2 5a.5.5 0 0 0 .65.65l5-2a.5.5 0 0 0 .168-.11l.178-.178z"/>
</svg> </svg>
</a> </a>
{{ 'Locales'|trans }} {{ 'Locales' | trans }}
<div class="padding-b-8-px border-bottom-default"></div> <div class="padding-b-8-px border-bottom-default"></div>
<div class="padding-y-16-px text-left"> <div class="padding-y-16-px text-left">
{% if torrent.locales %} {% if torrent.locales %}
@ -290,9 +290,9 @@
<div class="padding-b-8-px border-bottom-default"></div> <div class="padding-b-8-px border-bottom-default"></div>
<div class="padding-y-16-px text-left"> <div class="padding-y-16-px text-left">
{% if torrent.sensitive %} {% if torrent.sensitive %}
{{ 'yes'|trans }} {{ 'Yes' | trans }}
{% else %} {% else %}
{{ 'no'|trans }} {{ 'No' | trans }}
{% endif %} {% endif %}
</div> </div>
</div> </div>
@ -302,7 +302,7 @@
<path d="M12.854.146a.5.5 0 0 0-.707 0L10.5 1.793 14.207 5.5l1.647-1.646a.5.5 0 0 0 0-.708l-3-3zm.646 6.061L9.793 2.5 3.293 9H3.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.207l6.5-6.5zm-7.468 7.468A.5.5 0 0 1 6 13.5V13h-.5a.5.5 0 0 1-.5-.5V12h-.5a.5.5 0 0 1-.5-.5V11h-.5a.5.5 0 0 1-.5-.5V10h-.5a.499.499 0 0 1-.175-.032l-.179.178a.5.5 0 0 0-.11.168l-2 5a.5.5 0 0 0 .65.65l5-2a.5.5 0 0 0 .168-.11l.178-.178z"/> <path d="M12.854.146a.5.5 0 0 0-.707 0L10.5 1.793 14.207 5.5l1.647-1.646a.5.5 0 0 0 0-.708l-3-3zm.646 6.061L9.793 2.5 3.293 9H3.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.207l6.5-6.5zm-7.468 7.468A.5.5 0 0 1 6 13.5V13h-.5a.5.5 0 0 1-.5-.5V12h-.5a.5.5 0 0 1-.5-.5V11h-.5a.5.5 0 0 1-.5-.5V10h-.5a.499.499 0 0 1-.175-.032l-.179.178a.5.5 0 0 0-.11.168l-2 5a.5.5 0 0 0 .65.65l5-2a.5.5 0 0 0 .168-.11l.178-.178z"/>
</svg> </svg>
</a> </a>
{{ 'Articles'|trans }} {{ 'Articles' | trans }}
<div class="padding-b-8-px border-bottom-default"></div> <div class="padding-b-8-px border-bottom-default"></div>
<div class="padding-y-16-px text-left"> <div class="padding-y-16-px text-left">
{% for article in torrent.articles %} {% for article in torrent.articles %}

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

@ -29,7 +29,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td>{{ 'Joined'|trans }}</td> <td>{{ 'Joined' | trans }}</td>
<td>{{ user.added | format_ago }}</td> <td>{{ user.added | format_ago }}</td>
</tr> </tr>
<tr> <tr>
@ -39,9 +39,9 @@
<td class="padding-t-16-px">{{ 'Status'|trans }}</td> <td class="padding-t-16-px">{{ 'Status'|trans }}</td>
<td class="padding-t-16-px"> <td class="padding-t-16-px">
{% if user.status %} {% if user.status %}
{{ 'active'|trans }} {{ 'Aactive' | trans }}
{% else %} {% else %}
{{ 'disabled'|trans }} {{ 'Disabled' | trans }}
{% endif %} {% endif %}
</td> </td>
</tr> </tr>
@ -49,25 +49,25 @@
<td>{{ 'Approved'|trans }}</td> <td>{{ 'Approved'|trans }}</td>
<td> <td>
{% if user.approved %} {% if user.approved %}
{{ 'yes'|trans }} {{ 'Yes' | trans }}
{% else %} {% else %}
{{ 'no'|trans }} {{ 'No' | trans }}
{% endif %} {% endif %}
</td> </td>
</tr> </tr>
<tr> <tr>
<td>{{ 'Moderator'|trans }}</td> <td>{{ 'Moderator' | trans }}</td>
<td> <td>
{% if user.moderator %} {% if user.moderator %}
{{ 'yes'|trans }} {{ 'Yes' | trans }}
{% else %} {% else %}
{{ 'no'|trans }} {{ 'No' | trans }}
{% endif %} {% endif %}
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="padding-b-8-px border-bottom-default text-right" colspan="2"> <td class="padding-b-8-px border-bottom-default text-right" colspan="2">
{{ 'Settings' |trans }} {{ 'Settings' | trans }}
</td> </td>
</tr> </tr>
<tr> <tr>

Loading…
Cancel
Save