summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYenthe V.G <yenthevg@gmail.com>2017-11-09 13:34:34 +0100
committerMartin Trigaux <mat@odoo.com>2017-11-09 17:18:57 +0100
commitab1ad384859e1ac1b9fb6d094cfec4c5750c210b (patch)
tree9603fd50317436991470dc0815e85f3376fd4230
parentf8540501aca60feea8108691b7ad5a9afa030aa0 (diff)
[FIX] stock,project: make planner translatable
Titles of the sections was not present Closes #20825 Closes #20833
-rw-r--r--addons/project/data/web_planner_data.xml6
-rw-r--r--addons/project/i18n/project.pot12
-rw-r--r--addons/stock/data/web_planner_data.xml2
3 files changed, 16 insertions, 4 deletions
diff --git a/addons/project/data/web_planner_data.xml b/addons/project/data/web_planner_data.xml
index ce1b1be2077..21b8e6d3dd6 100644
--- a/addons/project/data/web_planner_data.xml
+++ b/addons/project/data/web_planner_data.xml
@@ -39,7 +39,7 @@
<t t-set="menu_categoryclasses" t-value="'fa-flag-checkered'"/>
<t t-call="web_planner.page">
<t t-set="page_title">Your Objectives</t>
- <t t-set="page_menutitle" t-value="'Objectives'"/>
+ <t t-set="page_menutitle">Objectives</t>
<p class="text-muted">
It's essential to be clear about why you want to use Odoo Project and what your goals are.
Indeed, there are many ways to manage a project, to find the best one for you, you need to know exactly what you want to achieve. And later on, we will hopefully transform your objectives into real improvements for your company.
@@ -83,7 +83,7 @@
<t t-call="web_planner.page">
<t t-set="page_title">Your Activities</t>
- <t t-set="page_menutitle" t-value="'Activities'"/>
+ <t t-set="page_menutitle">Activities</t>
<p class="text-muted">The Odoo Project app can be used to manage many activities, from the development of a new product to the daily operations of a customer support. With some creativity, it can even be used to manage your marketing communications or personal projects. But just because it can be done doesn't mean it's always a good idea: let's start by helping you understand what can be a good project.</p>
<div class="row">
@@ -116,7 +116,7 @@
<t t-call="web_planner.page">
<t t-set="page_title">Your Projects</t>
- <t t-set="page_menutitle" t-value="'Projects'"/>
+ <t t-set="page_menutitle">Projects</t>
<p class="text-muted">Depending on what you need and how you want to operate, there are several ways to work with Odoo. First, decide if you want to think in terms of tasks or issues. Then, activate the Timesheets app if you need it.</p>
<h4>1. Learn about Tasks, Issues and Timesheets.</h4>
<div class="row">
diff --git a/addons/project/i18n/project.pot b/addons/project/i18n/project.pot
index df1aa4781dc..11026cf0f45 100644
--- a/addons/project/i18n/project.pot
+++ b/addons/project/i18n/project.pot
@@ -765,6 +765,11 @@ msgid "Active"
msgstr ""
#. module: project
+#: model:ir.ui.view,arch_db:project.project_planner
+msgid "Activities"
+msgstr ""
+
+#. module: project
#: model:ir.ui.view,arch_db:project.task_type_edit
msgid "Add a description..."
msgstr ""
@@ -2212,6 +2217,12 @@ msgstr ""
#. module: project
#: model:ir.ui.view,arch_db:project.project_planner
+msgid "Objectives"
+msgstr ""
+
+
+#. module: project
+#: model:ir.ui.view,arch_db:project.project_planner
msgid "Odoo Project is a super fast and easy way to make your activities and tasks visible to\n"
" everyone in your company. Follow how things progress, see when things are stuck, know\n"
" who's in charge, all in one place."
@@ -2458,6 +2469,7 @@ msgstr ""
#: model:ir.model.fields,field_description:project.field_project_task_type_project_ids
#: model:ir.ui.menu,name:project.menu_projects_config
#: model:ir.ui.view,arch_db:project.analytic_account_inherited_form
+#: model:ir.ui.view,arch_db:project.project_planner
#: model:ir.ui.view,arch_db:project.view_project
msgid "Projects"
msgstr ""
diff --git a/addons/stock/data/web_planner_data.xml b/addons/stock/data/web_planner_data.xml
index 592887fa992..cdde8a2e898 100644
--- a/addons/stock/data/web_planner_data.xml
+++ b/addons/stock/data/web_planner_data.xml
@@ -363,7 +363,7 @@
<t t-set="menu_categoryclasses" t-value="'fa-recycle'"/>
<t t-call="web_planner.page">
<t t-set="page_title">Reordering Rules</t>
- <t t-set="page_menutitle" t-value="'Reordering Rules'"/>
+ <t t-set="page_menutitle">Reordering Rules</t>
<p class="text-muted">
A good inventory management aims to optimize stock levels: not too low (or
you may find yourself out of stock) and not too high (your products occupy