[MERGE] Forward port of 12.0 into 13.0

This commit is contained in:
Martin Trigaux 2021-06-14 16:04:49 +02:00
commit c38dbf59ce
7 changed files with 213 additions and 41 deletions

View File

@ -47,6 +47,11 @@ file_filter = locale/<lang>/LC_MESSAGES/services.po
source_file = locale/sources/services.pot
source_lang = en
[odoo-13-doc.theme]
file_filter = locale/<lang>/LC_MESSAGES/sphinx.po
source_file = locale/sources/sphinx.pot
source_lang = en
[odoo-13-doc.user_settings]
file_filter = locale/<lang>/LC_MESSAGES/settings.po
source_file = locale/sources/settings.pot
@ -55,4 +60,4 @@ source_lang = en
[odoo-13-doc.websites]
file_filter = locale/<lang>/LC_MESSAGES/websites.po
source_file = locale/sources/websites.pot
source_lang = en
source_lang = en

View File

@ -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 = (

View File

@ -1,9 +1,9 @@
<div class="o_get_help container-fluid d-lg-flex">
<div class="col-12 col-lg-10">
<h5><i class="i-o-help me-2"></i>Get Help</h5>
<h5><i class="i-o-help me-2"></i>{{ _("Get Help") }}</h5>
<div>
<a href="https://odoo.com/help" target="_blank" class="btn btn-outline-secondary mb-2">Contact Support</a>
<a href="https://www.odoo.com/forum/help-1" target="_blank" class="btn btn-outline-secondary mb-2">Ask the Odoo Community</a>
<a href="https://odoo.com/help" target="_blank" class="btn btn-outline-secondary mb-2">{{ _("Contact Support") }}</a>
<a href="https://www.odoo.com/forum/help-1" target="_blank" class="btn btn-outline-secondary mb-2">{{ _("Ask the Odoo Community") }}</a>
</div>
</div>
<div class="col-12 col-lg-2 mt-5 mt-lg-0 text-center">

View File

@ -8,5 +8,5 @@
<div class="d-none d-lg-flex ms-auto">
{%- include "layout_templates/language_switcher.html" %}
{%- include "layout_templates/version_switcher.html" %}
<a class="btn btn-primary fw_semibold" href="https://odoo.com/trial">Try Odoo for FREE</a>
<a class="btn btn-primary fw_semibold" href="https://odoo.com/trial">{{ _('Try Odoo for FREE') }}</a>
</div>

View File

@ -1,65 +1,65 @@
<div id="o_content">
<section class="o_content_fw_banner row">
<div class="col-lg-6">
<h1 class="text-white">Odoo Documentation</h1>
<p class="text-white">The comprehensive guide for Odoo users. Easily find the tutorial and helpful tips that suit your needs.</p>
<h1 class="text-white">{{ _("Odoo Documentation") }}</h1>
<p class="text-white">{{ _("The comprehensive guide for Odoo users. Easily find the tutorial and helpful tips that suit your needs.") }}</p>
<div class="mt-3">
<a href="https://odoo.com/trial" class="btn btn-primary mb-2">Try Odoo for FREE</a>
<a href="https://odoo.com/trial" class="btn btn-primary mb-2">{{ _("Try Odoo for FREE") }}</a>
</div>
</div>
</section>
<section>
<div class="row gx-lg-5">
<div class="col-lg-6">
<h2><i class="i-doc-apps d-lg-none me-2"></i>Applications</h2>
<p class="text-muted">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.</p>
<h5 class="text-muted pt-3 text-uppercase fw_semibold">Top Links</h5>
<h2><i class="i-doc-apps d-lg-none me-2"></i>{{ _("Applications") }}</h2>
<p class="text-muted">{{ _("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.") }}</p>
<h5 class="text-muted pt-3 text-uppercase fw_semibold">{{ _("Top Links") }}</h5>
<ul class="list-unstyled">
<li>
<a href="{{ pathto('applications/finance/accounting/overview/main_concepts/in_odoo') }}" class="stretched-link">
The Accounting behind Odoo
{{ _("The Accounting behind Odoo") }}
</a>
</li>
<li>
<a href="{{ pathto('applications/inventory_and_mrp/inventory/overview/process/initial_stock') }}" class="stretched-link">
Set your Initial Stock
{{ _("Set your Initial Stock") }}
</a>
</li>
<li>
<a href="{{ pathto('applications/general/base_import/import_faq') }}" class="stretched-link">
Import data into Odoo
{{ _("Import data into Odoo") }}
</a>
</li>
<li>
<a href="{{ pathto('applications/productivity/discuss/overview/get_started') }}" class="stretched-link">
Get Started with Discuss
{{ _("Get Started with Discuss") }}
</a>
</li>
</ul>
</div>
<div class="col-lg-6">
<h2 class="border-top pt-4 pt-lg-0"><i class="i-doc-admin d-lg-none me-2"></i>Administration</h2>
<p class="text-muted">Easily setup your first Odoo installation. From downloads to day-to-day database administration, the dedicated tutorials have got you covered.</p>
<h5 class="text-muted pt-3 text-uppercase fw_semibold">Top Links</h5>
<h2 class="border-top pt-4 pt-lg-0"><i class="i-doc-admin d-lg-none me-2"></i>{{ _("Administration") }}</h2>
<p class="text-muted">{{ _("Easily setup your first Odoo installation. From downloads to day-to-day database administration, the dedicated tutorials have got you covered.") }}</p>
<h5 class="text-muted pt-3 text-uppercase fw_semibold">{{ _("Top Links") }}</h5>
<ul class="list-unstyled">
<li>
<a href=" {{ pathto('administration/install') }} " class="stretched-link">
Installing Odoo
{{ _("Installing Odoo") }}
</a>
</li>
<li>
<a href="{{ pathto('administration/deployment/deploy') }}" class="stretched-link">
Deploying Odoo
{{ _("Deploying Odoo") }}
</a>
</li>
<li>
<a href="{{ pathto('administration/update') }}" class="stretched-link">
Updating Odoo
{{ _("Updating Odoo") }}
</a>
</li>
<li>
<a href="{{ pathto('administration/odoo_sh/overview/introduction') }}" class="stretched-link">
Introduction to Odoo.sh
{{ _("Introduction to Odoo.sh") }}
</a>
</li>
</ul>
@ -67,50 +67,50 @@
</div>
<div class="row gx-lg-5">
<div class="col-lg-6">
<h2 class="border-top pt-4"><i class="i-doc-dev d-lg-none me-2"></i>Developer</h2>
<p class="text-muted">Learn to develop in Odoo by reading the framework references and programmer tutorials.</p>
<h5 class="text-muted pt-3 text-uppercase fw_semibold">Top Links</h5>
<h2 class="border-top pt-4"><i class="i-doc-dev d-lg-none me-2"></i>{{ _("Developer") }}</h2>
<p class="text-muted">{{ _("Learn to develop in Odoo by reading the framework references and programmer tutorials.") }}</p>
<h5 class="text-muted pt-3 text-uppercase fw_semibold">{{ _("Top Links") }}</h5>
<ul class="list-unstyled">
<li>
<a href="{{ pathto('developer/reference/orm') }}" class="stretched-link">
ORM API
{{ _("ORM API") }}
</a>
</li>
<li>
<a href="{{ pathto('developer/howtos/backend') }}" class="stretched-link">
Building a Module
{{ _("Building a Module") }}
</a>
</li>
<li>
<a href="{{ pathto('developer/webservices/odoo') }}" class="stretched-link">
External API
{{ _("External API") }}
</a>
</li>
<li>
<a href="{{ pathto('developer/reference/cmdline') }}" class="stretched-link">
Command-line interface
{{ _("Command-line interface") }}
</a>
</li>
</ul>
</div>
<div class="col-lg-6">
<h2 class="border-top pt-4"><i class="i-doc-services d-lg-none me-2"></i>Services</h2>
<p class="text-muted">Find out how to open a support ticket should you need to contact a Customer Service Representative.</p>
<h5 class="text-muted pt-3 text-uppercase fw_semibold">Top Links</h5>
<h2 class="border-top pt-4"><i class="i-doc-services d-lg-none me-2"></i>{{ _("Services") }}</h2>
<p class="text-muted">{{ _("Find out how to open a support ticket should you need to contact a Customer Service Representative.") }}</p>
<h5 class="text-muted pt-3 text-uppercase fw_semibold">{{ _("Top Links") }}</h5>
<ul class="list-unstyled">
<li>
<a href="{{ pathto('services/support/where_can_i_get_support') }}" class="stretched-link">
Where to find help?
{{ _("Where to find help?") }}
</a>
</li>
<li>
<a href="{{ pathto('services/support/supported_versions') }}" class="stretched-link">
Supported versions
{{ _("Supported versions") }}
</a>
</li>
<li>
<a href="{{ pathto('legal') }}" class="stretched-link">
Legal
{{ _("Legal") }}
</a>
</li>
</ul>
@ -118,18 +118,18 @@
</div>
<div class="row gx-lg-5">
<div class="col-lg-6">
<h2 class="border-top pt-4"><i class="i-doc-contribute d-lg-none me-2"></i>Contributing</h2>
<p class="text-muted">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.</p>
<h5 class="text-muted pt-3 text-uppercase fw_semibold">Top Links</h5>
<h2 class="border-top pt-4"><i class="i-doc-contribute d-lg-none me-2"></i>{{ _("Contributing") }}</h2>
<p class="text-muted">{{ _("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.") }}</p>
<h5 class="text-muted pt-3 text-uppercase fw_semibold">{{ _("Top Links") }}</h5>
<ul class="list-unstyled">
<li>
<a href="{{ pathto('contributing/documentation') }}" class="stretched-link">
Write documentation
{{ _("Write documentation") }}
</a>
</li>
<li>
<a href="{{ pathto('contributing/documentation/content_guidelines') }}" class="stretched-link">
Content guidelines
{{ _("Content guidelines") }}
</a>
</li>
</ul>

View File

@ -1,4 +1,4 @@
<div class="o_page_toc_nav mt-1">
<h3>On this page</h3>
<h3>{{ _("On this page") }}</h3>
{{ toc }} {# this is the page TOC (or local toc) #}
</div>

166
locale/sources/sphinx.pot Normal file
View File

@ -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 <EMAIL@ADDRESS>, 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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\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 ""