From 218f6c8a04f215449d5fc04f03ff517309d09cf6 Mon Sep 17 00:00:00 2001 From: NicoDucou Date: Mon, 22 Apr 2024 11:33:14 +0200 Subject: [PATCH] Platform: enable title translation in contact form - refs BT#20920 --- assets/locales/en.json | 3 ++- src/CoreBundle/Resources/views/Contact/index.html.twig | 2 +- translations/messages.en.po | 3 +++ translations/messages.es.po | 3 +++ translations/messages.fr.po | 3 +++ translations/messages.pot | 3 +++ 6 files changed, 15 insertions(+), 2 deletions(-) diff --git a/assets/locales/en.json b/assets/locales/en.json index 888fde5b2e..52123b50d0 100644 --- a/assets/locales/en.json +++ b/assets/locales/en.json @@ -542,5 +542,6 @@ "Error fetching friends list": "Error fetching friends list", "Error fetching users": "Error fetching users", "Search users for friends": "Search users for friends", + "Contact Us": "Contact Us", "Business card": "Business card" -} \ No newline at end of file +} diff --git a/src/CoreBundle/Resources/views/Contact/index.html.twig b/src/CoreBundle/Resources/views/Contact/index.html.twig index 781141d270..d478c97d5d 100644 --- a/src/CoreBundle/Resources/views/Contact/index.html.twig +++ b/src/CoreBundle/Resources/views/Contact/index.html.twig @@ -5,7 +5,7 @@ {% block content %}
-

Contact Us

+

{{ "Contact Us"|get_lang }}

{{ form_start(form, {'attr': {'class': 'bg-white shadow-md rounded px-8 pt-6 pb-8 mb-4'}}) }} diff --git a/translations/messages.en.po b/translations/messages.en.po index d9ef2ec590..6155b8f9d5 100644 --- a/translations/messages.en.po +++ b/translations/messages.en.po @@ -27369,3 +27369,6 @@ msgstr "Access by role to ticket projects" msgid "Allow ticket projects to be accesses by specific user roles. Example: ['permissions' => [1 => [17]] where project_id = 1, STUDENT_BOSS = 17." msgstr "Allow ticket projects to be accesses by specific user roles. Example: ['permissions' => [1 => [17]] where project_id = 1, STUDENT_BOSS = 17." + +msgid "Contact Us" +msgstr "Contact Us" diff --git a/translations/messages.es.po b/translations/messages.es.po index 5aebbcd046..73cf561837 100644 --- a/translations/messages.es.po +++ b/translations/messages.es.po @@ -25288,3 +25288,6 @@ msgstr "" msgid "Signed in as" msgstr "Conectado como" + +msgid "Contact Us" +msgstr "Contactanos" diff --git a/translations/messages.fr.po b/translations/messages.fr.po index ea4cc9a34b..098c0829f8 100644 --- a/translations/messages.fr.po +++ b/translations/messages.fr.po @@ -26043,3 +26043,6 @@ msgstr "" msgid "Manage the skills of your users, through courses and badges" msgstr "" "Gérez les compétences de vos utilisateurs au travers de cours et de badges" + +msgid "Contact Us" +msgstr "Nous contacter" diff --git a/translations/messages.pot b/translations/messages.pot index daf0a0ce2f..d17838a819 100644 --- a/translations/messages.pot +++ b/translations/messages.pot @@ -27363,3 +27363,6 @@ msgstr "" msgid "Allow ticket projects to be accesses by specific user roles. Example: ['permissions' => [1 => [17]] where project_id = 1, STUDENT_BOSS = 17." msgstr "" +msgid "Contact Us" +msgstr "" +