From 9da46bbdcd6f52e8f77b1efd9a0f6261821e5585 Mon Sep 17 00:00:00 2001 From: Kevin Papst Date: Mon, 18 May 2020 16:03:45 +0200 Subject: [PATCH] re-using menu translation for tags (#1717) --- templates/tags/edit.html.twig | 2 +- templates/tags/index.html.twig | 2 +- translations/tags.cs.xlf | 15 --------------- translations/tags.da.xlf | 11 ----------- translations/tags.de.xlf | 11 ----------- translations/tags.en.xlf | 11 ----------- translations/tags.eo.xlf | 11 ----------- translations/tags.es.xlf | 11 ----------- translations/tags.eu.xlf | 11 ----------- translations/tags.fr.xlf | 11 ----------- translations/tags.hu.xlf | 11 ----------- translations/tags.it.xlf | 11 ----------- translations/tags.ja.xlf | 11 ----------- translations/tags.ko.xlf | 11 ----------- translations/tags.nl.xlf | 11 ----------- translations/tags.pl.xlf | 11 ----------- translations/tags.pt_BR.xlf | 11 ----------- translations/tags.sk.xlf | 11 ----------- translations/tags.sv.xlf | 11 ----------- translations/tags.tr.xlf | 11 ----------- translations/tags.zh_CN.xlf | 11 ----------- 21 files changed, 2 insertions(+), 215 deletions(-) delete mode 100644 translations/tags.cs.xlf delete mode 100644 translations/tags.da.xlf delete mode 100644 translations/tags.de.xlf delete mode 100644 translations/tags.en.xlf delete mode 100644 translations/tags.eo.xlf delete mode 100644 translations/tags.es.xlf delete mode 100644 translations/tags.eu.xlf delete mode 100644 translations/tags.fr.xlf delete mode 100644 translations/tags.hu.xlf delete mode 100644 translations/tags.it.xlf delete mode 100644 translations/tags.ja.xlf delete mode 100755 translations/tags.ko.xlf delete mode 100644 translations/tags.nl.xlf delete mode 100644 translations/tags.pl.xlf delete mode 100644 translations/tags.pt_BR.xlf delete mode 100755 translations/tags.sk.xlf delete mode 100644 translations/tags.sv.xlf delete mode 100644 translations/tags.tr.xlf delete mode 100644 translations/tags.zh_CN.xlf diff --git a/templates/tags/edit.html.twig b/templates/tags/edit.html.twig index 3f2a0c28..b11c3d59 100644 --- a/templates/tags/edit.html.twig +++ b/templates/tags/edit.html.twig @@ -2,7 +2,7 @@ {% import "macros/widgets.html.twig" as widgets %} {% import "tags/actions.html.twig" as actions %} -{% block page_title %}{{ 'tags.title'|trans({}, 'tags') }}{% endblock %} +{% block page_title %}{{ 'menu.tags'|trans }}{% endblock %} {% block page_actions %}{{ actions.tag(tag, 'edit') }}{% endblock %} {% block main %} diff --git a/templates/tags/index.html.twig b/templates/tags/index.html.twig index 0d506aa9..525789b1 100644 --- a/templates/tags/index.html.twig +++ b/templates/tags/index.html.twig @@ -4,7 +4,7 @@ {% import "macros/datatables.html.twig" as tables %} {% import "macros/toolbar.html.twig" as toolbar %} -{% block page_title %}{{ 'tags.title'|trans({}, 'tags') }}{% endblock %} +{% block page_title %}{{ 'menu.tags'|trans }}{% endblock %} {% block page_search %}{{ toolbar.dropDownSearch(toolbarForm) }}{% endblock %} {% block page_actions %}{{ actions.tags('index') }}{% endblock %} diff --git a/translations/tags.cs.xlf b/translations/tags.cs.xlf deleted file mode 100644 index 8d4218bc..00000000 --- a/translations/tags.cs.xlf +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - tags.title - Štítek - - - tags.subtitle - Štítky umožňují volně kombinovat pracovní výkaz s výsledky vyhledávání - - - - diff --git a/translations/tags.da.xlf b/translations/tags.da.xlf deleted file mode 100644 index 751e695b..00000000 --- a/translations/tags.da.xlf +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - tags.title - Etiketter - - - - diff --git a/translations/tags.de.xlf b/translations/tags.de.xlf deleted file mode 100644 index 58adf418..00000000 --- a/translations/tags.de.xlf +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - tags.title - Tags - - - - diff --git a/translations/tags.en.xlf b/translations/tags.en.xlf deleted file mode 100644 index 5ff77e87..00000000 --- a/translations/tags.en.xlf +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - tags.title - Tags - - - - diff --git a/translations/tags.eo.xlf b/translations/tags.eo.xlf deleted file mode 100644 index 83e38c2b..00000000 --- a/translations/tags.eo.xlf +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - tags.title - Etikedoj - - - - diff --git a/translations/tags.es.xlf b/translations/tags.es.xlf deleted file mode 100644 index fe11fb47..00000000 --- a/translations/tags.es.xlf +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - tags.title - Etiquetas - - - - diff --git a/translations/tags.eu.xlf b/translations/tags.eu.xlf deleted file mode 100644 index f2530a57..00000000 --- a/translations/tags.eu.xlf +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - tags.title - Etiketak - - - - diff --git a/translations/tags.fr.xlf b/translations/tags.fr.xlf deleted file mode 100644 index 6a1aef9b..00000000 --- a/translations/tags.fr.xlf +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - tags.title - Mots-clés - - - - diff --git a/translations/tags.hu.xlf b/translations/tags.hu.xlf deleted file mode 100644 index a0401526..00000000 --- a/translations/tags.hu.xlf +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - tags.title - Címkék - - - - diff --git a/translations/tags.it.xlf b/translations/tags.it.xlf deleted file mode 100644 index 72521721..00000000 --- a/translations/tags.it.xlf +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - tags.title - Etichette - - - - diff --git a/translations/tags.ja.xlf b/translations/tags.ja.xlf deleted file mode 100644 index 7003fd0e..00000000 --- a/translations/tags.ja.xlf +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - tags.title - タグ - - - - diff --git a/translations/tags.ko.xlf b/translations/tags.ko.xlf deleted file mode 100755 index 12dfc8ee..00000000 --- a/translations/tags.ko.xlf +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - tags.title - 태그 - - - - diff --git a/translations/tags.nl.xlf b/translations/tags.nl.xlf deleted file mode 100644 index 4805cf73..00000000 --- a/translations/tags.nl.xlf +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - tags.title - Labels - - - - diff --git a/translations/tags.pl.xlf b/translations/tags.pl.xlf deleted file mode 100644 index 7ff4c636..00000000 --- a/translations/tags.pl.xlf +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - tags.title - Tagi - - - - diff --git a/translations/tags.pt_BR.xlf b/translations/tags.pt_BR.xlf deleted file mode 100644 index f0ef206f..00000000 --- a/translations/tags.pt_BR.xlf +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - tags.title - Marcadores - - - - diff --git a/translations/tags.sk.xlf b/translations/tags.sk.xlf deleted file mode 100755 index d6c6f7d1..00000000 --- a/translations/tags.sk.xlf +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - tags.title - Značky - - - - diff --git a/translations/tags.sv.xlf b/translations/tags.sv.xlf deleted file mode 100644 index 8eb8754a..00000000 --- a/translations/tags.sv.xlf +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - tags.title - Taggar - - - - diff --git a/translations/tags.tr.xlf b/translations/tags.tr.xlf deleted file mode 100644 index 5df8d9ca..00000000 --- a/translations/tags.tr.xlf +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - tags.title - Etiketler - - - - \ No newline at end of file diff --git a/translations/tags.zh_CN.xlf b/translations/tags.zh_CN.xlf deleted file mode 100644 index aee2abe2..00000000 --- a/translations/tags.zh_CN.xlf +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - tags.title - 标签 - - - - \ No newline at end of file