Skip to content

Commit

Permalink
[FIX] dialogs title translations
Browse files Browse the repository at this point in the history
  • Loading branch information
benwillig committed Oct 7, 2024
1 parent d9b7c31 commit 1bac173
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 7 deletions.
18 changes: 16 additions & 2 deletions cmis_web/i18n/cmis_web.pot
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
20 changes: 17 additions & 3 deletions cmis_web/i18n/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<templates xml:space="preserve">
<t t-name="cmis_web.AddDocumentDialog" owl="1">
<Dialog size="'md'" title="'Add Document'">
<Dialog size="'md'" title="title">
<input
type="file"
class="form-control"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const {Component, useRef} = owl;
export class CreateFolderDialog extends Component {
setup() {
this.folderName = useRef("folderName");
this.title = this.env._t("Create Folder");
}

async onClose() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<templates xml:space="preserve">
<t t-name="cmis_web.CreateFolderDialog" owl="1">
<Dialog size="'md'" title="'Create Folder'">
<Dialog size="'md'" title="title">
<div class="form-group row">
<label
for="folderName"
Expand Down

0 comments on commit 1bac173

Please sign in to comment.