From 1bac173f6d1f200250e46baa42e9e2254a95830b Mon Sep 17 00:00:00 2001 From: Benjamin Willig Date: Thu, 30 May 2024 10:52:31 +0200 Subject: [PATCH] [FIX] dialogs title translations --- cmis_web/i18n/cmis_web.pot | 18 +++++++++++++++-- cmis_web/i18n/fr.po | 20 ++++++++++++++++--- .../add_document_dialog.js | 1 + .../add_document_dialog.xml | 2 +- .../create_folder_dialog.js | 1 + .../create_folder_dialog.xml | 2 +- 6 files changed, 37 insertions(+), 7 deletions(-) diff --git a/cmis_web/i18n/cmis_web.pot b/cmis_web/i18n/cmis_web.pot index c9f5c167..3511aa10 100644 --- a/cmis_web/i18n/cmis_web.pot +++ b/cmis_web/i18n/cmis_web.pot @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 16.0+e\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-01-04 15:21+0000\n" -"PO-Revision-Date: 2024-01-04 15:21+0000\n" +"POT-Creation-Date: 2024-05-30 08:49+0000\n" +"PO-Revision-Date: 2024-05-30 08:49+0000\n" "Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -22,6 +22,13 @@ msgstr "" msgid "Add" msgstr "" +#. module: cmis_web +#. odoo-javascript +#: code:addons/cmis_web/static/src/add_document_dialog/add_document_dialog.js:0 +#, python-format +msgid "Add Document" +msgstr "" + #. module: cmis_web #. odoo-javascript #: code:addons/cmis_web/static/src/cmis_document/cmis_document.xml:0 @@ -100,6 +107,13 @@ msgstr "" msgid "Create" msgstr "" +#. module: cmis_web +#. odoo-javascript +#: code:addons/cmis_web/static/src/create_folder_dialog/create_folder_dialog.js:0 +#, python-format +msgid "Create Folder" +msgstr "" + #. module: cmis_web #. odoo-javascript #: code:addons/cmis_web/static/src/cmis_folder/cmis_folder.xml:0 diff --git a/cmis_web/i18n/fr.po b/cmis_web/i18n/fr.po index f1017442..d6f57663 100644 --- a/cmis_web/i18n/fr.po +++ b/cmis_web/i18n/fr.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 16.0+e\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-01-04 15:21+0000\n" -"PO-Revision-Date: 2024-01-04 15:21+0000\n" +"POT-Creation-Date: 2024-05-30 08:50+0000\n" +"PO-Revision-Date: 2024-05-30 08:50+0000\n" "Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -22,6 +22,13 @@ msgstr "" msgid "Add" msgstr "Ajouter" +#. module: cmis_web +#. odoo-javascript +#: code:addons/cmis_web/static/src/add_document_dialog/add_document_dialog.js:0 +#, python-format +msgid "Add Document" +msgstr "Ajouter un document" + #. module: cmis_web #. odoo-javascript #: code:addons/cmis_web/static/src/cmis_document/cmis_document.xml:0 @@ -100,6 +107,13 @@ msgstr "Confirmer la suppression du lien avec" msgid "Create" msgstr "Créer" +#. module: cmis_web +#. odoo-javascript +#: code:addons/cmis_web/static/src/create_folder_dialog/create_folder_dialog.js:0 +#, python-format +msgid "Create Folder" +msgstr "Créer un répertoire" + #. module: cmis_web #. odoo-javascript #: code:addons/cmis_web/static/src/cmis_folder/cmis_folder.xml:0 @@ -370,7 +384,7 @@ msgstr "Rechercher sur base du nom du document" #: code:addons/cmis_web/static/src/cmis_attachment_viewer/cmis_attachment_viewer.xml:0 #, python-format msgid "Text file" -msgstr "" +msgstr "Fichier Texte" #. module: cmis_web #. odoo-javascript diff --git a/cmis_web/static/src/add_document_dialog/add_document_dialog.js b/cmis_web/static/src/add_document_dialog/add_document_dialog.js index 26ff31a4..4d99ab45 100644 --- a/cmis_web/static/src/add_document_dialog/add_document_dialog.js +++ b/cmis_web/static/src/add_document_dialog/add_document_dialog.js @@ -14,6 +14,7 @@ const {Component, useRef} = owl; export class AddDocumentDialog extends Component { setup() { this.filesInput = useRef("filesInput"); + this.title = this.env._t("Add Document"); } async onClose() { diff --git a/cmis_web/static/src/add_document_dialog/add_document_dialog.xml b/cmis_web/static/src/add_document_dialog/add_document_dialog.xml index 1a6a46d9..06fadc21 100644 --- a/cmis_web/static/src/add_document_dialog/add_document_dialog.xml +++ b/cmis_web/static/src/add_document_dialog/add_document_dialog.xml @@ -1,7 +1,7 @@ - + - +