From 5f0a5f41b49b0d11b3f70b0f29d1e151b9d63e6e Mon Sep 17 00:00:00 2001 From: "Dylan Kiss (dyki)" Date: Thu, 29 Feb 2024 12:48:45 +0000 Subject: [PATCH] [FIX] website_hr_recruitment: allow translating open positions When listing jobs on the website, we show the number of open positions. Currently the "open positions" were crafted in the QWeb template in such a way that the translation mechanism couldn't extract it and thus it could not be translated. In this commit we fix that, so that it can be translated again. opw-3761288 closes odoo/odoo#155974 X-original-commit: d19aa2e13be11cb2ce9d293c453a58f136b03712 Signed-off-by: Tiffany Chang (tic) Signed-off-by: Dylan Kiss (dyki) --- .../i18n/website_hr_recruitment.pot | 9 +++++++-- .../views/website_hr_recruitment_templates.xml | 6 +++--- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/addons/website_hr_recruitment/i18n/website_hr_recruitment.pot b/addons/website_hr_recruitment/i18n/website_hr_recruitment.pot index 2c2e87b5a43..18439d648e8 100644 --- a/addons/website_hr_recruitment/i18n/website_hr_recruitment.pot +++ b/addons/website_hr_recruitment/i18n/website_hr_recruitment.pot @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 17.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-10-26 21:55+0000\n" -"PO-Revision-Date: 2023-10-26 21:55+0000\n" +"POT-Creation-Date: 2024-03-04 09:08+0000\n" +"PO-Revision-Date: 2024-03-04 09:08+0000\n" "Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -879,6 +879,11 @@ msgstr "" msgid "info@yourcompany.example.com" msgstr "" +#. module: website_hr_recruitment +#: model_terms:ir.ui.view,arch_db:website_hr_recruitment.index +msgid "open positions" +msgstr "" + #. module: website_hr_recruitment #: model_terms:ir.ui.view,arch_db:website_hr_recruitment.hr_recruitment_source_kanban_inherit_website msgid "share it" diff --git a/addons/website_hr_recruitment/views/website_hr_recruitment_templates.xml b/addons/website_hr_recruitment/views/website_hr_recruitment_templates.xml index d6b2a398cc5..29ad08d8ca7 100644 --- a/addons/website_hr_recruitment/views/website_hr_recruitment_templates.xml +++ b/addons/website_hr_recruitment/views/website_hr_recruitment_templates.xml @@ -60,9 +60,9 @@

unpublished -

+
+ open positions +
Insert a Job Description...