diff --git a/.tx/config b/.tx/config index 9f98e0fa1..15ff0e930 100644 --- a/.tx/config +++ b/.tx/config @@ -47,6 +47,11 @@ file_filter = locale//LC_MESSAGES/services.po source_file = locale/sources/services.pot source_lang = en +[odoo-13-doc.theme] +file_filter = locale//LC_MESSAGES/sphinx.po +source_file = locale/sources/sphinx.pot +source_lang = en + [odoo-13-doc.user_settings] file_filter = locale//LC_MESSAGES/settings.po source_file = locale/sources/settings.pot @@ -55,4 +60,4 @@ source_lang = en [odoo-13-doc.websites] file_filter = locale//LC_MESSAGES/websites.po source_file = locale/sources/websites.pot -source_lang = en +source_lang = en \ No newline at end of file diff --git a/conf.py b/conf.py index 4227d7451..1729d8cf7 100644 --- a/conf.py +++ b/conf.py @@ -130,6 +130,7 @@ github_user = 'odoo' github_project = 'documentation' locale_dirs = ['../locale/'] +templates_path = ['../extensions'] # custom docname_to_domain to divide the translations of applications in subdirectories sphinx.transforms.i18n.docname_to_domain = ( diff --git a/extensions/odoo_theme/layout_templates/footer.html b/extensions/odoo_theme/layout_templates/footer.html index 0031dbbda..27de05dc6 100644 --- a/extensions/odoo_theme/layout_templates/footer.html +++ b/extensions/odoo_theme/layout_templates/footer.html @@ -1,9 +1,9 @@
diff --git a/extensions/odoo_theme/layout_templates/header.html b/extensions/odoo_theme/layout_templates/header.html index ff2cad8fd..29f4382c6 100644 --- a/extensions/odoo_theme/layout_templates/header.html +++ b/extensions/odoo_theme/layout_templates/header.html @@ -8,5 +8,5 @@
{%- include "layout_templates/language_switcher.html" %} {%- include "layout_templates/version_switcher.html" %} - Try Odoo for FREE + {{ _('Try Odoo for FREE') }}
diff --git a/extensions/odoo_theme/layout_templates/homepage.html b/extensions/odoo_theme/layout_templates/homepage.html index e93a06c13..134749027 100644 --- a/extensions/odoo_theme/layout_templates/homepage.html +++ b/extensions/odoo_theme/layout_templates/homepage.html @@ -1,65 +1,65 @@
-

Odoo Documentation

-

The comprehensive guide for Odoo users. Easily find the tutorial and helpful tips that suit your needs.

+

{{ _("Odoo Documentation") }}

+

{{ _("The comprehensive guide for Odoo users. Easily find the tutorial and helpful tips that suit your needs.") }}

-

Applications

-

Master any app thanks to their end-user guides. Our wide array of functional workflows and processes are designed to help you unleash Odoo's potential.

-
Top Links
+

{{ _("Applications") }}

+

{{ _("Master any app thanks to their end-user guides. Our wide array of functional workflows and processes are designed to help you unleash Odoo's potential.") }}

+
{{ _("Top Links") }}
-

Administration

-

Easily setup your first Odoo installation. From downloads to day-to-day database administration, the dedicated tutorials have got you covered.

-
Top Links
+

{{ _("Administration") }}

+

{{ _("Easily setup your first Odoo installation. From downloads to day-to-day database administration, the dedicated tutorials have got you covered.") }}

+
{{ _("Top Links") }}
@@ -67,50 +67,50 @@
-

Developer

-

Learn to develop in Odoo by reading the framework references and programmer tutorials.

-
Top Links
+

{{ _("Developer") }}

+

{{ _("Learn to develop in Odoo by reading the framework references and programmer tutorials.") }}

+
{{ _("Top Links") }}
-

Services

-

Find out how to open a support ticket should you need to contact a Customer Service Representative.

-
Top Links
+

{{ _("Services") }}

