From ac49397a1a1a3d37a32ade4d93110f62f22f1096 Mon Sep 17 00:00:00 2001 From: ghost Date: Tue, 10 Oct 2023 15:48:50 +0300 Subject: [PATCH] fix strings case registry --- templates/default/torrent/info.html.twig | 8 ++++---- templates/default/user/profile.html.twig | 18 +++++++++--------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/templates/default/torrent/info.html.twig b/templates/default/torrent/info.html.twig index 2300d30..4c03127 100644 --- a/templates/default/torrent/info.html.twig +++ b/templates/default/torrent/info.html.twig @@ -270,7 +270,7 @@ - {{ 'Locales'|trans }} + {{ 'Locales' | trans }}
{% if torrent.locales %} @@ -290,9 +290,9 @@
{% if torrent.sensitive %} - {{ 'yes'|trans }} + {{ 'Yes' | trans }} {% else %} - {{ 'no'|trans }} + {{ 'No' | trans }} {% endif %}
@@ -302,7 +302,7 @@ - {{ 'Articles'|trans }} + {{ 'Articles' | trans }}
{% for article in torrent.articles %} diff --git a/templates/default/user/profile.html.twig b/templates/default/user/profile.html.twig index fedd7fc..49d3dd4 100644 --- a/templates/default/user/profile.html.twig +++ b/templates/default/user/profile.html.twig @@ -29,7 +29,7 @@ - {{ 'Joined'|trans }} + {{ 'Joined' | trans }} {{ user.added | format_ago }} @@ -39,9 +39,9 @@ {{ 'Status'|trans }} {% if user.status %} - {{ 'active'|trans }} + {{ 'Aactive' | trans }} {% else %} - {{ 'disabled'|trans }} + {{ 'Disabled' | trans }} {% endif %} @@ -49,25 +49,25 @@ {{ 'Approved'|trans }} {% if user.approved %} - {{ 'yes'|trans }} + {{ 'Yes' | trans }} {% else %} - {{ 'no'|trans }} + {{ 'No' | trans }} {% endif %} - {{ 'Moderator'|trans }} + {{ 'Moderator' | trans }} {% if user.moderator %} - {{ 'yes'|trans }} + {{ 'Yes' | trans }} {% else %} - {{ 'no'|trans }} + {{ 'No' | trans }} {% endif %} - {{ 'Settings' |trans }} + {{ 'Settings' | trans }}