diff --git a/.tx/config b/.tx/config index cbe4f0c22..5f3504359 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-14-doc.theme] +file_filter = locale//LC_MESSAGES/sphinx.po +source_file = locale/sources/sphinx.pot +source_lang = en + [odoo-14-doc.user_settings] file_filter = locale//LC_MESSAGES/settings.po source_file = locale/sources/settings.pot @@ -55,4 +60,4 @@ source_lang = en [odoo-14-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 a680f1f8f..d393a1eca 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/content/contributing/documentation/rst_cheat_sheet.rst b/content/contributing/documentation/rst_cheat_sheet.rst index 8349a600c..7b78c24b0 100644 --- a/content/contributing/documentation/rst_cheat_sheet.rst +++ b/content/contributing/documentation/rst_cheat_sheet.rst @@ -518,7 +518,7 @@ Document metadata | `code-column` | | Show a dynamic side column that can be used to display interactive | | | tutorials or code excerpts. | | | | For example, see :doc:`/developer/webservices/upgrade` or | -| | :doc:`/applications/finance/accounting/overview/main_concepts/memento`. | +| | :doc:`/applications/finance/accounting/getting_started/memento`. | +-----------------+--------------------------------------------------------------------------------+ | `hide-page-toc` | Hide the "On this page" sidebar and use full page width for the content. | +-----------------+--------------------------------------------------------------------------------+ 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 2a2d98bba..6ab00651f 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..0f5002363 --- /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 14.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2021-06-14 16:09+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:43 +#: ../../extensions/odoo_theme/layout_templates/homepage.html:72 +#: ../../extensions/odoo_theme/layout_templates/homepage.html:99 +#: ../../extensions/odoo_theme/layout_templates/homepage.html:123 +msgid "Top Links" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:20 +msgid "The Accounting behind Odoo" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:25 +msgid "Resupply from another Warehouse" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:30 +msgid "Import data into Odoo" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:35 +msgid "Get Started with Discuss" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:41 +msgid "Administration" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:42 +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:47 +msgid "Installing Odoo" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:52 +msgid "Deploying Odoo" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:57 +msgid "Updating Odoo" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:62 +msgid "Introduction to Odoo.sh" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:70 +msgid "Developer" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:71 +msgid "Learn to develop in Odoo by reading the framework references and programmer tutorials." +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:76 +msgid "ORM API" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:81 +msgid "Building a Module" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:86 +msgid "External API" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:91 +msgid "Command-line interface" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:97 +msgid "Services" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:98 +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:103 +msgid "Where to find help?" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:108 +msgid "Supported versions" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:113 +msgid "Legal" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:121 +msgid "Contributing" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:122 +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:127 +msgid "Write documentation" +msgstr "" + +#: ../../extensions/odoo_theme/layout_templates/homepage.html:132 +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 ""