+

{{ _("Find out how to open a support ticket should you need to contact a Customer Service Representative.") }}

+
{{ _("Top Links") }}
@@ -118,18 +118,18 @@
-

Contributing

-

You want to contribute to Odoo but don't know where to start? The tutorials and guidelines are there to help you make Odoo even better.

-
Top Links
+

{{ _("Contributing") }}

+

{{ _("You want to contribute to Odoo but don't know where to start? The tutorials and guidelines are there to help you make Odoo even better.") }}

+
{{ _("Top Links") }}
diff --git a/extensions/odoo_theme/layout_templates/page_toc.html b/extensions/odoo_theme/layout_templates/page_toc.html index e0e603363..c73d9f43e 100644 --- a/extensions/odoo_theme/layout_templates/page_toc.html +++ b/extensions/odoo_theme/layout_templates/page_toc.html @@ -1,4 +1,4 @@
-

On this page

+

{{ _("On this page") }}

{{ toc }} {# this is the page TOC (or local toc) #}
diff --git a/locale/sources/sphinx.pot b/locale/sources/sphinx.pot new file mode 100644 index 000000000..368d70bf1 --- /dev/null +++ b/locale/sources/sphinx.pot @@ -0,0 +1,166 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) Odoo S.A. +# This file is distributed under the same license as the Odoo package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: Odoo 12.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2021-06-14 14:55+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../../extensions/odoo_theme/layout_templates/footer.html:3 +msgid "Get Help" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/footer.html:5 +msgid "Contact Support" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/footer.html:6 +msgid "Ask the Odoo Community" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/header.html:11 +#: ../../extensions/odoo_theme/layout_templates/homepage.html:7 +msgid "Try Odoo for FREE" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:4 +msgid "Odoo Documentation" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:5 +msgid "The comprehensive guide for Odoo users. Easily find the tutorial and helpful tips that suit your needs." +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:14 +msgid "Applications" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:15 +msgid "Master any app thanks to their end-user guides. Our wide array of functional workflows and processes are designed to help you unleash Odoo's potential." +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:16 +#: ../../extensions/odoo_theme/layout_templates/homepage.html:42 +#: ../../extensions/odoo_theme/layout_templates/homepage.html:71 +#: ../../extensions/odoo_theme/layout_templates/homepage.html:98 +#: ../../extensions/odoo_theme/layout_templates/homepage.html:122 +msgid "Top Links" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:20 +msgid "Introduction to Odoo Accounting" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:25 +msgid "Introduction to Inventory Management" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:29 +msgid "Import data into Odoo" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:34 +msgid "Use my mail server to send and receive emails in Odoo" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:40 +msgid "Administration" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:41 +msgid "Easily setup your first Odoo installation. From downloads to day-to-day database administration, the dedicated tutorials have got you covered." +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:46 +msgid "Installing Odoo" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:51 +msgid "Deploying Odoo" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:56 +msgid "Updating Odoo" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:61 +msgid "Introduction to Odoo.sh" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:69 +msgid "Developer" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:70 +msgid "Learn to develop in Odoo by reading the framework references and programmer tutorials." +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:75 +msgid "ORM API" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:80 +msgid "Building a Module" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:85 +msgid "External API" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:90 +msgid "Command-line interface" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:96 +msgid "Services" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:97 +msgid "Find out how to open a support ticket should you need to contact a Customer Service Representative." +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:102 +msgid "Where to find help?" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:107 +msgid "Supported versions" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:112 +msgid "Legal" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:120 +msgid "Contributing" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:121 +msgid "You want to contribute to Odoo but don't know where to start? The tutorials and guidelines are there to help you make Odoo even better." +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:126 +msgid "Write documentation" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:131 +msgid "Content guidelines" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/page_toc.html:2 +msgid "On this page" +msgstr "" + +#: ../../extensions/odoo_theme/search.html:10 +msgid "Please activate JavaScript to enable the search functionality." +msgstr ""