From 62778f7ce607a5af511f3f357e2f082e1929f150 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Tue, 31 Dec 2024 13:03:59 +0100 Subject: [PATCH] Made buttons translatable --- .../info_providers/search/part_search.html.twig | 4 ++-- translations/messages.en.xlf | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/templates/info_providers/search/part_search.html.twig b/templates/info_providers/search/part_search.html.twig index e96e18b1..f9e697c6 100644 --- a/templates/info_providers/search/part_search.html.twig +++ b/templates/info_providers/search/part_search.html.twig @@ -114,7 +114,7 @@ they sometimes stack#} {% if localPart is not null %} {# TODO: Needs translation #} + target="_blank" title="{% trans %}info_providers.search.show_existing_part{% endtrans %}"> {% endif %} @@ -122,7 +122,7 @@ {% if localPart is not null %} {# TODO: Needs translation #} + target="_blank" title="{% trans %}info_providers.search.edit_existing_part{% endtrans %}"> {% endif %} diff --git a/translations/messages.en.xlf b/translations/messages.en.xlf index de8531aa..bd3484e9 100644 --- a/translations/messages.en.xlf +++ b/translations/messages.en.xlf @@ -12227,5 +12227,17 @@ Please note, that you can not impersonate a disabled user. If you try you will g Generated code + + + info_providers.search.show_existing_part + Show existing part + + + + + info_providers.search.edit_existing_part + Edit existing part + +