9837 lines
457 KiB
Plaintext
9837 lines
457 KiB
Plaintext
# 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.
|
||
#
|
||
# Translators:
|
||
# Gary Wei <Gary.wei@elico-corp.com>, 2023
|
||
# 黎伟杰 <674416404@qq.com>, 2023
|
||
# zhao yonghui, 2023
|
||
# Raymond Yu <cl_yu@hotmail.com>, 2023
|
||
# 洋 汪 <wonrence@163.com>, 2023
|
||
# Raven Allmind, 2023
|
||
# liAnGjiA <liangjia@qq.com>, 2023
|
||
# 何彬 <vnsoft.he@gmail.com>, 2023
|
||
# Jeana Jiang, 2023
|
||
# Martin Trigaux, 2023
|
||
# Jeffery CHEN <jeffery9@gmail.com>, 2023
|
||
# Emily Jia <eji@odoo.com>, 2023
|
||
# mrshelly <mrshelly@hotmail.com>, 2023
|
||
# Datasource International <Hennessy@datasourcegroup.com>, 2023
|
||
# Mandy Choy <mnc@odoo.com>, 2023
|
||
# Wil Odoo, 2023
|
||
# lyper lai, 2023
|
||
# 山西清水欧度(QQ:54773801) <54773801@qq.com>, 2023
|
||
# diaojiaolou <124412206@qq.com>, 2023
|
||
# Chloe Wang, 2024
|
||
#
|
||
#, fuzzy
|
||
msgid ""
|
||
msgstr ""
|
||
"Project-Id-Version: Odoo 17.0\n"
|
||
"Report-Msgid-Bugs-To: \n"
|
||
"POT-Creation-Date: 2023-12-21 13:43+0000\n"
|
||
"PO-Revision-Date: 2023-11-08 08:55+0000\n"
|
||
"Last-Translator: Chloe Wang, 2024\n"
|
||
"Language-Team: Chinese (China) (https://app.transifex.com/odoo/teams/41243/zh_CN/)\n"
|
||
"MIME-Version: 1.0\n"
|
||
"Content-Type: text/plain; charset=UTF-8\n"
|
||
"Content-Transfer-Encoding: 8bit\n"
|
||
"Language: zh_CN\n"
|
||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||
|
||
#: ../../content/administration.rst:8
|
||
msgid "Install and Maintain"
|
||
msgstr "安装和维护"
|
||
|
||
#: ../../content/administration.rst:10
|
||
msgid ""
|
||
"These guides provide instructions on how to install, maintain and upgrade "
|
||
"Odoo databases."
|
||
msgstr "这些指南提供有关如何安装,维护和升级Odoo数据库的指导。"
|
||
|
||
#: ../../content/administration.rst:13
|
||
msgid ""
|
||
":doc:`History of Versions <administration/maintain/supported_versions>`"
|
||
msgstr ":doc:`版本历史 <administration/maintain/supported_versions>`"
|
||
|
||
#: ../../content/administration/install.rst:5
|
||
msgid "Install"
|
||
msgstr "安装"
|
||
|
||
#: ../../content/administration/install.rst:7
|
||
msgid ""
|
||
"Depending on the intended use case, there are multiple ways to install Odoo "
|
||
"- or not install it at all."
|
||
msgstr "根据预期的用例,有多种方法可以安装Odoo,或者根本不安装。"
|
||
|
||
#: ../../content/administration/install.rst:10
|
||
msgid ""
|
||
":doc:`Online <install/online>` is the easiest way to use Odoo in production "
|
||
"or to try it."
|
||
msgstr ":doc:`Online <install/online>` 是在生产中使用Odoo或尝试的最简单方法。"
|
||
|
||
#: ../../content/administration/install.rst:12
|
||
msgid ""
|
||
":doc:`Packaged installers <install/packages>` are suitable for testing Odoo "
|
||
"and developing modules. They can be used for long-term production with "
|
||
"additional deployment and maintenance work."
|
||
msgstr ""
|
||
":doc:` 打包安装程序 <install/packages>` 适用于测试 Odoo 和开发模块。它们可用于长期生产,并具有额外的部署和维护工作。"
|
||
|
||
#: ../../content/administration/install.rst:16
|
||
msgid ""
|
||
":doc:`Source install <install/source>` provides greater flexibility, as it "
|
||
"allows, for example, running multiple Odoo versions on the same system. It "
|
||
"is adequate to develop modules and can be used as a base for production "
|
||
"deployment."
|
||
msgstr ""
|
||
":doc:`源代码安装 <install/source>` 提供了更大的灵活性,例如,它允许在同一系统上运行多个 Odoo "
|
||
"版本。它适用于开发模块,并可以作为生产部署的基础。"
|
||
|
||
#: ../../content/administration/install.rst:20
|
||
msgid ""
|
||
"A `Docker <https://hub.docker.com/_/odoo/>`_ base image is available for "
|
||
"development or deployment."
|
||
msgstr "可提供用于开发或部署的 `Docker <https://hub.docker.com/_/odoo/>`_ 基础镜像。"
|
||
|
||
#: ../../content/administration/install.rst:26
|
||
msgid "Editions"
|
||
msgstr "版本"
|
||
|
||
#: ../../content/administration/install.rst:28
|
||
msgid "There are two different editions."
|
||
msgstr "有两个不同的版本"
|
||
|
||
#: ../../content/administration/install.rst:30
|
||
msgid ""
|
||
"**Odoo Community** is the free and open-source version of the software, "
|
||
"licensed under the `GNU LGPLv3 "
|
||
"<https://github.com/odoo/odoo/blob/master/LICENSE>`_. It is the core upon "
|
||
"which Odoo Enterprise is built."
|
||
msgstr ""
|
||
"**Odoo 社区版**是软件的免费开源版本,许可证为 `GNU LGPLv3 "
|
||
"<https://github.com/odoo/odoo/blob/master/LICENSE>`_。它是构建 Odoo 企业版的核心。"
|
||
|
||
#: ../../content/administration/install.rst:34
|
||
msgid ""
|
||
"**Odoo Enterprise** is the shared source version of the software, giving "
|
||
"access to more functionalities, including functional support, upgrades, and "
|
||
"hosting. `Pricing <https://www.odoo.com/pricing-plan>`_ starts from one app "
|
||
"free."
|
||
msgstr ""
|
||
"**Odoo 企业版** 是软件的共享源代码版本,可使用更多功能,包括多模块功能支持、升级和托管。` "
|
||
"定价实惠,<https://www.odoo.com/pricing-plan>`_单一应用程序免费。"
|
||
|
||
#: ../../content/administration/install.rst:39
|
||
msgid ""
|
||
":doc:`Switch from Community to Enterprise <maintain/enterprise>` at any time"
|
||
" (except for the source install)."
|
||
msgstr ":doc:`可随时从社区版切换至企业版(源代码安装除外) <maintain/enterprise>` 。"
|
||
|
||
#: ../../content/administration/install/cdn.rst:3
|
||
msgid "Set up a content delivery network (CDN)"
|
||
msgstr "设置内容分发网络(CDN)"
|
||
|
||
#: ../../content/administration/install/cdn.rst:8
|
||
msgid "Deploying with KeyCDN"
|
||
msgstr "使用 KeyCDN 进行部署"
|
||
|
||
#: ../../content/administration/install/cdn.rst:10
|
||
msgid ""
|
||
"A :abbr:`CDN (Content Delivery Network)` or *content distribution network*, "
|
||
"is a geographically distributed network of servers that provides high speed "
|
||
"internet content. The :abbr:`CDN (Content Delivery Network)` provides quick,"
|
||
" high-quality content delivery for content-heavy websites."
|
||
msgstr ""
|
||
":abbr:`CDN(内容分发网络)`或 "
|
||
"*内容分发网络*,是一个分布在不同地理位置的服务器网络,可快速提供互联网内容。:abbr:`CDN(内容分发网络)`为内容繁多的网站快速提供高质量内容。"
|
||
|
||
#: ../../content/administration/install/cdn.rst:14
|
||
msgid ""
|
||
"This document will guide you through the setup of a KeyCDN_ account with an "
|
||
"Odoo powered website."
|
||
msgstr "本文档将指导您在 Odoo 驱动的网站设置 KeyCDN_ 账户。"
|
||
|
||
#: ../../content/administration/install/cdn.rst:17
|
||
msgid "Create a pull zone in the KeyCDN dashboard"
|
||
msgstr "在 KeyCDN 面板中创建拉取区域"
|
||
|
||
#: ../../content/administration/install/cdn.rst:19
|
||
msgid ""
|
||
"On the KeyCDN dashboard, start by navigating to the :menuselection:`Zones` "
|
||
"menu item on the left. On the form, give a value to the :guilabel:`Zone "
|
||
"Name`, which will appear as part of the :abbr:`CDN (Content Delivery "
|
||
"Network)`'s :abbr:`URL (Uniform Resource Locator)`. Then, set the "
|
||
":guilabel:`Zone Status` to :guilabel:`active` to engage the zone. For the "
|
||
":guilabel:`Zone Type` set the value to :guilabel:`Pull`, and then, finally, "
|
||
"under the :guilabel:`Pull Settings`, enter the :guilabel:`Origin URL`— this "
|
||
"address should be the full Odoo database :abbr:`URL (Uniform Resource "
|
||
"Locator)`."
|
||
msgstr ""
|
||
"在 KeyCDN 面板上,首先导航到左侧的 :menuselection:`Zones` 菜单项。在表单中,为 :guilabel:`Zone "
|
||
"Name` 赋值,该值将作为 :abbr:`CDN(内容交付网络)'的 :abbr:`URL (统一资源定位器)'的一部分显示。然后,将 "
|
||
":guilabel:`Zone Status` 设为 :guilabel:`active` 以启用该区域。将 :guilabel:`Zone Type`"
|
||
" 的值设置为 :guilabel:`Pull`,最后在 :guilabel:`Pull Settings` 下,输入 :guilabel:`Origin"
|
||
" URL` - 该地址应为完整的 Odoo 数据库 :URL(统一资源定位器)\"。"
|
||
|
||
#: ../../content/administration/install/cdn.rst:28
|
||
msgid ""
|
||
"Use ``https://yourdatabase.odoo.com`` and replace the *yourdatabase* "
|
||
"subdomain prefix with the actual name of the database. A custom :abbr:`URL "
|
||
"(Uniform Resource Locator)` can be used, as well, in place of the Odoo "
|
||
"subdomain that was provided to the database."
|
||
msgstr ""
|
||
"使用 ``https://yourdatabase.odoo.com`` 并将 *yourdatabase* "
|
||
"子域前缀替换为数据库的实际名称。也可使用自定义:abbr:`URL(统一资源定位器)`,以取代提供给数据库的 Odoo 子域。"
|
||
|
||
#: ../../content/administration/install/cdn.rst-1
|
||
msgid "KeyCDN's Zone configuration page."
|
||
msgstr "KeyCDN 区域配置页面。"
|
||
|
||
#: ../../content/administration/install/cdn.rst:36
|
||
msgid ""
|
||
"Under the :guilabel:`General Settings` heading below the zone form, click "
|
||
"the :guilabel:`Show all settings` button to expand the zone options. This "
|
||
"should be the last option on the page. After expanding the "
|
||
":guilabel:`General Settings` ensure that the :guilabel:`CORS` option is "
|
||
":guilabel:`enabled`."
|
||
msgstr ""
|
||
"在区域表单下方的 :guilabel:`常规设置`下,单击 :guilabel:`显示所有设置` 按钮,展开区域选项。该选项是页面上的最后一个选项。展开"
|
||
" :guilabel:`常规设置` 后,请确保 :guilabel:`CORS` 选项 :guilabel:`已启用`。"
|
||
|
||
#: ../../content/administration/install/cdn.rst:41
|
||
msgid ""
|
||
"Next, scroll to the bottom of the zone configuration page and "
|
||
":guilabel:`Save` the changes. KeyCDN will indicate that the new zone will be"
|
||
" deployed. This can take about 10 minutes."
|
||
msgstr "接下来,滚动到区域配置页面的底部,然后 :guilabel:`保存`更改。KeyCDN 将指示新区域将被部署。这可能需要大约 10 分钟。"
|
||
|
||
#: ../../content/administration/install/cdn.rst-1
|
||
msgid "KeyCDN deploying the new Zone."
|
||
msgstr "KeyCDN 部署新区域。"
|
||
|
||
#: ../../content/administration/install/cdn.rst:49
|
||
msgid ""
|
||
"A new :guilabel:`Zone URL` has been generated for your Zone, in this example"
|
||
" it is ``pulltest-xxxxx.kxcdn.com``. This value will differ for each "
|
||
"database."
|
||
msgstr ""
|
||
"已为您的区域生成新的 :guilabel:`Zone URL`,本例中为 ``pulltest-"
|
||
"xxxxxx.kxcdn.com``。每个数据库的值都不同。"
|
||
|
||
#: ../../content/administration/install/cdn.rst:52
|
||
msgid ""
|
||
"Copy this :guilabel:`Zone URL` to a text editor for later, as it will be "
|
||
"used in the next steps."
|
||
msgstr "将 :guilabel:`Zone URL` 复制到文本编辑器中备用,因为在接下来的步骤中会用到。"
|
||
|
||
#: ../../content/administration/install/cdn.rst:55
|
||
msgid "Configure the Odoo instance with the new zone"
|
||
msgstr "使用新区域配置 Odoo 实例"
|
||
|
||
#: ../../content/administration/install/cdn.rst:57
|
||
msgid ""
|
||
"In the Odoo :guilabel:`Website` app, go to the :menuselection:`Settings` and"
|
||
" then activate the :guilabel:`Content Delivery Network (CDN)` setting and "
|
||
"copy/paste the :guilabel:`Zone URL` value from the earlier step into the "
|
||
":guilabel:`CDN Base URL` field. This field is only visible and configurable "
|
||
"when :doc:`Developer Mode <../../applications/general/developer_mode>` is "
|
||
"activated."
|
||
msgstr ""
|
||
"在 Odoo :guilabel:`网站` 应用程序中,进入 :menuselection:`设置` 并激活 "
|
||
":guilabel:`内容分发网络(CDN)` 设置,并将之前步骤中的 :guilabel:`Zone URL` 值复制/粘贴到 "
|
||
":guilabel:`CDN Base URL` 字段。该字段仅在 :doc:`开发者模式 "
|
||
"<../../applications/general/developer_mode>` 激活时,才可见并配置。"
|
||
|
||
#: ../../content/administration/install/cdn.rst:63
|
||
msgid ""
|
||
"Ensure that there are two *forward slashes* (`//`) before the :guilabel:`CDN"
|
||
" Base URL` and one forward slash (`/`) after the :guilabel:`CDN Base URL`."
|
||
msgstr ""
|
||
"请确保在 :guilabel:`CDN 基本 URL` 前有两个*正斜杠* (`//`),在 :guilabel:`CDN 基本 URL` "
|
||
"后有一个正斜杠 (`//`)。"
|
||
|
||
#: ../../content/administration/install/cdn.rst:66
|
||
msgid ":guilabel:`Save` the settings when complete."
|
||
msgstr "完成后请点击:guilabel:`保存`按钮保存设置。"
|
||
|
||
#: ../../content/administration/install/cdn.rst-1
|
||
msgid "Activate the CDN setting in Odoo."
|
||
msgstr "激活 Odoo 中的 CDN 设置。"
|
||
|
||
#: ../../content/administration/install/cdn.rst:72
|
||
msgid ""
|
||
"Now the website is using the CDN for the resources matching the "
|
||
":guilabel:`CDN filters` regular expressions."
|
||
msgstr "网站目前正在使用 CDN 处理与 :guilabel:`CDN 筛选项`正则表达式匹配的资源。"
|
||
|
||
#: ../../content/administration/install/cdn.rst:75
|
||
msgid ""
|
||
"In the HTML of the Odoo website, the :abbr:`CDN (content delivery network)` "
|
||
"integration is evidenced as working properly by checking the :abbr:`URL "
|
||
"(Uniform Resource Locators)` of images. The *CDN Base URL* value can be seen"
|
||
" by using your web browser's :guilabel:`Inspect` feature on the Odoo "
|
||
"website. Look for it's record by searching within the :guilabel:`Network` "
|
||
"tab inside of devtools."
|
||
msgstr ""
|
||
"在 Odoo 网站的 HTML 中,通过检查图片的:abbr:`URL(统一资源定位器)`,可证明:abbr:`CDN(内容分发网络)` "
|
||
"集成工作正常。可通过使用网络浏览器在 Odoo 网站上的 :guilabel:`检查`功能查看 *CDN 基本 URL* 值。通过在 devtools "
|
||
"中的 :guilabel:`网络` 选项卡中搜索其记录即可找到。"
|
||
|
||
#: ../../content/administration/install/cdn.rst-1
|
||
msgid ""
|
||
"The CDN Base URL can be seen using the inspect function on the Odoo website."
|
||
msgstr "可使用 Odoo 网站上的检查功能查看 CDN 基本 URL。"
|
||
|
||
#: ../../content/administration/install/cdn.rst:85
|
||
msgid ""
|
||
"Prevent security issues by activating cross-origin resource sharing (CORS)"
|
||
msgstr "通过激活跨域资源共享(CORS)来防止安全问题"
|
||
|
||
#: ../../content/administration/install/cdn.rst:87
|
||
msgid ""
|
||
"A security restriction in some browsers (such as Mozilla Firefox and Google "
|
||
"Chrome) prevents a remotely linked CSS file to fetch relative resources on "
|
||
"this same external server."
|
||
msgstr ""
|
||
"部分浏览器(如 Mozilla Firefox 和 Google Chrome)的安全限制会阻止远程链接的 CSS 文件在同一外部服务器上获取相关资源。"
|
||
|
||
#: ../../content/administration/install/cdn.rst:90
|
||
msgid ""
|
||
"If the :abbr:`CORS (Cross-Origin Resource Sharing)` option isn't enabled in "
|
||
"the :guilabel:`CDN Zone`, the more obvious resulting problem on a standard "
|
||
"Odoo website will be the lack of *Font Awesome* icons because the font file "
|
||
"declared in the *Font Awesome* CSS won't be loaded from the remote server."
|
||
msgstr ""
|
||
"如果在 :guilabel:`CDN Zone` 中未启用 :Arts:`CORS(跨域资源共享)` 选项,那么在标准 Odoo "
|
||
"网站上更明显的问题将是缺少 *Font Awesome* 图标,因为 *Font Awesome* CSS 中声明的字体文件无法从远程服务器加载。"
|
||
|
||
#: ../../content/administration/install/cdn.rst:95
|
||
msgid ""
|
||
"When these cross-origin resource issues occur, a security error message "
|
||
"similar to the output below will appear in the web browser's developer "
|
||
"console:"
|
||
msgstr "当出现这些跨域资源问题时,网络浏览器的开发人员控制台会出现类似以下输出的安全错误信息:"
|
||
|
||
#: ../../content/administration/install/cdn.rst:98
|
||
msgid ""
|
||
"``Font from origin 'http://pulltest-xxxxx.kxcdn.com' has been blocked from "
|
||
"loading /shop:1 by Cross-Origin Resource Sharing policy: No 'Access-Control-"
|
||
"Allow-Origin' header is present on the requested resource. Origin "
|
||
"'http://yourdatabase.odoo.com' is therefore not allowed access.``"
|
||
msgstr ""
|
||
"由于跨域资源共享策略,来自'http://pulltest-"
|
||
"xxxxx.kxcdn.com'的字体被阻止在/shop:1中加载:请求的资源上没有'Access-Control-Allow-"
|
||
"Origin'标头。因此,'http://yourdatabase.odoo.com'来源不允许访问。"
|
||
|
||
#: ../../content/administration/install/cdn.rst-1
|
||
msgid "Error message populated in the browser console."
|
||
msgstr "浏览器控制台中弹出错误信息。"
|
||
|
||
#: ../../content/administration/install/cdn.rst:106
|
||
msgid ""
|
||
"Enabling the :abbr:`CORS (Cross-Origin Resource Sharing)` option in the "
|
||
":abbr:`CDN (Content Delivery Network)` settings fixes this issue."
|
||
msgstr "在 :abbr:`CDN(内容分发网络)`设置中启用:abbr:`CORS(跨域资源共享)`选项可修复此问题。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:3
|
||
msgid "System configuration"
|
||
msgstr "系统配置"
|
||
|
||
#: ../../content/administration/install/deploy.rst:5
|
||
msgid ""
|
||
"This document describes basic steps to set up Odoo in production or on an "
|
||
"internet-facing server. It follows :doc:`installation <../install>`, and is "
|
||
"not generally necessary for a development systems that is not exposed on the"
|
||
" internet."
|
||
msgstr ""
|
||
"本文档描述了在生产环境中或面向互联网的服务器上设置 Odoo 的基本步骤。它遵循 :doc:`安装 "
|
||
"<../install>`,对于未在互联网上公开的开发系统通常不是必需的。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:10
|
||
msgid ""
|
||
"If you are setting up a public server, be sure to check our :ref:`security` "
|
||
"recommendations!"
|
||
msgstr "如果您正在设置公共服务器,请务必查看我们的:ref:`安全 <security>`建议!"
|
||
|
||
#: ../../content/administration/install/deploy.rst:15
|
||
msgid "dbfilter"
|
||
msgstr "数据库过滤器"
|
||
|
||
#: ../../content/administration/install/deploy.rst:17
|
||
msgid ""
|
||
"Odoo is a multi-tenant system: a single Odoo system may run and serve a "
|
||
"number of database instances. It is also highly customizable, with "
|
||
"customizations (starting from the modules being loaded) depending on the "
|
||
"\"current database\"."
|
||
msgstr "Odoo是一个多租户系统:单一Odoo系统可以运行并启用若干数据库实例。Odoo也是高度可定制的,定制(如模块加载)依赖“当前数据库”。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:21
|
||
msgid ""
|
||
"This is not an issue when working with the backend (web client) as a logged-"
|
||
"in company user: the database can be selected when logging in, and "
|
||
"customizations loaded afterwards."
|
||
msgstr "以登录公司用户身份使用后端(Web 客户端)时,这不是问题:登录时可以选择数据库,然后加载自定义项。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:25
|
||
msgid ""
|
||
"However it is an issue for non-logged users (portal, website) which aren't "
|
||
"bound to a database: Odoo needs to know which database should be used to "
|
||
"load the website page or perform the operation. If multi-tenancy is not used"
|
||
" that is not an issue, there's only one database to use, but if there are "
|
||
"multiple databases accessible Odoo needs a rule to know which one it should "
|
||
"use."
|
||
msgstr ""
|
||
"但是,对于未绑定到数据库的非登录用户(门户,网站)来说,这是一个问题:Odoo需要知道应该使用哪个数据库来加载网站页面或执行操作。如果不使用多租户,这不是问题,只有一个数据库可以使用,但是如果有多个数据库可访问,Odoo需要一个规则来知道它应该使用哪一个。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:31
|
||
msgid ""
|
||
"That is one of the purposes of :option:`--db-filter <odoo-bin --db-filter>`:"
|
||
" it specifies how the database should be selected based on the hostname "
|
||
"(domain) that is being requested. The value is a `regular expression`_, "
|
||
"possibly including the dynamically injected hostname (``%h``) or the first "
|
||
"subdomain (``%d``) through which the system is being accessed."
|
||
msgstr ""
|
||
"这是 :option:`--db-filter` 的目的之一 <odoo-bin --db-"
|
||
"filter>:它指定应如何根据所请求的主机名(域)选择数据库。该值是一个“正则表达式”_,可能包括动态注入的主机名(“%h”)或访问系统的第一个子域(%d“”)。</odoo-"
|
||
"bin>"
|
||
|
||
#: ../../content/administration/install/deploy.rst:37
|
||
msgid ""
|
||
"For servers hosting multiple databases in production, especially if "
|
||
"``website`` is used, dbfilter **must** be set, otherwise a number of "
|
||
"features will not work correctly."
|
||
msgstr "对于在生产环境中托管多个数据库的服务器,尤其是在使用“网站”的情况下,必须设置 dbfilter**,否则许多功能将无法正常工作。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:42
|
||
msgid "Configuration samples"
|
||
msgstr "配置示例"
|
||
|
||
#: ../../content/administration/install/deploy.rst:44
|
||
msgid "Show only databases with names beginning with 'mycompany'"
|
||
msgstr "仅显示名称以“mycompany”开头的数据库"
|
||
|
||
#: ../../content/administration/install/deploy.rst:46
|
||
#: ../../content/administration/install/deploy.rst:58
|
||
#: ../../content/administration/install/deploy.rst:153
|
||
#: ../../content/administration/install/deploy.rst:280
|
||
msgid "in :ref:`the configuration file <reference/cmdline/config_file>` set:"
|
||
msgstr "在:ref:`配置文件<reference/cmdline/config_file>`中设置:"
|
||
|
||
#: ../../content/administration/install/deploy.rst:53
|
||
msgid ""
|
||
"Show only databases matching the first subdomain after ``www``: for example "
|
||
"the database \"mycompany\" will be shown if the incoming request was sent to"
|
||
" ``www.mycompany.com`` or ``mycompany.co.uk``, but not for "
|
||
"``www2.mycompany.com`` or ``helpdesk.mycompany.com``."
|
||
msgstr ""
|
||
"仅显示与“www”之后的第一个子域匹配的数据库:例如,如果传入的请求发送到“www.mycompany.com”或“mycompany.co.uk”,则不会显示“www2.mycompany.com”或“helpdesk.mycompany.com”的数据库“"
|
||
" mycompany”。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:67
|
||
msgid ""
|
||
"Setting a proper :option:`--db-filter <odoo-bin --db-filter>` is an "
|
||
"important part of securing your deployment. Once it is correctly working and"
|
||
" only matching a single database per hostname, it is strongly recommended to"
|
||
" block access to the database manager screens, and to use the ``--no-"
|
||
"database-list`` startup parameter to prevent listing your databases, and to "
|
||
"block access to the database management screens. See also security_."
|
||
msgstr ""
|
||
"设置适当的 :option:`--db-filter <odoo-bin --db-filter>` "
|
||
"是保护部署安全的重要部分。一旦它正常工作并且每个主机名只匹配一个数据库,强烈建议阻止对数据库管理器屏幕的访问,并使用“--no-database-"
|
||
"list”启动参数来阻止列出数据库,并阻止对数据库管理屏幕的访问。另请参见‘安全’_。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:76
|
||
#: ../../content/administration/install/source.rst:193
|
||
msgid "PostgreSQL"
|
||
msgstr "PostgreSQL"
|
||
|
||
#: ../../content/administration/install/deploy.rst:78
|
||
msgid ""
|
||
"By default, PostgreSQL only allows connection over UNIX sockets and loopback"
|
||
" connections (from \"localhost\", the same machine the PostgreSQL server is "
|
||
"installed on)."
|
||
msgstr ""
|
||
"默认情况下,PostgreSQL只允许通过UNIX套接字和环回连接进行连接(来自“localhost”,PostgreSQL服务器安装在同一台机器上)。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:82
|
||
msgid ""
|
||
"UNIX socket is fine if you want Odoo and PostgreSQL to execute on the same "
|
||
"machine, and is the default when no host is provided, but if you want Odoo "
|
||
"and PostgreSQL to execute on different machines [#different-machines]_ it "
|
||
"will need to `listen to network interfaces`_ [#remote-socket]_, either:"
|
||
msgstr ""
|
||
"如果您希望Odoo和PostgreSQL在同一台机器上执行,UNIX套接字是可以的,并且在没有提供主机时是默认值,但是如果您希望Odoo和PostgreSQL在不同的机器[#different-"
|
||
"machines]_上执行,它将需要“监听网络接口”_[#remote-socket]_,或者:"
|
||
|
||
#: ../../content/administration/install/deploy.rst:87
|
||
msgid ""
|
||
"Only accept loopback connections and `use an SSH tunnel`_ between the "
|
||
"machine on which Odoo runs and the one on which PostgreSQL runs, then "
|
||
"configure Odoo to connect to its end of the tunnel"
|
||
msgstr "只接受环回连接,并在运行Odoo的计算机和运行PostgreSQL的计算机之间“使用SSH隧道”_,然后将Odoo配置为连接到其隧道的末端"
|
||
|
||
#: ../../content/administration/install/deploy.rst:90
|
||
msgid ""
|
||
"Accept connections to the machine on which Odoo is installed, possibly over "
|
||
"ssl (see `PostgreSQL connection settings`_ for details), then configure Odoo"
|
||
" to connect over the network"
|
||
msgstr ""
|
||
"接受与安装Odoo的计算机的连接,可能通过ssl(有关详细信息,请参阅“PostgreSQL连接设置”_),然后将Odoo配置为通过网络连接"
|
||
|
||
#: ../../content/administration/install/deploy.rst:95
|
||
#: ../../content/administration/install/deploy.rst:145
|
||
#: ../../content/administration/install/deploy.rst:235
|
||
#: ../../content/administration/install/deploy.rst:275
|
||
msgid "Configuration sample"
|
||
msgstr "配置示例"
|
||
|
||
#: ../../content/administration/install/deploy.rst:97
|
||
msgid "Allow tcp connection on localhost"
|
||
msgstr "允许在本地主机上进行 tcp 连接"
|
||
|
||
#: ../../content/administration/install/deploy.rst:98
|
||
msgid "Allow tcp connection from 192.168.1.x network"
|
||
msgstr "允许来自 192.168.1.x 网络的 tcp 连接"
|
||
|
||
#: ../../content/administration/install/deploy.rst:100
|
||
msgid "in ``/etc/postgresql/<YOUR POSTGRESQL VERSION>/main/pg_hba.conf`` set:"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/install/deploy.rst:108
|
||
msgid ""
|
||
"in ``/etc/postgresql/<YOUR POSTGRESQL VERSION>/main/postgresql.conf`` set:"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/install/deploy.rst:119
|
||
msgid "Configuring Odoo"
|
||
msgstr "配置 Odoo"
|
||
|
||
#: ../../content/administration/install/deploy.rst:121
|
||
msgid ""
|
||
"Out of the box, Odoo connects to a local postgres over UNIX socket via port "
|
||
"5432. This can be overridden using :ref:`the database options "
|
||
"<reference/cmdline/server/database>` when your Postgres deployment is not "
|
||
"local and/or does not use the installation defaults."
|
||
msgstr ""
|
||
"开箱即用,Odoo通过UNIX套接字通过端口5432连接到本地postgres。当您的 Postgres "
|
||
"部署不是本地部署和/或不使用安装默认值时,可以使用 :ref:`数据库选项 <reference/cmdline/server/database>` "
|
||
"来覆盖它。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:126
|
||
msgid ""
|
||
"The :doc:`packaged installers <packages>` will automatically create a new "
|
||
"user (``odoo``) and set it as the database user."
|
||
msgstr "doc:`软件包安装程序<packages>` 会自动创建一个新用户 (``odoo``),并将其设置为数据库用户。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:129
|
||
msgid ""
|
||
"The database management screens are protected by the ``admin_passwd`` "
|
||
"setting. This setting can only be set using configuration files, and is "
|
||
"simply checked before performing database alterations. It should be set to a"
|
||
" randomly generated value to ensure third parties can not use this "
|
||
"interface."
|
||
msgstr ""
|
||
"数据库管理屏幕受“admin_passwd”设置保护。此设置只能使用配置文件进行设置,并且在执行数据库更改之前只需进行检查即可。应将其设置为随机生成的值,以确保第三方无法使用此接口。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:134
|
||
msgid ""
|
||
"All database operations use the :ref:`database options "
|
||
"<reference/cmdline/server/database>`, including the database management "
|
||
"screen. For the database management screen to work requires that the "
|
||
"PostgreSQL user have ``createdb`` right."
|
||
msgstr ""
|
||
"所有数据库操作都使用 :ref:`数据库选项 "
|
||
"<reference/cmdline/server/database>`,包括数据库管理屏幕。要使数据库管理屏幕正常工作,需要 PostgreSQL "
|
||
"用户具有“createdb”权限。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:138
|
||
msgid ""
|
||
"Users can always drop databases they own. For the database management screen"
|
||
" to be completely non-functional, the PostgreSQL user needs to be created "
|
||
"with ``no-createdb`` and the database must be owned by a different "
|
||
"PostgreSQL user."
|
||
msgstr ""
|
||
"用户始终可以删除他们拥有的数据库。为了使数据库管理屏幕完全不起作用,需要使用“no-"
|
||
"createdb”创建PostgreSQL用户,并且数据库必须由其他PostgreSQL用户拥有。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:142
|
||
msgid "the PostgreSQL user *must not* be a superuser"
|
||
msgstr "PostgreSQL用户*必须不*是超级用户,例如:root或Adiministrator"
|
||
|
||
#: ../../content/administration/install/deploy.rst:147
|
||
msgid "connect to a PostgreSQL server on 192.168.1.2"
|
||
msgstr "连接到 192.168.1.2 上的 PostgreSQL 服务器"
|
||
|
||
#: ../../content/administration/install/deploy.rst:148
|
||
msgid "port 5432"
|
||
msgstr "端口 5432"
|
||
|
||
#: ../../content/administration/install/deploy.rst:149
|
||
msgid "using an 'odoo' user account,"
|
||
msgstr "使用“odoo”用户帐户,"
|
||
|
||
#: ../../content/administration/install/deploy.rst:150
|
||
msgid "with 'pwd' as a password"
|
||
msgstr "使用“pwd”作为密码"
|
||
|
||
#: ../../content/administration/install/deploy.rst:151
|
||
msgid "filtering only db with a name beginning with 'mycompany'"
|
||
msgstr "仅筛选名称以“mycompany”开头的数据库名"
|
||
|
||
#: ../../content/administration/install/deploy.rst:168
|
||
msgid "SSL Between Odoo and PostgreSQL"
|
||
msgstr "在 Odoo 和 PostgreSQL 之间使用 SSL"
|
||
|
||
#: ../../content/administration/install/deploy.rst:170
|
||
msgid ""
|
||
"Since Odoo 11.0, you can enforce ssl connection between Odoo and PostgreSQL."
|
||
" in Odoo the db_sslmode control the ssl security of the connection with "
|
||
"value chosen out of 'disable', 'allow', 'prefer', 'require', 'verify-ca' or "
|
||
"'verify-full'"
|
||
msgstr ""
|
||
"从Odoo "
|
||
"11.0开始,您可以在Odoo和PostgreSQL之间强制实施ssl连接。在Odoo中,db_sslmode通过从“禁用”,“允许”,“首选”,“要求”,“验证-"
|
||
"ca”或“验证完全”中选择的值来控制连接的ssl安全性"
|
||
|
||
#: ../../content/administration/install/deploy.rst:175
|
||
msgid ""
|
||
"`PostgreSQL Doc <https://www.postgresql.org/docs/12/static/libpq-ssl.html>`_"
|
||
msgstr ""
|
||
"`PostgreSQL Doc <https://www.postgresql.org/docs/12/static/libpq-ssl.html>`_"
|
||
|
||
#: ../../content/administration/install/deploy.rst:180
|
||
msgid "Builtin server"
|
||
msgstr "内置服务器"
|
||
|
||
#: ../../content/administration/install/deploy.rst:182
|
||
msgid ""
|
||
"Odoo includes built-in HTTP, cron, and live-chat servers, using either "
|
||
"multi-threading or multi-processing."
|
||
msgstr "Odoo 包括内置 HTTP、cron 和实时聊天服务器,应用多线程或多进程模式任选其一。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:185
|
||
msgid ""
|
||
"The **multi-threaded** server is a simpler server primarily used for "
|
||
"development, demonstrations, and its compatibility with various operating "
|
||
"systems (including Windows). A new thread is spawned for every new HTTP "
|
||
"request, even for long-lived connections such as websocket. Extra daemonic "
|
||
"cron threads are spawned too. Due to a Python limitation (GIL), it doesn't "
|
||
"make the best use of the hardware."
|
||
msgstr ""
|
||
"**多线程**服务器是一种更简单的服务器,主要用于开发和演示,并兼容各种操作系统(包括 Windows)。每个新的 HTTP "
|
||
"请求都会产生一个新的线程,即使是 websocket "
|
||
"等长期连接也不例外。此外,还会生成额外的守护进程定时线程。由于Python的限制(全局解释器锁),它不能充分利用硬件资源。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:191
|
||
msgid ""
|
||
"The multi-threaded server is the default server, also for docker containers."
|
||
" It is selected by leaving the :option:`--workers <odoo-bin --workers>` "
|
||
"option out or setting it to ``0``."
|
||
msgstr ""
|
||
"多线程服务器是默认服务器,也适用于 docker 容器。不使用 :option:`--workers <odoo-bin --workers>` "
|
||
"选项或将其设置为 ``0``,就可以选择多线程服务器。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:194
|
||
msgid ""
|
||
"The **multi-processing** server is a full-blown server primarily used for "
|
||
"production. It is not liable to the same Python limitation (GIL) on resource"
|
||
" usage and hence makes the best use of the hardware. A pool of workers is "
|
||
"created upon server startup. New HTTP requests are queued by the OS until "
|
||
"there are workers ready to process them. An extra event-driven HTTP worker "
|
||
"for the live chat is spawned on an alternative port. Extra cron workers are "
|
||
"spawned too. A configurable process reaper monitors resource usage and can "
|
||
"kill/restart failed workers."
|
||
msgstr ""
|
||
"**多处理**服务器是主要用于生产的完整服务器。它不受 Python "
|
||
"资源使用限制(GIL)约束,因此能充分利用硬件。服务器启动时会创建一个工作进程池。新的 HTTP "
|
||
"请求会被操作系统排队,直到有可用的工作进程来处理它们。为了处理实时聊天功能,还会在另一个端口上生成一个额外的基于事件驱动的 HTTP "
|
||
"工作进程。同时还会生成额外的定时任务工作进程。一个可配置的进程管理器会监控资源使用情况,并可以终止/重启失败的工作进程。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:201
|
||
msgid ""
|
||
"The multi-processing server is opt-in. It is selected by setting the "
|
||
":option:`--workers <odoo-bin --workers>` option to a non-null integer."
|
||
msgstr ""
|
||
"多进程服务器是可选的。可通过将 :option:`--workers <odoo-bin --workers>` 选项设置为非空整数来选择。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:205
|
||
msgid ""
|
||
"Because it is highly customized for Linux servers, the multi-processing "
|
||
"server is not available on Windows."
|
||
msgstr "由于多进程服务器为 Linux 服务器高度定制,因此 Windows 无法使用。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:209
|
||
msgid "Worker number calculation"
|
||
msgstr "工人数计算"
|
||
|
||
#: ../../content/administration/install/deploy.rst:211
|
||
msgid "Rule of thumb : (#CPU * 2) + 1"
|
||
msgstr "经验法则 : (#CPU * 2) + 1"
|
||
|
||
#: ../../content/administration/install/deploy.rst:212
|
||
msgid "Cron workers need CPU"
|
||
msgstr "Cron workers 需要 CPU"
|
||
|
||
#: ../../content/administration/install/deploy.rst:213
|
||
msgid "1 worker ~= 6 concurrent users"
|
||
msgstr "1 个工作线程 ~= 6 个并发用户"
|
||
|
||
#: ../../content/administration/install/deploy.rst:216
|
||
msgid "memory size calculation"
|
||
msgstr "内存大小计算"
|
||
|
||
#: ../../content/administration/install/deploy.rst:218
|
||
msgid ""
|
||
"We consider 20% of the requests are heavy requests, while 80% are simpler "
|
||
"ones"
|
||
msgstr "我们认为 20% of 请求是繁重的请求,而 80% a是更简单的请求"
|
||
|
||
#: ../../content/administration/install/deploy.rst:219
|
||
msgid ""
|
||
"A heavy worker, when all computed field are well designed, SQL requests are "
|
||
"well designed, ... is estimated to consume around 1GB of RAM"
|
||
msgstr "一个繁重的工作,当所有计算字段都设计得很好,SQL请求设计得很好,...估计消耗约1GB的内存"
|
||
|
||
#: ../../content/administration/install/deploy.rst:220
|
||
msgid ""
|
||
"A lighter worker, in the same scenario, is estimated to consume around 150MB"
|
||
" of RAM"
|
||
msgstr "在相同的情况下,较轻的工作线程估计会消耗大约150MB的RAM。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:222
|
||
msgid ""
|
||
"Needed RAM = #worker * ( (light_worker_ratio * light_worker_ram_estimation) "
|
||
"+ (heavy_worker_ratio * heavy_worker_ram_estimation) )"
|
||
msgstr ""
|
||
"所需 RAM = #worker * ( (light_worker_ratio * light_worker_ram_estimation) + "
|
||
"(heavy_worker_ratio * heavy_worker_ram_estimation) )"
|
||
|
||
#: ../../content/administration/install/deploy.rst:225
|
||
#: ../../content/administration/install/deploy.rst:412
|
||
msgid "LiveChat"
|
||
msgstr "在线聊天"
|
||
|
||
#: ../../content/administration/install/deploy.rst:227
|
||
msgid ""
|
||
"In multi-processing, a dedicated LiveChat worker is automatically started "
|
||
"and listens on the :option:`--gevent-port <odoo-bin --gevent-port>`. By "
|
||
"default, the HTTP requests will keep accessing the normal HTTP workers "
|
||
"instead of the LiveChat one. You must deploy a proxy in front of Odoo and "
|
||
"redirect incoming requests whose path starts with ``/websocket/`` to the "
|
||
"LiveChat worker. You must also start Odoo in :option:`--proxy-mode <odoo-bin"
|
||
" --proxy-mode>` so it uses the real client headers (such as hostname, "
|
||
"scheme, and IP) instead of the proxy ones."
|
||
msgstr ""
|
||
"在多进程模式下,会自动启动一个专用 LiveChat Worker,并通过 :option:`--gevent-port <odoo-bin "
|
||
"--gevent-port>` 监听。默认情况下,HTTP 请求将继续访问普通 HTTP 工作进程,而不是 LiveChat 工作进程。您必须在 "
|
||
"Odoo 前部署一个代理,并将路径以 ``/websocket/`` 开头的传入请求重定向到 LiveChat 工作进程。您还必须在 "
|
||
":option:`--proxy-mode <odoo-bin --proxy-mode>` 下启动 "
|
||
"Odoo,这样它就会使用真正的客户端头信息(如主机名、协议和 IP 地址)而不是代理头信息。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:237
|
||
msgid "Server with 4 CPU, 8 Thread"
|
||
msgstr "具有 4 个 CPU、8 个线程的服务器"
|
||
|
||
#: ../../content/administration/install/deploy.rst:238
|
||
msgid "60 concurrent users"
|
||
msgstr "60 个并发用户"
|
||
|
||
#: ../../content/administration/install/deploy.rst:240
|
||
msgid "60 users / 6 = 10 <- theoretical number of worker needed"
|
||
msgstr "60 个用户 / 6 = 10 < - 理论上的线程数量"
|
||
|
||
#: ../../content/administration/install/deploy.rst:241
|
||
msgid "(4 * 2) + 1 = 9 <- theoretical maximal number of worker"
|
||
msgstr "(4 * 2) + 1 = 9 <- 理论的最大线程数"
|
||
|
||
#: ../../content/administration/install/deploy.rst:242
|
||
msgid ""
|
||
"We'll use 8 workers + 1 for cron. We'll also use a monitoring system to "
|
||
"measure cpu load, and check if it's between 7 and 7.5 ."
|
||
msgstr "我们将应用 8 线程 + 1 计划任务。我们还将使用监视系统来测量CPU负载,并检查它是否在7和7.5之间。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:243
|
||
msgid "RAM = 9 * ((0.8*150) + (0.2*1024)) ~= 3Go RAM for Odoo"
|
||
msgstr "RAM = 9 * ((0.8*150) + (0.2*1024)) ~= 3Go RAM 用于 Odoo"
|
||
|
||
#: ../../content/administration/install/deploy.rst:245
|
||
msgid "in :ref:`the configuration file <reference/cmdline/config_file>`:"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/install/deploy.rst:261
|
||
msgid "HTTPS"
|
||
msgstr "HTTPS"
|
||
|
||
#: ../../content/administration/install/deploy.rst:263
|
||
msgid ""
|
||
"Whether it's accessed via website/web client or web service, Odoo transmits "
|
||
"authentication information in cleartext. This means a secure deployment of "
|
||
"Odoo must use HTTPS\\ [#switching]_. SSL termination can be implemented via "
|
||
"just about any SSL termination proxy, but requires the following setup:"
|
||
msgstr ""
|
||
"无论是通过网站/网络客户端还是网络服务访问,Odoo都会以明文形式传输身份验证信息。这意味着Odoo的安全部署必须使用HTTPS\\ "
|
||
"[#switching]_。SSL 终止可以通过几乎任何 SSL 终止代理实现,但需要以下设置:"
|
||
|
||
#: ../../content/administration/install/deploy.rst:268
|
||
msgid ""
|
||
"Enable Odoo's :option:`proxy mode <odoo-bin --proxy-mode>`. This should only"
|
||
" be enabled when Odoo is behind a reverse proxy"
|
||
msgstr ""
|
||
"启用 Odoo 的 :option:'代理模式(proxy mode) <odoo-bin --proxy-mode>'。仅当 Odoo "
|
||
"位于反向代理后面时,才应启用此功能"
|
||
|
||
#: ../../content/administration/install/deploy.rst:269
|
||
msgid "Set up the SSL termination proxy (`Nginx termination example`_)"
|
||
msgstr "设置 SSL termination proxy (`Nginx termination example`_)"
|
||
|
||
#: ../../content/administration/install/deploy.rst:270
|
||
msgid "Set up the proxying itself (`Nginx proxying example`_)"
|
||
msgstr "设置代理本身 (`Nginx proxying example`_)"
|
||
|
||
#: ../../content/administration/install/deploy.rst:271
|
||
msgid ""
|
||
"Your SSL termination proxy should also automatically redirect non-secure "
|
||
"connections to the secure port"
|
||
msgstr "您的 SSL 终止代理还应自动将不安全的连接重定向到安全端口"
|
||
|
||
#: ../../content/administration/install/deploy.rst:277
|
||
msgid "Redirect http requests to https"
|
||
msgstr "将 http 请求重定向到 https"
|
||
|
||
#: ../../content/administration/install/deploy.rst:278
|
||
msgid "Proxy requests to odoo"
|
||
msgstr "对 odoo 的代理请求"
|
||
|
||
#: ../../content/administration/install/deploy.rst:286
|
||
msgid "in ``/etc/nginx/sites-enabled/odoo.conf`` set:"
|
||
msgstr "在 ``/etc/nginx/sites-enabled/odoo.conf`` set中:"
|
||
|
||
#: ../../content/administration/install/deploy.rst:361
|
||
msgid "HTTPS Hardening"
|
||
msgstr "HTTPS 加固"
|
||
|
||
#: ../../content/administration/install/deploy.rst:363
|
||
msgid ""
|
||
"Add the `Strict-Transport-Security` header to all requests, in order to "
|
||
"prevent browsers from ever sending a plain HTTP request to this domain. You "
|
||
"will need to maintain a working HTTPS service with a valid certificate on "
|
||
"this domain at all times, otherwise your users will see security alerts or "
|
||
"be entirely unable to access it."
|
||
msgstr ""
|
||
"在所有请求中添加 \"Strict-Transport-Security \"标头,以防止浏览器向该域发送纯 HTTP "
|
||
"请求。您需要在该域上始终使用有效证书维护正常运行的 HTTPS 服务,否则您的用户将看到安全警报或完全无法访问该域。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:369
|
||
msgid ""
|
||
"Force HTTPS connections during a year for every visitor in NGINX with the "
|
||
"line:"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/install/deploy.rst:375
|
||
msgid ""
|
||
"Additional configuration can be defined for the `session_id` cookie. The "
|
||
"`Secure` flag can be added to ensure it is never transmitted over HTTP and "
|
||
"`SameSite=Lax` to prevent authenticated `CSRF`_."
|
||
msgstr ""
|
||
"可以为 `session_id` cookie 定义其他配置。可添加`安全`标志以确保不会通过 HTTP "
|
||
"传输,并添加`SameSite=Lax`以防止验证`CSRF`_。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:386
|
||
msgid "Odoo as a WSGI Application"
|
||
msgstr "Odoo 作为 WSGI 应用程序"
|
||
|
||
#: ../../content/administration/install/deploy.rst:388
|
||
msgid ""
|
||
"It is also possible to mount Odoo as a standard WSGI_ application. Odoo "
|
||
"provides the base for a WSGI launcher script as ``odoo-wsgi.example.py``. "
|
||
"That script should be customized (possibly after copying it from the setup "
|
||
"directory) to correctly set the configuration directly in "
|
||
":mod:`odoo.tools.config` rather than through the command-line or a "
|
||
"configuration file."
|
||
msgstr ""
|
||
"也可以将Odoo作为标准WSGI_应用。Odoo为WSGI启动器脚本提供了“odoo-"
|
||
"wsgi.example.py”的基础。应该自定义该脚本(可能是在从安装目录复制它之后)以直接在:mod:`odoo.tools.config`中正确设置配置,而不是通过命令行或配置文件。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:394
|
||
msgid ""
|
||
"However the WSGI server will only expose the main HTTP endpoint for the web "
|
||
"client, website and webservice API. Because Odoo does not control the "
|
||
"creation of workers anymore it can not setup cron or livechat workers"
|
||
msgstr ""
|
||
"但是,WSGI 服务器将仅公开 Web 客户端、网站和 Web 服务 API 的主 HTTP "
|
||
"终结点。因为Odoo不再控制工人的创建,所以它无法设置cron或livechat工人"
|
||
|
||
#: ../../content/administration/install/deploy.rst:399
|
||
msgid "Cron Workers"
|
||
msgstr "Cron Workers"
|
||
|
||
#: ../../content/administration/install/deploy.rst:401
|
||
msgid ""
|
||
"Starting one of the built-in Odoo servers next to the WSGI server is "
|
||
"required to process cron jobs. That server must be configured to only "
|
||
"process crons and not HTTP requests using the :option:`--no-http <odoo-bin "
|
||
"--no-http>` cli option or the ``http_enable = False`` configuration file "
|
||
"setting."
|
||
msgstr ""
|
||
"要处理 cron 作业,必须在 WSGI 服务器旁边启动一个内置 Odoo 服务器。必须使用 :option:`--no-http <odoo-bin "
|
||
"--no-http>` cli 选项或 \"http_enable = False\" 配置文件设置,将该服务器配置为只处理 cron 而不处理 "
|
||
"HTTP 请求。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:406
|
||
msgid ""
|
||
"On Linux-like systems, using the multi-processing server over the multi-"
|
||
"threading one is recommended to benefit from better hardware usage and "
|
||
"increased stability, i.e., using the :option:`--workers=-1 <odoo-bin "
|
||
"--workers>` and :option:`--max-cron-threads=n <odoo-bin --max-cron-threads>`"
|
||
" cli options."
|
||
msgstr ""
|
||
"在类 Linux 系统上,建议使用多进程服务器而不是多线程服务器,这样可以更好地利用硬件并提高稳定性,即使用 :option:`--workers=-1"
|
||
" <odoo-bin --workers>` 和 :option:`--max-cron-threads=n <odoo-bin --max-cron-"
|
||
"threads>` cli 选项。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:414
|
||
msgid ""
|
||
"Using a gevent-compatible WSGI server is required for the correct operation "
|
||
"of the live chat feature. That server should be able to handle many "
|
||
"simultaneous long-lived connections but doesn't need a lot of processing "
|
||
"power. All requests whose path starts with ``/websocket/`` should be "
|
||
"directed to that server. A regular (thread/process-based) WSGI server should"
|
||
" be used for all other requests."
|
||
msgstr ""
|
||
"要正确运行即时聊天功能,必须使用与 gevent 兼容的 WSGI 服务器。该服务器应能同时处理多个长连接,但不需要很强的处理能力。所有路径以 "
|
||
"``/websocket/`` 开头的请求都应指向该服务器。所有其他请求都应使用普通的(基于线程/进程的)WSGI 服务器。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:420
|
||
msgid ""
|
||
"The Odoo cron server can also be used to serve the live chat requests. Just "
|
||
"drop the :option:`--no-http <odoo-bin --no-http>` cli option from the cron "
|
||
"server and make sure requests whose path starts with ``/websocket/`` are "
|
||
"directed to this server, either on the :option:`--http-port <odoo-bin "
|
||
"--http-port>` (multi-threading server) or on the :option:`--gevent-port "
|
||
"<odoo-bin --gevent-port>` (multi-processing server)."
|
||
msgstr ""
|
||
"Odoo cron 服务器也可用于处理即时聊天请求。只需从 cron 服务器中删除 :option:`--no-http <odoo-bin --no-"
|
||
"http>` cli 选项,并确保路径以 ``/websocket/`` 开头的请求会被定向到该服务器,或者在 :option:`--http-port"
|
||
" <odoo-bin --http-port>` 上(多线程服务器),或者在 :option:`--gevent-port <odoo-bin "
|
||
"--gevent-port>` 上(多处理服务器)。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:429
|
||
msgid "Serving static files and attachments"
|
||
msgstr "提供静态文件和附件"
|
||
|
||
#: ../../content/administration/install/deploy.rst:431
|
||
msgid ""
|
||
"For development convenience, Odoo directly serves all static files and "
|
||
"attachments in its modules. This may not be ideal when it comes to "
|
||
"performances, and static files should generally be served by a static HTTP "
|
||
"server."
|
||
msgstr "为了便于开发,Odoo 直接提供其模块中的所有静态文件和附件。在性能方面,这可能并不理想,静态文件通常由静态 HTTP 服务器提供。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:436
|
||
msgid "Serving static files"
|
||
msgstr "提供静态文件"
|
||
|
||
#: ../../content/administration/install/deploy.rst:438
|
||
msgid ""
|
||
"Odoo static files are located in each module's :file:`static/` folder, so "
|
||
"static files can be served by intercepting all requests to "
|
||
":samp:`/{MODULE}/static/{FILE}`, and looking up the right module (and file) "
|
||
"in the various addons paths."
|
||
msgstr ""
|
||
"Odoo 静态文件位于每个模块的 :file:`static/` 文件夹中,因此可通过拦截对 "
|
||
":samp:`/{MODULE}/static/{FILE}` 的所有请求,并在各种附加组件路径中查找正确的模块(和文件)来提供静态文件。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:442
|
||
msgid ""
|
||
"It is recommended to set the ``Content-Security-Policy: default-src 'none'``"
|
||
" header on all images delivered by the web server. It is not strictly "
|
||
"necessary as users cannot modify/inject content inside of modules' "
|
||
":file:`static/` folder and existing images are final (they do not fetch new "
|
||
"resources by themselves). However, it is good practice."
|
||
msgstr ""
|
||
"建议在网络服务器发送的所有图像上设置``Content-Security-Policy: default-src "
|
||
"'none'``标头。严格来说,这并非必要,因为用户无法在模块的 :file:`static/` "
|
||
"文件夹中修改/注入内容,而且现有图像是最终的(它们不会自行获取新资源)。不过,这是一个很好的做法。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:447
|
||
msgid ""
|
||
"Using the above NGINX (https) configuration, the following ``map`` and "
|
||
"``location`` blocks should be added to serve static files via NGINX."
|
||
msgstr ""
|
||
"使用上述 NGINX (https) 配置,应添加以下 ``map`` 和 ``location`` 块,以便通过 NGINX 提供静态文件。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:474
|
||
msgid ""
|
||
"The actual ``root`` and ``try_files`` directives are dependant on your "
|
||
"installation, specifically on your :option:`--addons-path <odoo-bin "
|
||
"--addons-path>`."
|
||
msgstr ""
|
||
"实际的 ``root`` 和 ``try_files`` 指令取决于安装,特别是 :option:`--addons-path <odoo-bin "
|
||
"--addons-path>` 。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:481
|
||
msgid "Debian package"
|
||
msgstr "Debian 软件包"
|
||
|
||
#: ../../content/administration/install/deploy.rst:483
|
||
msgid ""
|
||
"Say Odoo has been installed via the **debian packages** for Community and "
|
||
"Enterprise, and that the :option:`--addons-path <odoo-bin --addons-path>` is"
|
||
" ``'/usr/lib/python3/dist-packages/odoo/addons'``."
|
||
msgstr ""
|
||
"假设 Odoo 已通过**debian 软件包**安装为社区版和企业版,且 :option:`--addons-path <odoo-bin "
|
||
"--addons-path>`` 为``'/usr/lib/python3/dist-packages/odoo/addons'``。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:487
|
||
#: ../../content/administration/install/deploy.rst:501
|
||
msgid "The ``root`` and ``try_files`` should be:"
|
||
msgstr "``root`` 和 ``try_files`` 应该为:"
|
||
|
||
#: ../../content/administration/install/deploy.rst:494
|
||
msgid "Git sources"
|
||
msgstr "Git 源代码"
|
||
|
||
#: ../../content/administration/install/deploy.rst:496
|
||
msgid ""
|
||
"Say Odoo has been installed via the **sources**, that both the Community and"
|
||
" Enterprise git repositories were cloned in :file:`/opt/odoo/community` and "
|
||
":file:`/opt/odoo/enterprise` respectively, and that the :option:`--addons-"
|
||
"path <odoo-bin --addons-path>` is "
|
||
"``'/opt/odoo/community/odoo/addons,/opt/odoo/community/addons,/opt/odoo/enterprise'``."
|
||
msgstr ""
|
||
"假设 Odoo 已通过 **sources** 安装,社区版和企业版的 git 仓库分别克隆在 :file:`/opt/odoo/community` "
|
||
"和 :file:`/opt/odoo/enterprise` 中,并且 :option:`--addons-path <odoo-bin "
|
||
"--addons-path>` 是 "
|
||
"``'/opt/odoo/community/odoo/addons,/opt/odoo/community/addons,/opt/odoo/enterprise'``。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:509
|
||
msgid "Serving attachments"
|
||
msgstr "提供附件"
|
||
|
||
#: ../../content/administration/install/deploy.rst:511
|
||
msgid ""
|
||
"Attachments are files stored in the filestore which access is regulated by "
|
||
"Odoo. They cannot be directly accessed via a static web server as accessing "
|
||
"them requires multiple lookups in the database to determine where the files "
|
||
"are stored and whether the current user can access them or not."
|
||
msgstr ""
|
||
"附件是存储在文件库中的文件,其访问受 Odoo "
|
||
"监管。它们不能通过静态网络服务器直接访问,因为访问它们需要在数据库中进行多次查找,以确定文件存储在哪里,以及当前用户是否可以访问它们。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:516
|
||
msgid ""
|
||
"Nevertheless, once the file has been located and the access rights verified "
|
||
"by Odoo, it is a good idea to serve the file using the static web server "
|
||
"instead of Odoo. For Odoo to delegate serving files to the static web "
|
||
"server, the `X-Sendfile <https://tn123.org/mod_xsendfile/>`_ (apache) or "
|
||
"`X-Accel "
|
||
"<https://www.nginx.com/resources/wiki/start/topics/examples/x-accel/>`_ "
|
||
"(nginx) extensions must be enabled and configured on the static web server. "
|
||
"Once it is set up, start Odoo with the :option:`--x-sendfile <odoo-bin "
|
||
"--x-sendfile>` CLI flag (this unique flag is used for both X-Sendfile and "
|
||
"X-Accel)."
|
||
msgstr ""
|
||
"不过,一旦找到文件并由 Odoo 验证了访问权限,最好使用静态网络服务器而不是 Odoo 来提供文件。要让 Odoo "
|
||
"委托静态网络服务器发送文件,必须在静态网络服务器上启用并配置 `X-Sendfile "
|
||
"<https://tn123.org/mod_xsendfile/>`_ (apache) 或 `X-Accel "
|
||
"<https://www.nginx.com/resources/wiki/start/topics/examples/x-accel/>`_ "
|
||
"(nginx)扩展。设置完成后,使用 :option:`--x-sendfile <odoo-bin --x-sendfile>` CLI 标志启动 "
|
||
"Odoo(X-Sendfile 和 X-Accel 均使用此唯一标志)。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:526
|
||
msgid ""
|
||
"The X-Sendfile extension for apache (and compatible web servers) does not "
|
||
"require any supplementary configuration."
|
||
msgstr "apache(以及兼容的网络服务器)的 X-Sendfile 扩展不需要任何辅助配置。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:528
|
||
msgid ""
|
||
"The X-Accel extension for NGINX **does** require the following additionnal "
|
||
"configuration:"
|
||
msgstr "NGINX 的 X-Accel 扩展**的确**需要以下额外配置:"
|
||
|
||
#: ../../content/administration/install/deploy.rst:537
|
||
msgid ""
|
||
"In case you don't know what is the path to your filestore, start Odoo with "
|
||
"the :option:`--x-sendfile <odoo-bin --x-sendfile>` option and navigate to "
|
||
"the ``/web/filestore`` URL directly via Odoo (don't navigate to the URL via "
|
||
"NGINX). This logs a warnings, the message contains the configuration you "
|
||
"need."
|
||
msgstr ""
|
||
"如果您不知道文件库的路径,请使用 :option:`--x-sendfile <odoo-bin --x-sendfile>` 选项启动 "
|
||
"Odoo,并通过 Odoo 直接导航到 ``/web/filestore`` URL(不要通过 NGINX 导航到 "
|
||
"URL)。这将记录警告,信息中包含您需要的配置。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:546
|
||
msgid "Security"
|
||
msgstr "安全"
|
||
|
||
#: ../../content/administration/install/deploy.rst:548
|
||
msgid ""
|
||
"For starters, keep in mind that securing an information system is a "
|
||
"continuous process, not a one-shot operation. At any moment, you will only "
|
||
"be as secure as the weakest link in your environment."
|
||
msgstr "首先,请记住,保护信息系统是一个连续的过程,而不是一次性操作。在任何时候,您都只能像环境中最薄弱的环节一样安全。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:552
|
||
msgid ""
|
||
"So please do not take this section as the ultimate list of measures that "
|
||
"will prevent all security problems. It's only intended as a summary of the "
|
||
"first important things you should be sure to include in your security action"
|
||
" plan. The rest will come from best security practices for your operating "
|
||
"system and distribution, best practices in terms of users, passwords, and "
|
||
"access control management, etc."
|
||
msgstr ""
|
||
"因此,请不要将此部分视为防止所有安全问题的最终措施列表。它仅作为安全行动计划中应确保包含的第一个重要事项的摘要。其余的将来自操作系统和发行版的最佳安全实践,用户,密码和访问控制管理等方面的最佳实践。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:558
|
||
msgid ""
|
||
"When deploying an internet-facing server, please be sure to consider the "
|
||
"following security-related topics:"
|
||
msgstr "部署面向互联网的服务器时,请务必考虑以下与安全相关的主题:"
|
||
|
||
#: ../../content/administration/install/deploy.rst:561
|
||
msgid ""
|
||
"Always set a strong super-admin admin password, and restrict access to the "
|
||
"database management pages as soon as the system is set up. See "
|
||
":ref:`db_manager_security`."
|
||
msgstr "始终设置强超级管理员密码,并在系统设置后立即限制对数据库管理页面的访问。请参阅::ref:`db_manager_security`。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:564
|
||
msgid ""
|
||
"Choose unique logins and strong passwords for all administrator accounts on "
|
||
"all databases. Do not use 'admin' as the login. Do not use those logins for "
|
||
"day-to-day operations, only for controlling/managing the installation. "
|
||
"*Never* use any default passwords like admin/admin, even for test/staging "
|
||
"databases."
|
||
msgstr ""
|
||
"为所有数据库上的所有管理员帐户选择唯一登录名和强密码。不要使用“admin”作为登录名。不要将这些登录名用于日常操作,仅用于控制/管理安装。*从不*使用任何默认密码,如管理员/管理员,即使对于测试/临时数据库也是如此。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:569
|
||
msgid ""
|
||
"Do **not** install demo data on internet-facing servers. Databases with demo"
|
||
" data contain default logins and passwords that can be used to get into your"
|
||
" systems and cause significant trouble, even on staging/dev systems."
|
||
msgstr ""
|
||
"不要 **要 "
|
||
"**面向互联网的服务器上安装演示数据。包含演示数据的数据库包含默认登录名和密码,可用于进入系统并造成重大麻烦,即使在暂存/开发系统上也是如此。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:573
|
||
msgid ""
|
||
"Use appropriate database filters ( :option:`--db-filter <odoo-bin --db-"
|
||
"filter>`) to restrict the visibility of your databases according to the "
|
||
"hostname. See :ref:`db_filter`. You may also use :option:`-d <odoo-bin -d>` "
|
||
"to provide your own (comma-separated) list of available databases to filter "
|
||
"from, instead of letting the system fetch them all from the database "
|
||
"backend."
|
||
msgstr ""
|
||
"使用适当的数据库筛选器 ( :option:`--db-filter <odoo-bin --db-filter>`) "
|
||
"根据主机名限制数据库的可见性。请参阅::ref:`db_filter`。您还可以使用 :option:`-d <odoo-bin -d=\"\">` "
|
||
"来提供您自己的(逗号分隔的)可用数据库列表,以便从中进行筛选,而不是让系统从数据库后端获取所有数据库。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:580
|
||
msgid ""
|
||
"Once your ``db_name`` and ``db_filter`` are configured and only match a "
|
||
"single database per hostname, you should set ``list_db`` configuration "
|
||
"option to ``False``, to prevent listing databases entirely, and to block "
|
||
"access to the database management screens (this is also exposed as the "
|
||
":option:`--no-database-list <odoo-bin --no-database-list>` command-line "
|
||
"option)"
|
||
msgstr ""
|
||
"一旦配置了“db_name”和“db_filter”,并且每个主机名只匹配一个数据库,则应将“list_db”配置选项设置为“False”,以防止完全列出数据库,并阻止对数据库管理屏幕的访问(这也显示为"
|
||
" :option:`--no-database-list <odoo-bin --no-database-list>`命令行选项)"
|
||
|
||
#: ../../content/administration/install/deploy.rst:586
|
||
msgid ""
|
||
"Make sure the PostgreSQL user (:option:`--db_user <odoo-bin --db_user>`) is "
|
||
"*not* a super-user, and that your databases are owned by a different user. "
|
||
"For example they could be owned by the ``postgres`` super-user if you are "
|
||
"using a dedicated non-privileged ``db_user``. See also "
|
||
":ref:`setup/deploy/odoo`."
|
||
msgstr ""
|
||
"确保 PostgreSQL 用户 ( :option:`--db_user <odoo-bin --db_user>`) "
|
||
"不是超级用户,并且您的数据库由其他用户拥有。例如,如果您使用的是专用的非特权“db_user”,则可以由“postgres”超级用户拥有。另请参阅 "
|
||
"::ref:`odoo <setup/deploy/odoo>`。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:591
|
||
msgid ""
|
||
"Keep installations updated by regularly installing the latest builds, either"
|
||
" via GitHub or by downloading the latest version from "
|
||
"https://www.odoo.com/page/download or http://nightly.odoo.com"
|
||
msgstr ""
|
||
"通过 GitHub 定期安装最新版本,或者从 https://www.odoo.com/page/download 或 "
|
||
"http://nightly.odoo.com 下载最新版本,从而保持安装更新"
|
||
|
||
#: ../../content/administration/install/deploy.rst:595
|
||
msgid ""
|
||
"Configure your server in multi-process mode with proper limits matching your"
|
||
" typical usage (memory/CPU/timeouts). See also :ref:`builtin_server`."
|
||
msgstr ""
|
||
"在多进程模式下配置服务器,并具有与典型使用(内存/CPU/超时)匹配的适当限制。另请参阅::ref:`内建服务器 <builtin_server>`。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:598
|
||
msgid ""
|
||
"Run Odoo behind a web server providing HTTPS termination with a valid SSL "
|
||
"certificate, in order to prevent eavesdropping on cleartext communications. "
|
||
"SSL certificates are cheap, and many free options exist. Configure the web "
|
||
"proxy to limit the size of requests, set appropriate timeouts, and then "
|
||
"enable the :option:`proxy mode <odoo-bin --proxy-mode>` option. See also "
|
||
":ref:`https_proxy`."
|
||
msgstr ""
|
||
"在提供HTTPS终止的Web服务器后面运行Odoo,并提供有效的SSL证书,以防止窃听明文通信。SSL证书很便宜,并且存在许多免费选项。将 Web "
|
||
"代理配置为限制请求的大小,设置适当的超时,然后启用 :option:`proxy mode <odoo-bin --proxy-mode>` "
|
||
"选项。另请参阅::ref:`Https 代理 <https_proxy>`。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:605
|
||
msgid ""
|
||
"If you need to allow remote SSH access to your servers, make sure to set a "
|
||
"strong password for **all** accounts, not just `root`. It is strongly "
|
||
"recommended to entirely disable password-based authentication, and only "
|
||
"allow public key authentication. Also consider restricting access via a VPN,"
|
||
" allowing only trusted IPs in the firewall, and/or running a brute-force "
|
||
"detection system such as `fail2ban` or equivalent."
|
||
msgstr ""
|
||
"如果需要允许对服务器进行远程 SSH 访问,请确保为 **all** "
|
||
"帐户设置强密码,而不仅仅是“root”。强烈建议完全禁用基于密码的身份验证,并且仅允许公钥身份验证。还要考虑限制通过VPN的访问,仅允许防火墙中的受信任IP,和/或运行暴力检测系统,如“fail2ban”或等效系统。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:611
|
||
msgid ""
|
||
"Consider installing appropriate rate-limiting on your proxy or firewall, to "
|
||
"prevent brute-force attacks and denial of service attacks. See also "
|
||
":ref:`login_brute_force` for specific measures."
|
||
msgstr ""
|
||
"请考虑在代理或防火墙上安装适当的速率限制,以防止暴力攻击和拒绝服务攻击。另请参阅:ref:`login_brute_force`了解具体措施。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:615
|
||
msgid ""
|
||
"Many network providers provide automatic mitigation for Distributed Denial "
|
||
"of Service attacks (DDOS), but this is often an optional service, so you "
|
||
"should consult with them."
|
||
msgstr "许多网络提供商为分布式拒绝服务攻击 (DDOS) 提供自动缓解措施,但这通常是一项可选服务,因此您应该咨询他们。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:619
|
||
msgid ""
|
||
"Whenever possible, host your public-facing demo/test/staging instances on "
|
||
"different machines than the production ones. And apply the same security "
|
||
"precautions as for production."
|
||
msgstr "只要有可能,就将面向公众的演示/测试/过渡实例托管在与生产计算机不同的计算机上。并应用与生产相同的安全预防措施。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:623
|
||
msgid ""
|
||
"If your public-facing Odoo server has access to sensitive internal network "
|
||
"resources or services (e.g. via a private VLAN), implement appropriate "
|
||
"firewall rules to protect those internal resources. This will ensure that "
|
||
"the Odoo server cannot be used accidentally (or as a result of malicious "
|
||
"user actions) to access or disrupt those internal resources. Typically this "
|
||
"can be done by applying an outbound default DENY rule on the firewall, then "
|
||
"only explicitly authorizing access to internal resources that the Odoo "
|
||
"server needs to access. `Systemd IP traffic access control "
|
||
"<http://0pointer.net/blog/ip-accounting-and-access-lists-with-"
|
||
"systemd.html>`_ may also be useful to implement per-process network access "
|
||
"control."
|
||
msgstr ""
|
||
"如果您面向公众的 Odoo 服务器可以访问敏感的内部网络资源或服务(例如,通过专用 VLAN),请实施适当的防火墙规则来保护这些内部资源。这将确保 "
|
||
"Odoo "
|
||
"服务器不会被意外使用(或由于恶意用户操作)来访问或破坏这些内部资源。通常,这可以通过在防火墙上应用出站默认的DENY规则来完成,然后仅显式授权访问Odoo服务器需要访问的内部资源。“systemd"
|
||
" IP 流量访问控制<http://0pointer.net/blog/ip-accounting-and-access-lists-with-"
|
||
"systemd.html>”_ 对于实现每个进程的网络访问控制也可能很有用。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:634
|
||
msgid ""
|
||
"If your public-facing Odoo server is behind a Web Application Firewall, a "
|
||
"load-balancer, a transparent DDoS protection service (like CloudFlare) or a "
|
||
"similar network-level device, you may wish to avoid direct access to the "
|
||
"Odoo system. It is generally difficult to keep the endpoint IP addresses of "
|
||
"your Odoo servers secret. For example they can appear in web server logs "
|
||
"when querying public systems, or in the headers of emails posted from Odoo. "
|
||
"In such a situation you may want to configure your firewall so that the "
|
||
"endpoints are not accessible publicly except from the specific IP addresses "
|
||
"of your WAF, load-balancer or proxy service. Service providers like "
|
||
"CloudFlare usually maintain a public list of their IP address ranges for "
|
||
"this purpose."
|
||
msgstr ""
|
||
"如果您的面向公众的Odoo服务器位于Web应用程序防火墙,负载平衡器,透明DDoS保护服务(如CloudFlare)或类似的网络级设备后面,您可能希望避免直接访问Odoo系统。通常很难对Odoo服务器的端点IP地址保密。例如,当查询公共系统时,它们可以出现在Web服务器日志中,或者出现在从Odoo发布的电子邮件的标题中。在这种情况下,您可能需要配置防火墙,以便除了从"
|
||
" WAF、负载均衡器或代理服务的特定 IP "
|
||
"地址访问终结点外,无法公开访问终结点。为此,像CloudFlare这样的服务提供商通常会维护其IP地址范围的公共列表。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:645
|
||
msgid ""
|
||
"If you are hosting multiple customers, isolate customer data and files from "
|
||
"each other using containers or appropriate \"jail\" techniques."
|
||
msgstr "如果您托管多个客户,请使用容器或适当的“jail”技术将客户数据和文件彼此隔离。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:648
|
||
msgid ""
|
||
"Setup daily backups of your databases and filestore data, and copy them to a"
|
||
" remote archiving server that is not accessible from the server itself."
|
||
msgstr "设置数据库和文件存储数据的每日备份,并将它们复制到无法从服务器本身访问的远程存档服务器。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:651
|
||
msgid ""
|
||
"Deploying Odoo on Linux is strongly recommended over Windows. Should you "
|
||
"choose nevertheless to deploy on a Windows platform, a thorough security "
|
||
"hardening review of the server should be conducted and is outside of the "
|
||
"scope of this guide."
|
||
msgstr ""
|
||
"强烈建议在 Linux 平台上部署 Odoo,而不是 Windows 平台。如果您还是选择在 Windows "
|
||
"平台上部署,则应对服务器进行彻底的安全加固审查,这不在本指南的讨论范围之内。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:659
|
||
msgid "Blocking Brute Force Attacks"
|
||
msgstr "阻止暴力破解攻击"
|
||
|
||
#: ../../content/administration/install/deploy.rst:661
|
||
msgid ""
|
||
"For internet-facing deployments, brute force attacks on user passwords are "
|
||
"very common, and this threat should not be neglected for Odoo servers. Odoo "
|
||
"emits a log entry whenever a login attempt is performed, and reports the "
|
||
"result: success or failure, along with the target login and source IP."
|
||
msgstr ""
|
||
"对于面向互联网的部署,对用户密码的暴力攻击非常普遍,对于Odoo服务器来说,这种威胁不容忽视。每当执行登录尝试时,Odoo都会发出日志条目,并报告结果:成功或失败,以及目标登录和源IP。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:665
|
||
msgid "The log entries will have the following form."
|
||
msgstr "日志条目将具有以下形式。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:667
|
||
msgid "Failed login::"
|
||
msgstr "登录失败::"
|
||
|
||
#: ../../content/administration/install/deploy.rst:671
|
||
msgid "Successful login::"
|
||
msgstr "登录成功:"
|
||
|
||
#: ../../content/administration/install/deploy.rst:676
|
||
msgid ""
|
||
"These logs can be easily analyzed by an intrusion prevention system such as "
|
||
"`fail2ban`."
|
||
msgstr "这些日志可以通过入侵防御系统(如“fail2ban”)轻松分析。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:678
|
||
msgid ""
|
||
"For example, the following fail2ban filter definition should match a failed "
|
||
"login::"
|
||
msgstr "例如,以下 fail2ban 筛选器定义应与失败的登录相匹配:"
|
||
|
||
#: ../../content/administration/install/deploy.rst:685
|
||
msgid ""
|
||
"This could be used with a jail definition to block the attacking IP on "
|
||
"HTTP(S)."
|
||
msgstr "这可以与 jail 定义一起使用,以阻止 HTTP(S) 上的攻击 IP。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:687
|
||
msgid ""
|
||
"Here is what it could look like for blocking the IP for 15 minutes when 10 "
|
||
"failed login attempts are detected from the same IP within 1 minute::"
|
||
msgstr "以下是在 1 分钟内从同一 IP 检测到 10 次登录尝试失败时,阻止 IP 15 分钟的情况:"
|
||
|
||
#: ../../content/administration/install/deploy.rst:701
|
||
msgid "Database Manager Security"
|
||
msgstr "数据库管理器安全性"
|
||
|
||
#: ../../content/administration/install/deploy.rst:703
|
||
msgid ":ref:`setup/deploy/odoo` mentioned ``admin_passwd`` in passing."
|
||
msgstr ":ref:`setup/deploy/odoo` 顺便提到``admin_passwd``"
|
||
|
||
#: ../../content/administration/install/deploy.rst:705
|
||
msgid ""
|
||
"This setting is used on all database management screens (to create, delete, "
|
||
"dump or restore databases)."
|
||
msgstr "此设置用于所有数据库管理屏幕(用于创建、删除、转储或还原数据库)。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:708
|
||
msgid ""
|
||
"If the management screens must not be accessible at all, you should set "
|
||
"``list_db`` configuration option to ``False``, to block access to all the "
|
||
"database selection and management screens."
|
||
msgstr "如果管理屏幕根本无法访问,则应将“list_db”配置选项设置为“False”,以阻止访问所有数据库选择和管理屏幕。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:714
|
||
msgid ""
|
||
"It is strongly recommended to disable the Database Manager for any internet-"
|
||
"facing system! It is meant as a development/demo tool, to make it easy to "
|
||
"quickly create and manage databases. It is not designed for use in "
|
||
"production, and may even expose dangerous features to attackers. It is also "
|
||
"not designed to handle large databases, and may trigger memory limits."
|
||
msgstr ""
|
||
"强烈建议对任何面向 Internet "
|
||
"的系统禁用数据库管理器!它旨在作为开发/演示工具,以便于快速创建和管理数据库。它不是为在生产中使用而设计的,甚至可能向攻击者暴露危险的功能。它也不是为处理大型数据库而设计的,并且可能会触发内存限制。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:720
|
||
msgid ""
|
||
"On production systems, database management operations should always be "
|
||
"performed by the system administrator, including provisioning of new "
|
||
"databases and automated backups."
|
||
msgstr "在生产系统上,数据库管理操作应始终由系统管理员执行,包括预配新数据库和自动备份。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:723
|
||
msgid ""
|
||
"Be sure to setup an appropriate ``db_name`` parameter (and optionally, "
|
||
"``db_filter`` too) so that the system can determine the target database for "
|
||
"each request, otherwise users will be blocked as they won't be allowed to "
|
||
"choose the database themselves."
|
||
msgstr ""
|
||
"请务必设置适当的“db_name”参数(也可以选择“db_filter”),以便系统可以确定每个请求的目标数据库,否则用户将被阻止,因为他们将不被允许自己选择数据库。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:728
|
||
msgid ""
|
||
"If the management screens must only be accessible from a selected set of "
|
||
"machines, use the proxy server's features to block access to all routes "
|
||
"starting with ``/web/database`` except (maybe) ``/web/database/selector`` "
|
||
"which displays the database-selection screen."
|
||
msgstr ""
|
||
"如果只能从一组选定的计算机访问管理屏幕,请使用代理服务器的功能阻止访问以“/web/database”开头的所有路由,但(可能)“/web/database/selector”除外,它显示数据库选择屏幕。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:732
|
||
msgid ""
|
||
"If the database-management screen should be left accessible, the "
|
||
"``admin_passwd`` setting must be changed from its ``admin`` default: this "
|
||
"password is checked before allowing database-alteration operations."
|
||
msgstr ""
|
||
"如果数据库管理屏幕应保持可访问状态,则必须将“admin_passwd”设置从其默认值“admin”更改为“admin”:在允许数据库更改操作之前,将检查此密码。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:736
|
||
msgid "It should be stored securely, and should be generated randomly e.g."
|
||
msgstr "它应该安全地存储,并且应该随机生成,例如"
|
||
|
||
#: ../../content/administration/install/deploy.rst:742
|
||
msgid "which will generate a 32 characters pseudorandom printable string."
|
||
msgstr "这将生成一个32个字符的伪随机可打印字符串。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:745
|
||
msgid "Supported Browsers"
|
||
msgstr "将图像的 WebP 版本用于受支持的浏览器,并且对于不支持 WebP 的浏览器,请优雅地回退 JPEG 和 PNG。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:747
|
||
msgid ""
|
||
"Odoo supports all the major desktop and mobile browsers available on the "
|
||
"market, as long as they are supported by their publishers."
|
||
msgstr "Odoo支持市场上所有主要的桌面和移动浏览器,只要它们得到出版商的支持。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:750
|
||
msgid "Here are the supported browsers:"
|
||
msgstr "以下是支持的浏览器:"
|
||
|
||
#: ../../content/administration/install/deploy.rst:752
|
||
msgid "Google Chrome"
|
||
msgstr "谷歌浏览器"
|
||
|
||
#: ../../content/administration/install/deploy.rst:753
|
||
msgid "Mozilla Firefox"
|
||
msgstr "火狐浏览器"
|
||
|
||
#: ../../content/administration/install/deploy.rst:754
|
||
msgid "Microsoft Edge"
|
||
msgstr "Microsoft Edge"
|
||
|
||
#: ../../content/administration/install/deploy.rst:755
|
||
msgid "Apple Safari"
|
||
msgstr "苹果浏览器"
|
||
|
||
#: ../../content/administration/install/deploy.rst:757
|
||
msgid ""
|
||
"Please make sure your browser is up-to-date and still supported by its "
|
||
"publisher before filing a bug report."
|
||
msgstr "在提交错误报告之前,请确保您的浏览器是最新的,并且仍然受其发布者的支持。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:762
|
||
msgid "Since Odoo 13.0, ES6 is supported. Therefore, IE support is dropped."
|
||
msgstr "从Odoo 13.0开始,支持ES6。 因此,将删除 IE 支持。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:765
|
||
msgid ""
|
||
"to have multiple Odoo installations use the same PostgreSQL database, or to "
|
||
"provide more computing resources to both software."
|
||
msgstr "让多个Odoo安装使用相同的PostgreSQL数据库,或者为两个软件提供更多的计算资源。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:768
|
||
msgid ""
|
||
"technically a tool like socat_ can be used to proxy UNIX sockets across "
|
||
"networks, but that is mostly for software which can only be used over UNIX "
|
||
"sockets"
|
||
msgstr "从技术上讲,像socat_这样的工具可以用来跨网络代理UNIX套接字,但这主要用于只能通过UNIX套接字使用的软件。"
|
||
|
||
#: ../../content/administration/install/deploy.rst:772
|
||
msgid ""
|
||
"or be accessible only over an internal packet-switched network, but that "
|
||
"requires secured switches, protections against `ARP spoofing`_ and precludes"
|
||
" usage of WiFi. Even over secure packet-switched networks, deployment over "
|
||
"HTTPS is recommended, and possible costs are lowered as \"self-signed\" "
|
||
"certificates are easier to deploy on a controlled environment than over the "
|
||
"internet."
|
||
msgstr ""
|
||
"或者只能通过内部分组交换网络访问,但这需要安全的交换机,防止“ARP欺骗”_并排除使用WiFi。即使在安全的分组交换网络上,也建议通过 HTTPS "
|
||
"进行部署,并且可能的成本也会降低,因为“自签名”证书在受控环境中比通过 Internet 更容易部署。"
|
||
|
||
#: ../../content/administration/install/email_gateway.rst:3
|
||
msgid "Email gateway"
|
||
msgstr "电子邮件网关"
|
||
|
||
#: ../../content/administration/install/email_gateway.rst:5
|
||
msgid ""
|
||
"The Odoo mail gateway allows you to inject directly all the received emails "
|
||
"in Odoo."
|
||
msgstr "Odoo邮件网关允许您直接在Odoo中注入所有收到的电子邮件。"
|
||
|
||
#: ../../content/administration/install/email_gateway.rst:7
|
||
msgid ""
|
||
"Its principle is straightforward: your SMTP server executes the \"mailgate\""
|
||
" script for every new incoming email."
|
||
msgstr "其原理很简单:您的SMTP服务器为每个新的传入电子邮件执行“mailgate”脚本。"
|
||
|
||
#: ../../content/administration/install/email_gateway.rst:10
|
||
msgid ""
|
||
"The script takes care of connecting to your Odoo database through XML-RPC, "
|
||
"and send the emails via the `MailThread.message_process()` feature."
|
||
msgstr "该脚本负责通过XML-RPC连接到Odoo数据库,并通过“MailThread.message_process()”功能发送电子邮件。"
|
||
|
||
#: ../../content/administration/install/email_gateway.rst:14
|
||
msgid "Prerequisites"
|
||
msgstr "先决条件"
|
||
|
||
#: ../../content/administration/install/email_gateway.rst:16
|
||
msgid "Administrator access to the Odoo database."
|
||
msgstr "Odoo 数据库的管理员访问权限。"
|
||
|
||
#: ../../content/administration/install/email_gateway.rst:17
|
||
msgid "Your own mail server such as Postfix or Exim."
|
||
msgstr "您自己的邮件服务器,如Postfix或Exim。"
|
||
|
||
#: ../../content/administration/install/email_gateway.rst:18
|
||
msgid "Technical knowledge on how to configure an email server."
|
||
msgstr "有关如何配置电子邮件服务器的技术知识。"
|
||
|
||
#: ../../content/administration/install/email_gateway.rst:21
|
||
msgid "For Postfix"
|
||
msgstr "对于后缀"
|
||
|
||
#: ../../content/administration/install/email_gateway.rst:23
|
||
msgid "In you alias config (:file:`/etc/aliases`):"
|
||
msgstr "在您的别名配置(:file:`/etc/aliases`) 中:"
|
||
|
||
#: ../../content/administration/install/email_gateway.rst:30
|
||
#: ../../content/administration/install/email_gateway.rst:45
|
||
msgid "Resources"
|
||
msgstr "资源"
|
||
|
||
#: ../../content/administration/install/email_gateway.rst:32
|
||
msgid "`Postfix <http://www.postfix.org/documentation.html>`_"
|
||
msgstr "`后缀<http://www.postfix.org/documentation.html>`_"
|
||
|
||
#: ../../content/administration/install/email_gateway.rst:33
|
||
msgid "`Postfix aliases <http://www.postfix.org/aliases.5.html>`_"
|
||
msgstr "`后缀别名 <http://www.postfix.org/aliases.5.html>`_"
|
||
|
||
#: ../../content/administration/install/email_gateway.rst:34
|
||
msgid "`Postfix virtual <http://www.postfix.org/virtual.8.html>`_"
|
||
msgstr "`后缀虚拟<http://www.postfix.org/virtual.8.html>`_"
|
||
|
||
#: ../../content/administration/install/email_gateway.rst:38
|
||
msgid "For Exim"
|
||
msgstr "对于 Exim"
|
||
|
||
#: ../../content/administration/install/email_gateway.rst:47
|
||
msgid "`Exim <https://www.exim.org/docs.html>`_"
|
||
msgstr "“Exim <https://www.exim.org/docs.html>”_"
|
||
|
||
#: ../../content/administration/install/email_gateway.rst:50
|
||
msgid ""
|
||
"If you don't have access/manage your email server, use :ref:`inbound "
|
||
"messages <email_communication/inbound_messages>`."
|
||
msgstr ""
|
||
"如果您无权访问/管理电子邮件服务器,请使用 :ref:'入站邮件<email_communication/inbound_messages>'。"
|
||
|
||
#: ../../content/administration/install/online.rst:3
|
||
msgid "Online"
|
||
msgstr "线上"
|
||
|
||
#: ../../content/administration/install/online.rst:5
|
||
msgid ""
|
||
"Online instances are accessed using any web browser and do not require a "
|
||
"local installation."
|
||
msgstr "在线实例可使用任何网络浏览器访问,无需本地安装。"
|
||
|
||
#: ../../content/administration/install/online.rst:8
|
||
msgid "Demo"
|
||
msgstr "演示"
|
||
|
||
#: ../../content/administration/install/online.rst:10
|
||
msgid ""
|
||
"To quickly try out Odoo, shared `demo <https://demo.odoo.com>`_ instances "
|
||
"are available. No registration is required, but each instance only lives for"
|
||
" a few hours."
|
||
msgstr ""
|
||
"要快速试用 Odoo,可使用共享的 `demo <https://demo.odoo.com>`_ 实例。无需注册,但每个实例只能使用几个小时。"
|
||
|
||
#: ../../content/administration/install/online.rst:14
|
||
#: ../../content/administration/maintain/domain_names.rst:166
|
||
#: ../../content/administration/maintain/domain_names.rst:236
|
||
#: ../../content/administration/maintain/supported_versions.rst:29
|
||
#: ../../content/administration/upgrade.rst:92
|
||
#: ../../content/administration/upgrade.rst:309
|
||
msgid "Odoo Online"
|
||
msgstr "Odoo云端版本"
|
||
|
||
#: ../../content/administration/install/online.rst:16
|
||
msgid ""
|
||
"`Odoo Online <https://www.odoo.com/trial>`_ provides private instances which"
|
||
" are fully managed and hosted by Odoo. It can be used for long-term "
|
||
"production or to test Odoo thoroughly, including customizations that don't "
|
||
"require code."
|
||
msgstr ""
|
||
"`Odoo 在线版<https://www.odoo.com/trial>`_ 提供完全由 Odoo 管理和托管的私有实例。它可用于长期生产或全面测试 "
|
||
"Odoo,包括不需要代码的定制。"
|
||
|
||
#: ../../content/administration/install/online.rst:21
|
||
msgid "Odoo Online is incompatible with custom modules or the Odoo App Store."
|
||
msgstr "Odoo 在线版与自定义模块或 Odoo 应用程序商店不兼容。"
|
||
|
||
#: ../../content/administration/install/packages.rst:3
|
||
msgid "Packaged installers"
|
||
msgstr "打包安装程序"
|
||
|
||
#: ../../content/administration/install/packages.rst:5
|
||
msgid ""
|
||
"Odoo provides packaged installers for Debian-based Linux distributions "
|
||
"(Debian, Ubuntu, etc.), RPM-based Linux distributions (Fedora, CentOS, RHEL,"
|
||
" etc.), and Windows for the Community and Enterprise editions."
|
||
msgstr ""
|
||
"Odoo 为基于 Debian 的 Linux 发行版(Debian、Ubuntu 等)、基于 RPM 的 Linux "
|
||
"发行版(Fedora、CentOS、RHEL 等)以及 Windows 社区版和企业版提供打包安装程序。"
|
||
|
||
#: ../../content/administration/install/packages.rst:9
|
||
msgid ""
|
||
"Official **Community** nightly packages with all relevant dependency "
|
||
"requirements are available on the `nightly server "
|
||
"<https://nightly.odoo.com>`_."
|
||
msgstr ""
|
||
"包含所有相关依赖要求的官方**社区**夜间软件包可在`nightly 服务器<https://nightly.odoo.com>`_上获取。"
|
||
|
||
#: ../../content/administration/install/packages.rst:13
|
||
msgid "Nightly packages may be difficult to keep up to date."
|
||
msgstr "每日构建软件包可能难以保持最新。"
|
||
|
||
#: ../../content/administration/install/packages.rst:15
|
||
msgid ""
|
||
"Official **Community** and **Enterprise** packages can be downloaded from "
|
||
"the `Odoo download page <https://www.odoo.com/page/download>`_."
|
||
msgstr ""
|
||
"官方 **社区版** 和 **企业版** 软件包可从 `Odoo 下载页面 <https://www.odoo.com/page/download>`_"
|
||
" 下载。"
|
||
|
||
#: ../../content/administration/install/packages.rst:19
|
||
msgid ""
|
||
"It is required to be logged in as a paying customer or partner to download "
|
||
"the Enterprise packages."
|
||
msgstr "必须以付费客户或合作伙伴身份登录,才能下载企业版软件包。"
|
||
|
||
#: ../../content/administration/install/packages.rst:25
|
||
#: ../../content/administration/install/source.rst:52
|
||
#: ../../content/administration/install/source.rst:129
|
||
#: ../../content/administration/install/source.rst:152
|
||
#: ../../content/administration/install/source.rst:174
|
||
#: ../../content/administration/install/source.rst:199
|
||
#: ../../content/administration/install/source.rst:228
|
||
#: ../../content/administration/install/source.rst:271
|
||
#: ../../content/administration/install/source.rst:384
|
||
#: ../../content/administration/install/source.rst:446
|
||
msgid "Linux"
|
||
msgstr "Linux"
|
||
|
||
#: ../../content/administration/install/packages.rst:28
|
||
#: ../../content/administration/install/source.rst:116
|
||
msgid "Prepare"
|
||
msgstr "准备"
|
||
|
||
#: ../../content/administration/install/packages.rst:30
|
||
msgid ""
|
||
"Odoo needs a `PostgreSQL <https://www.postgresql.org/>`_ server to run "
|
||
"properly."
|
||
msgstr "Odoo 需要一个 `PostgreSQL <https://www.postgresql.org/>`_ 服务器才能正常运行。"
|
||
|
||
#: ../../content/administration/install/packages.rst:34
|
||
#: ../../content/administration/install/packages.rst:70
|
||
#: ../../content/administration/install/packages.rst:100
|
||
#: ../../content/administration/install/source.rst:278
|
||
msgid "Debian/Ubuntu"
|
||
msgstr "Debian/Ubuntu"
|
||
|
||
#: ../../content/administration/install/packages.rst:36
|
||
msgid ""
|
||
"The default configuration for the Odoo 'deb' package is to use the "
|
||
"PostgreSQL server on the same host as the Odoo instance. Execute the "
|
||
"following command to install the PostgreSQL server:"
|
||
msgstr ""
|
||
"Odoo 'deb'软件包的默认配置是在与 Odoo 实例相同的主机上使用 PostgreSQL 服务器。执行以下命令安装 PostgreSQL "
|
||
"服务器:"
|
||
|
||
#: ../../content/administration/install/packages.rst:44
|
||
#: ../../content/administration/install/packages.rst:80
|
||
#: ../../content/administration/install/packages.rst:132
|
||
msgid "Fedora"
|
||
msgstr "Fedora"
|
||
|
||
#: ../../content/administration/install/packages.rst:46
|
||
msgid ""
|
||
"Make sure that the `sudo` command is available and well configured and, only"
|
||
" then, execute the following command to install the PostgreSQL server:"
|
||
msgstr "确保 `sudo` 命令可用且配置良好,然后执行以下命令安装 PostgreSQL 服务器:"
|
||
|
||
#: ../../content/administration/install/packages.rst:57
|
||
#: ../../content/administration/install/source.rst:416
|
||
msgid ""
|
||
"`wkhtmltopdf` is not installed through **pip** and must be installed "
|
||
"manually in `version 0.12.6 "
|
||
"<https://github.com/wkhtmltopdf/packaging/releases/tag/0.12.6.1-3>`_ for it "
|
||
"to support headers and footers. Check out the `wkhtmltopdf wiki "
|
||
"<https://github.com/odoo/odoo/wiki/Wkhtmltopdf>`_ for more details on the "
|
||
"various versions."
|
||
msgstr ""
|
||
"wkhtmltopdf` 无法通过 **pip** 安装,必须手动安装到 `version 0.12.6 "
|
||
"<https://github.com/wkhtmltopdf/packaging/releases/tag/0.12.6.1-3>`_ "
|
||
"才能支持页眉和页脚。请查看 `wkhtmltopdf wiki "
|
||
"<https://github.com/odoo/odoo/wiki/Wkhtmltopdf>`_ 了解有关不同版本的更多详情。"
|
||
|
||
#: ../../content/administration/install/packages.rst:63
|
||
msgid "Repository"
|
||
msgstr "存储库"
|
||
|
||
#: ../../content/administration/install/packages.rst:65
|
||
msgid ""
|
||
"Odoo S.A. provides a repository that can be used to install the "
|
||
"**Community** edition by executing the following commands:"
|
||
msgstr "Odoo S.A. 提供了一个资源库,执行以下命令即可安装**社区**版:"
|
||
|
||
#: ../../content/administration/install/packages.rst:78
|
||
msgid ""
|
||
"Use the usual `apt-get upgrade` command to keep the installation up-to-date."
|
||
msgstr "使用常用的 `apt-get upgrade` 命令来更新安装。"
|
||
|
||
#: ../../content/administration/install/packages.rst:90
|
||
msgid "Currently, there is no nightly repository for the Enterprise edition."
|
||
msgstr "目前,企业版没有夜间储存库。"
|
||
|
||
#: ../../content/administration/install/packages.rst:93
|
||
msgid "Distribution package"
|
||
msgstr "发行包"
|
||
|
||
#: ../../content/administration/install/packages.rst:95
|
||
msgid ""
|
||
"Instead of using the repository, packages for both the **Community** and "
|
||
"**Enterprise** editions can be downloaded from the `Odoo download page "
|
||
"<https://www.odoo.com/page/download>`_."
|
||
msgstr ""
|
||
"您可以从 `Odoo 下载页面 "
|
||
"<https://www.odoo.com/page/download>`_下载**社区版**和**企业版**软件包,无需使用存储库。"
|
||
|
||
#: ../../content/administration/install/packages.rst:103
|
||
msgid ""
|
||
"Odoo 17 'deb' package currently supports `Debian Buster "
|
||
"<https://www.debian.org/releases/buster/>`_ and `Ubuntu 18.04 "
|
||
"<https://releases.ubuntu.com/18.04>`_ or above."
|
||
msgstr ""
|
||
"Odoo 17 'deb'软件包目前支持 `Debian Buster "
|
||
"<https://www.debian.org/releases/buster/>`_和 `Ubuntu 18.04 "
|
||
"<https://releases.ubuntu.com/18.04>`_或更高版本。"
|
||
|
||
#: ../../content/administration/install/packages.rst:107
|
||
msgid ""
|
||
"Once downloaded, execute the following commands **as root** to install Odoo "
|
||
"as a service, create the necessary PostgreSQL user, and automatically start "
|
||
"the server:"
|
||
msgstr "下载完成后,以**root**身份执行以下命令,将 Odoo 安装为服务,创建必要的 PostgreSQL 用户,并自动启动服务器:"
|
||
|
||
#: ../../content/administration/install/packages.rst:117
|
||
msgid ""
|
||
"The `python3-xlwt` Debian package, needed to export into the XLS format, "
|
||
"does not exist in Debian Buster nor Ubuntu 18.04. If needed, install it "
|
||
"manually with the following:"
|
||
msgstr ""
|
||
"在 Debian Buster 或 Ubuntu 18.04 中不存在导出为 XLS 格式所需的 `python3-xlwt` Debian "
|
||
"软件包。如有需要,请按以下步骤手动安装:"
|
||
|
||
#: ../../content/administration/install/packages.rst:124
|
||
msgid ""
|
||
"The `num2words` Python package - needed to render textual amounts - does not"
|
||
" exist in Debian Buster nor Ubuntu 18.04, which could cause problems with "
|
||
"the `l10n_mx_edi` module. If needed, install it manually with the following:"
|
||
msgstr ""
|
||
"在 Debian Buster 或 Ubuntu 18.04 中不存在渲染文本数量所需的 `num2words` Python 软件包,这可能会导致 "
|
||
"`l10n_mx_edi` 模块出现问题。如有需要,请使用以下方法手动安装:"
|
||
|
||
#: ../../content/administration/install/packages.rst:135
|
||
msgid "Odoo 17 'rpm' package supports Fedora 36."
|
||
msgstr "Odoo 17 'rpm' 软件包支持 Fedora 36。"
|
||
|
||
#: ../../content/administration/install/packages.rst:137
|
||
msgid ""
|
||
"Once downloaded, the package can be installed using the 'dnf' package "
|
||
"manager:"
|
||
msgstr "下载后,可以使用“dnf”包管理器安装包:"
|
||
|
||
#: ../../content/administration/install/packages.rst:148
|
||
#: ../../content/administration/install/source.rst:70
|
||
#: ../../content/administration/install/source.rst:133
|
||
#: ../../content/administration/install/source.rst:158
|
||
#: ../../content/administration/install/source.rst:180
|
||
#: ../../content/administration/install/source.rst:208
|
||
#: ../../content/administration/install/source.rst:239
|
||
#: ../../content/administration/install/source.rst:324
|
||
#: ../../content/administration/install/source.rst:393
|
||
#: ../../content/administration/install/source.rst:456
|
||
msgid "Windows"
|
||
msgstr "Windows"
|
||
|
||
#: ../../content/administration/install/packages.rst:151
|
||
msgid ""
|
||
"Windows packaging is offered for the convenience of testing or running "
|
||
"single-user local instances but production deployment is discouraged due to "
|
||
"a number of limitations and risks associated with deploying Odoo on a "
|
||
"Windows platform."
|
||
msgstr ""
|
||
"提供 Windows 打包是为了方便测试或运行单用户本地实例,但由于在 Windows 平台上部署 Odoo "
|
||
"存在诸多限制和风险,因此不建议进行生产部署。"
|
||
|
||
#: ../../content/administration/install/packages.rst:155
|
||
msgid ""
|
||
"Download the installer from the `nightly server <https://nightly.odoo.com>`_"
|
||
" (Community only) or the Windows installer from the `Odoo download page "
|
||
"<https://www.odoo.com/page/download>`_ (any edition."
|
||
msgstr ""
|
||
"从`nightly server <https://nightly.odoo.com>`_(仅限社区版)或从`Odoo下载页面 "
|
||
"<https://www.odoo.com/page/download>`_(任何版本)下载安装程序。"
|
||
|
||
#: ../../content/administration/install/packages.rst:158
|
||
msgid "Execute the downloaded file."
|
||
msgstr "执行下载的文件。"
|
||
|
||
#: ../../content/administration/install/packages.rst:161
|
||
msgid ""
|
||
"On Windows 8 and later, a warning titled *Windows protected your PC* may be "
|
||
"displayed. Click **More Info** and then **Run anyway** to proceed."
|
||
msgstr ""
|
||
"在Windows 8及更高版本中,可能会显示一个标题为“Windows 保护了您的计算机”的警告。点击**更多信息**,然后点击 "
|
||
"**仍要运行**以继续。"
|
||
|
||
#: ../../content/administration/install/packages.rst:164
|
||
msgid ""
|
||
"Accept the `UAC <https://en.wikipedia.org/wiki/User_Account_Control>`_ "
|
||
"prompt."
|
||
msgstr ""
|
||
"接受`UAC (用户账户控制)<https://en.wikipedia.org/wiki/User_Account_Control>`_提示。"
|
||
|
||
#: ../../content/administration/install/packages.rst:165
|
||
msgid "Go through the installation steps."
|
||
msgstr "完成安装步骤。"
|
||
|
||
#: ../../content/administration/install/packages.rst:167
|
||
msgid "Odoo launches automatically at the end of the installation."
|
||
msgstr "安装结束后,Odoo 会自动启动。"
|
||
|
||
#: ../../content/administration/install/source.rst:3
|
||
msgid "Source"
|
||
msgstr "来源"
|
||
|
||
#: ../../content/administration/install/source.rst:5
|
||
msgid ""
|
||
"The source 'installation' is not about installing Odoo but running it "
|
||
"directly from the source instead."
|
||
msgstr "源代码 'installation' 并不是安装 Odoo,而是直接从源代码运行。"
|
||
|
||
#: ../../content/administration/install/source.rst:8
|
||
msgid ""
|
||
"Using the Odoo source can be more convenient for module developers as it is "
|
||
"more easily accessible than using packaged installers."
|
||
msgstr "对于模块开发人员来说,使用 Odoo 源程序可能更方便,因为它比使用打包安装程序更容易访问。"
|
||
|
||
#: ../../content/administration/install/source.rst:11
|
||
msgid ""
|
||
"It makes starting and stopping Odoo more flexible and explicit than the "
|
||
"services set up by the packaged installers. Also, it allows overriding "
|
||
"settings using :ref:`command-line parameters <reference/cmdline>` without "
|
||
"needing to edit a configuration file."
|
||
msgstr ""
|
||
"与打包安装程序设置的服务相比,它使 Odoo 的启动和停止更加灵活和明确。此外,它还允许使用 :ref:` 命令行参数 "
|
||
"<reference/cmdline>`覆盖设置,而无需编辑配置文件。"
|
||
|
||
#: ../../content/administration/install/source.rst:15
|
||
msgid ""
|
||
"Finally, it provides greater control over the system's setup and allows to "
|
||
"more easily keep (and run) multiple versions of Odoo side-by-side."
|
||
msgstr "最后,它提供对系统设置的更大控制,并且可以更轻松地同时保留(和运行)多个版本的 Odoo。"
|
||
|
||
#: ../../content/administration/install/source.rst:19
|
||
msgid "Fetch the sources"
|
||
msgstr "获取源"
|
||
|
||
#: ../../content/administration/install/source.rst:21
|
||
msgid ""
|
||
"There are two ways to obtain the source code of Odoo: as a ZIP **archive** "
|
||
"or through **Git**."
|
||
msgstr "获取 Odoo 源代码有两种方式:ZIP **压缩包** 或通过**Git**。"
|
||
|
||
#: ../../content/administration/install/source.rst:24
|
||
msgid "Archive"
|
||
msgstr "存档"
|
||
|
||
#: ../../content/administration/install/source.rst:26
|
||
msgid "Community edition:"
|
||
msgstr "社区版:"
|
||
|
||
#: ../../content/administration/install/source.rst:28
|
||
#: ../../content/administration/install/source.rst:34
|
||
msgid "`Odoo download page <https://www.odoo.com/page/download>`_"
|
||
msgstr "`Odoo下载页面<https://www.odoo.com/page/download>`_"
|
||
|
||
#: ../../content/administration/install/source.rst:29
|
||
msgid "`GitHub Community repository <https://github.com/odoo/odoo>`_"
|
||
msgstr "`GitHub 社区版存储库 <https://github.com/odoo/odoo>`_"
|
||
|
||
#: ../../content/administration/install/source.rst:30
|
||
msgid "`Nightly server <https://nightly.odoo.com>`_"
|
||
msgstr "`Nightly 服务器 <https://nightly.odoo.com>`_"
|
||
|
||
#: ../../content/administration/install/source.rst:32
|
||
msgid "Enterprise edition:"
|
||
msgstr "企业版"
|
||
|
||
#: ../../content/administration/install/source.rst:35
|
||
msgid "`GitHub Enterprise repository <https://github.com/odoo/enterprise>`_"
|
||
msgstr "`GitHub 企业版存储库 <https://github.com/odoo/enterprise>`_"
|
||
|
||
#: ../../content/administration/install/source.rst:40
|
||
msgid "Git"
|
||
msgstr "Git"
|
||
|
||
#: ../../content/administration/install/source.rst:43
|
||
msgid ""
|
||
"It is required to have `Git <https://git-scm.com/>`_ installed, and it is "
|
||
"recommended to have a basic knowledge of Git commands to proceed."
|
||
msgstr "需要安装 `Git <https://git-scm.com/>`_,建议具备 Git 命令的基本知识才能继续。"
|
||
|
||
#: ../../content/administration/install/source.rst:46
|
||
msgid ""
|
||
"To clone a Git repository, choose between cloning with HTTPS or SSH. In most"
|
||
" cases, the best option is HTTPS. However, choose SSH to contribute to Odoo "
|
||
"source code or when following the :doc:`Getting Started developer tutorial "
|
||
"</developer/tutorials/getting_started>`."
|
||
msgstr ""
|
||
"要克隆一个 Git 存储库,请选择使用 HTTPS 或 SSH 进行克隆。在大多数情况下,最好的选择是HTTPS。然而,如果要为 Odoo "
|
||
"源代码做贡献或者遵循:doc:`入门开发者教程</developer/tutorials/getting_started>`,请选择 SSH。"
|
||
|
||
#: ../../content/administration/install/source.rst:56
|
||
#: ../../content/administration/install/source.rst:74
|
||
#: ../../content/administration/install/source.rst:92
|
||
msgid "Clone with HTTPS"
|
||
msgstr "使用HTTPS克隆"
|
||
|
||
#: ../../content/administration/install/source.rst:63
|
||
#: ../../content/administration/install/source.rst:81
|
||
#: ../../content/administration/install/source.rst:99
|
||
msgid "Clone with SSH"
|
||
msgstr "使用SSH克隆"
|
||
|
||
#: ../../content/administration/install/source.rst:88
|
||
#: ../../content/administration/install/source.rst:141
|
||
#: ../../content/administration/install/source.rst:164
|
||
#: ../../content/administration/install/source.rst:186
|
||
#: ../../content/administration/install/source.rst:213
|
||
#: ../../content/administration/install/source.rst:253
|
||
#: ../../content/administration/install/source.rst:347
|
||
#: ../../content/administration/install/source.rst:405
|
||
#: ../../content/administration/install/source.rst:467
|
||
msgid "Mac OS"
|
||
msgstr "Mac OS"
|
||
|
||
#: ../../content/administration/install/source.rst:107
|
||
msgid ""
|
||
"**The Enterprise git repository does not contain the full Odoo source "
|
||
"code**. It is only a collection of extra add-ons. The main server code is in"
|
||
" the Community edition. Running the Enterprise version means running the "
|
||
"server from the Community version with the `addons-path` option set to the "
|
||
"folder with the Enterprise edition. It is required to clone both the "
|
||
"Community and Enterprise repositories to have a working Odoo Enterprise "
|
||
"installation."
|
||
msgstr ""
|
||
"**企业 Git 存储库不包含完整的 Odoo "
|
||
"源代码**。它只是额外附加组件的集合。主服务器代码位于社区版中。运行企业版意味着从社区版运行服务器,并将组件路径选项设置为具有企业版的文件夹。要进行Odoo"
|
||
" 企业版安装,您需要克隆社区版和企业版储存库。"
|
||
|
||
#: ../../content/administration/install/source.rst:119
|
||
msgid "Python"
|
||
msgstr "Python"
|
||
|
||
#: ../../content/administration/install/source.rst:121
|
||
msgid "Odoo requires **Python 3.10** or later to run."
|
||
msgstr "Odoo 需要**Python 3.10**或更高版本才能运行。"
|
||
|
||
#: ../../content/administration/install/source.rst:123
|
||
msgid "Minimum requirement updated from Python 3.7 to Python 3.10."
|
||
msgstr "最低要求从 Python 3.7 更新到 Python 3.10。"
|
||
|
||
#: ../../content/administration/install/source.rst:131
|
||
msgid "Use a package manager to download and install Python 3 if needed."
|
||
msgstr "使用软件包管理器下载并安装Python 3(如需要)。"
|
||
|
||
#: ../../content/administration/install/source.rst:135
|
||
msgid ""
|
||
"`Download the latest version of Python 3 "
|
||
"<https://www.python.org/downloads/windows/>`_ and install it."
|
||
msgstr "`下载最新版本 Python 3 <https://www.python.org/downloads/windows/>` 并安装。"
|
||
|
||
#: ../../content/administration/install/source.rst:138
|
||
msgid ""
|
||
"During installation, check **Add Python 3 to PATH**, then click **Customize "
|
||
"Installation** and make sure that **pip** is checked."
|
||
msgstr "在安装过程中,选中“ ** Python 3 添加到 PATH**”,然后单击“ **定义安** ”并确保选中“**pip**”。"
|
||
|
||
#: ../../content/administration/install/source.rst:143
|
||
msgid ""
|
||
"Use a package manager (`Homebrew <https://brew.sh/>`_, `MacPorts "
|
||
"<https://www.macports.org>`_) to download and install Python 3 if needed."
|
||
msgstr ""
|
||
"使用软件包管理器(`Homebrew <https://brew.sh/>`_,`MacPorts "
|
||
"<https://www.macports.org>`_)下载并安装Python 3(如需要)。"
|
||
|
||
#: ../../content/administration/install/source.rst:147
|
||
msgid ""
|
||
"If Python 3 is already installed, make sure that the version is 3.7 or "
|
||
"above, as previous versions are not compatible with Odoo."
|
||
msgstr "如果已经安装了Python 3,请确保版本为3.7或更高版本,因为以前的版本与Odoo不兼容。"
|
||
|
||
#: ../../content/administration/install/source.rst:170
|
||
msgid ""
|
||
"Verify that `pip <https://pip.pypa.io>`_ is also installed for this version."
|
||
msgstr "确保此版本还安装了 `pip <https://pip.pypa.io>`_。"
|
||
|
||
#: ../../content/administration/install/source.rst:195
|
||
msgid "Odoo uses PostgreSQL as its database management system."
|
||
msgstr "Odoo 使用 PostgreSQL 作为其数据库管理系统。"
|
||
|
||
#: ../../content/administration/install/source.rst:201
|
||
msgid ""
|
||
"Use a package manager to download and install PostgreSQL (supported "
|
||
"versions: 12.0 or above). It can be achieved by executing the following:"
|
||
msgstr "通过使用软件包管理器下载和安装 PostgreSQL(支持版本为 12.0 或更高版本)。可以通过执行以下命令来实现:"
|
||
|
||
#: ../../content/administration/install/source.rst:210
|
||
msgid ""
|
||
"`Download PostgreSQL <https://www.postgresql.org/download/windows>`_ "
|
||
"(supported versions: 12.0 or above) and install it."
|
||
msgstr ""
|
||
"`下载 PostgreSQL "
|
||
"<https://www.postgresql.org/download/windows>`_(支持版本:12.0或更高版本)并安装。</text_to_translate>"
|
||
|
||
#: ../../content/administration/install/source.rst:215
|
||
msgid ""
|
||
"Use `Postgres.app <https://postgresapp.com>`_ to download and install "
|
||
"PostgreSQL (supported version: 12.0 or above)."
|
||
msgstr ""
|
||
"使用 `Postgres.app <https://postgresapp.com>`_下载并安装 "
|
||
"PostgreSQL(支持版本:12.0或更高版本)。"
|
||
|
||
#: ../../content/administration/install/source.rst:219
|
||
msgid ""
|
||
"To make the command line tools bundled with Postgres.app available, make "
|
||
"sure to set up the `$PATH` variable by following the `Postgres.app CLI tools"
|
||
" instructions <https://postgresapp.com/documentation/cli-tools.html>`_."
|
||
msgstr ""
|
||
"请按照`Postgres.app CLI工具说明<https://postgresapp.com/documentation/cli-"
|
||
"tools.html>`_设置`$PATH`变量,以确保与 Postgres.app 捆绑的命令行工具可用。"
|
||
|
||
#: ../../content/administration/install/source.rst:223
|
||
msgid ""
|
||
"By default, the only user is `postgres`. As Odoo forbids connecting as "
|
||
"`postgres`, create a new PostgreSQL user."
|
||
msgstr ""
|
||
"默认情况下,唯一的用户是 `postgres`。由于Odoo禁止以 `postgres` 的身份连接,因此需要创建一个新的PostgreSQL用户。"
|
||
|
||
#: ../../content/administration/install/source.rst:236
|
||
#: ../../content/administration/install/source.rst:261
|
||
msgid ""
|
||
"Because the PostgreSQL user has the same name as the Unix login, it is "
|
||
"possible to connect to the database without a password."
|
||
msgstr "由于 PostgreSQL 用户与 Unix 登录名相同,所以可以在没有密码的情况下连接到数据库。"
|
||
|
||
#: ../../content/administration/install/source.rst:241
|
||
msgid ""
|
||
"Add PostgreSQL's `bin` directory (by default: :file:`C:\\\\Program "
|
||
"Files\\\\PostgreSQL\\\\<version>\\\\bin`) to the `PATH`."
|
||
msgstr ""
|
||
"将 PostgreSQL 的`bin`目录(默认情况下为::file:`C:\\\\Program "
|
||
"Files\\\\PostgreSQL\\\\<version>\\\\bin`)添加到`PATH`中。"
|
||
|
||
#: ../../content/administration/install/source.rst:243
|
||
msgid "Create a postgres user with a password using the pg admin gui:"
|
||
msgstr "使用 pg admin gui 创建一个具有密码的 postgres 用户:"
|
||
|
||
#: ../../content/administration/install/source.rst:245
|
||
msgid "Open **pgAdmin**."
|
||
msgstr "打开 **pgAdmin**。"
|
||
|
||
#: ../../content/administration/install/source.rst:246
|
||
msgid "Double-click the server to create a connection."
|
||
msgstr "双击服务器以创建连接。"
|
||
|
||
#: ../../content/administration/install/source.rst:247
|
||
msgid "Select :menuselection:`Object --> Create --> Login/Group Role`."
|
||
msgstr "选择:menuselection:`对象 --> 创建 --> 登录名/组角色`。"
|
||
|
||
#: ../../content/administration/install/source.rst:248
|
||
msgid "Enter the username in the **Role Name** field (e.g., `odoo`)."
|
||
msgstr "在**角色名称**字段中输入用户名(例如,`odoo`)。"
|
||
|
||
#: ../../content/administration/install/source.rst:249
|
||
msgid ""
|
||
"Open the **Definition** tab, enter a password (e.g., `odoo`), and click "
|
||
"**Save**."
|
||
msgstr "打开**定义**选项卡,输入密码(例如,`odoo`),然后点击**保存**。"
|
||
|
||
#: ../../content/administration/install/source.rst:250
|
||
msgid ""
|
||
"Open the **Privileges** tab and switch **Can login?** to `Yes` and **Create "
|
||
"database?** to `Yes`."
|
||
msgstr "打开“权限”选项卡,将“可以登录?”切换为“是”,将“创建数据库?”切换为“是”。"
|
||
|
||
#: ../../content/administration/install/source.rst:267
|
||
msgid "Dependencies"
|
||
msgstr "依赖"
|
||
|
||
#: ../../content/administration/install/source.rst:273
|
||
msgid ""
|
||
"Using **distribution packages** is the preferred way of installing "
|
||
"dependencies. Alternatively, install the Python dependencies with **pip**."
|
||
msgstr "使用 **发行版软件包** 是安装依赖包的首选方式。或者,使用 **pip** 安装 Python 依赖项。"
|
||
|
||
#: ../../content/administration/install/source.rst:280
|
||
msgid ""
|
||
"For Debian-based systems, the packages are listed in the `debian/control "
|
||
"<https://github.com/odoo/odoo/blob/17.0/debian/control>`_ file of the Odoo "
|
||
"sources."
|
||
msgstr ""
|
||
"对于基于 Debian 的系统,软件包列在 Odoo 源文件的 `debian/control "
|
||
"<https://github.com/odoo/odoo/blob/17.0/debian/control>`_ 文件中。"
|
||
|
||
#: ../../content/administration/install/source.rst:283
|
||
msgid ""
|
||
"On Debian/Ubuntu, the following commands should install the required "
|
||
"packages:"
|
||
msgstr "在 Debian/Ubuntu 上,使用以下命令即可安装所需的软件包:"
|
||
|
||
#: ../../content/administration/install/source.rst:290
|
||
msgid "Install with pip"
|
||
msgstr "使用 pip 安装"
|
||
|
||
#: ../../content/administration/install/source.rst:292
|
||
msgid ""
|
||
"As some of the Python packages need a compilation step, they require system "
|
||
"libraries to be installed."
|
||
msgstr "由于某些 Python 软件包需要编译步骤,因此需要安装系统库。"
|
||
|
||
#: ../../content/administration/install/source.rst:295
|
||
msgid ""
|
||
"On Debian/Ubuntu, the following command should install these required "
|
||
"libraries:"
|
||
msgstr "在 Debian/Ubuntu 上,使用以下命令即可安装这些所需的库:"
|
||
|
||
#: ../../content/administration/install/source.rst:301
|
||
msgid ""
|
||
"Odoo dependencies are listed in the :file:`requirements.txt` file located at"
|
||
" the root of the Odoo Community directory."
|
||
msgstr "Odoo 依赖项列在位于 Odoo 社区版目录根目录下的 :file:`requirements.txt` 文件中。"
|
||
|
||
#: ../../content/administration/install/source.rst:305
|
||
msgid ""
|
||
"The Python packages in :file:`requirements.txt` are based on their "
|
||
"stable/LTS Debian/Ubuntu corresponding version at the moment of the Odoo "
|
||
"release. For example, for Odoo 15.0, the `python3-babel` package version is "
|
||
"2.8.0 in Debian Bullseye and 2.6.0 in Ubuntu Focal. The lowest version is "
|
||
"then chosen in the :file:`requirements.txt`."
|
||
msgstr ""
|
||
"文件:`requirements.txt`中的 Python 软件包基于 Odoo 发布时的稳定/LTS Debian/Ubuntu "
|
||
"对应版本。例如,对于 Odoo 15.0,`python3-babel` 软件包版本在 Debian Bullseye 中为 2.8.0,在 "
|
||
"Ubuntu Focal 中为 2.6.0。然后在 :file:`requirements.txt` 中选择最低版本。"
|
||
|
||
#: ../../content/administration/install/source.rst:312
|
||
#: ../../content/administration/install/source.rst:334
|
||
#: ../../content/administration/install/source.rst:353
|
||
msgid ""
|
||
"It can be preferable not to mix Python module packages between different "
|
||
"instances of Odoo or with the system. However, it is possible to use "
|
||
"`virtualenv <https://pypi.org/project/virtualenv/>`_ to create isolated "
|
||
"Python environments."
|
||
msgstr ""
|
||
"最好不要在 Odoo 的不同实例之间或与系统混合使用 Python 模块包。不过,可以使用 `virtualenv "
|
||
"<https://pypi.org/project/virtualenv/>`_ 来创建隔离的 Python 环境。"
|
||
|
||
#: ../../content/administration/install/source.rst:316
|
||
msgid ""
|
||
"Navigate to the path of the Odoo Community installation "
|
||
"(:file:`CommunityPath`) and run **pip** on the requirements file to install "
|
||
"the requirements for the current user."
|
||
msgstr "导航至 Odoo 社区版安装路径(:file:`CommunityPath`),并在需求文件上运行 **pip** 为当前用户安装需求。"
|
||
|
||
#: ../../content/administration/install/source.rst:326
|
||
msgid ""
|
||
"Before installing the dependencies, download and install the `Build Tools "
|
||
"for Visual Studio <https://visualstudio.microsoft.com/downloads/>`_. Select "
|
||
"**C++ build tools** in the **Workloads** tab and install them when prompted."
|
||
msgstr ""
|
||
"在安装依赖项之前,请下载并安装 \"Build Tools for Visual Studio "
|
||
"<https://visualstudio.microsoft.com/downloads/>`_\"。在 **Workloads** 选项卡中选择 "
|
||
"**C++ 编译工具**,并按提示安装。"
|
||
|
||
#: ../../content/administration/install/source.rst:330
|
||
#: ../../content/administration/install/source.rst:349
|
||
msgid ""
|
||
"Odoo dependencies are listed in the `requirements.txt` file located at the "
|
||
"root of the Odoo Community directory."
|
||
msgstr "Odoo 依赖项列在位于 Odoo 社区版目录根目录下的`requirements.txt`文件中。"
|
||
|
||
#: ../../content/administration/install/source.rst:338
|
||
msgid ""
|
||
"Navigate to the path of the Odoo Community installation (`CommunityPath`) "
|
||
"and run **pip** on the requirements file in a terminal **with Administrator "
|
||
"privileges**:"
|
||
msgstr "导航至 Odoo 社区版安装路径(\"CommunityPath\"),并在**具有管理员权限**的终端上对需求文件运行 **pip**:"
|
||
|
||
#: ../../content/administration/install/source.rst:357
|
||
msgid ""
|
||
"Navigate to the path of the Odoo Community installation (`CommunityPath`) "
|
||
"and run **pip** on the requirements file:"
|
||
msgstr "导航至 Odoo 社区版安装路径(\"CommunityPath\"),并在需求文件上运行 **pip**:"
|
||
|
||
#: ../../content/administration/install/source.rst:367
|
||
msgid ""
|
||
"Non-Python dependencies must be installed with a package manager (`Homebrew "
|
||
"<https://brew.sh/>`_, `MacPorts <https://www.macports.org>`_)."
|
||
msgstr ""
|
||
"非 Python 依赖项必须使用软件包管理器安装(`Homebrew <https://brew.sh/>`_, `MacPorts "
|
||
"<https://www.macports.org>`_)。"
|
||
|
||
#: ../../content/administration/install/source.rst:370
|
||
msgid "Download and install the **Command Line Tools**:"
|
||
msgstr "下载并安装命令行工** :"
|
||
|
||
#: ../../content/administration/install/source.rst:376
|
||
msgid "Use the package manager to install non-Python dependencies."
|
||
msgstr "使用软件包管理器安装非 Python 依赖项。"
|
||
|
||
#: ../../content/administration/install/source.rst:379
|
||
msgid ""
|
||
"For languages using a **right-to-left interface** (such as Arabic or "
|
||
"Hebrew), the `rtlcss` package is required."
|
||
msgstr "对于使用**从右到左界面**的语言(如阿拉伯语或希伯来语),需要使用 `rtlcss` 软件包。"
|
||
|
||
#: ../../content/administration/install/source.rst:386
|
||
msgid "Download and install **nodejs** and **npm** with a package manager."
|
||
msgstr "使用软件包管理器下载并安装 **nodejs** 和 **npm**。"
|
||
|
||
#: ../../content/administration/install/source.rst:387
|
||
#: ../../content/administration/install/source.rst:396
|
||
#: ../../content/administration/install/source.rst:409
|
||
msgid "Install `rtlcss`:"
|
||
msgstr "安装 `rtlcss`:"
|
||
|
||
#: ../../content/administration/install/source.rst:395
|
||
msgid "Download and install `nodejs <https://nodejs.org/en/download>`_."
|
||
msgstr "下载并安装 `nodejs <https://nodejs.org/en/download>`_。"
|
||
|
||
#: ../../content/administration/install/source.rst:402
|
||
msgid ""
|
||
"Edit the system environment's variable `PATH` to add the folder where "
|
||
"`rtlcss.cmd` is located (typically: "
|
||
":file:`C:\\\\Users\\\\<user>\\\\AppData\\\\Roaming\\\\npm\\\\`)."
|
||
msgstr ""
|
||
"编辑系统环境变量 `PATH` 以添加 `rtlcss.cmd` "
|
||
"所在文件夹(通常为::file:`C:\\Users\\\\1\\AppData\\\\Roaming\\npm\\`)。"
|
||
|
||
#: ../../content/administration/install/source.rst:407
|
||
msgid ""
|
||
"Download and install **nodejs** with a package manager (`Homebrew "
|
||
"<https://brew.sh/>`_, `MacPorts <https://www.macports.org>`_)."
|
||
msgstr ""
|
||
"使用软件包管理器(`Homebrew <https://brew.sh/>`_, `MacPorts "
|
||
"<https://www.macports.org>`_)下载并安装 **nodejs**。"
|
||
|
||
#: ../../content/administration/install/source.rst:424
|
||
msgid "Running Odoo"
|
||
msgstr "运行 Odoo"
|
||
|
||
#: ../../content/administration/install/source.rst:426
|
||
msgid ""
|
||
"Once all dependencies are set up, Odoo can be launched by running `odoo-"
|
||
"bin`, the command-line interface of the server. It is located at the root of"
|
||
" the Odoo Community directory."
|
||
msgstr "一旦设置了所有依赖项,就可以通过运行服务器的命令行界面“odoo-bin”来启动Odoo。它位于Odoo社区目录的根目录。"
|
||
|
||
#: ../../content/administration/install/source.rst:429
|
||
msgid ""
|
||
"To configure the server, either specify :ref:`command-line arguments "
|
||
"<reference/cmdline/server>` or a :ref:`configuration file "
|
||
"<reference/cmdline/config>`."
|
||
msgstr ""
|
||
"要配置服务器,可指定 :ref:` 命令行参数 <reference/cmdline/server>` 或 :ref:` 配置文件 "
|
||
"<reference/cmdline/config>`。"
|
||
|
||
#: ../../content/administration/install/source.rst:433
|
||
msgid ""
|
||
"For the Enterprise edition, add the path to the `enterprise` add-ons to the "
|
||
"`addons-path` argument. Note that it must come before the other paths in "
|
||
"`addons-path` for add-ons to be loaded correctly."
|
||
msgstr ""
|
||
"对于企业版,请在 `addons-path` 参数中添加 `enterprise` 附加组件的路径。请注意,该路径必须位于 `addons-path` "
|
||
"中其他路径之前,这样才能正确加载附加组件。"
|
||
|
||
#: ../../content/administration/install/source.rst:437
|
||
msgid "Common necessary configurations are:"
|
||
msgstr "常见的必要配置有:"
|
||
|
||
#: ../../content/administration/install/source.rst:439
|
||
msgid "PostgreSQL user and password."
|
||
msgstr "PostgreSQL 用户和密码。"
|
||
|
||
#: ../../content/administration/install/source.rst:440
|
||
msgid "Custom addon paths beyond the defaults to load custom modules."
|
||
msgstr "可以在默认路径之外设置自定义插件路径以加载自定义模块。"
|
||
|
||
#: ../../content/administration/install/source.rst:442
|
||
msgid "A typical way to run the server would be:"
|
||
msgstr "运行服务器的典型方法是:"
|
||
|
||
#: ../../content/administration/install/source.rst:453
|
||
#: ../../content/administration/install/source.rst:474
|
||
msgid ""
|
||
"Where `CommunityPath` is the path of the Odoo Community installation, and "
|
||
"`mydb` is the name of the PostgreSQL database."
|
||
msgstr "其中,\"CommunityPath \"是 Odoo 社区版的安装路径,\"mydb \"是 PostgreSQL 数据库的名称。"
|
||
|
||
#: ../../content/administration/install/source.rst:463
|
||
msgid ""
|
||
"Where `CommunityPath` is the path of the Odoo Community installation, "
|
||
"`dbuser` is the PostgreSQL login, `dbpassword` is the PostgreSQL password, "
|
||
"and `mydb` is the name of the PostgreSQL database."
|
||
msgstr ""
|
||
"其中,\"CommunityPath \"是 Odoo 社区版的安装路径,\"dbuser \"是 PostgreSQL "
|
||
"登录名,\"dbpassword \"是 PostgreSQL 密码,\"mydb \"是 PostgreSQL 数据库名称。"
|
||
|
||
#: ../../content/administration/install/source.rst:477
|
||
msgid ""
|
||
"After the server has started (the INFO log `odoo.modules.loading: Modules "
|
||
"loaded.` is printed), open http://localhost:8069 in a web browser and log "
|
||
"into the Odoo database with the base administrator account: use `admin` as "
|
||
"the email and, again, `admin` as the password."
|
||
msgstr ""
|
||
"服务器启动后(打印 INFO 日志 `odoo.modules.loading: Modules loaded.`),在网络浏览器中打开 "
|
||
"http://localhost:8069,使用基本管理员账户登录 Odoo 数据库:使用 `admin` 作为电子邮件,同样使用 `admin` "
|
||
"作为密码。"
|
||
|
||
#: ../../content/administration/install/source.rst:482
|
||
msgid ""
|
||
"From there, create and manage new :doc:`users "
|
||
"<../../applications/general/users/manage_users>`."
|
||
msgstr ""
|
||
"从那里,创建并管理新的 :doc:`users <.../../applications/general/users/manage_users>`。"
|
||
|
||
#: ../../content/administration/install/source.rst:483
|
||
msgid ""
|
||
"The user account used to log into Odoo's web interface differs from the "
|
||
":option:`--db_user <odoo-bin -r>` CLI argument."
|
||
msgstr "用于登录 Odoo 网页界面的用户账户与 :option:`--db_user <odoo-bin -r>` CLI 参数不同。"
|
||
|
||
#: ../../content/administration/install/source.rst:487
|
||
msgid ""
|
||
":doc:`The list of CLI arguments for odoo-bin </developer/reference/cli>`"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain.rst:5
|
||
msgid "Maintain"
|
||
msgstr "维持"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:3
|
||
msgid "Connect Microsoft Outlook 365 to Odoo using Azure OAuth"
|
||
msgstr "使用 Azure OAuth 将 Microsoft Outlook 365 连接到 Odoo"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:5
|
||
msgid ""
|
||
"Odoo is compatible with Microsoft's Azure OAuth for Microsoft 365. In order "
|
||
"to send and receive secure emails from a custom domain, all that is required"
|
||
" is to configure a few settings on the Azure platform and on the back end of"
|
||
" the Odoo database. This configuration works with either a personal email "
|
||
"address or an address created by a custom domain."
|
||
msgstr ""
|
||
"Odoo 兼容 Microsoft 365 的 Azure OAuth。要从自定义域发送和接收安全电子邮件,只需在 Azure 平台和 Odoo "
|
||
"数据库后端配置一些设置即可。该配置既可用于个人电子邮件地址,也可用于自定义域创建的地址。"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:11
|
||
msgid ""
|
||
"`Microsoft Learn: Register an application with the Microsoft identity "
|
||
"platform <https://learn.microsoft.com/azure/active-"
|
||
"directory/develop/quickstart-register-app>`_"
|
||
msgstr ""
|
||
"`Microsoft Learn:在Microsoft身份平台注册应用程序 "
|
||
"<https://learn.microsoft.com/azure/active-directory/develop/quickstart-"
|
||
"register-app>`_"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:15
|
||
msgid ":doc:`/applications/general/auth/azure`"
|
||
msgstr ":doc:`/applications/general/auth/azure`"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:16
|
||
msgid ":doc:`/applications/productivity/calendar/outlook`"
|
||
msgstr ":doc:`/applications/productivity/calendar/outlook`"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:19
|
||
msgid "Setup in Microsoft Azure Portal"
|
||
msgstr "在 Microsoft Azure 门户中进行设置"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:22
|
||
msgid "Create a new application"
|
||
msgstr "创建一个新的应用程序"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:24
|
||
msgid ""
|
||
"To get started, go to `Microsoft's Azure Portal "
|
||
"<https://portal.azure.com/>`_. Log in with the :guilabel:`Microsoft Outlook "
|
||
"Office 365` account if there is one, otherwise log in with the personal "
|
||
":guilabel:`Microsoft account`. A user with administrative access to the "
|
||
"Azure Settings will need to connect and perform the following configuration."
|
||
" Next, navigate to the section labeled :guilabel:`Manage Microsoft Entra ID`"
|
||
" (formally *Azure Active Directory*)."
|
||
msgstr ""
|
||
"要开始使用,请访问 `Microsoft 的 Azure 门户 <https://portal.azure.com/>`_。如果有 "
|
||
":guilabel:`Microsoft Outlook Office 365` 帐户,请使用该帐户登录,否则请使用个人 "
|
||
":guilabel:`Microsoft 帐户`登录。具有 Azure 设置管理访问权限的用户需要连接并执行以下配置。接下来,导航到标有 "
|
||
":guilabel:`Manage Microsoft Entra ID` 的部分(正式名称为 *Azure Active Directory*)。"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:30
|
||
msgid ""
|
||
"Now, click on :guilabel:`Add (+)`, located in the top menu, and then select "
|
||
":guilabel:`App registration`. On the :guilabel:`Register an application` "
|
||
"screen, rename the :guilabel:`Name` to `Odoo` or something recognizable. "
|
||
"Under the :guilabel:`Supported account types` section select "
|
||
":guilabel:`Accounts in any organizational directory (Any Microsoft Entra ID "
|
||
"directory - Multitenant) and personal Microsoft accounts (e.g. Skype, "
|
||
"Xbox)`."
|
||
msgstr ""
|
||
"现在,点击顶部菜单中的 :guilabel:`添加 (+)`,然后选择 "
|
||
":guilabel:`应用程序注册`。在:guilabel:`注册应用程序`屏幕上,将:guilabel:`名称`重命名为`Odoo`或其他可识别的名称。在"
|
||
" :guilabel:`支持账户类型` 部分中选择 :guilabel:`任何组织目录中的帐户 (任何Microsoft企业ID目录 - 多租户)和个人"
|
||
" Microsoft 帐户(例如Skype、Xbox)`。"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:36
|
||
msgid ""
|
||
"Under the :guilabel:`Redirect URL` section, select :guilabel:`Web` as the "
|
||
"platform, and then input `https://<odoo base url>/microsoft_outlook/confirm`"
|
||
" in the :guilabel:`URL` field. The Odoo base URL is the canonical domain at "
|
||
"which your Odoo instance can be reached in the URL field."
|
||
msgstr ""
|
||
"在 :guilabel:`Redirect URL` 部分,选择 :guilabel:`Web` 作为平台,然后在 :guilabel:`URL` "
|
||
"字段中输入 `https://<odoo base url>/microsoft_outlook/confirm`。在 URL 字段中,Odoo 基本 "
|
||
"URL 是可以到达 Odoo 实例的规范域。"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:41
|
||
msgid ""
|
||
"*mydatabase.odoo.com*, where *mydatabase* is the actual prefix of the "
|
||
"database's subdomain, assuming it's hosted on Odoo.com"
|
||
msgstr "*mydatabase.odoo.com*,其中 *mydatabase* 是数据库子域的实际前缀,假定其托管在 Odoo.com 上"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:44
|
||
msgid ""
|
||
"After the URL has been added to the field, :guilabel:`Register` the "
|
||
"application so it is created."
|
||
msgstr "将 URL 添加到字段后,:guilabel:`Register` 应用程序将被创建。"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:47
|
||
msgid "API permissions"
|
||
msgstr "API 权限"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:49
|
||
msgid ""
|
||
"The :guilabel:`API permissions` should be set next. Odoo will need specific "
|
||
"API permissions to be able to read (IMAP) and send (SMTP) emails in the "
|
||
"Microsoft 365 setup. First, click the :guilabel:`API permissions` link, "
|
||
"located in the left menu bar. Next, click on the :guilabel:`(+) Add a "
|
||
"Permission` button and select :guilabel:`Microsoft Graph` under "
|
||
":guilabel:`Commonly Used Microsoft APIs`. After, select the "
|
||
":guilabel:`Delegated Permissions` option."
|
||
msgstr ""
|
||
"接下来应设置 :guilabel:`API 权限`。Odoo 需要特定的 API 权限才能在 Microsoft 365 "
|
||
"设置中读取(IMAP)和发送(SMTP)电子邮件。首先,点击左侧菜单栏中的 :guilabel:`API 权限` 链接。然后,点击 "
|
||
":guilabel:`(+) 添加权限`按钮,在 :guilabel:`常用的微软API` 下选择 :guilabel:`微软图表`。然后,选择 "
|
||
":guilabel:`委托权限` 选项。"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:55
|
||
msgid ""
|
||
"In the search bar, search for the following :guilabel:`Deregulated "
|
||
"permissions` and click :guilabel:`Add permissions` for each one:"
|
||
msgstr "在搜索栏中搜索以下 :guilabel:`Deregulated permissions` 并逐一点击 :guilabel:`添加权限`:"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:58
|
||
msgid ":guilabel:`SMTP.Send`"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:59
|
||
msgid ":guilabel:`IMAP.AccessAsUser.All`"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:62
|
||
msgid "The :guilabel:`User.Read` permission will be added by default."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst-1
|
||
msgid ""
|
||
"API permissions needed for Odoo integration are listed under the Microsoft "
|
||
"Graph."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:69
|
||
msgid "Assign users and groups"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:71
|
||
msgid ""
|
||
"After adding the API permissions, navigate back to the :guilabel:`Overview` "
|
||
"of the :guilabel:`Application` in the top of the left sidebar menu."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:74
|
||
msgid ""
|
||
"Now, add users to this application. Under the :guilabel:`Essentials` "
|
||
"overview table, click on the link labeled :guilabel:`Managed Application in "
|
||
"Local Directory`, or the last option on the bottom right-hand side of the "
|
||
"table."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst-1
|
||
msgid ""
|
||
"Add users/groups by clicking the Managed application in local directory link for the\n"
|
||
"created application."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:83
|
||
msgid ""
|
||
"In the left sidebar menu, select :guilabel:`Users and Groups`. Next, click "
|
||
"on :guilabel:`(+) Add User/Group`. Depending on the account, either a "
|
||
":guilabel:`Group` and a :guilabel:`User` can be added, or only "
|
||
":guilabel:`Users`. Personal accounts will only allow for :guilabel:`Users` "
|
||
"to be added."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:88
|
||
msgid ""
|
||
"Under :guilabel:`Users` or :guilabel:`Groups`, click on :guilabel:`None "
|
||
"Selected` and add the users or group of users that will be sending emails "
|
||
"from the :guilabel:`Microsoft account` in Odoo. :guilabel:`Add` the "
|
||
"users/groups, click :guilabel:`Select`, and then :guilabel:`Assign` them to "
|
||
"the application."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:94
|
||
msgid "Create credentials"
|
||
msgstr "创建凭据"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:96
|
||
msgid ""
|
||
"Now that the Microsoft Azure app is set up, credentials need to be created "
|
||
"for the Odoo setup. These include the :guilabel:`Client ID` and "
|
||
":guilabel:`Client Secret`. To start, the :guilabel:`Client ID` can be copied"
|
||
" from the :guilabel:`Overview` page of the app. The :guilabel:`Client ID` or"
|
||
" :guilabel:`Application ID` is located under the :guilabel:`Display Name` in"
|
||
" the :guilabel:`Essentials` overview of the app."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst-1
|
||
msgid "Application/Client ID located in the Overview of the app."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:106
|
||
msgid ""
|
||
"Next, the :guilabel:`Client Secret Value` needs to be retrieved. To get this"
|
||
" value, click on :guilabel:`Certificates & Secrets` in the left sidebar "
|
||
"menu. Then, a :guilabel:`Client Secret` needs to be produced. In order to do"
|
||
" this, click on the :guilabel:`(+) New Client Secret` button."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:110
|
||
msgid ""
|
||
"A window on the right will populate with a button labeled :guilabel:`Add a "
|
||
"client secret`. Under :guilabel:`Description`, type in `Odoo Fetchmail` or "
|
||
"something recognizable, and then set the :guilabel:`expiration date`."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:115
|
||
msgid ""
|
||
"A new :guilabel:`Client Secret` will need to be produced and configured if "
|
||
"the first one expires. In this event, there could be an interruption of "
|
||
"service, so the expiration date should be noted and set to the furthest "
|
||
"possible date."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:119
|
||
msgid ""
|
||
"Next, click on :guilabel:`Add` when these two values are entered. A "
|
||
":guilabel:`Client Secret Value` and :guilabel:`Secret ID` will be created. "
|
||
"It is important to copy the :guilabel:`Value` or :guilabel:`Client Secret "
|
||
"Value` into a notepad as it will become encrypted after leaving this page. "
|
||
"The :guilabel:`Secret ID` is not needed."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst-1
|
||
msgid "Client Secret Value or Value in the app's credentials."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:128
|
||
msgid ""
|
||
"After these steps, the following items should be ready to be set up in Odoo:"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:130
|
||
msgid "A client ID (:guilabel:`Client ID` or :guilabel:`Application ID`)"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:131
|
||
msgid "A client secret (:guilabel:`Value` or :guilabel:`Client Secret Value`)"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:133
|
||
msgid ""
|
||
"This completes the setup on the :guilabel:`Microsoft Azure Portal` side."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:136
|
||
#: ../../content/administration/maintain/google_oauth.rst:111
|
||
msgid "Setup in Odoo"
|
||
msgstr "设置Odoo"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:139
|
||
msgid "Enter Microsoft Outlook credentials"
|
||
msgstr "输入 Microsoft Outlook 凭据"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:141
|
||
msgid ""
|
||
"First, open the Odoo database and navigate to the :guilabel:`Apps` module. "
|
||
"Then, remove the :guilabel:`Apps` filter from the search bar and type in "
|
||
"`Outlook`. After that, install the module called :guilabel:`Microsoft "
|
||
"Outlook`."
|
||
msgstr ""
|
||
"首先,打开 Odoo 数据库并导航至 :guilabel:`Apps` 模块。然后,从搜索栏中移除 :guilabel:`Apps` 筛选器,并输入 "
|
||
"`Outlook`。然后,安装名为 :guilabel:`Microsoft Outlook` 的模块。"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:145
|
||
msgid ""
|
||
"Next, navigate to :menuselection:`Settings --> General Settings`, and under "
|
||
"the :guilabel:`Discuss` section, ensure that the checkbox for "
|
||
":guilabel:`Custom Email Servers` is checked. This populates a new option for"
|
||
" :guilabel:`Outlook Credentials`."
|
||
msgstr ""
|
||
"接下来,导航至 :menuselection:`设置-->常规设置`,在 :guilabel:` 讨论`应用程序部分,确保选中 "
|
||
":guilabel:`自定义电子邮件服务器` 复选框。将弹出 :guilabel:`Outlook 凭据` 新选项。"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:149
|
||
msgid ":guilabel:`Save` the progress."
|
||
msgstr ":guilabel:`保存`进度。"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:151
|
||
msgid ""
|
||
"Then, copy and paste the :guilabel:`Client ID` (Application ID) and "
|
||
":guilabel:`Client Secret (Client Secret Value)` into the respective fields "
|
||
"and :guilabel:`Save` the settings."
|
||
msgstr ""
|
||
"然后,将:guilabel:`Client ID(应用程序 ID)和:guilabel:`Client "
|
||
"Secret(客户端密文值)`复制并粘贴到相应字段,然后:guilabel:`保存`设置。"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst-1
|
||
msgid "Outlook Credentials in Odoo General Settings."
|
||
msgstr "Odoo 常规设置中的 Outlook 凭据。"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:159
|
||
#: ../../content/administration/maintain/google_oauth.rst:127
|
||
msgid "Configure outgoing email server"
|
||
msgstr "配置邮件外发服务器"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:161
|
||
msgid ""
|
||
"On the :guilabel:`General Settings` page, under the :guilabel:`Custom Email "
|
||
"Servers` setting, click the :guilabel:`Outgoing Email Servers` link to "
|
||
"configure the Microsoft account."
|
||
msgstr ""
|
||
"在:guilabel:`常规设置` 页面的:guilabel:`定制电邮服务器` 设置下,单击:guilabel:`外发电邮服务器`链接以配置 "
|
||
"Microsoft 帐户。"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:164
|
||
msgid ""
|
||
"Then, create a new email server and check the box for :guilabel:`Outlook`. "
|
||
"Next, fill in the :guilabel:`Name` (it can be anything) and the Microsoft "
|
||
"Outlook email :guilabel:`Username`."
|
||
msgstr ""
|
||
"然后,创建一个新的电子邮件服务器,并选中 :guilabel:`Outlook` 复选框。然后,填写 :guilabel:`名称`(可以是任何内容)和 "
|
||
"Microsoft Outlook 电子邮件 :guilabel:`用户名`。"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:167
|
||
msgid ""
|
||
"If the :guilabel:`From Filter` field is empty, enter either a :ref:`domain "
|
||
"or email address <email_communication/default>`."
|
||
msgstr ""
|
||
"如果 :guilabel:`From Filter` 字段为空,请输入 :ref:`域名或电子邮件地址 "
|
||
"<email_communication/default>`。"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:170
|
||
msgid "Then, click on :guilabel:`Connect your Outlook account`."
|
||
msgstr "然后,点击:guilabel:`连接您的 Outlook 帐户`。"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:172
|
||
msgid ""
|
||
"A new window from Microsoft opens to complete the :guilabel:`authorization "
|
||
"process`. Select the appropriate email address that is being configured in "
|
||
"Odoo."
|
||
msgstr "Microsoft 将打开一个新窗口,以完成 :guilabel:` 授权过程`。选择正在 Odoo 中配置的相应电子邮件地址。"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst-1
|
||
msgid "Permission page to grant access between newly created app and Odoo."
|
||
msgstr "权限页面用于授予新创建的应用程序与 Odoo 之间的访问权限。"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:179
|
||
msgid ""
|
||
"Then, allow Odoo to access the Microsoft account by clicking on "
|
||
":guilabel:`Yes`. After this, the page will navigate back to the newly "
|
||
"configured :guilabel:`Outgoing Mail Server` in Odoo. The configuration "
|
||
"automatically loads the :guilabel:`token` in Odoo, and a tag stating "
|
||
":guilabel:`Outlook Token Valid` appears in green."
|
||
msgstr ""
|
||
"然后,点击 :guilabel:`是`,允许 Odoo 访问 Microsoft 帐户。之后,页面将导航回 Odoo 中新配置的 "
|
||
":guilabel:`外发邮件服务器`。配置会自动加载 Odoo 中的 :guilabel:`令牌`,并显示绿色标签:guilabel:`Outlook"
|
||
" 令牌有效`。"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst-1
|
||
msgid "Valid Outlook Token indicator."
|
||
msgstr "有效的 Outlook 令牌指示符。"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:188
|
||
msgid ""
|
||
"Finally, click :guilabel:`Test Connection`. A confirmation message should "
|
||
"appear. The Odoo database can now send safe, secure emails through Microsoft"
|
||
" Outlook using OAuth authentication."
|
||
msgstr ""
|
||
"最后,点击 :guilabel:`测试连接`。此时会出现一条确认信息。现在,Odoo 数据库可以使用 OAuth 身份验证通过 Microsoft "
|
||
"Outlook 发送安全可靠的电子邮件。"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:194
|
||
msgid "Configuration with a single outgoing mail server"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:196
|
||
msgid ""
|
||
"Configuring a single outgoing server is the simplest configuration available"
|
||
" for Microsoft Azure and it doesn't require extensive access rights for the "
|
||
"users in the database."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:199
|
||
msgid ""
|
||
"A generic email address would be used to send emails for all users within "
|
||
"the database. For example it could be structured with a `notifications` "
|
||
"alias (`notifications@example.com`) or `contact` alias "
|
||
"(`contact@example.com`). This address must be set as the :guilabel:`FROM "
|
||
"Filtering` on the server. This address must also match the "
|
||
"`{mail.default.from}@{mail.catchall.domain}` key combination in the system "
|
||
"parameters."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:206
|
||
#: ../../content/administration/maintain/azure_oauth.rst:247
|
||
msgid ""
|
||
"For more information on the from filter visit: "
|
||
":ref:`email_communication/default`."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:209
|
||
#: ../../content/administration/maintain/azure_oauth.rst:254
|
||
msgid ""
|
||
"The :guilabel:`System Parameters` can be accessed by activating "
|
||
":ref:`developer-mode` in the :menuselection:`Settings --> Technical --> "
|
||
"Parameters --> System Parameters` menu."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:212
|
||
msgid ""
|
||
"When using this configuration, every email that is sent from the database "
|
||
"will use the address of the configured `notification` mailbox. However it "
|
||
"should be noted that the name of the sender will appear but their email "
|
||
"address will change:"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst-1
|
||
msgid "Name from real sender with static email."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:221
|
||
msgid "Single outgoing mail server configuration:"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:223
|
||
msgid ""
|
||
"Outgoing mail server **username** (login) = `notifications@example.com`"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:224
|
||
msgid ""
|
||
"Outgoing mail server :guilabel:`FROM Filtering` = "
|
||
"`notifications@example.com`"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:225
|
||
#: ../../content/administration/maintain/azure_oauth.rst:279
|
||
msgid "`mail.catchall.domain` in system parameters = `example.com`"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:226
|
||
#: ../../content/administration/maintain/azure_oauth.rst:280
|
||
msgid "`mail.default.from` in system parameters = `notifications`"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:229
|
||
msgid "User-specific (multiple user) configuration"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:231
|
||
msgid ""
|
||
"In addition to a generic email server, individual email servers can be set "
|
||
"up for users in a database. These email addresses must be set as the "
|
||
":guilabel:`FROM Filtering` on each individual server for this configuration "
|
||
"to work."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:235
|
||
msgid ""
|
||
"This configuration is the more difficult of the two Microsoft Azure "
|
||
"configurations, in that it requires all users configured with email servers "
|
||
"to have access rights to settings in order to establish a connection to the "
|
||
"email server."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:240
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:480
|
||
msgid "Setup"
|
||
msgstr "设置"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:242
|
||
msgid ""
|
||
"Each user should have a separate email server set up. The :guilabel:`FROM "
|
||
"Filtering` should be set so that only the user's email is sent from that "
|
||
"server. In other words, only a user with an email address that matches the "
|
||
"set :guilabel:`FROM Filtering` is able to use this server."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:249
|
||
msgid ""
|
||
"A :ref:`fallback server <azure_oauth/notifications>` must be setup to allow "
|
||
"for the sending of :guilabel:`notifications`. The :guilabel:`FROM Filtering`"
|
||
" for this server should have the value of the "
|
||
"`{mail.default.from}@{mail.catchall.domain}`."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:258
|
||
msgid ""
|
||
"The configuration for this transactional email server can work alongside an "
|
||
"outgoing mass-mailing email server. The :guilabel:`FROM Filtering` for the "
|
||
"mass-mailing email server can remain empty, but it's require to be added in "
|
||
"the settings of the *Email Marketing* application."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:263
|
||
msgid ""
|
||
"For more information on setting the mass-mailing email server visit "
|
||
":ref:`email_communication/mass_mails`."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:267
|
||
msgid "Multiple user outgoing mail server configuration:"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:270
|
||
msgid "User #1 mailbox"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:270
|
||
msgid "Outgoing mail server #1 **username** (login) = `john@example.com`"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:271
|
||
msgid ""
|
||
"Outgoing mail server #1 :guilabel:`FROM Filtering` = `john@example.com`"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:273
|
||
msgid "User #2 mailbox"
|
||
msgstr "用户#2邮箱"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:273
|
||
msgid "Outgoing mail server #2 **username** (login) = `jane@example.com`"
|
||
msgstr "外发邮件服务器 #2 **用户名**(登录) = `jane@example.com`"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:274
|
||
msgid ""
|
||
"Outgoing mail server #2 :guilabel:`FROM Filtering` = `jane@example.com`"
|
||
msgstr "外发邮件服务器 #2 :guilabel:`FROM Filtering` = `jane@example.com`"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:276
|
||
msgid "Notifications mailbox"
|
||
msgstr "通知邮箱"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:276
|
||
msgid ""
|
||
"Outgoing mail server #3 **username** (login) = `notifications@example.com`"
|
||
msgstr "外发邮件服务器 #3 **用户名** (登录名)= `notifications@example.com`"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:277
|
||
msgid ""
|
||
"Outgoing mail server #3 :guilabel:`FROM Filtering` = "
|
||
"`notifications@example.com`"
|
||
msgstr "外发邮件服务器 #3 :guilabel:`FROM Filtering` = `notifications@example.com`"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:279
|
||
msgid "System Parameters"
|
||
msgstr "系统参数"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:283
|
||
msgid "Configure incoming email server"
|
||
msgstr "配置接收电子邮件服务器"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:285
|
||
msgid ""
|
||
"The incoming account should be configured in a similar way to the outgoing "
|
||
"email account. Navigate to the :guilabel:`Incoming Mail Servers` in the "
|
||
":guilabel:`Technical Menu` and :guilabel:`Create` a new configuration. Check"
|
||
" or Select the button next to :guilabel:`Outlook Oauth Authentication` and "
|
||
"enter the :guilabel:`Microsoft Outlook username`. Click on "
|
||
":guilabel:`Connect your Outlook account`. Odoo will state: "
|
||
":guilabel:`Outlook Token Valid` Now :guilabel:`Test and Confirm` the "
|
||
"account. The account should be ready to receive email to the Odoo database."
|
||
msgstr ""
|
||
"收件账户的配置方式应与发件账户类似。导航至 :guilabel:`技术菜单` 中的 :guilabel:`收件邮件服务器` 并 "
|
||
":guilabel:`创建` 新配置。勾选或选择:guilabel:`Outlook Oauth "
|
||
"身份验证`旁边的按钮,并输入:guilabel:`Microsoft Outlook 用户名`。 点击 :guilabel:`连接您的 Outlook "
|
||
"帐户`。Odoo 将显示: :guilabel:`Outlook 令牌有效` 现在 :guilabel:` 测试并确认` 帐户。该账户应已准备好向 "
|
||
"Odoo 数据库接收电子邮件。"
|
||
|
||
#: ../../content/administration/maintain/azure_oauth.rst:293
|
||
msgid ":doc:`../../applications/general/email_communication/email_servers`"
|
||
msgstr ":doc:`../../applications/general/email_communication/email_servers`"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:3
|
||
#: ../../content/administration/maintain/odoo_online.rst:70
|
||
msgid "Domain names"
|
||
msgstr "网站域名"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:5
|
||
msgid ""
|
||
"A **domain name** works as an address for your website. It makes the "
|
||
"Internet much more accessible as it allows users to type a meaningful web "
|
||
"address, such as ``www.odoo.com``, rather than its server's IP address with "
|
||
"a series of numbers."
|
||
msgstr ""
|
||
"**域名**用作您网站的地址。它使互联网更容易访问,因为它允许用户键入有意义的网址,例如“www.odoo.com”,而不是其服务器的IP地址和一系列数字。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:9
|
||
msgid ""
|
||
"You can use a custom domain name to access your Odoo database and websites:"
|
||
msgstr "您可以使用自定义域名访问您的 Odoo 数据库和网站:"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:11
|
||
msgid ""
|
||
"By :ref:`registering a free domain name with Odoo <domain-name/odoo-"
|
||
"register>` (for Odoo Online databases)"
|
||
msgstr "通过 :ref:`使用 Odoo 注册免费域名<域名/odoo-register>`(用于 Odoo Online 数据库)"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:13
|
||
msgid ""
|
||
"By :ref:`configuring a custom domain that you already own <domain-"
|
||
"name/existing>`."
|
||
msgstr "通过 :ref:`配置您已经拥有的自定义域<域名/现有>”。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:16
|
||
msgid ""
|
||
"Odoo Online and Odoo.sh databases, including their websites, use by default "
|
||
"a subdomain of ``odoo.com`` for both the URL and the emails (e.g., "
|
||
"``https://example.odoo.com``)."
|
||
msgstr ""
|
||
"Odoo Online和 Odoo.sh "
|
||
"数据库,包括他们的网站,默认情况下使用“odoo.com”子域作为URL和电子邮件(例如,“https://example.odoo.com”)。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:20
|
||
msgid ""
|
||
"Odoo offers a :ref:`free custom domain name <domain-name/odoo-register>` to "
|
||
"all Odoo Online databases for one year. Visitors can then access your "
|
||
"website with an address such as ``www.example.com`` rather than the default "
|
||
"``example.odoo.com``."
|
||
msgstr ""
|
||
"Odoo为所有Odoo Online数据库提供一个 :ref:`免费的自定义域名 <domain-name/odoo-register>` "
|
||
"。访问者可以使用 ``www.example.com`` 等地址而不是默认的 ``example.odoo.com`` 地址来访问您的网站。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:25
|
||
msgid ""
|
||
"`Odoo Tutorials: Register a Free Domain Name "
|
||
"<https://www.odoo.com/slides/slide/register-a-free-domain-name-1663>`_"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:27
|
||
msgid ""
|
||
"`Odoo Quick Tips: Get a free domain name! "
|
||
"<https://www.youtube.com/watch?v=eAfgeNOHLP4>`_"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:32
|
||
msgid "About domain names"
|
||
msgstr "关于域名"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:34
|
||
msgid ""
|
||
"Having a **good domain name** is as important to your branding as the name "
|
||
"of your business or organization as it is the first thing your visitors will"
|
||
" notice. We recommend you keep them *simple, short, easy to remember and "
|
||
"spell*."
|
||
msgstr ""
|
||
"拥有一个 **的域名 **您的品牌与您的业务或组织的名称一样重要,因为它是访问者会注意到的第一件事。我们建议您保持它们*简单,简短,易于记忆和拼写*。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:38
|
||
msgid ""
|
||
"A **subdomain** is a domain that is a part of another domain. It often "
|
||
"refers to the additional part that comes before the main domain name. "
|
||
"Traditionally, most websites use the ``www.`` subdomain, but any string of "
|
||
"letters can be used as well. You can use subdomains to direct your visitors "
|
||
"to other websites than your main website or to specific pages (e.g., "
|
||
"``experience.odoo.com`` points to a specific page.)"
|
||
msgstr ""
|
||
" **** "
|
||
"是属于另一个域的一部分的域。它通常是指主域名之前的附加部分。传统上,大多数网站使用“www.”子域,但也可以使用任何字母串。您可以使用子域名将访问者定向到主网站以外的其他网站或特定页面(例如,“experience.odoo.com”指向特定页面)。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:44
|
||
msgid ""
|
||
"All domain names are referenced in the **Domain Name System**, or **DNS**, "
|
||
"which works as a giant directory for the Internet. There are many DNS "
|
||
"servers, so any modification to the DNS can take up to 72 hours to propagate"
|
||
" worldwide on all servers."
|
||
msgstr ""
|
||
"所有域名都在 **名系统 ****DNS **引用,该系统是互联网的巨型目录。有许多 DNS 服务器,因此对 DNS 的任何修改最多可能需要 72 "
|
||
"小时才能在所有服务器上传播到全球。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:51
|
||
msgid "Indexing of domain names by search engines"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:53
|
||
msgid ""
|
||
"Search engines, such as Google and Bing, rely on web crawlers (:dfn:`robots "
|
||
"that explore and analyze the web`) to index all websites and their related "
|
||
"domain names. These crawlers discover new URLs thanks to links on known web "
|
||
"pages. As a result, search engines should index domain names automatically "
|
||
"after a while, as long as their URLs are mentioned elsewhere on the "
|
||
"Internet."
|
||
msgstr ""
|
||
"搜索引擎(例如 Google 和 "
|
||
"Bing)依靠网络爬虫(:dfn:`探索和分析网络的机器人`)为所有网站及其相关域名编制索引。这些爬虫通过已知网页上的链接发现新 URL。因此,只要域名"
|
||
" URL 在互联网的其他地方被提及,搜索引擎就会在一段时间后自动将其编入索引。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:58
|
||
msgid ""
|
||
"Improving the appearance and positioning of web pages on search engines is a"
|
||
" practice named \"Search Engine Optimization\" (SEO)."
|
||
msgstr "改善网页在搜索引擎上的外观和定位是一种称为 “搜索引擎优化”(SEO) 的做法。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:62
|
||
msgid ""
|
||
"Adding relevant content, optimizing metadata, and building high-quality "
|
||
"backlinks can all help improve a website's search engine visibility."
|
||
msgstr "添加相关内容、优化元数据和建立高质量反向链接都有助于提高网站在搜索引擎中的可见度。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:65
|
||
msgid ""
|
||
"Some search engines provide tools for web admins, such as `Google Search "
|
||
"Console <https://search.google.com/search-console>`_ and `Bing Webmaster "
|
||
"Tools <https://www.bing.com/webmasters>`_, to help you analyze and improve "
|
||
"your page ranking. To use these services, you must prove that you are the "
|
||
"owner of your domain name. One way to verify the ownership of your domain "
|
||
"name is by adding a DNS record. You can do this for :ref:`domain names "
|
||
"registered with Odoo <domain-name/odoo-manage>` and for domain names managed"
|
||
" by other providers."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:74
|
||
msgid ":doc:`/applications/websites/website/pages/seo`"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:75
|
||
msgid ""
|
||
"`Google Search Console Help - Verify your site ownership "
|
||
"<https://support.google.com/webmasters/answer/9008080>`_"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:76
|
||
msgid ""
|
||
"`Bing Webmaster Tools - Add and Verify site "
|
||
"<https://www.bing.com/webmasters/help/add-and-verify-site-12184f8b>`_"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:81
|
||
msgid "Register a free domain name with Odoo"
|
||
msgstr "使用Odoo注册免费域名"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:83
|
||
msgid ""
|
||
"You can register a domain name for your Odoo Online database directly from "
|
||
"Odoo Website or your database manager."
|
||
msgstr "您可以直接从Odoo网站或数据库管理器为您的Odoo在线数据库注册域名。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:87
|
||
msgid ""
|
||
"Your domain name is **free for one year** if you register it with Odoo!"
|
||
msgstr "如果您在 Odoo 注册,您的域名可 **免费使用一年**!"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:88
|
||
msgid ""
|
||
"The domain name is registered with `Gandi <https://www.gandi.net/>`_, the "
|
||
"domain name registrar."
|
||
msgstr "域名已在域名注册商「Gandi <https://www.gandi.net/>」注册。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:90
|
||
msgid ""
|
||
"You are the owner of the domain name and can use it for other purposes."
|
||
msgstr "您是域名的所有者,可以将其用于其他目的。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:91
|
||
msgid "Odoo manages payment and technical support for you."
|
||
msgstr "Odoo为您管理付款和技术支持。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:92
|
||
msgid ""
|
||
"This offer doesn't include any mailbox. However, you can :ref:`configure "
|
||
"your MX records <domain-name/odoo-manage>` to use your own email server or "
|
||
"solution such as Google Workspace."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:95
|
||
msgid ""
|
||
"To do so, go to :menuselection:`Website --> Domain Name`. Alternatively, "
|
||
"open your `database manager <https://www.odoo.com/my/databases>`_, click on "
|
||
"the :guilabel:`settings` button next to your database, then on "
|
||
":guilabel:`Domain names`."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst-1
|
||
msgid "Clicking on Domain Names from an Odoo website"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:103
|
||
msgid ""
|
||
"Search for the domain name of your choice to check its availability, then "
|
||
"select the one you want to register for your website."
|
||
msgstr "搜索您选择的域名以检查其可用性,然后选择要为您的网站注册的域名。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst-1
|
||
msgid ""
|
||
"The search of the domain name example.com shows which associated domains are"
|
||
" available."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:110
|
||
msgid ""
|
||
"Next, fill in the form with your information to become the domain name "
|
||
"owner."
|
||
msgstr "接下来,在表格中填写您的信息,成为域名所有者。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:112
|
||
msgid ""
|
||
"Your domain name is directly linked to your database, but you still have to "
|
||
":ref:`map your domain name with your website <domain-name/website-map>`."
|
||
msgstr "您的域名直接链接到您的数据库,但您仍然需要:ref:`将您的域名与您的网站<域名/网站地图>`。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:116
|
||
msgid ""
|
||
"Free domain names are also available for free Odoo Online databases (if you "
|
||
"installed one app only, for example). In this case, Odoo reviews your "
|
||
"request and your website to avoid abuse. This process can take several days "
|
||
"due to the success of the offer."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:119
|
||
msgid "This is not available for Odoo.sh databases yet."
|
||
msgstr "这尚不适用于 Odoo.sh 数据库。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:124
|
||
msgid "Manage your domain name registered with Odoo"
|
||
msgstr "管理您在Odoo注册的域名"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:126
|
||
msgid ""
|
||
"To manage the DNS records of your domain name registered with Odoo or to "
|
||
"visualize the contacts associated with it, open your `database manager "
|
||
"<https://www.odoo.com/my/databases>`_, click on the :guilabel:`settings` "
|
||
"button next to your database, on :guilabel:`Domain names`, and then on "
|
||
":guilabel:`Contacts` or :guilabel:`DNS`."
|
||
msgstr ""
|
||
"要管理您在Odoo注册的域名的DNS记录或可视化与其关联的联系人,请打开“数据库管理器<https://www.odoo.com/my/databases>”_,单击数据库旁边的:guilabel:`settings`按钮,在:guilabel:`Domain"
|
||
" names`上,然后在:guilabel:`Contacts`或:guilabel:`DNS`上。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst-1
|
||
msgid "Management of the domain names linked to an Odoo database"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:136
|
||
msgid ""
|
||
"Please `submit a support ticket <https://www.odoo.com/help>`_ if you need "
|
||
"further assistance to manage your domain name."
|
||
msgstr "如果您需要进一步的帮助来管理您的域名,请“提交支持票证<https://www.odoo.com/help>”_。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:142
|
||
msgid "Configure your existing domain name"
|
||
msgstr "配置现有域名"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:144
|
||
msgid ""
|
||
"If you already own a domain name, you can use it to point to your website."
|
||
msgstr "如果您已经拥有域名,则可以使用它来指向您的网站。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:146
|
||
msgid ""
|
||
"To avoid any issue with the :ref:`SSL certificate validation <domain-"
|
||
"name/ssl>`, we highly recommend that you proceed with the following actions "
|
||
"in this order:"
|
||
msgstr "为避免 :ref:`SSL 证书验证<域名/ssl>`的任何问题,我们强烈建议您按以下顺序执行以下操作:"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:149
|
||
msgid ""
|
||
":ref:`Add a CNAME record <domain-name/cname>` on your domain name's DNS "
|
||
"zone."
|
||
msgstr ":ref:在域名的 DNS 区域上添加一个 CNAME 记录<域名/cname>”。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:150
|
||
msgid ""
|
||
":ref:`Map your domain name with your Odoo database <domain-name/db-map>`."
|
||
msgstr ":ref:`将您的域名与 Odoo 数据库<域名/db-map>`"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:151
|
||
msgid ""
|
||
":ref:`Map your domain name with your Odoo website <domain-name/website-"
|
||
"map>`."
|
||
msgstr ":ref:`将您的域名与您的Odoo网站<域名/网站地图>`。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:156
|
||
msgid "Add a CNAME record"
|
||
msgstr "添加 CNAME 记录"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:158
|
||
msgid ""
|
||
"A **CNAME record** is a type of DNS record that points to the domain of "
|
||
"another website rather than directly to an IP address."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:161
|
||
msgid ""
|
||
"You need a CNAME record that points to your Odoo database. The requirements "
|
||
"are detailed in your database manager."
|
||
msgstr "您需要一个指向您的Odoo数据库的CNAME记录。数据库管理器中详细介绍了这些要求。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:168
|
||
msgid ""
|
||
"The target address is the current address of your database, as defined at "
|
||
"its creation (e.g., ``example.odoo.com``)"
|
||
msgstr "目标地址是数据库的当前地址,在创建时定义(例如,“example.odoo.com”)"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:171
|
||
#: ../../content/administration/maintain/domain_names.rst:250
|
||
#: ../../content/administration/maintain/supported_versions.rst:30
|
||
#: ../../content/administration/odoo_sh.rst:5
|
||
#: ../../content/administration/upgrade.rst:122
|
||
#: ../../content/administration/upgrade.rst:320
|
||
msgid "Odoo.sh"
|
||
msgstr "Odoo.sh"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:173
|
||
msgid ""
|
||
"Your project's main address is defined in :menuselection:`Settings --> "
|
||
"Project Name`."
|
||
msgstr "项目的主地址在 :menuselection:'Settings --> Project Name' 中定义。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:175
|
||
msgid ""
|
||
"If you want to target a specific branch (production, staging or "
|
||
"development), go to :menuselection:`Branches --> select your branch --> "
|
||
"Settings --> Custom domains`, and click on :guilabel:`How to set up my "
|
||
"domain?`. A message indicates which address your CNAME record should target."
|
||
msgstr ""
|
||
"如果要定位特定分支(生产,暂存或开发),请转到:“分支选择:”分支 - >选择您的分支 - >设置 - "
|
||
">自定义域“,然后单击:guilabel:”如何设置我的域?”此时将显示一条消息,指示您的 CNAME 记录应定位到哪个地址。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:180
|
||
#: ../../content/administration/maintain/domain_names.rst:222
|
||
msgid "Open your domain name's manager dashboard."
|
||
msgstr "打开域名的经理信息中心。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:181
|
||
msgid ""
|
||
"Open the **DNS zone** management page for the domain name you want to "
|
||
"configure."
|
||
msgstr "打开要配置的域名的“DNS 区域”管理页面。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:182
|
||
msgid "Create a **CNAME record** pointing to the address of your database."
|
||
msgstr "创建指向数据库地址的“CNAME”记录。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:184
|
||
msgid ""
|
||
"While Odoo suggests creating a CNAME record for your ``www.`` subdomain "
|
||
"(``www.example.com``), you can of course use any domain name of your choice,"
|
||
" with any subdomain (e.g., ``anything.example.com``)."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:189
|
||
msgid ""
|
||
"You own the domain name ``example.com``, and you have an Odoo Online "
|
||
"database at the address ``example.odoo.com``. You want to access your Odoo "
|
||
"database primarily with the domain ``www.example.com`` but also with the "
|
||
":ref:`naked domain <domain-name/naked-domain>` ``example.com``."
|
||
msgstr ""
|
||
"您拥有域名“example.com”,并且您在地址“example.odoo.com”拥有Odoo在线数据库。您希望主要使用域“www.example.com”访问Odoo数据库,但也希望使用:ref:“裸域<域名/裸域>”example.com“。访问Odoo数据库。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:194
|
||
msgid ""
|
||
"To do so, you create a CNAME record for the ``www`` subdomain, with "
|
||
"``example.odoo.com`` as the target. The DNS zone manager generates the "
|
||
"following rule and adds it to your DNS zone: ``www IN CNAME "
|
||
"example.odoo.com.``"
|
||
msgstr ""
|
||
"为此,您需要为“www”子域创建一个 CNAME 记录,并将“example.odoo.com”作为目标。DNS 区域管理器生成以下规则并将其添加到 "
|
||
"DNS 区域:“www IN CNAME example.odoo.com”。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:198
|
||
msgid ""
|
||
"You also create a redirection from ``example.com`` to ``wwww.example.com``."
|
||
msgstr "您还可以创建从“example.com”到“wwww.example.com”的重定向。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:200
|
||
msgid "Your new DNS records are propagated to all DNS servers."
|
||
msgstr "您的新 DNS 记录将传播到所有 DNS 服务器。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:203
|
||
msgid "Here are some specific guidelines to create a CNAME record:"
|
||
msgstr "以下是一些创建CNAME记录的特定指引:"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:205
|
||
msgid "`GoDaddy <https://www.godaddy.com/help/add-a-cname-record-19236>`_"
|
||
msgstr "“GoDaddy <https://www.godaddy.com/help/add-a-cname-record-19236>”_"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:206
|
||
msgid ""
|
||
"`Namecheap "
|
||
"<https://www.namecheap.com/support/knowledgebase/article.aspx/9646/2237/how-"
|
||
"to-create-a-cname-record-for-your-domain>`_"
|
||
msgstr ""
|
||
"`namecheap "
|
||
"<https://www.namecheap.com/support/knowledgebase/article.aspx/9646/2237/how-"
|
||
"to-create-a-cname-record-for-your-domain>`_"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:207
|
||
msgid ""
|
||
"`OVH "
|
||
"<https://docs.ovh.com/us/en/domains/web_hosting_how_to_edit_my_dns_zone/#add-"
|
||
"a-new-dns-record>`_"
|
||
msgstr ""
|
||
"“OVH "
|
||
"<https://docs.ovh.com/us/en/domains/web_hosting_how_to_edit_my_dns_zone/#add-"
|
||
"a-new-dns-record>”_"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:208
|
||
msgid ""
|
||
"`CloudFlare <https://support.cloudflare.com/hc/en-"
|
||
"us/articles/360019093151>`_"
|
||
msgstr ""
|
||
"`CloudFlare <https://support.cloudflare.com/hc/en-"
|
||
"us/articles/360019093151>`_"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:209
|
||
msgid ""
|
||
"`Google Domains <https://support.google.com/domains/answer/3290350?hl=en>`_"
|
||
msgstr "“谷歌域名<https://support.google.com/domains/answer/3290350?hl=en>”_"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:214
|
||
msgid "Naked domain"
|
||
msgstr "裸域名"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:216
|
||
msgid ""
|
||
"A **naked domain** is a domain name that doesn't have any subdomain at the "
|
||
"beginning of the address (e.g., ``odoo.com`` instead of ``www.odoo.com``)."
|
||
msgstr "**裸域名**是在地址开头没有任何子域名的域名(例如,“odoo.com”而不是“www.odoo.com”)。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:219
|
||
msgid ""
|
||
"You may want your naked domain to redirect to your website as some visitors "
|
||
"may not type the full domain name to access your website."
|
||
msgstr "您可能希望裸域名重定向到您的网站,因为某些访问者可能无法输入完整的域名来访问您的网站。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:223
|
||
msgid ""
|
||
"Create a **redirection** from the naked domain (``example.com``) to your "
|
||
"main domain name (``www.example.com``)."
|
||
msgstr "创建一个从裸域名(“example.com”)到您的主域名(“www.example.com”)的 **定** 。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:227
|
||
msgid ""
|
||
"Depending on your domain name registrar, this redirection may be already "
|
||
"pre-configured."
|
||
msgstr "根据您的域名注册机构,此重定向可能已预先配置。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:232
|
||
msgid "Map your domain name with your Odoo database"
|
||
msgstr "将您的域名与 Odoo 数据库进行映射"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:238
|
||
msgid ""
|
||
"Open your `database manager <https://www.odoo.com/my/databases>`_, click on "
|
||
"the :guilabel:`settings` button next to your database, on :guilabel:`Domain "
|
||
"names`, and then on :guilabel:`Use my own domain` at the bottom of the right"
|
||
" column."
|
||
msgstr ""
|
||
"打开数据库管理器<https://www.odoo.com/my/databases>“_,单击数据库旁边的 :guilabel:`settings` "
|
||
"按钮,单击 :guilabel:`Domain names`,然后单击右列底部的 :guilabel:`Use my own domain`。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:242
|
||
msgid ""
|
||
"Type the domain name you want to add to this database, then click on "
|
||
":guilabel:`Verify` to check if the CNAME record is correctly configured. "
|
||
"Once done, click on :guilabel:`I confirm, it's done`."
|
||
msgstr ""
|
||
"键入要添加到此数据库的域名,然后单击:guilabel:'Verify'以检查CNAME记录是否已正确配置。完成后,点击:guilabel:'我确认,它完成了'。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:0
|
||
msgid ""
|
||
"Verification of the CNAME records of a domain name before mapping it with a "
|
||
"database"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:252
|
||
msgid ""
|
||
"Go to :menuselection:`Branches --> select your branch --> Settings --> "
|
||
"Custom domains`, type the domain name you want to add to this database, then"
|
||
" click on :guilabel:`Add domain`."
|
||
msgstr ""
|
||
"转到:menuselection:`分支-->选择您的分支 "
|
||
"-->设置-->自定义域`,键入要添加到此数据库的域名,然后单击:guilabel:`添加域`。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:0
|
||
msgid "Mapping a domain name with an Odoo.sh branch"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:260
|
||
msgid ""
|
||
":ref:`Odoo.sh branches: settings tab <odoosh-gettingstarted-branches-tabs-"
|
||
"settings>`"
|
||
msgstr ""
|
||
":ref:`Odoo.sh分支: 设置选项卡 <odoosh-gettingstarted-branches-tabs-"
|
||
"settings>`</odoosh-gettingstarted-branches-tabs-settings>"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:263
|
||
msgid ""
|
||
"Make sure to :ref:`add a CNAME record <domain-name/cname>` to your domain "
|
||
"name's DNS **before** mapping your domain name with your Odoo database."
|
||
msgstr ""
|
||
"确保 :ref:'添加一个 CNAME 记录<域名/cname>' 到域名的 DNS **之前** 将您的域名与 Odoo 数据库进行映射。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:266
|
||
msgid ""
|
||
"Failing to do so may impede the validation of the :ref:`SSL certificate "
|
||
"<domain-name/ssl>` and would result in a *certificate name mismatch* error. "
|
||
"This is often displayed by web browsers as a warning such as *\"Your "
|
||
"connection is not private\"*."
|
||
msgstr ""
|
||
"如果不这样做,可能会妨碍验证 :ref:`SSL 证书<域名/ssl>`,并导致 *证书名称不匹配* 错误。这通常由 Web 浏览器显示为警告,例如 "
|
||
"*“您的连接不是专用的”*。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:270
|
||
msgid ""
|
||
"If this is the case and you have added the domain name to your database's "
|
||
"settings less than five days ago, wait 24 hours as the validation may still "
|
||
"happen. Otherwise, please `submit a support ticket "
|
||
"<https://www.odoo.com/help>`_ including screenshots of your CNAME records."
|
||
msgstr ""
|
||
"如果是这种情况,并且您在不到五天前已将域名添加到数据库的设置中,请等待 24 "
|
||
"小时,因为验证可能仍会发生。否则,请“提交支持票证<https://www.odoo.com/help>”_,包括您的CNAME记录的屏幕截图。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:277
|
||
msgid "SSL encryption (HTTPS protocol)"
|
||
msgstr "SSL 加密(HTTPS 协议)"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:279
|
||
msgid ""
|
||
"**SSL encryption** is an encryption-based Internet security protocol. It "
|
||
"allows your visitors to navigate your website through a secure connection, "
|
||
"which appears as an ``https://`` protocol at the beginning of your web "
|
||
"address, rather than a non-secure ``http://`` protocol."
|
||
msgstr ""
|
||
"**SSL 加密 "
|
||
"**一种基于加密的互联网安全协议。它允许您的访问者通过安全连接浏览您的网站,该连接在您的网址开头显示为“https://”协议,而不是不安全的“http://”协议。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:283
|
||
msgid ""
|
||
"Odoo generates a separate SSL certificate for each domain :ref:`mapped in "
|
||
"the database manager <domain-name/db-map>`, using integration with `Let's "
|
||
"Encrypt Certificate Authority and ACME protocol "
|
||
"<https://letsencrypt.org/how-it-works/>`_."
|
||
msgstr ""
|
||
"Odoo为每个域生成一个单独的SSL证书:ref:'在数据库管理器中映射<域名/db-"
|
||
"map>“,使用与”让我们加密证书颁发机构和ACME协议<https://letsencrypt.org/how-it-works/>“_的集成。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:288
|
||
msgid "The certificate generation may take up to 24h."
|
||
msgstr "证书生成最多可能需要 24 小时。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:289
|
||
msgid ""
|
||
"Several attempts to validate your certificate are made during the five days "
|
||
"following the moment you add your domain name in your database's settings."
|
||
msgstr "在数据库设置中添加域名后的五天内,会多次尝试验证证书。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:291
|
||
msgid ""
|
||
"If you already use another service, you can keep using it or simply change "
|
||
"for Odoo."
|
||
msgstr "如果您已经在使用其他服务,则可以继续使用它或简单地更改为Odoo。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:296
|
||
msgid "Web base URL of a database"
|
||
msgstr "数据库的 Web 基本 URL"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:299
|
||
msgid ""
|
||
"If you have Odoo Website, you can disregard this part and directly :ref:`map"
|
||
" your domain name with your website <domain-name/website-map>`."
|
||
msgstr "如果你有Odoo网站,你可以忽略这一部分,直接:ref:`将您的域名与您的网站<域名/网站地图>`。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:302
|
||
msgid ""
|
||
"The **web base URL** of a database, or **root URL** affects your main "
|
||
"website address and all the links sent to your customers (e.g., quotations, "
|
||
"portal links, etc.)."
|
||
msgstr "数据库** Web基本URL ** **URL **影响您的主网站地址以及发送给客户的所有链接(例如,报价,门户链接等)。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:305
|
||
msgid ""
|
||
"To configure it, access your Odoo database with your custom address, then "
|
||
"log in as an administrator of your database (any user in the *Settings* "
|
||
"group) from the login screen."
|
||
msgstr "要对其进行配置,请使用您的自定义地址访问您的Odoo数据库,然后从登录屏幕以数据库管理员身份(*设置*组中的任何用户)登录。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:309
|
||
msgid ""
|
||
"Connecting to your database with the original Odoo subdomain address (e.g., "
|
||
"``example.odoo.com`` also updates the web base URL of your database. See "
|
||
"below to prevent these automatic updates."
|
||
msgstr ""
|
||
"使用原始Odoo子域地址(例如,“example.odoo.com”)连接到数据库也会更新数据库的Web基本URL。请参阅下文,防止这些自动更新。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:312
|
||
msgid ""
|
||
"Alternatively, you can do it manually. To do so, activate the "
|
||
":ref:`developer mode <developer-mode>`, then go to :menuselection:`Settings "
|
||
"--> Technical --> System Parameters`."
|
||
msgstr ""
|
||
"或者,您可以手动执行此操作。为此,请激活 :ref:`开发人员模式 <developer-mode>`,然后转到 "
|
||
":menuselection:`Settings --> Technical --> System Parameters`。</developer-"
|
||
"mode>"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:315
|
||
msgid ""
|
||
"Find the key called ``web.base.url`` (or create it if it does not exist) and"
|
||
" enter the full address of your website as value, such as "
|
||
"``https://www.example.com``."
|
||
msgstr ""
|
||
"找到名为“web.base.url”的密钥(如果不存在,则创建它),然后输入网站的完整地址作为值,例如“https://www.example.com”。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:319
|
||
msgid ""
|
||
"The URL must include the protocol ``https://`` (or ``http://``) and must not"
|
||
" end with a slash (``/``)."
|
||
msgstr "URL 必须包含协议“https://”(或“http://”),并且不得以斜杠 (“/”) 结尾。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:322
|
||
msgid ""
|
||
"To prevent the automatic update of the web base URL when an administrator "
|
||
"logs in the database, you can create the following System Parameter:"
|
||
msgstr "要防止在管理员登录数据库时自动更新 Web 基本 URL,可以创建以下系统参数:"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:325
|
||
msgid "key: ``web.base.url.freeze``"
|
||
msgstr "key: ``web.base.url.freeze``"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:326
|
||
msgid "value: ``True``"
|
||
msgstr "值:“真`"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:331
|
||
msgid "Map your domain name with your website"
|
||
msgstr "将您的域名与您的网站进行映射"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:333
|
||
msgid ""
|
||
"Mapping your domain name to your website isn't the same as mapping it with "
|
||
"your database:"
|
||
msgstr "将您的域名映射到您的网站与将其映射到数据库不同:"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:335
|
||
msgid ""
|
||
"It defines your domain name as the main one for your website, helping search"
|
||
" engines to index your website properly."
|
||
msgstr "它将您的域名定义为您网站的主要域名,帮助搜索引擎正确索引您的网站。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:337
|
||
msgid ""
|
||
"It defines your domain name as the base URL for your database, including the"
|
||
" portal links sent by email to your customers."
|
||
msgstr "它将域名定义为数据库的基本 URL,包括通过电子邮件发送给客户的门户链接。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:339
|
||
msgid ""
|
||
"If you have multiple websites, it maps your domain name with the appropriate"
|
||
" website."
|
||
msgstr "如果您有多个网站,它会将您的域名与相应的网站进行映射。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:341
|
||
msgid ""
|
||
"Go to :menuselection:`Website --> Configuration --> Settings --> Website "
|
||
"Info`. If you have multiple websites, select the one you want to configure."
|
||
msgstr "转到:menuselection:`网站 --> 配置 -->设置 --> 网站信息`。如果您有多个网站,请选择要配置的网站。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:344
|
||
msgid ""
|
||
"In the :guilabel:`Domain` field, fill in the web address of your website "
|
||
"(e.g., ``https://www.example.com``) and click on :guilabel:`Save`."
|
||
msgstr ""
|
||
"在:guilabel:`Domain`字段中,填写您网站的网址(例如,``https://www.example.com``),然后单击:guilabel:`Save`。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst-1
|
||
msgid "Configuring https://www.example.com as the Domain of the website"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:352
|
||
msgid ""
|
||
"Mapping your domain name with your Odoo website prevents Google from "
|
||
"indexing both your custom domain name ``www.example.com`` and your original "
|
||
"odoo database address ``example.odoo.com``."
|
||
msgstr ""
|
||
"将您的域名与Odoo网站进行映射可防止Google将您的自定义域名“www.example.com”和原始odoo数据库地址“example.odoo.com”编入索引。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:355
|
||
msgid ""
|
||
"If both addresses are already indexed, it may take some time before Google "
|
||
"removes the indexation of the second address. You may also try using the "
|
||
"`Google Search Console <https://search.google.com/search-console>`_ to fix "
|
||
"this."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:360
|
||
msgid ""
|
||
"If you have multiple websites and companies on your database, make sure that"
|
||
" you select the right :guilabel:`Company` in the website settings, next to "
|
||
"the :guilabel:`Domain` settings. Doing so indicates Odoo which URL to use as"
|
||
" the :ref:`base URL <domain-name/web-base-url>` according to the company in "
|
||
"use."
|
||
msgstr ""
|
||
"如果您的数据库中有多个网站和公司,请确保在网站设置中选择正确的 :guilabel:`Company`,位于 :guilabel:`Domain` "
|
||
"设置旁边。这样做会根据正在使用的公司指示Odoo要将哪个URL用作:ref:`base URL<domain-name/web-base-url>`。"
|
||
|
||
#: ../../content/administration/maintain/domain_names.rst:366
|
||
msgid ":doc:`/applications/general/email_communication/email_servers`"
|
||
msgstr ":doc:`/applications/general/email_communication/email_servers`"
|
||
|
||
#: ../../content/administration/maintain/enterprise.rst:6
|
||
msgid "Switch from Community to Enterprise"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/enterprise.rst:8
|
||
msgid ""
|
||
"Depending on your current installation, there are multiple ways to upgrade "
|
||
"your community version. In any case the basic guidelines are:"
|
||
msgstr "根据您当前的安装情况,有多种方法可以升级您的社区版本。在任何情况下,基本准则是:"
|
||
|
||
#: ../../content/administration/maintain/enterprise.rst:12
|
||
#: ../../content/administration/maintain/enterprise.rst:31
|
||
#: ../../content/administration/maintain/enterprise.rst:63
|
||
#: ../../content/administration/maintain/enterprise.rst:80
|
||
msgid "Backup your community database"
|
||
msgstr "备份您的社区数据库"
|
||
|
||
#: ../../content/administration/maintain/enterprise.rst:17
|
||
#: ../../content/administration/maintain/enterprise.rst:62
|
||
msgid "Shutdown your server"
|
||
msgstr "关闭服务器"
|
||
|
||
#: ../../content/administration/maintain/enterprise.rst:19
|
||
msgid "Install the web_enterprise module"
|
||
msgstr "安装web_enterprise模块"
|
||
|
||
#: ../../content/administration/maintain/enterprise.rst:21
|
||
msgid "Restart your server"
|
||
msgstr "重新启动服务器"
|
||
|
||
#: ../../content/administration/maintain/enterprise.rst:23
|
||
msgid "Enter your Odoo Enterprise Subscription code"
|
||
msgstr "输入您的 Odoo 企业订阅代码"
|
||
|
||
#: ../../content/administration/maintain/enterprise.rst:29
|
||
msgid "On Linux, using an installer"
|
||
msgstr "在 Linux 上,使用安装程序"
|
||
|
||
#: ../../content/administration/maintain/enterprise.rst:33
|
||
msgid "Stop the odoo service"
|
||
msgstr "停止 odoo 服务"
|
||
|
||
#: ../../content/administration/maintain/enterprise.rst:39
|
||
msgid ""
|
||
"Install the enterprise .deb (it should install over the community package)"
|
||
msgstr "安装企业.deb(它应该通过社区软件包安装)"
|
||
|
||
#: ../../content/administration/maintain/enterprise.rst:45
|
||
msgid "Update your database to the enterprise packages using"
|
||
msgstr "使用将数据库更新到企业包"
|
||
|
||
#: ../../content/administration/maintain/enterprise.rst:51
|
||
msgid ""
|
||
"You should be able to connect to your Odoo Enterprise instance using your "
|
||
"usual mean of identification. You can then link your database with your Odoo"
|
||
" Enterprise Subscription by entering the code you received by e-mail in the "
|
||
"form input"
|
||
msgstr ""
|
||
"您应该能够使用通常的识别方式连接到您的Odoo企业版实例。然后,您可以通过在表单输入中输入通过电子邮件收到的代码,将您的数据库与Odoo企业订阅链接"
|
||
|
||
#: ../../content/administration/maintain/enterprise.rst:57
|
||
msgid "On Linux, using the source code"
|
||
msgstr "在 Linux 上,使用源代码"
|
||
|
||
#: ../../content/administration/maintain/enterprise.rst:59
|
||
msgid ""
|
||
"There are many ways to launch your server when using sources, and you "
|
||
"probably have your own favourite. You may need to adapt sections to your "
|
||
"usual workflow."
|
||
msgstr "使用源时,有许多方法可以启动服务器,您可能有自己的最爱。您可能需要根据常规工作流程调整分区。"
|
||
|
||
#: ../../content/administration/maintain/enterprise.rst:64
|
||
msgid ""
|
||
"Update the ``--addons-path`` parameter of your launch command (see "
|
||
":doc:`../install/source`)"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/enterprise.rst:65
|
||
msgid "Install the web_enterprise module by using"
|
||
msgstr "使用安装web_enterprise模块"
|
||
|
||
#: ../../content/administration/maintain/enterprise.rst:71
|
||
msgid "Depending on the size of your database, this may take some time."
|
||
msgstr "根据数据库的大小,这可能需要一些时间。"
|
||
|
||
#: ../../content/administration/maintain/enterprise.rst:73
|
||
msgid ""
|
||
"Restart your server with the updated addons path of point 3. You should be "
|
||
"able to connect to your instance. You can then link your database with your "
|
||
"Odoo Enterprise Subscription by entering the code you received by e-mail in "
|
||
"the form input"
|
||
msgstr ""
|
||
"使用第 3 "
|
||
"点的更新插件路径重新启动服务器。您应该能够连接到您的实例。然后,您可以通过在表单输入中输入通过电子邮件收到的代码,将您的数据库与Odoo企业订阅链接"
|
||
|
||
#: ../../content/administration/maintain/enterprise.rst:78
|
||
msgid "On Windows"
|
||
msgstr "Windows/Linux"
|
||
|
||
#: ../../content/administration/maintain/enterprise.rst:82
|
||
msgid ""
|
||
"Uninstall Odoo Community (using the Uninstall executable in the installation"
|
||
" folder) - PostgreSQL will remain installed"
|
||
msgstr "卸载 Odoo 社区(使用安装文件夹中的卸载可执行文件) - PostgreSQL 将保持安装状态"
|
||
|
||
#: ../../content/administration/maintain/enterprise.rst:88
|
||
msgid ""
|
||
"Launch the Odoo Enterprise Installer and follow the steps normally. When "
|
||
"choosing the installation path, you can set the folder of the Community "
|
||
"installation (this folder still contains the PostgreSQL installation). "
|
||
"Uncheck ``Start Odoo`` at the end of the installation"
|
||
msgstr ""
|
||
"启动 Odoo "
|
||
"企业安装程序并正常执行步骤。选择安装路径时,您可以设置社区安装的文件夹(此文件夹仍包含PostgreSQL安装)。在安装结束时取消选中“启动 Odoo`"
|
||
|
||
#: ../../content/administration/maintain/enterprise.rst:96
|
||
msgid ""
|
||
"Using a command window, update your Odoo Database using this command (from "
|
||
"the Odoo installation path, in the server subfolder)"
|
||
msgstr "使用命令窗口,使用此命令更新 Odoo 数据库(从 Odoo 安装路径,在服务器子文件夹中)"
|
||
|
||
#: ../../content/administration/maintain/enterprise.rst:103
|
||
msgid ""
|
||
"No need to manually launch the server, the service is running. You should be"
|
||
" able to connect to your Odoo Enterprise instance using your usual mean of "
|
||
"identification. You can then link your database with your Odoo Enterprise "
|
||
"Subscription by entering the code you received by e-mail in the form input"
|
||
msgstr ""
|
||
"无需手动启动服务器,服务正在运行。您应该能够使用通常的识别方式连接到您的Odoo企业版实例。然后,您可以通过在表单输入中输入通过电子邮件收到的代码,将您的数据库与Odoo企业订阅链接"
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:3
|
||
msgid "Connect Gmail to Odoo using Google OAuth"
|
||
msgstr "使用谷歌OAuth连接Gmail到Odoo"
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:5
|
||
msgid ""
|
||
"Odoo is compatible with Google's OAuth for Gmail. In order to send secure "
|
||
"emails from a custom domain, all that is required is to configure a few "
|
||
"settings on Google's *Workspace* platform, as well as on the back end of the"
|
||
" Odoo database. This configuration works by using either a personal email "
|
||
"address or an address created by a custom domain."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:11
|
||
msgid ""
|
||
"For more information, visit `Google's documentation "
|
||
"<https://support.google.com/cloud/answer/6158849>`_ on setting up OAuth."
|
||
msgstr ""
|
||
"有关更多信息,请访问` Google "
|
||
"文档<https://support.google.com/cloud/answer/6158849>`_,了解有关设置 OAuth 的信息。"
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:15
|
||
msgid ":doc:`/applications/general/auth/google`"
|
||
msgstr ":doc:`/applications/general/auth/google`"
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:16
|
||
msgid ":doc:`/applications/productivity/calendar/google`"
|
||
msgstr ":doc:`/applications/productivity/calendar/google`"
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:19
|
||
msgid "Setup in Google"
|
||
msgstr "在Google中设定"
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:22
|
||
msgid "Create a new project"
|
||
msgstr "创建一个新的项目"
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:24
|
||
msgid ""
|
||
"To get started, go to the `Google API Console "
|
||
"<https://console.developers.google.com>`_. Log in with your *Google "
|
||
"Workspace* account if you have one, otherwise log in with your personal "
|
||
"Gmail account (this should match the email address you want to configure in "
|
||
"Odoo)."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:28
|
||
msgid ""
|
||
"After that, click on :guilabel:`Create Project`, located on the far right of"
|
||
" the :guilabel:`OAuth consent screen`. If a project has already been created"
|
||
" in this account, then the :guilabel:`New Project` option will be located on"
|
||
" the top right under the :guilabel:`Select a project` drop-down menu."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:33
|
||
msgid ""
|
||
"On the :menuselection:`New Project` screen, rename the :guilabel:`Project "
|
||
"name` to `Odoo` and browse for the :guilabel:`Location`. Set the "
|
||
":guilabel:`Location` as the *Google Workspace organization*. If you are "
|
||
"using a personal Gmail account, then leave the :guilabel:`Location` as "
|
||
":guilabel:`No Organization`."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst-1
|
||
msgid "Project Name and Location for Google OAuth."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:42
|
||
msgid "Click on :guilabel:`Create` to finish this step."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:45
|
||
msgid "OAuth consent screen"
|
||
msgstr "OAuth 同意屏幕"
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:47
|
||
msgid ""
|
||
"If the page doesn't redirect to the :menuselection:`User Type` options, "
|
||
"click on :guilabel:`OAuth consent screen` in the left menu."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:50
|
||
msgid ""
|
||
"Under :guilabel:`User Type` options, select the appropriate :guilabel:`User "
|
||
"Type`, and then click on :guilabel:`Create` again, which will finally "
|
||
"navigate to the :menuselection:`Edit app registration` page."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:55
|
||
msgid ""
|
||
"*Personal* Gmail Accounts are only allowed to be **External** User Type, "
|
||
"which means Google may require an approval, or for *Scopes* to be added on. "
|
||
"However, using a *Google WorkSpace* account allows for **Internal** User "
|
||
"Type to be used."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:59
|
||
msgid ""
|
||
"Note, as well, that while the API connection is in the *External* testing "
|
||
"mode, then no approval is necessary from Google. User limits in this testing"
|
||
" mode is set to 100 users."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:63
|
||
msgid "Edit app registration"
|
||
msgstr "编辑应用程序注册"
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:65
|
||
msgid "Next we will configure the app registration of the project."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:67
|
||
msgid ""
|
||
"On the :guilabel:`OAuth consent screen` step, under the :guilabel:`App "
|
||
"information` section, enter `Odoo` in the :guilabel:`App name` field. Select"
|
||
" the organization's email address under the :guilabel:`User support` email "
|
||
"field."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:71
|
||
msgid ""
|
||
"Next, under :menuselection:`App Domain --> Authorized domains`, click on "
|
||
":guilabel:`Add Domain` and enter `odoo.com`."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:74
|
||
msgid ""
|
||
"After that, under the :guilabel:`Developer contact information` section, "
|
||
"enter the organization's email address. Google uses this email address to "
|
||
"notify the organization about any changes to your project."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:78
|
||
msgid ""
|
||
"Next, click on the :guilabel:`Save and Continue` button. Then, skip the "
|
||
":menuselection:`Scopes` page by scrolling to the bottom and clicking on "
|
||
":guilabel:`Save and Continue`."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:81
|
||
msgid ""
|
||
"If continuing in testing mode (External), add the email addresses being "
|
||
"configured under the :guilabel:`Test users` step, by clicking on "
|
||
":guilabel:`Add Users`, and then the :guilabel:`Save and Continue` button. A "
|
||
"summary of the app registration appears."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:85
|
||
msgid ""
|
||
"Finally, scroll to the bottom and click on :guilabel:`Back to Dashboard` to "
|
||
"finish setting up the project."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:89
|
||
msgid "Create Credentials"
|
||
msgstr "创建凭证"
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:91
|
||
msgid ""
|
||
"Now that the project is set up, credentials should be created, which "
|
||
"includes the *Client ID* and *Client Secret*. First, click on "
|
||
":guilabel:`Credentials` in the left sidebar menu."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:94
|
||
msgid ""
|
||
"Then, click on :guilabel:`Create Credentials` in the top menu and select "
|
||
":guilabel:`OAuth client ID` from the dropdown menu."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:97
|
||
msgid ""
|
||
"Under :guilabel:`Application Type`, select :guilabel:`Web Application` from "
|
||
"the dropdown menu."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:98
|
||
msgid "In the :guilabel:`Name` field, enter `Odoo`."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:99
|
||
msgid ""
|
||
"Under the :guilabel:`Authorized redirect URIs` label, click the button "
|
||
":guilabel:`ADD URI`, and then input "
|
||
"`https://yourdbname.odoo.com/google_gmail/confirm` in the :guilabel:`URIs 1`"
|
||
" field. Be sure to replace the *yourdbname* part of the URL with the actual "
|
||
"Odoo database name."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:102
|
||
msgid ""
|
||
"Next, click on :guilabel:`Create` to generate an OAuth :guilabel:`Client ID`"
|
||
" and :guilabel:`Client Secret`. Finally, copy each generated value for later"
|
||
" use when configuring in Odoo, and then navigate to the Odoo database."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst-1
|
||
msgid "Client ID and Client Secret for Google OAuth."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:114
|
||
msgid "Enter Google Credentials"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:116
|
||
msgid ""
|
||
"First, open Odoo and navigate to the :guilabel:`Apps` module. Then, remove "
|
||
"the :guilabel:`Apps` filter from the search bar and type in `Google`. "
|
||
"Install the module called :guilabel:`Google Gmail`."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:120
|
||
msgid ""
|
||
"Next, navigate to :menuselection:`Settings --> General Settings`, and under "
|
||
"the :guilabel:`Discuss` section, ensure that the checkbox for "
|
||
":guilabel:`Custom Email Servers` or :guilabel:`External Email Servers` is "
|
||
"checked. This populates a new option for :guilabel:`Gmail Credentials` or "
|
||
":guilabel:`Use a Gmail Sever`. Then, copy and paste the respective values "
|
||
"into the :guilabel:`Client ID` and :guilabel:`Client Secret` fields and "
|
||
":guilabel:`Save` the settings."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:129
|
||
msgid ""
|
||
"To configure the external Gmail account, return to the top of the "
|
||
":guilabel:`Custom Email Servers` setting and then click the "
|
||
":guilabel:`Outgoing Email Servers` link."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst-1
|
||
msgid "Configure Outgoing Email Servers in Odoo."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:136
|
||
msgid ""
|
||
"Then, click on :guilabel:`New` or :guilabel:`Create` to create a new email "
|
||
"server, and fill in the :guilabel:`Name`, :guilabel:`Description`, and the "
|
||
"email :guilabel:`Username` (if required)."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:139
|
||
msgid ""
|
||
"Next, click on :guilabel:`Gmail OAuth Authentication` or :guilabel:`Gmail` "
|
||
"(under the :guilabel:`Authenticate with` or :guilabel:`Connection` section)."
|
||
" Finally, click on :guilabel:`Connect your Gmail Account`."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:143
|
||
msgid ""
|
||
"A new window labeled :guilabel:`Google` opens to complete the authorization "
|
||
"process. Select the appropriate email address that is being configured in "
|
||
"Odoo."
|
||
msgstr "一个标有 :guilabel:`Google` 的新窗口将打开,以完成授权过程。选择正在 Odoo 中配置的相应电子邮件地址。"
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:146
|
||
msgid ""
|
||
"If the email address is a personal account, then an extra step pops up, so "
|
||
"click :guilabel:`Continue` to allow the verification and connect the Gmail "
|
||
"account to Odoo."
|
||
msgstr "如果电子邮件地址是个人账户,则会弹出一个额外步骤,请单击 :guilabel:`继续` 以允许验证并将 Gmail 账户连接到 Odoo。"
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:149
|
||
msgid ""
|
||
"Then, allow Odoo to access the Google account by clicking on "
|
||
":guilabel:`Continue` or :guilabel:`Allow`. After that, the page navigates "
|
||
"back to the newly configured outgoing email server in Odoo. The "
|
||
"configuration automatically loads the token in Odoo, and a tag stating "
|
||
":guilabel:`Gmail Token Valid` appears in green."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:158
|
||
msgid ""
|
||
"Finally, :guilabel:`Test the Connection`. A confirmation message should "
|
||
"appear. The Odoo database can now send safe, secure emails through Google "
|
||
"using OAuth authentication."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:162
|
||
msgid "Google OAuth FAQ"
|
||
msgstr "谷歌OAuth常见问题解答"
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:165
|
||
msgid "Production VS Testing Publishing Status"
|
||
msgstr "生产VS测试发布状态"
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:167
|
||
msgid ""
|
||
"Choosing :guilabel:`Production` as the :guilabel:`Publishing Status` "
|
||
"(instead of :guilabel:`Testing`) will display the following warning message:"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst-1
|
||
msgid "OAuth is Limited to 100 Sensitive Scope Logins."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:174
|
||
msgid ""
|
||
"To correct this warning, navigate to the `Google API Platform "
|
||
"<https://console.cloud.google.com/apis/credentials/consent>`_. If the "
|
||
":guilabel:`Publishing status` is :guilabel:`In Production`, click "
|
||
":guilabel:`Back to Testing` to correct the issue."
|
||
msgstr ""
|
||
"要更正此警告,请导航至 `Google API "
|
||
"平台<https://console.cloud.google.com/apis/credentials/consent>`_。如果 "
|
||
":guilabel:`发布状态` 为 :guilabel:`生产中`,请单击 :guilabel:`返回到测试` 以更正问题。"
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:179
|
||
msgid "No Test Users Added"
|
||
msgstr "无新增测试用户"
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:181
|
||
msgid ""
|
||
"If no test users are added to the OAuth consent screen, then a 403 access "
|
||
"denied error will populate."
|
||
msgstr "如果没有将测试用户添加到OAuth同意屏幕,则会出现403访问拒绝错误。"
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst-1
|
||
msgid "403 Access Denied Error."
|
||
msgstr "403 拒绝访问错误"
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:188
|
||
msgid ""
|
||
"To correct this error, return to the :guilabel:`OAuth consent screen` under "
|
||
":guilabel:`APIs & Services` and add test user(s) to the app. Add the email "
|
||
"that you are configuring in Odoo."
|
||
msgstr ""
|
||
"要纠正此错误,请返回 :guilabel:`APIs & Services` 下的 :guilabel:`OAuth consent screen` "
|
||
"并在应用程序中添加测试用户。添加您在 Odoo 中配置的电子邮件。"
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:192
|
||
msgid "Gmail Module not updated"
|
||
msgstr "Gmail模块未更新"
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:194
|
||
msgid ""
|
||
"If the *Google Gmail* module in Odoo has not been updated to the latest "
|
||
"version, then a :guilabel:`Forbidden` error message populates."
|
||
msgstr "如果 Odoo 中的 *Google Gmail* 模块尚未更新至最新版本,则会弹出 :guilabel:`已禁止` 错误信息。"
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst-1
|
||
msgid ""
|
||
"Forbidden you don't have the permission to access the requested resource."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:201
|
||
msgid ""
|
||
"To correct this error, go to the :menuselection:`Apps` module and clear out "
|
||
"the search terms. Then, search for `Gmail` or `Google` and upgrade the "
|
||
":guilabel:`Google Gmail` module. Finally, click on the three dots on the "
|
||
"upper right of the module and select :guilabel:`Upgrade`."
|
||
msgstr ""
|
||
"要纠正这一错误,请转到 :menuselection:`应用程序` 模块并清除搜索条件。然后,搜索 `Gmail` 或 `Google` 并升级 "
|
||
":guilabel:`Google Gmail` 模块。最后,点击模块右上方的三个点,选择 :guilabel:`升级`。"
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:206
|
||
msgid "Application Type"
|
||
msgstr "应用类型"
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:208
|
||
msgid ""
|
||
"When creating the credentials (OAuth *Client ID* and *Client Secret*), if "
|
||
":guilabel:`Desktop App` is selected for the :guilabel:`Application Type`, an"
|
||
" :guilabel:`Authorization Error` appears."
|
||
msgstr ""
|
||
"创建凭证(OAuth *Client ID* 和 *Client Secret*)时,如果为 :guilabel:`应用程序类型` 选择了 "
|
||
":guilabel:`桌面应用程序`,则会出现 :guilabel:`授权错误`。"
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst-1
|
||
msgid "Error 400 Redirect URI Mismatch."
|
||
msgstr "错误 400 重定向 URI 不匹配。"
|
||
|
||
#: ../../content/administration/maintain/google_oauth.rst:215
|
||
msgid ""
|
||
"To correct this error, delete the credentials already created and create new"
|
||
" credentials, selecting :guilabel:`Web Application` for the "
|
||
":guilabel:`Application Type`. Then, under :guilabel:`Authorized redirect "
|
||
"URIs`, click :guilabel:`ADD URI` and type: "
|
||
"`https://yourdbname.odoo.com/google_gmail/confirm` in the field, being sure "
|
||
"to replace *yourdbname* in the URL with the Odoo database name."
|
||
msgstr ""
|
||
"要纠正此错误,请删除已创建的凭证并创建新凭证,在 :guilabel:`应用类型` 中选择 :guilabel:`网络应用`。然后,在 "
|
||
":guilabel:`授权重定向 URI` 下单击 :guilabel:`添加 URI` 并键入: "
|
||
"https://yourdbname.odoo.com/google_gmail/confirm\",确保将 URL 中的 *yourdbname* "
|
||
"替换为 Odoo 数据库名称。"
|
||
|
||
#: ../../content/administration/maintain/hosting_changes.rst:3
|
||
msgid "Change hosting solution"
|
||
msgstr "更改托管解决方案"
|
||
|
||
#: ../../content/administration/maintain/hosting_changes.rst:5
|
||
msgid ""
|
||
"The instructions to change the hosting type of a database depend on the "
|
||
"current solution used and to which solution the database should be moved."
|
||
msgstr "更改数据库托管类型的说明,取决于当前使用的解决方案以及应将数据库移动到哪个解决方案。"
|
||
|
||
#: ../../content/administration/maintain/hosting_changes.rst:9
|
||
msgid "Transferring an on-premise database"
|
||
msgstr "传输本地数据库"
|
||
|
||
#: ../../content/administration/maintain/hosting_changes.rst:12
|
||
#: ../../content/administration/maintain/hosting_changes.rst:80
|
||
msgid "To Odoo Online"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/hosting_changes.rst:15
|
||
#: ../../content/administration/maintain/hosting_changes.rst:83
|
||
msgid "Odoo Online is *not* compatible with **non-standard apps**."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/hosting_changes.rst:16
|
||
msgid ""
|
||
"The database's current version must be :doc:`supported "
|
||
"<supported_versions>`."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/hosting_changes.rst:18
|
||
msgid "Create a :ref:`duplicate <duplicate_premise>` of the database."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/hosting_changes.rst:19
|
||
msgid "In this duplicate, uninstall all **non-standard apps**."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/hosting_changes.rst:20
|
||
msgid "Use the database manager to grab a *dump with filestore*."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/hosting_changes.rst:21
|
||
msgid ""
|
||
"`Submit a support ticket <https://www.odoo.com/help>`_ including the "
|
||
"following:"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/hosting_changes.rst:23
|
||
#: ../../content/administration/maintain/hosting_changes.rst:88
|
||
msgid "your **subscription number**,"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/hosting_changes.rst:24
|
||
msgid ""
|
||
"the **URL** you want to use for the database (e.g., `company.odoo.com`), and"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/hosting_changes.rst:25
|
||
msgid ""
|
||
"the **dump** as an attachment or as a link to the file (required for 60 MB+ "
|
||
"files)."
|
||
msgstr "将**dump**作为附件或文件链接(60 MB 以上的文件需要)。"
|
||
|
||
#: ../../content/administration/maintain/hosting_changes.rst:27
|
||
#: ../../content/administration/maintain/hosting_changes.rst:95
|
||
msgid ""
|
||
"Odoo then makes sure the database is compatible before putting it online. In"
|
||
" case of technical issues during the process, Odoo might contact you."
|
||
msgstr "然后,Odoo 会确保数据库兼容,然后才将其上线。如果在此过程中出现技术问题,Odoo 可能会与您联系。"
|
||
|
||
#: ../../content/administration/maintain/hosting_changes.rst:31
|
||
#: ../../content/administration/maintain/hosting_changes.rst:99
|
||
msgid ""
|
||
"If you have time constraints, `submit a support ticket "
|
||
"<https://www.odoo.com/help>`_ as soon as possible to schedule the transfer."
|
||
msgstr "如果您有时间限制,请尽快提交支持工单 <https://www.odoo.com/help>`_ 以安排传输。"
|
||
|
||
#: ../../content/administration/maintain/hosting_changes.rst:35
|
||
#: ../../content/administration/maintain/hosting_changes.rst:67
|
||
msgid "To Odoo.sh"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/hosting_changes.rst:37
|
||
#: ../../content/administration/maintain/hosting_changes.rst:73
|
||
msgid ""
|
||
"Follow the instructions found in :ref:`the Import your database section "
|
||
"<odoo_sh_import_your_database>` of the Odoo.sh *Create your project* "
|
||
"documentation."
|
||
msgstr ""
|
||
"请按照 Odoo.sh *创建项目* 文档的 :ref:` 导入数据库部分<odoo_sh_import_your_database>` "
|
||
"中的说明进行操作。"
|
||
|
||
#: ../../content/administration/maintain/hosting_changes.rst:41
|
||
msgid "Transferring an Odoo Online database"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/hosting_changes.rst:44
|
||
msgid ""
|
||
"Odoo Online's :ref:`intermediary versions <supported_versions>` cannot be "
|
||
"hosted on-premise as that type of hosting does not support those versions. "
|
||
"Therefore, if the database to transfer is running an intermediary version, "
|
||
"it must be upgraded first to the next :ref:`major version "
|
||
"<supported_versions>`, waiting for its release if necessary."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/hosting_changes.rst:50
|
||
msgid ""
|
||
"Transferring an online database running on Odoo 16.3 would require first "
|
||
"upgrading it to Odoo 17.0."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/hosting_changes.rst:54
|
||
msgid ""
|
||
"Click the gear icon (:guilabel:`⚙`) next to the database name on the `Odoo "
|
||
"Online database manager <https://www.odoo.com/my/databases/>`_ to display "
|
||
"its version number."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/hosting_changes.rst:58
|
||
#: ../../content/administration/maintain/hosting_changes.rst:108
|
||
msgid "To on-premise"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/hosting_changes.rst:60
|
||
#: ../../content/administration/maintain/hosting_changes.rst:69
|
||
msgid ""
|
||
"Sign in to `the Odoo Online database manager "
|
||
"<https://www.odoo.com/my/databases/>`_ and click the gear icon "
|
||
"(:guilabel:`⚙`) next to the database name to :guilabel:`Download` a backup. "
|
||
"If the download fails due to the file being too large, `contact Odoo support"
|
||
" <https://www.odoo.com/help>`_."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/hosting_changes.rst:64
|
||
#: ../../content/administration/maintain/hosting_changes.rst:111
|
||
msgid ""
|
||
"Restore the database from the database manager on your local server using "
|
||
"the backup."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/hosting_changes.rst:77
|
||
msgid "Transferring an Odoo.sh database"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/hosting_changes.rst:85
|
||
msgid ""
|
||
"Uninstall all **non-standard apps** in a staging build before doing it in "
|
||
"the production build."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/hosting_changes.rst:86
|
||
msgid ""
|
||
"`Create a support ticket <https://www.odoo.com/help>`_ including the "
|
||
"following:"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/hosting_changes.rst:89
|
||
msgid ""
|
||
"the **URL** you want to use for the database (e.g., `company.odoo.com`),"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/hosting_changes.rst:90
|
||
msgid "which **branch** should be migrated,"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/hosting_changes.rst:91
|
||
msgid ""
|
||
"in which **region** you want the database to be hosted (Americas, Europe, or"
|
||
" Asia),"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/hosting_changes.rst:92
|
||
msgid "which user(s) will be the **administrator(s)**, and"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/hosting_changes.rst:93
|
||
msgid ""
|
||
"**when** (and in which timezone) you want the database to be up and running."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/hosting_changes.rst:101
|
||
msgid "Select the **region** closest to most of your users to reduce latency."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/hosting_changes.rst:102
|
||
msgid "Future **administrator(s)** must have an Odoo.com account."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/hosting_changes.rst:103
|
||
msgid ""
|
||
"The **date and time** you want the database to be up and running are helpful"
|
||
" to organize the switch from the Odoo.sh server to the Odoo Online servers."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/hosting_changes.rst:105
|
||
msgid "Databases are **not reachable** during their migration."
|
||
msgstr "数据库在迁移期间**不可访问**。"
|
||
|
||
#: ../../content/administration/maintain/hosting_changes.rst:110
|
||
msgid ""
|
||
"Download a :ref:`backup of your Odoo.sh production database "
|
||
"<odoo_sh_branches_backups>`."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:3
|
||
msgid "Mailjet API"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:5
|
||
msgid ""
|
||
"Odoo is compatible with Mailjet's :abbr:`API (Application Programming "
|
||
"Interface)` for mass mailing. Set up a dedicated mass mailing server through"
|
||
" Mailjet by configuring settings in the Mailjet account and the Odoo "
|
||
"database. In some circumstances, settings need to be configured on the "
|
||
"custom domain's :abbr:`DNS (Domain Name System)` settings as well."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:11
|
||
msgid "Set up in Mailjet"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:14
|
||
msgid "Create API credentials"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:16
|
||
msgid ""
|
||
"To get started, sign in to the `Mailjet Account Information "
|
||
"<https://app.mailjet.com/account>`_ page. Next, navigate to the "
|
||
":guilabel:`Senders & Domains` section and click on :guilabel:`SMTP and SEND "
|
||
"API Settings`."
|
||
msgstr ""
|
||
"要开始操作,请登录 `Mailjet 帐户信息 <https://app.mailjet.com/account>`_页面。然后,导航到 "
|
||
":guilabel:`发件人及域名` 部分,点击 :guilabel:`SMTP 和 SEND API 设置`。"
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst-1
|
||
msgid ""
|
||
"SMTP and Send API Settings link in the Senders & Domains section of Mailjet."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:24
|
||
msgid ""
|
||
"Then, copy the :abbr:`SMTP (Simple Mail Transfer Protocol)` configuration "
|
||
"settings onto a notepad. They can be found under the "
|
||
":guilabel:`Configuration (SMTP only)` section. The :abbr:`SMTP (Simple Mail "
|
||
"Transfer Protocol)` configuration settings include the server address, the "
|
||
"security option needed (Use :abbr:`SSL (Secure Sockets Layer)`/:abbr:`TLS "
|
||
"(Transport Layer Security)`), and the port number. The settings are needed "
|
||
"to configure Mailjet in Odoo, which is covered in the :ref:`last section "
|
||
"<maintain/mailjet-api/odoo-setup>`."
|
||
msgstr ""
|
||
"然后,将 :abbr:`SMTP (简单邮件传输协议)` 配置设置复制到记事本中。这些设置可在 :guilabel:`配置(仅限 SMTP)` "
|
||
"部分找到。:abbr:`SMTP(简单邮件传输协议)` 配置设置包括服务器地址、所需的安全选项(使用 "
|
||
":abbr:`SSL(安全套接字层)`/:abbr:`TLS(传输层安全)`)和端口号。在 Odoo中配置 Mailjet "
|
||
"需要这些设置,在:ref:`最后一节<maintain/mailjet-api/odoo-setup>`中有介绍。"
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:32
|
||
msgid ""
|
||
"`Mailjet: How can I configure my SMTP parameters? "
|
||
"<https://documentation.mailjet.com/hc/articles/360043229473>`_"
|
||
msgstr ""
|
||
"`Mailjet:如何配置 SMTP "
|
||
"参数?<https://documentation.mailjet.com/hc/articles/360043229473>`_"
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:36
|
||
msgid ""
|
||
"Odoo blocks `port 25` on Odoo Online and Odoo.sh databases. :ref:`See "
|
||
"reference here <email_servers/restriction>`."
|
||
msgstr ""
|
||
"Odoo 屏蔽了 Odoo 在线版和 Odoo.sh 数据库上的 `port 25`. :ref:`参见此处的参考资料 "
|
||
"<email_servers/restriction>`。"
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst-1
|
||
msgid "SMTP configuration from Mailjet."
|
||
msgstr "Mailjet 的 SMTP 配置。"
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:43
|
||
msgid ""
|
||
"Next, click on the button labeled :guilabel:`Retrieve your API credentials` "
|
||
"to retrieve the Mailjet API credentials."
|
||
msgstr "接下来,单击标有 :guilabel:`检索您的应用程序接口证书` 的按钮,以检索 Mailjet API 凭据。"
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:46
|
||
msgid ""
|
||
"Then, click on the eye icon to reveal the :guilabel:`API key`. Copy this key"
|
||
" to a notepad, as this serves as the :guilabel:`Username` in the Odoo "
|
||
"configuration. Next, click on the :guilabel:`Generate Secret Key` button to "
|
||
"generate the :guilabel:`Secret Key`. Copy this key to a notepad, as this "
|
||
"serves as the :guilabel:`Password` in the Odoo configuration."
|
||
msgstr ""
|
||
"然后,点击眼睛图标,显示 :guilabel:`API key`。将此密钥复制到记事本中,作为 Odoo 配置中的 "
|
||
":guilabel:`用户名`。接下来,点击 :guilabel:`Generate Secret Key` 按钮生成 :guilabel:`密钥` "
|
||
"。将此密钥复制到记事本中,作为 Odoo 配置中的 :guilabel:`密钥`。"
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:52
|
||
msgid "Add verified sender address(es)"
|
||
msgstr "添加已核实的发件人地址"
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:54
|
||
msgid ""
|
||
"The next step is to add a sender address or a domain to the Mailjet account "
|
||
"settings so that the email address or domain is approved to send emails "
|
||
"using Mailjet's servers. First, navigate to the `Mailjet Account Information"
|
||
" <https://app.mailjet.com/account>`_ page. Next, click on the :guilabel:`Add"
|
||
" a Sender Domain or Address` link under the :guilabel:`Senders & Domains` "
|
||
"section."
|
||
msgstr ""
|
||
"下一步是在 Mailjet 帐户设置中添加发件人地址或域,以便电子邮件地址或域获准使用 Mailjet 服务器发送电子邮件。首先,导航到 "
|
||
"`Mailjet 帐户信息 <https://app.mailjet.com/account>`_页面。然后,单击 :guilabel:`发件人和域名`"
|
||
" 部分下的 :guilabel:`添加发件人域名或地址` 链接。"
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst-1
|
||
msgid "Add a sender domain or address in the Mailjet interface."
|
||
msgstr "在 Mailjet 界面添加发件人域名或地址。"
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:63
|
||
msgid ""
|
||
"Determine if a sender's email address or the entire domain needs to be added"
|
||
" to the Mailjet settings. It may be easier to configure the domain as a "
|
||
"whole if :abbr:`DNS (Domain Name System)` access is available. Jump to the "
|
||
":ref:`Add a domain <maintain/mailjet-api/add-domain>` section for steps on "
|
||
"adding the domain."
|
||
msgstr ""
|
||
"确定是否需要将发件人的电子邮件地址或整个域添加到 Mailjet 设置中。如果 :abbr:`DNS (Domain Name System)` "
|
||
"访问权限可用,则配置整个域可能更容易。跳转到 :ref:`Add a domain <maintain/mailjet-api/add-domain>`"
|
||
" 部分了解添加域的步骤。"
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:69
|
||
msgid ""
|
||
"Either all email addresses of the Odoo database users who are sending emails"
|
||
" using Mailjet's servers need to be configured or the domain(s) of the "
|
||
"users' email addresses can be configured."
|
||
msgstr "要么配置使用 Mailjet 服务器发送电子邮件的所有 Odoo 数据库用户的电子邮件地址,要么可以配置用户电子邮件地址的域名。"
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:72
|
||
msgid ""
|
||
"By default, the email address originally set up in the Mailjet account is "
|
||
"added as a trusted sender. To add another email address, click on the button"
|
||
" labeled :guilabel:`Add a sender address`. Then, add the email address that "
|
||
"is configured to send from the custom domain."
|
||
msgstr ""
|
||
"默认情况下,最初在 Mailjet 账户中设置的电子邮件地址会被添加为受信任发件人。要添加另一个电子邮件地址,请单击标有 "
|
||
":guilabel:`添加发件人地址` 的按钮。然后,添加配置为从自定义域发送的电子邮件地址。"
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:76
|
||
msgid ""
|
||
"At minimum the following email addresses should be set up in the provider "
|
||
"and verified in Mailjet:"
|
||
msgstr "至少应在提供商中设置以下电子邮件地址,并在 Mailjet 中进行验证:"
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:78
|
||
msgid "notifications\\@yourdomain.com"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:79
|
||
msgid "bounce\\@yourdomain.com"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:80
|
||
msgid "catchall\\@yourdomain.com"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:83
|
||
msgid ""
|
||
"Replace `yourdomain` with the custom domain for the Odoo database. If there "
|
||
"isn't one, then use the :guilabel:`mail.catchall.domain` system parameter."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:86
|
||
msgid ""
|
||
"After that, fill out the :guilabel:`Email Information` form, making sure to "
|
||
"select the appropriate email type: transactional email or mass emails. After"
|
||
" completing the form, an activation email is sent to the email address and "
|
||
"the trusted sender can be activated."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:90
|
||
msgid ""
|
||
"It is recommended to set up the :abbr:`SPF (Sender Policy "
|
||
"Framework)`/:abbr:`DKIM (DomainKeys Identified Mail)`/:abbr:`DMARC (Domain-"
|
||
"based Message Authentication, Reporting, and Conformance)` settings on the "
|
||
"domain of the sender."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:95
|
||
#: ../../content/administration/maintain/mailjet_api.rst:162
|
||
msgid ""
|
||
"`Mailjet's SPF/DKIM/DMARC documentation "
|
||
"<https://documentation.mailjet.com/hc/articles/ 360042412734-Authenticating-"
|
||
"Domains-with-SPF-DKIM>`_"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:99
|
||
msgid ""
|
||
"If the database is not using a custom domain, then in order to verify the "
|
||
"sender's address, a temporary alias (of the three email addresses mentioned "
|
||
"above) should be set up in Odoo CRM to create a lead. Then, the database is "
|
||
"able to receive the verification email and verify the accounts."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:107
|
||
msgid "Add a domain"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:109
|
||
msgid ""
|
||
"By adding an entire domain to the Mailjet account, all the sender addresses "
|
||
"related to that domain are automatically validated for sending emails using "
|
||
"Mailjet servers. First, navigate to the `Mailjet Account Information "
|
||
"<https://app.mailjet.com/account>`_ page. Next, click on :guilabel:`Add a "
|
||
"Sender Domain or Address` link under the :guilabel:`Senders & Domains` "
|
||
"section. Then, click on :guilabel:`Add domain` to add the custom domain."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:116
|
||
msgid ""
|
||
"The domain needs to be added to the Mailjet account and then validated "
|
||
"through the :abbr:`DNS (Domain Name System)`."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:119
|
||
msgid ""
|
||
"After that, fill out the :guilabel:`Add a new Domain` page on Mailjet and "
|
||
"click :guilabel:`Continue`."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:122
|
||
msgid ""
|
||
"After adding the domain, a validation page will populate. Unless the Odoo "
|
||
"database is on-premise (in which case, choose :guilabel:`Option 1`), choose "
|
||
":guilabel:`Option 2: Create a DNS Record`. Copy the TXT record information "
|
||
"to a notepad and then navigate to the domain's :abbr:`DNS (Domain Name "
|
||
"System)` provider to complete validation."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst-1
|
||
msgid "The TXT record information to input on the domain's DNS."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:132
|
||
msgid "Setup in the domain's DNS"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:134
|
||
msgid ""
|
||
"After getting the TXT record information from the Mailjet account, add a TXT"
|
||
" record to the domain's :abbr:`DNS (Domain Name System)`. This process "
|
||
"varies depending on the :abbr:`DNS (Domain Name System)` provider. Consult "
|
||
"the provider for specific configuration processes. The TXT record "
|
||
"information consists of the :guilabel:`Host` and :guilabel:`Value`. Paste "
|
||
"these into the corresponding fields in the TXT record."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:141
|
||
msgid "Return to Mailjet account information"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:143
|
||
msgid ""
|
||
"After adding the TXT record to the domain's :abbr:`DNS (Domain Name "
|
||
"System)`, navigate back to the Mailjet account. Then, navigate to "
|
||
":menuselection:`Account Information --> Add a Sender Domain or Address`, "
|
||
"click the gear icon next to :guilabel:`Domain`, and select "
|
||
":guilabel:`Validate`."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:147
|
||
msgid ""
|
||
"This action can also be done by going to the `Sender domains & addresses "
|
||
"<https://app.mailjet.com/ account/sender>`_ page on the Mailjet account "
|
||
"information and clicking on :guilabel:`Manage`."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:150
|
||
msgid ""
|
||
"Next, click :guilabel:`Check Now` to validate the TXT record that was added "
|
||
"on the domain. A success screen will appear if the domain is configured "
|
||
"correctly."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst-1
|
||
msgid "Check DNS record in Mailjet."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:157
|
||
msgid ""
|
||
"After successfully setting up the domain, there is an option to "
|
||
":guilabel:`Authenticate this domain (SPF/DKIM)`. This button populates "
|
||
":abbr:`SPF (Sender Policy Framework)` & :abbr:`DKIM (DomainKeys Identified "
|
||
"Mail) records to input into the :abbr:`DNS (Domain Name System)` provider."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst-1
|
||
msgid "Authenticate the domain with SPF/DKIM records in Mailjet."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:172
|
||
msgid "Set up in Odoo"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:174
|
||
msgid ""
|
||
"To complete the setup, navigate to the Odoo database and go to the "
|
||
":guilabel:`Settings`. With :ref:`developer-mode` turned on, go to the "
|
||
":menuselection:`Technical Menu --> Email --> Outgoing Mail Servers`. Then, "
|
||
"create a new outgoing server configuration by clicking on the "
|
||
":guilabel:`Create` button."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:179
|
||
msgid ""
|
||
"Next, input the `SMTP server` (in-v3.mailjet.com), `port number` (587 or "
|
||
"465), and `Security (SSL/TLS)` that was copied earlier from the Mailjet "
|
||
"account. They can also be found `here "
|
||
"<https://app.mailjet.com/account/setup>`_. It is recommended to use "
|
||
":abbr:`SSL (Secure Sockets Layer)`/:abbr:`TLS (Transport Layer Security)` "
|
||
"even though Mailjet may not require it."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:184
|
||
msgid ""
|
||
"For the :guilabel:`Username`, input the :guilabel:`API KEY`. For the "
|
||
":guilabel:`Password`, input the :guilabel:`SECRET KEY` that was copied from "
|
||
"the Mailjet account to the notepad earlier. These settings can be found on "
|
||
":menuselection:`Mailjet --> Account Settings --> SMTP and SEND API "
|
||
"Settings`."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:189
|
||
msgid ""
|
||
"Then, if the Mailjet server is used for mass emailing, set the "
|
||
":guilabel:`Priority` value higher than that of any transactional email "
|
||
"server(s). Finally, save the settings and :guilabel:`Test the Connection`."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst-1
|
||
msgid "Odoo outgoing email server settings."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:198
|
||
msgid ""
|
||
"In order for the notifications feature to work using Mailjet, there are "
|
||
"three settings that need to be set in Odoo."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:201
|
||
msgid ""
|
||
"The :guilabel:`From Filter` needs to be set on the server configuration. It "
|
||
"is recommended to set it as a domain and not a full email address. It should"
|
||
" match the domain in the two proceeding steps. More information can be "
|
||
"referenced :ref:`here <email_communication/from_filter>`."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:205
|
||
msgid ""
|
||
"The :guilabel:`mail.default.from` system parameter must have the value "
|
||
"`notifications\\@yourdomain.com`."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:207
|
||
msgid ""
|
||
"The :guilabel:`mail.default.from_filter` system parameter must have the "
|
||
"value `yourdomain.com`. Replace `yourdomain` with the custom domain for the "
|
||
"Odoo database. If there isn't one, then use the "
|
||
":guilabel:`mail.catchall.domain` system parameter."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:211
|
||
msgid ""
|
||
"For more information see :ref:`Using a default email address "
|
||
"<email_communication/default>`."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:213
|
||
msgid ""
|
||
"The :guilabel:`System Parameters` can be accessed by activating "
|
||
":doc:`../../applications/general/developer_mode` in the "
|
||
":menuselection:`Settings --> Technical --> Parameters --> System Parameters`"
|
||
" menu."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/mailjet_api.rst:217
|
||
msgid ""
|
||
"Once the setup is complete, the Odoo database is ready to use the Mailjet "
|
||
"email server for mass mailing or transactional emails!"
|
||
msgstr "设置完成后,Odoo 数据库就可以使用 Mailjet 电子邮件服务器发送群发邮件或事务性电子邮件了!"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:3
|
||
msgid "Odoo Online database management"
|
||
msgstr "Odoo 在线数据库管理"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:5
|
||
msgid ""
|
||
"To manage a database, go to the `database manager "
|
||
"<https://www.odoo.com/my/databases>`_ and sign in as the database "
|
||
"administrator."
|
||
msgstr ""
|
||
"要管理数据库,请访问 `数据库管理员 <https://www.odoo.com/my/databases>`_,并以数据库管理员身份登录。"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:8
|
||
msgid ""
|
||
"All the main database management options are available by clicking the "
|
||
"database name, except the upgrade option, which can be accessed by clicking "
|
||
"the **arrow in a circle** icon next to the database name. It is only "
|
||
"displayed if an upgrade is available."
|
||
msgstr ""
|
||
"除升级选项外,所有主要的数据库管理选项都可通过点击数据库名称获得,而升级选项则可通过点击数据库名称旁边的**圆圈中的箭头**图标获得。只有在升级可用时才会显示。"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst-1
|
||
msgid "Accessing the database management options"
|
||
msgstr "访问数据库管理选项"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:15
|
||
msgid ":ref:`odoo_online/upgrade`"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:16
|
||
msgid ":ref:`odoo_online/duplicate`"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:17
|
||
msgid ":ref:`odoo_online/rename`"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:18
|
||
msgid ":ref:`odoo_online/download`"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:19
|
||
msgid ":ref:`odoo_online/domains`"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:20
|
||
msgid ":ref:`odoo_online/tags`"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:21
|
||
msgid ":ref:`odoo_online/delete`"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:22
|
||
msgid ":ref:`odoo_online/contact-support`"
|
||
msgstr ":ref:`odoo_online/contact-support`"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:23
|
||
msgid ":ref:`odoo_online/users`"
|
||
msgstr ":ref:`odoo_online/users`"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:28
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:293
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:77
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:113
|
||
#: ../../content/administration/upgrade.rst:3
|
||
msgid "Upgrade"
|
||
msgstr "升级"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:30
|
||
msgid "Trigger a database upgrade."
|
||
msgstr "触发数据库升级。"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:33
|
||
msgid ""
|
||
"For more information about the upgrade process, check out the :ref:`Odoo "
|
||
"Online upgrade documentation <upgrade/request-test-database>`."
|
||
msgstr "有关升级过程的更多信息,请查看 :ref:`Odoo 在线升级文档 <upgrade/request-test-database>`。"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:39
|
||
msgid "Duplicate"
|
||
msgstr "复制"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:41
|
||
msgid ""
|
||
"Create an exact copy of the database, which can be used to perform testing "
|
||
"without compromising daily operations."
|
||
msgstr "创建数据库的精确副本,用于执行测试而不影响日常操作。"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:45
|
||
msgid ""
|
||
"By checking :guilabel:`For testing purposes`, all external actions (emails, "
|
||
"payments, delivery orders, etc.) are disabled by default on the duplicated "
|
||
"database."
|
||
msgstr "选中 :guilabel:`用于测试`后,复制数据库中的所有外部操作(电子邮件、付款、配送订单等)默认为禁用。"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:47
|
||
msgid "Duplicated databases expire automatically after 15 days."
|
||
msgstr "数据库副本会在 15 天后自动过期。"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:52
|
||
msgid "Rename"
|
||
msgstr "重命名"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:54
|
||
msgid "Rename the database and its URL."
|
||
msgstr "重命名数据库及其 URL。"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:59
|
||
msgid "Download"
|
||
msgstr "下载"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:61
|
||
msgid "Download a ZIP file containing a backup of the database."
|
||
msgstr "下载包含数据库备份的 ZIP 文件。"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:64
|
||
msgid ""
|
||
"Databases are backed up daily as per the `Odoo Cloud Hosting SLA "
|
||
"<https://www.odoo.com/cloud-sla>`_."
|
||
msgstr "根据`Odoo 云主机服务水平协议 <https://www.odoo.com/cloud-sla>`_,每天对数据库进行备份。"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:72
|
||
msgid ""
|
||
"Use a custom :doc:`domain name <domain_names>` to access the database via "
|
||
"another URL."
|
||
msgstr "使用自定义 :doc:` 域名<domain_names>` 通过另一个 URL 访问数据库。"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:75
|
||
msgid ""
|
||
"You can :ref:`register a domain name for free <domain-name/odoo-register>`."
|
||
msgstr "您可以 :ref:` 免费注册域名 <domain-name/odoo-register>`。"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:80
|
||
msgid "Tags"
|
||
msgstr "标签"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:82
|
||
msgid "Add tags to easily identify and sort your databases."
|
||
msgstr "添加标签,轻松识别和分类数据库。"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:85
|
||
msgid "You can search for tags in the search bar."
|
||
msgstr "您可以在搜索栏中搜索标签。"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:90
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:550
|
||
msgid "Delete"
|
||
msgstr "删除"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:92
|
||
msgid "Delete a database instantly."
|
||
msgstr "立即删除数据库。"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:95
|
||
msgid ""
|
||
"Deleting a database means that all data is permanently lost. The deletion is"
|
||
" instant and applies to all users. It is recommended to create a backup of "
|
||
"the database before deleting it."
|
||
msgstr "删除数据库意味着永久丢失所有数据。删除立即生效,适用于所有用户。建议在删除前创建数据库备份。"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:98
|
||
msgid ""
|
||
"Carefully read the warning message and only proceed if the implications of "
|
||
"deleting a database are fully understood."
|
||
msgstr "请仔细阅读提醒信息,完全明白删除数据库的影响后,才可继续。"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst-1
|
||
msgid "The warning message displayed before deleting a database"
|
||
msgstr "删除数据库前显示的警告信息"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:105
|
||
msgid "Only an administrator can delete a database."
|
||
msgstr "只有管理员才能删除数据库。"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:106
|
||
msgid "The database name is immediately made available to anyone."
|
||
msgstr "数据库名称立即可供任何人使用。"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:107
|
||
msgid ""
|
||
"Deleting a database if it has expired or is linked to a subscription is "
|
||
"impossible. In that case, contact `Odoo Support "
|
||
"<https://www.odoo.com/help>`_."
|
||
msgstr ""
|
||
"如果数据库已过期或与订阅关联,则无法删除该数据库。在这种情况下,请联系 `Odoo 支持 <https://www.odoo.com/help>`_。"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:113
|
||
msgid "Contact us"
|
||
msgstr "联系我们"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:115
|
||
msgid ""
|
||
"Access the `Odoo.com support page <https://www.odoo.com/help>`_ with the "
|
||
"database's details already pre-filled."
|
||
msgstr "访问`Odoo.com 支持`页面 <https://www.odoo.com/help>`_,其中已预先填写了数据库的详细信息。"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:121
|
||
msgid "Invite / remove users"
|
||
msgstr "邀请/移除用户"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:123
|
||
msgid ""
|
||
"To invite users, fill out the new user's email address and click "
|
||
":guilabel:`Invite`. To add multiple users, click :guilabel:`Add more users`."
|
||
msgstr ""
|
||
"要邀请用户,请填写新用户的电子邮件地址,然后单击 :guilabel:`邀请`。要添加多个用户,请单击 :guilabel:`添加更多用户`。"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst-1
|
||
msgid "Inviting a user on a database"
|
||
msgstr "在数据库中邀请用户"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:129
|
||
msgid "To remove users, select them and click :guilabel:`Remove`."
|
||
msgstr "要删除用户,请选择他们并单击 :guilabel:`删除`。"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:132
|
||
msgid ":doc:`/applications/general/users/manage_users`"
|
||
msgstr ":doc:`/applications/general/users/manage_users`"
|
||
|
||
#: ../../content/administration/maintain/odoo_online.rst:133
|
||
msgid ":doc:`/applications/general/users/odoo_account`"
|
||
msgstr ":doc:`/applications/general/users/odoo_account`"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:3
|
||
msgid "On-premise database management"
|
||
msgstr "本地数据库管理"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:6
|
||
msgid "Register a database"
|
||
msgstr "注册一个数据库"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:8
|
||
msgid ""
|
||
"To register your database, you just need to enter your Subscription Code in "
|
||
"the banner in the App Switcher. Make sure you do not add extra spaces before"
|
||
" or after your subscription code. If the registration is successful, it will"
|
||
" turn green and will provide you with the Expiration Date of your freshly-"
|
||
"registered database. You can check this Expiration Date in the About menu "
|
||
"(Odoo 9) or in the Settings Dashboard (Odoo 10)."
|
||
msgstr ""
|
||
"要注册数据库,您只需在应用程序切换器的横幅中输入订阅代码即可。请确保不要在订阅代码之前或之后添加额外的空格。如果注册成功,它将变为绿色,并为您提供新注册数据库的到期日期。您可以在“关于”菜单(Odoo"
|
||
" 9)或“设置仪表板”(Odoo 10)中检查此到期日期。"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:16
|
||
msgid "Registration Error Message"
|
||
msgstr "注册错误消息"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:18
|
||
msgid ""
|
||
"If you are unable to register your database, you will likely encounter this "
|
||
"message:"
|
||
msgstr "如你无法注册数据库,可能会遇到以下信息:"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst-1
|
||
msgid ""
|
||
"Something went wrong while registering your database, you can try again or contact Odoo\n"
|
||
"Help"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:27
|
||
#: ../../content/administration/maintain/on_premise.rst:100
|
||
#: ../../content/administration/maintain/on_premise.rst:127
|
||
msgid "Solutions"
|
||
msgstr "解决方案"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:29
|
||
msgid "Do you have a valid Enterprise subscription?"
|
||
msgstr "你的企业订阅号码是有效的吗?"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:31
|
||
msgid ""
|
||
"Check if your subscription details get the tag \"In Progress\" on your `Odoo"
|
||
" Account <https://accounts.odoo.com/my/subscription>`__ or with your Account"
|
||
" Manager"
|
||
msgstr ""
|
||
"请检查你的`Odoo账户 <https://accounts.odoo.com/my/subscription>`__ "
|
||
"或者通过你的客户经理检查订阅信息是否有“进行中”的标签"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:35
|
||
msgid "Have you already linked a database with your subscription reference?"
|
||
msgstr "你是否已经将数据库绑定到你的订阅号码?"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:37
|
||
msgid ""
|
||
"You can link only one database per subscription. (Need a test or a "
|
||
"development database? `Find a partner <https://www.odoo.com/partners>`__)"
|
||
msgstr ""
|
||
"你只可以绑定一个数据库到你的订阅号码。(需要测试或开发数据库吗?请到以下地址寻找合作伙伴:<https://www.odoo.com/partners>`__)"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:41
|
||
msgid ""
|
||
"You can unlink the old database yourself on your `Odoo Contract "
|
||
"<https://accounts.odoo.com/my/subscription>`__ with the button \"Unlink "
|
||
"database\""
|
||
msgstr ""
|
||
"你可通过`Odoo合同 "
|
||
"<https://accounts.odoo.com/my/subscription>`__的“取消关联数据库”按钮,自行取消关联旧数据库。"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:47
|
||
msgid ""
|
||
"A confirmation message will appear; make sure this is the correct database "
|
||
"as it will be deactivated shortly:"
|
||
msgstr "出现确认消息时,请确保这是正确的数据库,该数据库会冻结。"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:53
|
||
msgid "Do you have the updated version of Odoo 9?"
|
||
msgstr "你有Odoo9的升级版吗?"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:55
|
||
#: ../../content/administration/maintain/on_premise.rst:159
|
||
msgid ""
|
||
"From July 2016 onward, Odoo 9 now automatically change the uuid of a "
|
||
"duplicated database; a manual operation is no longer required."
|
||
msgstr "自2016年7月以后,Odoo9会自动修改数据库副本的UUID;手工变更的操作就不再需要了。"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:58
|
||
msgid ""
|
||
"If it's not the case, you may have multiple databases sharing the same UUID."
|
||
" Please check on your `Odoo Contract "
|
||
"<https://accounts.odoo.com/my/subscription>`__, a short message will appear "
|
||
"specifying which database is problematic:"
|
||
msgstr ""
|
||
"如果不属于上述情形,可以用多个数据库共享同一个UUID。请在`Odoo合同 "
|
||
"<https://accounts.odoo.com/my/subscription>`__中勾选,然后会出现提示,指出有问题的数据库:"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:66
|
||
msgid ""
|
||
"In this case, you need to change the UUID on your test databases to solve "
|
||
"this issue. You will find more information about this in :ref:`this section "
|
||
"<duplicate_premise>`."
|
||
msgstr "这种情况你需要更改测试用数据库的UUID。可在以下位置查找详细信息: :ref:`本节 <duplicate_premise>`。"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:69
|
||
msgid ""
|
||
"For your information, we identify database with UUID. Therefore, each "
|
||
"database should have a distinct UUID to ensure that registration and "
|
||
"invoicing proceed effortlessly for your and for us."
|
||
msgstr "为便于查找,我们用UUID辨别数据库,因此每个数据库都有自己独一的UUID,确保大家能轻松处理注册信息和小票。"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:73
|
||
msgid "Check your network and firewall settings"
|
||
msgstr "检查网络和防火墙设置"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:75
|
||
msgid ""
|
||
"The Update notification must be able to reach Odoo's subscription validation"
|
||
" servers. In other words, make sure that the Odoo server is able to open "
|
||
"outgoing connections towards:"
|
||
msgstr "升级通知必须能够到达Odoo订阅验证服务器。换句话说,确保Odoo服务器能够打开指向以下各项的传出连接:"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:79
|
||
msgid "services.odoo.com on port 443 (or 80)"
|
||
msgstr "services.odoo.com在端口443(或80)"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:80
|
||
msgid "services.openerp.com on port 443 (or 80) for older deployments"
|
||
msgstr "旧部署的services.openerp.com在端口443(或80)"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:82
|
||
msgid ""
|
||
"Once you activated your database, you must keep these ports open, as the "
|
||
"Update notification runs once a week."
|
||
msgstr "你在启用数据库后,必须确保这些端口打开,因为升级通知每周运行一次。"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:86
|
||
msgid "Error message due to too many users"
|
||
msgstr "因用户过多而引发的错误信息"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:88
|
||
msgid ""
|
||
"If you have more users in your local database than provisionned in your Odoo"
|
||
" Enterprise subscription, you may encounter this message:"
|
||
msgstr "如你本地数据库的用户数高于Odoo企业订阅的购买量,可能会收到以下提示:"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst-1
|
||
msgid ""
|
||
"This database will expire in X days, you have more users than your "
|
||
"subscription allows"
|
||
msgstr "该数据库将在 X 天后过期,您的用户数量超过了订购允许的数量"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:96
|
||
msgid ""
|
||
"When the message appears you have 30 days before the expiration. The "
|
||
"countdown is updated everyday."
|
||
msgstr "当消息出现时,你的数据库还有30天就到期了。倒计时将每天更新。"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:102
|
||
msgid ""
|
||
"**Add more users** on your subscription: follow the link and Validate the "
|
||
"upsell quotation and pay for the extra users."
|
||
msgstr "在你的订阅中 **加用** :按照以下链接验证追加的报价,并为额外的用户付款。"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:104
|
||
msgid ""
|
||
"**Deactivate users** as explained in this `documentation "
|
||
"<documentation.html#deactivating-users>`_ and **Reject** the upsell "
|
||
"quotation."
|
||
msgstr ""
|
||
"按照本`文档 <documentation.html#deactivating-users>`_ "
|
||
"中的说明,**停用用户**,并**拒绝**追加销售报价。"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:107
|
||
msgid ""
|
||
"Once your database has the correct number of users, the expiration message "
|
||
"will disappear automatically after a few days, when the next verification "
|
||
"occurs. We understand that it can be a bit frightening to see the countdown,"
|
||
" so you can :ref:`force an Update Notification <force_ping>` to make the "
|
||
"message disappear right away."
|
||
msgstr ""
|
||
"数据库得到准确的用户数量后,过期消息将在几天后(下次进行验证时)自动消失。我们理解看到倒计时界面会有点吓人,所以可:ref:`强制更新通知<force_ping>`"
|
||
" 以立即移除倒计时。"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:114
|
||
msgid "Database expired error message"
|
||
msgstr "数据库已过期错误消息"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:116
|
||
msgid ""
|
||
"If your database reaches its expiration date before your renew your "
|
||
"subscription, you will encounter this message:"
|
||
msgstr "如果在更新订阅之前数据库临近过期日期,你会收到以下消息提示:"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst-1
|
||
msgid "This database has expired."
|
||
msgstr "此数据库已过期."
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:123
|
||
msgid ""
|
||
"This **blocking** message appears after a non-blocking message that lasts 30"
|
||
" days. If you fail to take action before the end of the countdown, the "
|
||
"database is expired."
|
||
msgstr "此 **** 消息出现在持续30天的非限制消息之后。如果您未能在倒计结束前采取行动,数据库将会过期。"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:131
|
||
msgid ""
|
||
"Renew your subscription: follow the link and renew your subscription - note "
|
||
"that"
|
||
msgstr "更新你的订阅:按照以下链接更新你的订阅 - 注意"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:130
|
||
msgid ""
|
||
"if you wish to pay by Wire Transfer, your subscription will effectively be "
|
||
"renewed only when the payment arrives, which can take a few days. Credit "
|
||
"card payments are processed immediately."
|
||
msgstr "如通过电汇付款,只有当汇款到账后订阅方才生效,可能会耽误几天时间。信用卡付款可以立即处理。"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:133
|
||
msgid "Contact our `Support <https://www.odoo.com/help>`__"
|
||
msgstr "联系我们的支持团队:<https://www.odoo.com/help>"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:135
|
||
msgid ""
|
||
"None of those solutions worked for you? Please contact our `Support "
|
||
"<https://www.odoo.com/help>`__"
|
||
msgstr "以上订阅均不适用?请联系我们的 `支持部门<https://www.odoo.com/help>`__"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:143
|
||
msgid "Duplicate a database"
|
||
msgstr "复制数据库"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:145
|
||
msgid ""
|
||
"You can duplicate your database by accessing the database manager on your "
|
||
"server (<odoo-server>/web/database/manager). In this page, you can easily "
|
||
"duplicate your database (among other things)."
|
||
msgstr ""
|
||
"你可以在你的服务器链接(<odoo-server>/web/database/manager)上访问数据库管理页面 "
|
||
"。在这个页面里,可以容易的创建数据库副本(以及其他的数据库操作)。"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:152
|
||
msgid ""
|
||
"When you duplicate a local database, it is **strongly** advised to change "
|
||
"the duplicated database's uuid (Unniversally Unique Identifier), since this "
|
||
"uuid is how your database identifies itself with our servers. Having two "
|
||
"databases with the same uuid could result in invoicing problems or "
|
||
"registration problems down the line."
|
||
msgstr ""
|
||
"在你创建了一个本地数据库的副本之后, **强烈建议** 你修改这个数据库副本的UUID "
|
||
"(通用唯一识别码),因为数据库的UUID是在我们服务器上对于你的数据库的标识。如果有2个一样是数据库使用同样的UUID会导致后续的注册以及开票问题。"
|
||
|
||
#: ../../content/administration/maintain/on_premise.rst:162
|
||
msgid ""
|
||
"The database uuid is currently accessible from the menu "
|
||
":menuselection:`Settings --> Technical --> System Parameters`, we advise you"
|
||
" to use a `uuid generator <https://www.uuidtools.com>`_ or to use the unix "
|
||
"command ``uuidgen`` to generate a new uuid. You can then simply replace it "
|
||
"like any other record by clicking on it and using the edit button."
|
||
msgstr ""
|
||
"可以通过 :menuselection:`设置 --> 技术 --> 系统参数`访问数据库的UUID,我们建议使用 `uuid生成器 "
|
||
"<https://www.uuidtools.com>`__ "
|
||
"或Unix命令``uuidgen``来生成一个新的UUID。你就可以点击该UUID并使用编辑按钮来替换原先的记录。"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:7
|
||
msgid "Supported versions"
|
||
msgstr "支持的版本"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:9
|
||
msgid ""
|
||
"Odoo provides support and bug fixing **for the 3 last major versions** of "
|
||
"Odoo."
|
||
msgstr "Odoo 对 **最近 3 个主要版本** 提供支持和错误修复。"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:12
|
||
msgid ""
|
||
"Odoo releases intermediary versions called **Online versions** on the "
|
||
":doc:`Odoo Online <odoo_online>` hosting every two months. Odoo Online users"
|
||
" can then benefit from the latest features of Odoo."
|
||
msgstr ""
|
||
"Odoo 每两个月在:doc:`Odoo 在线版<odoo_online>`主机上发布称为**在线版本**的中间版本。这样,Odoo "
|
||
"在线版用户就可以享受 Odoo 的最新功能。"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:16
|
||
msgid ""
|
||
"Admins of Odoo Online databases are invited to :doc:`upgrade <../upgrade>` "
|
||
"them regularly."
|
||
msgstr "请 Odoo 在线数据库的管理员 :doc:`upgrade <.../upgrade>` 定期升级数据库。"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:17
|
||
msgid ""
|
||
"Online versions are *not* released for Odoo.sh and On-Premise installations."
|
||
msgstr "在线版本*不*为 Odoo.sh 和本地安装发布。"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:18
|
||
msgid "Online versions are listed below as *SaaS*."
|
||
msgstr "在线版本在下面列为*SaaS*。"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:20
|
||
msgid "This matrix shows the support status of every version."
|
||
msgstr "下表是每个版本的支持状态。"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:22
|
||
msgid "**Major releases are in bold type.**"
|
||
msgstr " **要版本以粗体显示。**"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:31
|
||
msgid "On-Premise"
|
||
msgstr "本地部署"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:32
|
||
msgid "Release date"
|
||
msgstr "发布日期"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:33
|
||
msgid "End of support"
|
||
msgstr "终止支持"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:34
|
||
msgid "**Odoo 17.0**"
|
||
msgstr "**Odoo 17.0**"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:35
|
||
#: ../../content/administration/maintain/supported_versions.rst:36
|
||
#: ../../content/administration/maintain/supported_versions.rst:37
|
||
#: ../../content/administration/maintain/supported_versions.rst:41
|
||
#: ../../content/administration/maintain/supported_versions.rst:65
|
||
#: ../../content/administration/maintain/supported_versions.rst:66
|
||
#: ../../content/administration/maintain/supported_versions.rst:67
|
||
#: ../../content/administration/maintain/supported_versions.rst:83
|
||
#: ../../content/administration/maintain/supported_versions.rst:84
|
||
#: ../../content/administration/maintain/supported_versions.rst:85
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:58
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:59
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:62
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:63
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:66
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:67
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:70
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:71
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:74
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:75
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:78
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:79
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:82
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:83
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:86
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:87
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:91
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:95
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:99
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:103
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:107
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:111
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:115
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:119
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:122
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:123
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:127
|
||
msgid "|green|"
|
||
msgstr "|green|"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:38
|
||
#: ../../content/administration/maintain/supported_versions.rst:93
|
||
msgid "November 2023"
|
||
msgstr "2023 年 11 月"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:39
|
||
msgid "November 2026 (planned)"
|
||
msgstr "2026 年 11 月(计划)"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:40
|
||
msgid "Odoo saas~16.4"
|
||
msgstr "Odoo saas~16.4"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:42
|
||
#: ../../content/administration/maintain/supported_versions.rst:43
|
||
#: ../../content/administration/maintain/supported_versions.rst:48
|
||
#: ../../content/administration/maintain/supported_versions.rst:49
|
||
#: ../../content/administration/maintain/supported_versions.rst:54
|
||
#: ../../content/administration/maintain/supported_versions.rst:55
|
||
#: ../../content/administration/maintain/supported_versions.rst:60
|
||
#: ../../content/administration/maintain/supported_versions.rst:61
|
||
#: ../../content/administration/maintain/supported_versions.rst:72
|
||
#: ../../content/administration/maintain/supported_versions.rst:73
|
||
#: ../../content/administration/maintain/supported_versions.rst:78
|
||
#: ../../content/administration/maintain/supported_versions.rst:79
|
||
msgid "N/A"
|
||
msgstr "无"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:44
|
||
msgid "August 2023"
|
||
msgstr "2023 年 8 月"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:46
|
||
msgid "Odoo saas~16.3"
|
||
msgstr "Odoo saas~16.3"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:47
|
||
#: ../../content/administration/maintain/supported_versions.rst:53
|
||
#: ../../content/administration/maintain/supported_versions.rst:59
|
||
#: ../../content/administration/maintain/supported_versions.rst:71
|
||
#: ../../content/administration/maintain/supported_versions.rst:77
|
||
#: ../../content/administration/maintain/supported_versions.rst:89
|
||
#: ../../content/administration/maintain/supported_versions.rst:90
|
||
#: ../../content/administration/maintain/supported_versions.rst:91
|
||
#: ../../content/administration/maintain/supported_versions.rst:95
|
||
#: ../../content/administration/maintain/supported_versions.rst:96
|
||
#: ../../content/administration/maintain/supported_versions.rst:97
|
||
#: ../../content/administration/maintain/supported_versions.rst:101
|
||
#: ../../content/administration/maintain/supported_versions.rst:102
|
||
#: ../../content/administration/maintain/supported_versions.rst:103
|
||
msgid "|red|"
|
||
msgstr "|red|"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:50
|
||
msgid "June 2023"
|
||
msgstr "2023 年 6 月"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:52
|
||
msgid "Odoo saas~16.2"
|
||
msgstr "Odoo saas~16.2"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:56
|
||
msgid "March 2023"
|
||
msgstr "2023 年 3 月"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:58
|
||
msgid "Odoo saas~16.1"
|
||
msgstr "Odoo saas~16.1"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:62
|
||
msgid "February 2023"
|
||
msgstr "2023 年 2 月"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:64
|
||
msgid "**Odoo 16.0**"
|
||
msgstr "**Odoo 16.0**"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:68
|
||
#: ../../content/administration/maintain/supported_versions.rst:99
|
||
msgid "October 2022"
|
||
msgstr "2022 年 10 月"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:69
|
||
msgid "November 2025 (planned)"
|
||
msgstr "2025 年 11 月(计划)"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:70
|
||
msgid "Odoo saas~15.2"
|
||
msgstr "Odoo saas~15.2"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:74
|
||
msgid "March 2022"
|
||
msgstr "2022 年 3 月"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:75
|
||
msgid "January 2023"
|
||
msgstr "2023 年 1 月"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:76
|
||
msgid "Odoo saas~15.1"
|
||
msgstr "Odoo saas~15.1"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:80
|
||
msgid "February 2022"
|
||
msgstr "2022 年 2 月"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:81
|
||
msgid "July 2022"
|
||
msgstr "2022 年 7 月"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:82
|
||
msgid "**Odoo 15.0**"
|
||
msgstr "**Odoo 15.0**"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:86
|
||
msgid "October 2021"
|
||
msgstr "2021 年 10 月"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:87
|
||
msgid "November 2024 (planned)"
|
||
msgstr "2024 年 11 月(计划)"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:88
|
||
msgid "**Odoo 14.0**"
|
||
msgstr "**Odoo 14.0**"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:92
|
||
msgid "October 2020"
|
||
msgstr "2020 年 10 月"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:94
|
||
msgid "**Odoo 13.0**"
|
||
msgstr "**Odoo 13.0**"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:98
|
||
msgid "October 2019"
|
||
msgstr "2019 年 10 月"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:100
|
||
msgid "Older versions"
|
||
msgstr "更早版本"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:104
|
||
msgid "Before 2019"
|
||
msgstr "2019 年之前"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:105
|
||
msgid "Before 2022"
|
||
msgstr "2022 年之前"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:107
|
||
msgid "Legend"
|
||
msgstr "图例"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:109
|
||
msgid "|green| Supported version"
|
||
msgstr "|green| 支持的版本"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:111
|
||
msgid "|red| End-of-support"
|
||
msgstr "|red| 终止支持"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:113
|
||
msgid "N/A Never released for this platform"
|
||
msgstr "无 从未在此平台发布"
|
||
|
||
#: ../../content/administration/maintain/supported_versions.rst:116
|
||
msgid ""
|
||
"Even though we don't support older versions, you can always `upgrade from "
|
||
"any version <https://upgrade.odoo.com/>`_."
|
||
msgstr "即使我们不支持旧版本,您也始终可以“从任何版本<https://upgrade.odoo.com/>升级”。"
|
||
|
||
#: ../../content/administration/maintain/update.rst:6
|
||
msgid "Bugfix updates"
|
||
msgstr "错误修复更新"
|
||
|
||
#: ../../content/administration/maintain/update.rst:9
|
||
msgid "Introduction"
|
||
msgstr "介绍"
|
||
|
||
#: ../../content/administration/maintain/update.rst:11
|
||
msgid ""
|
||
"In order to benefit from the latest improvements, security fixes, bug "
|
||
"corrections and performance boosts, you may need to update your Odoo "
|
||
"installation from time to time."
|
||
msgstr "为了从最新的改进,安全修复,错误纠正和性能提升中受益,您可能需要不时更新Odoo安装。"
|
||
|
||
#: ../../content/administration/maintain/update.rst:14
|
||
msgid ""
|
||
"This guide only applies when are using Odoo on your own hosting "
|
||
"infrastructure. If you are using one of the Odoo Cloud solutions, updates "
|
||
"are automatically performed for you."
|
||
msgstr "本指南仅适用于在您自己的托管基础设施上使用Odoo的情况。如果您使用的是Odoo云解决方案之一,系统会自动为您执行更新。"
|
||
|
||
#: ../../content/administration/maintain/update.rst:17
|
||
msgid ""
|
||
"The terminology surrounding software updates is often confusing, so here are"
|
||
" some preliminary definitions:"
|
||
msgstr "围绕软件更新的术语经常令人困惑,因此以下是一些初步定义:"
|
||
|
||
#: ../../content/administration/maintain/update.rst:25
|
||
msgid "Updating (an Odoo installation)"
|
||
msgstr "更新(Odoo 安装)"
|
||
|
||
#: ../../content/administration/maintain/update.rst:21
|
||
msgid ""
|
||
"Refers to the process of obtaining the latest revision of the source code "
|
||
"for your current Odoo Edition. For example, updating your Odoo Enterprise "
|
||
"13.0 to the latest revision. This does not directly cause any change to the "
|
||
"contents of your Odoo database, and can be undone by reinstalling the "
|
||
"previous revision of the source code."
|
||
msgstr ""
|
||
"指获取当前 Odoo 版最新版本源代码的过程。例如,将您的 Odoo 企业版 13.0 "
|
||
"更新到最新版本。这不会直接导致对Odoo数据库内容的任何更改,并且可以通过重新安装源代码的先前版本来撤消。"
|
||
|
||
#: ../../content/administration/maintain/update.rst:35
|
||
msgid "Upgrading (an Odoo database)"
|
||
msgstr "升级(Odoo数据库)"
|
||
|
||
#: ../../content/administration/maintain/update.rst:28
|
||
msgid ""
|
||
"Refers to a complex data processing operation where the structure and "
|
||
"contents of your database is permanently altered to make it compatible with "
|
||
"a new release of Odoo. This operation is irreversible and typically "
|
||
"accomplished via Odoo's `database upgrade service "
|
||
"<https://upgrade.odoo.com>`_, when you decide to switch to a newer release "
|
||
"of Odoo. Historically, this process has also been known as a \"migration\" "
|
||
"because it involves moving data around inside the database, even though the "
|
||
"database may end up at the same physical location after the upgrade."
|
||
msgstr ""
|
||
"指一个复杂的数据处理操作,其中数据库的结构和内容被永久地改变,以使其与Odoo的新版本兼容。此操作是不可逆的,通常通过Odoo的“数据库升级服务<https://upgrade.odoo.com>”_完成,当您决定切换到较新版本的Odoo时。从历史上看,此过程也称为“迁移”,因为它涉及在数据库内部移动数据,即使数据库在升级后可能最终位于同一物理位置也是如此。"
|
||
|
||
#: ../../content/administration/maintain/update.rst:37
|
||
msgid ""
|
||
"This page describes the typical steps needed to *update* an Odoo "
|
||
"installation to the latest version. If you'd like more information about "
|
||
"upgrading a database, please visit the `Odoo Upgrade page "
|
||
"<https://upgrade.odoo.com>`_ instead."
|
||
msgstr ""
|
||
"本页描述了将Odoo安装*更新*到最新版本所需的典型步骤。如果您想了解有关升级数据库的更多信息,请访问“Odoo升级页面<https://upgrade.odoo.com>”_。"
|
||
|
||
#: ../../content/administration/maintain/update.rst:43
|
||
msgid "In a nutshell"
|
||
msgstr "简而言之"
|
||
|
||
#: ../../content/administration/maintain/update.rst:45
|
||
msgid ""
|
||
"Updating Odoo is accomplished by simply reinstalling the latest version of "
|
||
"your Odoo Edition on top of your current installation. This will preserve "
|
||
"your data without any alteration, as long as you do not uninstall PostgreSQL"
|
||
" (the database engine that comes with Odoo)."
|
||
msgstr ""
|
||
"更新 Odoo 只需在当前安装的基础上重新安装最新版本的 Odoo "
|
||
"版本即可完成。这将保留您的数据而不会进行任何更改,只要您不卸载PostgreSQL(Odoo附带的数据库引擎)。"
|
||
|
||
#: ../../content/administration/maintain/update.rst:49
|
||
msgid ""
|
||
"The main reference for updating is logically our :doc:`installation guide "
|
||
"<../install>`, which explains the common installation methods."
|
||
msgstr "从逻辑上讲,更新的主要参考资料是我们的 :doc:`安装指南 <.../安装>`,其中解释了常见的安装方法。"
|
||
|
||
#: ../../content/administration/maintain/update.rst:52
|
||
msgid ""
|
||
"Updating is also most appropriately accomplished by the person who deployed "
|
||
"Odoo initially, because the procedure is very similar."
|
||
msgstr "最初部署Odoo的人也最恰当地完成了更新,因为这个过程非常相似。"
|
||
|
||
#: ../../content/administration/maintain/update.rst:55
|
||
msgid ""
|
||
"We always recommend to download a complete new up-to-date Odoo version, "
|
||
"rather than manually applying patches, such as the security patches that "
|
||
"come with Security Advisories. The patches are mainly provided for "
|
||
"installations that are heavily customized, or for technical personnel who "
|
||
"prefer to apply minimal changes temporarily while testing a complete update."
|
||
msgstr ""
|
||
"我们始终建议下载一个完整的新的最新的Odoo版本,而不是手动应用补丁,例如安全公告附带的安全补丁。这些修补程序主要用于高度自定义的安装,或者适用于希望在测试完整更新时临时应用最小更改的技术人员。"
|
||
|
||
#: ../../content/administration/maintain/update.rst:64
|
||
msgid "Step 1: Download an updated Odoo version"
|
||
msgstr "步骤1:下载更新的Odoo版本"
|
||
|
||
#: ../../content/administration/maintain/update.rst:66
|
||
msgid ""
|
||
"The central download page is https://www.odoo.com/page/download. If you see "
|
||
"a \"Buy\" link for the Odoo Enterprise download, make sure you are logged "
|
||
"into Odoo.com with the same login that is linked to your Odoo Enterprise "
|
||
"subscription."
|
||
msgstr ""
|
||
"中央下载页面 "
|
||
"https://www.odoo.com/page/download。如果您看到Odoo企业版下载的“购买”链接,请确保您使用与您的Odoo企业版订阅链接的相同登录名登录到"
|
||
" Odoo.com。"
|
||
|
||
#: ../../content/administration/maintain/update.rst:70
|
||
msgid ""
|
||
"Alternatively, you can use the unique download link that was included with "
|
||
"your Odoo Enterprise purchase confirmation email."
|
||
msgstr "或者,您可以使用Odoo企业版购买确认电子邮件中包含的唯一下载链接。"
|
||
|
||
#: ../../content/administration/maintain/update.rst:73
|
||
msgid ""
|
||
"Downloading an updated version is not necessary if you installed via Github "
|
||
"(see below)"
|
||
msgstr "如果您通过 Github 安装,则无需下载更新版本(见下文)"
|
||
|
||
#: ../../content/administration/maintain/update.rst:77
|
||
msgid "Step 2: Make a backup of your database"
|
||
msgstr "步骤 2:备份数据库"
|
||
|
||
#: ../../content/administration/maintain/update.rst:79
|
||
msgid ""
|
||
"The update procedure is quite safe and should not alter you data. However "
|
||
"it's always best to take a full database backup before performing any change"
|
||
" on your installation, and to store it somewhere safe, on a different "
|
||
"computer."
|
||
msgstr "更新过程非常安全,不应更改您的数据。但是,最好在对安装执行任何更改之前进行完整数据库备份,并将其存储在安全的位置,即另一台计算机上。"
|
||
|
||
#: ../../content/administration/maintain/update.rst:83
|
||
msgid ""
|
||
"If you have not disabled the database manager screen (see :ref:`here "
|
||
"<security>` why you should), you can use it (link at bottom of your database"
|
||
" selection screen) to download a backup of your database(s). If you disabled"
|
||
" it, use the same procedure than for your usual backups."
|
||
msgstr ""
|
||
"如果尚未禁用数据库管理器屏幕(请参阅 :ref:`这里 <security>` "
|
||
"为什么应该这样做),那么可以使用它(数据库选择屏幕底部的链接)来下载数据库的备份。如果禁用了它,请使用与常规备份相同的过程。"
|
||
|
||
#: ../../content/administration/maintain/update.rst:89
|
||
msgid "Step 3: Install the updated version"
|
||
msgstr "步骤 3:安装更新的版本"
|
||
|
||
#: ../../content/administration/maintain/update.rst:91
|
||
msgid "Choose the method that matches your current installation:"
|
||
msgstr "选择与当前安装匹配的方法:"
|
||
|
||
#: ../../content/administration/maintain/update.rst:95
|
||
msgid "Packaged Installers"
|
||
msgstr "打包安装程序"
|
||
|
||
#: ../../content/administration/maintain/update.rst:97
|
||
msgid ""
|
||
"If you installed Odoo with an installation package downloaded on our website"
|
||
" (the recommended method), updating is very simple. All you have to do is "
|
||
"download the installation package corresponding to your system (see step #1)"
|
||
" and install it on your server. They are updated daily and include the "
|
||
"latest security fixes. Usually, you can simply double-click the package to "
|
||
"install it on top of the current installation. After installing the package,"
|
||
" be sure to restart the Odoo service or reboot your server, and you're all "
|
||
"set."
|
||
msgstr ""
|
||
"如果您使用我们网站上下载的安装包(推荐方法)安装了Odoo,则更新非常简单。您所要做的就是下载与您的系统相对应的安装包(请参阅步骤#1)并将其安装在服务器上。它们每天更新,包括最新的安全修复程序。通常,您只需双击该软件包即可将其安装在当前安装的顶部。安装软件包后,请确保重新启动Odoo服务或重新启动服务器,然后您就完成了所有设置。"
|
||
|
||
#: ../../content/administration/maintain/update.rst:106
|
||
msgid "Source Install (Tarball)"
|
||
msgstr "源代码安装(Tarball)"
|
||
|
||
#: ../../content/administration/maintain/update.rst:108
|
||
msgid ""
|
||
"If you have originally installed Odoo with the \"tarball\" version (source "
|
||
"code archive), you have to replace the installation directory with a newer "
|
||
"version. First download the latest tarball from Odoo.com. They are updated "
|
||
"daily and include the latest security fixes (see step #1) After downloading "
|
||
"the package, extract it to a temporary location on your server."
|
||
msgstr ""
|
||
"如果您最初使用“tarball”版本(源代码存档)安装Odoo,则必须将安装目录替换为较新版本。首先从 Odoo.com "
|
||
"下载最新的压缩包。它们每天更新,并包括最新的安全修补程序(请参阅步骤#1)下载包后,将其解压缩到服务器上的临时位置。"
|
||
|
||
#: ../../content/administration/maintain/update.rst:113
|
||
msgid ""
|
||
"You will get a folder labeled with the version of the source code, for "
|
||
"example \"odoo-13.0+e.20190719\", that contains a folder \"odoo.egg-info\" "
|
||
"and the actual source code folder named \"odoo\" (for Odoo 10 and later) or "
|
||
"\"openerp\" for older versions. You can ignore the odoo.egg-info folder. "
|
||
"Locate the folder where your current installation is deployed, and replace "
|
||
"it with the newer \"odoo\" or \"openerp\" folder that was in the archive you"
|
||
" just extracted."
|
||
msgstr ""
|
||
"您将得到一个标有源代码版本的文件夹,例如 \"odoo-13.0+e.20190719\",其中包含一个文件夹 \"odoo.egg-info "
|
||
"\"和名为 \"odoo\"(适用于 Odoo 10 及更高版本)或 \"openerp\"(适用于旧版本)的实际源代码文件夹。您可以忽略 "
|
||
"odoo.egg-info 文件夹。找到部署当前安装的文件夹,并将其替换为您刚刚解压的压缩包中较新的 \"odoo\" 或 \"openerp\" "
|
||
"文件夹。"
|
||
|
||
#: ../../content/administration/maintain/update.rst:119
|
||
msgid ""
|
||
"Be sure to match the folder layout, for example the new \"addons\" folder "
|
||
"included in the source code should end up exactly at the same path it was "
|
||
"before. Next, watch out for any specific configuration files that you may "
|
||
"have manually copied or modified in the old folder, and copy them over to "
|
||
"the new folder. Finally, restart the Odoo service or reboot the machine, and"
|
||
" you are all set."
|
||
msgstr ""
|
||
"确保与文件夹布局匹配,例如,源代码中包含的新“addons”文件夹应与之前的路径完全相同。接下来,请注意您可能已在旧文件夹中手动复制或修改的任何特定配置文件,并将它们复制到新文件夹中。最后,重新启动Odoo服务或重新启动计算机,您就完成了所有设置。"
|
||
|
||
#: ../../content/administration/maintain/update.rst:126
|
||
msgid "Source Install (Github)"
|
||
msgstr "源代码安装(Github)"
|
||
|
||
#: ../../content/administration/maintain/update.rst:128
|
||
msgid ""
|
||
"If you have originally installed Odoo with a full Github clone of the "
|
||
"official repositories, the update procedure requires you to pull the latest "
|
||
"source code via git. Change into the directory for each repository (the main"
|
||
" Odoo repository, and the Enterprise repository), and run the following "
|
||
"commands::"
|
||
msgstr ""
|
||
"如果您最初安装Odoo时带有官方存储库的完整Github克隆,则更新过程要求您通过git提取最新的源代码。切换到每个存储库(主 Odoo "
|
||
"存储库和企业存储库)的目录,然后运行以下命令:"
|
||
|
||
#: ../../content/administration/maintain/update.rst:136
|
||
msgid ""
|
||
"The last command may encounter source code conflicts if you had edited the "
|
||
"Odoo source code locally. The error message will give you the list of files "
|
||
"with conflicts, and you will need to resolve the conflicts manually, by "
|
||
"editing them and deciding which part of the code to keep."
|
||
msgstr ""
|
||
"如果您在本地编辑了 Odoo "
|
||
"源代码,则最后一个命令可能会遇到源代码冲突。错误消息将为您提供有冲突的文件列表,您需要通过编辑它们并决定保留代码的哪一部分来手动解决冲突。"
|
||
|
||
#: ../../content/administration/maintain/update.rst:140
|
||
msgid ""
|
||
"Alternatively, if you prefer to simply discard the conflicting changes and "
|
||
"restore the official version, you can use the following command::"
|
||
msgstr "或者,如果您希望简单地放弃冲突的更改并恢复正式版本,则可以使用以下命令:"
|
||
|
||
#: ../../content/administration/maintain/update.rst:145
|
||
msgid ""
|
||
"Finally, restart the Odoo service or reboot the machine, and you should be "
|
||
"done."
|
||
msgstr "最后,重新启动Odoo服务或重新启动计算机,您应该完成。"
|
||
|
||
#: ../../content/administration/maintain/update.rst:149
|
||
msgid "Docker"
|
||
msgstr "Docker"
|
||
|
||
#: ../../content/administration/maintain/update.rst:151
|
||
msgid ""
|
||
"Please refer to our `Docker image documentation "
|
||
"<https://hub.docker.com/_/odoo/>`_ for specific update instructions."
|
||
msgstr "有关具体的更新说明,请参阅我们的“Docker 映像文档<https://hub.docker.com/_/odoo/>”。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced.rst:5
|
||
msgid "Advanced"
|
||
msgstr "高级"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:4
|
||
msgid "Containers"
|
||
msgstr "容器"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:7
|
||
#: ../../content/administration/odoo_sh/advanced/submodules.rst:9
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:6
|
||
#: ../../content/administration/odoo_sh/getting_started/builds.rst:9
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:6
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:9
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:6
|
||
#: ../../content/administration/odoo_sh/getting_started/status.rst:6
|
||
#: ../../content/administration/odoo_sh/overview.rst:5
|
||
msgid "Overview"
|
||
msgstr "概述"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:9
|
||
msgid ""
|
||
"Each build is isolated within its own container (Linux namespaced "
|
||
"container)."
|
||
msgstr "每个构建版本都隔离在其自己的容器(Linux 命名空间容器)中。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:11
|
||
msgid ""
|
||
"The base is an Ubuntu system, where all of Odoo's required dependencies, as "
|
||
"well as common useful packages, are installed."
|
||
msgstr "基础是一个Ubuntu系统,其中安装了Odoo所有必需的依赖项以及常见的有用包。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:14
|
||
msgid ""
|
||
"If your project requires additional Python dependencies, or more recent "
|
||
"releases, you can define a :file:`requirements.txt` file in the root of your"
|
||
" branches listing them. The platform will take care to install these "
|
||
"dependencies in your containers. `The pip requirements specifiers "
|
||
"<https://pip.pypa.io/en/stable/reference/pip_install/#requirement-"
|
||
"specifiers>`_ documentation can help you write a :file:`requirements.txt` "
|
||
"file. To have a concrete example, check out the `requirements.txt file of "
|
||
"Odoo <https://github.com/odoo/odoo/blob/17.0/requirements.txt>`_."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:22
|
||
msgid ""
|
||
"The :file:`requirements.txt` files of submodules are taken into account as "
|
||
"well. The platform looks for :file:`requirements.txt` files in each folder "
|
||
"containing Odoo modules: Not in the module folder itself, but in their "
|
||
"parent folder."
|
||
msgstr ""
|
||
"子模块的 :file:`requirements.txt` "
|
||
"文件也被考虑在内。该平台在包含Odoo模块的每个文件夹中查找:file:`requirements.txt`文件:不是在模块文件夹本身,而是在其父文件夹中。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:27
|
||
msgid "Directory structure"
|
||
msgstr "目录结构"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:29
|
||
msgid ""
|
||
"As the containers are Ubuntu based, their directory structure follows the "
|
||
"linux Filesystem Hierarchy Standard. `Ubuntu's filesystem tree overview "
|
||
"<https://help.ubuntu.com/community/LinuxFilesystemTreeOverview#Main_directories>`_"
|
||
" explains the main directories."
|
||
msgstr ""
|
||
"由于容器是基于Ubuntu的,因此它们的目录结构遵循linux文件系统层次结构标准。“Ubuntu "
|
||
"的文件系统树概述<https://help.ubuntu.com/community/LinuxFilesystemTreeOverview#Main_directories>”_"
|
||
" 解释了主目录。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:33
|
||
msgid "Here are the Odoo.sh pertinent directories:"
|
||
msgstr "以下是 Odoo.sh 相关目录:"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:73
|
||
msgid "Both Python 2.7 and 3.5 are installed in the containers. However:"
|
||
msgstr "Python 2.7 和 3.5 都安装在容器中。然而:"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:75
|
||
msgid ""
|
||
"If your project is configured to use Odoo 10.0, the Odoo server runs with "
|
||
"Python 2.7."
|
||
msgstr "如果您的项目配置为使用Odoo 10.0,则Odoo服务器将与Python 2.7一起运行。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:76
|
||
msgid ""
|
||
"If your project is configured to use Odoo 11.0 or above, the Odoo server "
|
||
"runs with Python 3.5."
|
||
msgstr "如果您的项目配置为使用Odoo 11.0或更高版本,则Odoo服务器将与Python 3.5一起运行。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:79
|
||
msgid "Database shell"
|
||
msgstr "数据库外壳"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:81
|
||
msgid ""
|
||
"While accessing a container with the shell, you can access the database "
|
||
"using *psql*."
|
||
msgstr "使用 shell 访问容器时,可以使用 *psql* 访问数据库。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:92
|
||
msgid ""
|
||
"**Be careful !** `Use transactions "
|
||
"<https://www.postgresql.org/docs/current/static/sql-begin.html>`_ "
|
||
"(*BEGIN...COMMIT/ROLLBACK*) for every *sql* statements leading to changes "
|
||
"(*UPDATE*, *DELETE*, *ALTER*, ...), especially for your production database."
|
||
msgstr ""
|
||
" **心!** “使用事务<https://www.postgresql.org/docs/current/static/sql-"
|
||
"begin.html>”_ (*BEGIN...COMMIT/ROLLBACK*)的每个 *sql* "
|
||
"语句导致更改(*UPDATE*、*DELETE*、*ALTER*、...),特别是对于您的生产数据库。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:97
|
||
msgid ""
|
||
"The transaction mechanism is your safety net in case of mistake. You simply "
|
||
"have to rollback your changes to revert your database to its previous state."
|
||
msgstr "交易机制是您在发生错误时的安全网。您只需回滚更改即可将数据库还原到其以前的状态。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:100
|
||
msgid ""
|
||
"For example, it may happen that you forget to set your *WHERE* condition."
|
||
msgstr "例如,您可能会忘记设置 *WHERE* 条件。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:111
|
||
msgid ""
|
||
"In such a case, you can rollback to revert the unwanted changes that you "
|
||
"just mistakenly did, and rewrite the statement:"
|
||
msgstr "在这种情况下,您可以回滚以还原您刚刚错误地执行的不需要的更改,并重写语句:"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:122
|
||
msgid ""
|
||
"However, do not forget to either commit or rollback your transaction after "
|
||
"having done it. Open transactions may lock records in your tables and your "
|
||
"running database may wait for them to be released. It can cause a server to "
|
||
"hang indefinitely."
|
||
msgstr ""
|
||
"但是,不要忘记在完成事务后提交或回滚事务。打开的事务可能会锁定表中的记录,并且正在运行的数据库可能会等待它们被释放。它可能导致服务器无限期挂起。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:126
|
||
msgid ""
|
||
"In addition, when possible, use your staging databases to test your "
|
||
"statements first. It gives you an extra safety net."
|
||
msgstr "此外,如果可能,请先使用临时数据库来测试语句。它为您提供了额外的安全网。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:129
|
||
msgid "Run an Odoo server"
|
||
msgstr "运行 Odoo 服务器"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:131
|
||
msgid ""
|
||
"You can start an Odoo server instance from a container shell. You won't be "
|
||
"able to access it from the outside world with a browser, but you can for "
|
||
"instance:"
|
||
msgstr "您可以从容器 shell 启动 Odoo 服务器实例。您将无法使用浏览器从外部世界访问它,但您可以例如:"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:134
|
||
msgid "use the Odoo shell,"
|
||
msgstr "使用 Odoo shell,"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:146
|
||
msgid "install a module,"
|
||
msgstr "装载新的模块"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:152
|
||
msgid "update a module,"
|
||
msgstr "更新模块,"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:158
|
||
msgid "run the tests for a module,"
|
||
msgstr "运行模块的测试,"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:164
|
||
msgid "In the above commands, the argument:"
|
||
msgstr "在上面的命令中,参数为:"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:166
|
||
msgid "``--without-demo=all`` prevents demo data to be loaded for all modules"
|
||
msgstr "“--without-demo=all”阻止加载所有模块的演示数据"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:167
|
||
msgid ""
|
||
"``--stop-after-init`` will immediately shutdown the server instance after it"
|
||
" completed the operations you asked."
|
||
msgstr "“---在初始化后停止”将在服务器实例完成您请求的操作后立即将其关闭。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:169
|
||
msgid ""
|
||
"More options are available and detailed in the :doc:`CLI documentation "
|
||
"</developer/reference/cli>`."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:172
|
||
msgid ""
|
||
"You can find in the logs (*~/logs/odoo.log*) the addons path used by Odoo.sh"
|
||
" to run your server. Look for \"*odoo: addons paths*\":"
|
||
msgstr "您可以在日志(*~/logs/odoo.log*)中找到 Odoo.sh 用于运行服务器的插件路径。查找“*odoo: 插件路径*”:"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:181
|
||
msgid ""
|
||
"**Be careful**, especially with your production database. Operations that "
|
||
"you perform running this Odoo server instance are not isolated: Changes will"
|
||
" be effective in the database. Always, make your tests in your staging "
|
||
"databases."
|
||
msgstr " **小** ,尤其是使用生产数据库时。您运行此Odoo服务器实例执行的操作不是隔离的:更改将在数据库中生效。始终在临时数据库中进行测试。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:186
|
||
msgid "Debugging in Odoo.sh"
|
||
msgstr "在 Odoo.sh 中调试"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:188
|
||
msgid ""
|
||
"Debugging an Odoo.sh build is not really different than another Python app. "
|
||
"This article only explains the specificities and limitations of the Odoo.sh "
|
||
"platform, and assumes that you already know how to use a debugger."
|
||
msgstr ""
|
||
"调试 Odoo.sh 生成与另一个 Python 应用没有什么不同。本文仅介绍 Odoo.sh 平台的特性和限制,并假定您已经知道如何使用调试器。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:190
|
||
msgid ""
|
||
"If you don't know how to debug a Python application yet, there are multiple "
|
||
"introductory courses that can be easily found on the Internet."
|
||
msgstr "如果您还不知道如何调试Python应用程序,则可以在Internet上轻松找到多个入门课程。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:192
|
||
msgid ""
|
||
"You can use ``pdb``, ``pudb`` or ``ipdb`` to debug your code on Odoo.sh. As "
|
||
"the server is run outside a shell, you cannot launch the debugger directly "
|
||
"from your Odoo instance backend as the debugger needs a shell to operate."
|
||
msgstr ""
|
||
"您可以使用“pdb”,“pudb”或“ipdb”在 Odoo.sh 调试代码。由于服务器在 shell 外部运行,因此您无法直接从 Odoo "
|
||
"实例后端启动调试器,因为调试器需要一个 shell 才能运行。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:195
|
||
msgid ""
|
||
"`pdb <https://docs.python.org/3/library/pdb.html>`_ is installed by default "
|
||
"in every container."
|
||
msgstr "“pdb <https://docs.python.org/3/library/pdb.html>”_ 默认安装在每个容器中。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:197
|
||
msgid ""
|
||
"If you want to use `pudb <https://pypi.org/project/pudb/>`_ or `ipdb "
|
||
"<https://pypi.org/project/ipdb/>`_ you have to install it before."
|
||
msgstr ""
|
||
"如果你想使用`pudb <https://pypi.org/project/pudb/>`_或`ipdb "
|
||
"<https://pypi.org/project/ipdb/>`_,你必须先安装它。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:199
|
||
msgid "To do so, you have two options:"
|
||
msgstr "为此,您有两种选择:"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:201
|
||
msgid "temporary (only in the current build):"
|
||
msgstr "临时(仅在当前版本中):"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:207
|
||
msgid "or"
|
||
msgstr "或"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:213
|
||
msgid ""
|
||
"permanent: add ``pudb`` or ``ipdb`` to your project ``requirements.txt`` "
|
||
"file."
|
||
msgstr "永久:将“pudb”或“ipdb”添加到项目“要求.txt”文件中。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:216
|
||
msgid ""
|
||
"Then edit the code where you want to trigger the debugger and add this:"
|
||
msgstr "然后编辑要触发调试器的代码并添加以下内容:"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:224
|
||
msgid ""
|
||
"The condition :code:`sys.__stdin__.isatty()` is a hack that detects if you "
|
||
"run Odoo from a shell."
|
||
msgstr "条件:code:`sys.__stdin__.isatty()`是一个黑客,可以检测你是否从shell运行Odoo。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:226
|
||
msgid "Save the file and then run the Odoo Shell:"
|
||
msgstr "保存文件,然后运行 Odoo Shell:"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst:232
|
||
msgid ""
|
||
"Finally, *via* the Odoo Shell, you can trigger the piece of "
|
||
"code/function/method you want to debug."
|
||
msgstr "最后,*通过*Odoo Shell,您可以触发要调试的代码/函数/方法。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/containers.rst-1
|
||
msgid "Console screenshot showing ``pdb`` running in an Odoo.sh shell."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/frequent_technical_questions.rst:6
|
||
msgid "Frequent Technical Questions"
|
||
msgstr "常见的技术问题"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/frequent_technical_questions.rst:9
|
||
msgid "\"Scheduled actions do not run at the exact time they were expected\""
|
||
msgstr "“计划的操作不会在预期的确切时间运行`"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/frequent_technical_questions.rst:11
|
||
msgid ""
|
||
"On the Odoo.sh platform, we cannot guarantee an exact running time for "
|
||
"scheduled actions."
|
||
msgstr "在 Odoo.sh 平台上,我们无法保证计划操作的确切运行时间。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/frequent_technical_questions.rst:13
|
||
msgid ""
|
||
"This is due to the fact that there might be multiple customers on the same "
|
||
"server, and we must guarantee a fair share of the server for every customer."
|
||
" Scheduled actions are therefore implemented slightly differently than on a "
|
||
"regular Odoo server, and are run on a *best effort* policy."
|
||
msgstr ""
|
||
"这是因为同一台服务器上可能有多个客户,我们必须保证每个客户都有公平的服务器份额。因此,计划操作的实现方式与在常规 Odoo 服务器上略有不同,并且按照 "
|
||
"*尽力而为* 策略运行。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/frequent_technical_questions.rst:16
|
||
msgid ""
|
||
"Do not expect any scheduled action to be run more often than every 5 min."
|
||
msgstr "不要期望任何计划的操作运行频率高于每 5 分钟一次。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/frequent_technical_questions.rst:19
|
||
msgid "Are there \"best practices\" regarding scheduled actions?"
|
||
msgstr "是否有关于计划操作的“最佳实践”?"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/frequent_technical_questions.rst:21
|
||
msgid ""
|
||
"**Odoo.sh always limits the execution time of scheduled actions (*aka* "
|
||
"crons).** Therefore, you must keep this fact in mind when developing your "
|
||
"own crons."
|
||
msgstr "**Odoo.sh 总是限制计划操作(*aka* crons)的执行时间 **此,在开发自己的克隆时,您必须牢记这一事实。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/frequent_technical_questions.rst:24
|
||
msgid "We advise that:"
|
||
msgstr "我们建议:"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/frequent_technical_questions.rst:26
|
||
msgid "Your scheduled actions should work on small batches of records."
|
||
msgstr "计划的操作应该适用于小批量记录。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/frequent_technical_questions.rst:27
|
||
msgid ""
|
||
"Your scheduled actions should commit their work after processing each batch;"
|
||
" this way, if they get interrupted by the time-limit, there is no need to "
|
||
"start over."
|
||
msgstr "您计划的行动应该在处理每个批次后提交他们的工作;这样,如果他们被时间限制打断,就没有必要重新开始。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/frequent_technical_questions.rst:29
|
||
msgid ""
|
||
"Your scheduled actions should be `idempotent "
|
||
"<https://stackoverflow.com/a/1077421/3332416>`_: they must not cause side-"
|
||
"effects if they are started more often than expected."
|
||
msgstr ""
|
||
"您计划的操作应该是“幂等<https://stackoverflow.com/a/1077421/3332416>”_:如果它们开始的频率高于预期,则它们不得引起副作用。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/submodules.rst:6
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:170
|
||
msgid "Submodules"
|
||
msgstr "子模块"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/submodules.rst:11
|
||
msgid ""
|
||
"A `Git submodule <https://git-scm.com/book/en/v2/Git-Tools-Submodules>`_ "
|
||
"allows you to integrate other Git projects into your code, without the need "
|
||
"to copy-paste all their code."
|
||
msgstr ""
|
||
"“Git 子模块<https://git-scm.com/book/en/v2/Git-Tools-Submodules>”_ 允许您将其他 Git "
|
||
"项目集成到代码中,而无需复制粘贴其所有代码。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/submodules.rst:14
|
||
msgid ""
|
||
"Indeed, your custom modules can depend on modules from other repositories. "
|
||
"Regarding Odoo, this feature allows you to add modules from other Git "
|
||
"repositories into the branches of your repository. Adding these dependencies"
|
||
" in your branch through submodules makes the deployment of your code and "
|
||
"servers easier, as you can clone the repositories added as submodules at the"
|
||
" same time you clone your own repository."
|
||
msgstr ""
|
||
"实际上,您的自定义模块可以依赖于其他存储库中的模块。关于Odoo,此功能允许您将其他Git存储库中的模块添加到存储库的分支中。通过子模块在分支中添加这些依赖项可以更轻松地部署代码和服务器,因为您可以在克隆自己的存储库的同时克隆作为子模块添加的存储库。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/submodules.rst:19
|
||
msgid ""
|
||
"Besides, you can choose the branch of the repository added as submodule and "
|
||
"you have the control of the revision you want. It's up to you to decide "
|
||
"whether you want to pin the submodule to a specific revision and when you "
|
||
"want to update to a newer revision."
|
||
msgstr ""
|
||
"此外,您可以选择作为子模块添加的存储库的分支,并且您可以控制所需的修订版。由您决定是否要将子模块固定到特定修订版以及何时要更新到较新的修订版。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/submodules.rst:24
|
||
msgid ""
|
||
"In Odoo.sh, the submodules give you the possibility to use and depend on "
|
||
"modules available in other repositories. The platform will detect that you "
|
||
"added modules through submodules in your branches and add them to your "
|
||
"addons path automatically so you can install them in your databases."
|
||
msgstr ""
|
||
"在 Odoo.sh "
|
||
"中,子模块使您能够使用并依赖于其他存储库中可用的模块。该平台将检测您通过分支中的子模块添加的模块,并自动将它们添加到插件路径中,以便您可以将它们安装在数据库中。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/submodules.rst:28
|
||
msgid ""
|
||
"If you add private repositories as submodules in your branches, you need to "
|
||
"configure a deploy key in your Odoo.sh project settings and in your "
|
||
"repository settings. Otherwise Odoo.sh won't be allowed to download them. "
|
||
"The procedure is detailed in the chapter :ref:`Settings > Submodules "
|
||
"<odoosh-gettingstarted-settings-submodules>`."
|
||
msgstr ""
|
||
"如果将私有仓库添加为分支中的子模块,则需要在 Odoo.sh 项目设置和仓库设置中配置部署密钥。否则,将不允许 Odoo.sh "
|
||
"下载它们。该过程在:ref:'设置>子模块<odoosh-gettingstarted-settings-submodules>'一</odoosh-"
|
||
"gettingstarted-settings-submodules>章中有详细说明。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/submodules.rst:34
|
||
msgid "Adding a submodule"
|
||
msgstr "添加子模块"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/submodules.rst:37
|
||
msgid "With Odoo.sh (simple)"
|
||
msgstr "带 Odoo.sh(简单)"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/submodules.rst:40
|
||
msgid ""
|
||
"For now it is not possible to add **private** repositories with this method."
|
||
" You can nevertheless do so :ref:`with Git <odoosh-advanced-submodules-"
|
||
"withgit>`."
|
||
msgstr ""
|
||
"目前,无法使用此方法添加 **有 **储库。不过,你可以这样做:ref:`with Git <odoosh-advanced-submodules-"
|
||
"withgit>`。</odoosh-advanced-submodules-withgit>"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/submodules.rst:43
|
||
msgid ""
|
||
"On Odoo.sh, in the branches view of your project, choose the branch in which"
|
||
" you want to add a submodule."
|
||
msgstr "在 Odoo.sh,在项目的分支视图中,选择要在其中添加子模块的分支。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/submodules.rst:45
|
||
msgid ""
|
||
"In the upper right corner, click on the *Submodule* button, and then on "
|
||
"*Run*."
|
||
msgstr "在右上角,单击“*子模块*”按钮,然后单击“*运行”*。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/submodules.rst:50
|
||
msgid "A dialog with a form is shown. Fill the inputs as follows:"
|
||
msgstr "将显示带有窗体的对话框。按如下方式填写输入:"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/submodules.rst:52
|
||
msgid "Repository URL: The SSH URL of the repository."
|
||
msgstr "存储库 URL:存储库的 SSH URL。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/submodules.rst:53
|
||
msgid "Branch: The branch you want to use."
|
||
msgstr "分支:要使用的分支。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/submodules.rst:54
|
||
msgid ""
|
||
"Path: The folder in which you want to add this submodule in your branch."
|
||
msgstr "路径:要在分支中添加此子模块的文件夹。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/submodules.rst:59
|
||
msgid ""
|
||
"On Github, you can get the repository URL with the *Clone or download* "
|
||
"button of the repository. Make sure to *use SSH*."
|
||
msgstr "在 Github 上,您可以使用存储库的 *克隆或下载* 按钮获取存储库 URL。确保*使用SSH*。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/submodules.rst:67
|
||
msgid "With Git (advanced)"
|
||
msgstr "使用 Git(高级)"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/submodules.rst:69
|
||
msgid ""
|
||
"In a terminal, in the folder where your Git repository is cloned, checkout "
|
||
"the branch in which you want to add a submodule:"
|
||
msgstr "在终端中,在克隆 Git 存储库的文件夹中,检出要在其中添加子模块的分支:"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/submodules.rst:76
|
||
msgid "Then, add the submodule using the command below:"
|
||
msgstr "然后,使用以下命令添加子模块:"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/submodules.rst:82
|
||
#: ../../content/administration/odoo_sh/advanced/submodules.rst:94
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:360
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:498
|
||
msgid "Replace"
|
||
msgstr "替换"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/submodules.rst:84
|
||
msgid ""
|
||
"*<git@yourprovider.com>:<username/repository.git>* by the SSH URL of the "
|
||
"repository you want to add as submodule,"
|
||
msgstr "*<git@yourprovider.com>:<用户名/repository.git>*由您要添加为子模块的存储库的SSH URL组成,"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/submodules.rst:85
|
||
msgid "*<branch>* by the branch you want to use in the above repository,"
|
||
msgstr "*<branch>* 由您要在上面的存储库中使用的分支,</branch>"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/submodules.rst:86
|
||
msgid "*<path>* by the folder in which you want to add this submodule."
|
||
msgstr "*<path>* 由要在其中添加此子模块的文件夹。</path>"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/submodules.rst:88
|
||
msgid "Commit and push your changes:"
|
||
msgstr "提交并推送更改:"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/submodules.rst:96
|
||
msgid ""
|
||
"<remote> by the repository on which you want to push your changes. For a "
|
||
"standard Git setup, this is *origin*."
|
||
msgstr "<remote> 按要在其上推送更改的存储库。对于标准 Git 设置,这是 *origin*。</remote>"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/submodules.rst:97
|
||
msgid ""
|
||
"<branch> by the branch on which you want to push your changes. Most likely "
|
||
"the branch you used :code:`git checkout` on in the first step."
|
||
msgstr "<branch> 按要推送更改的分支。最有可能是您在第一步中使用的分支:code:`git checkout`。</branch>"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/submodules.rst:100
|
||
msgid ""
|
||
"You can read the `git-scm.com documentation <https://git-"
|
||
"scm.com/book/en/v2/Git-Tools-Submodules>`_ for more details about the Git "
|
||
"submodules. For instance, if you would like to update your submodules to "
|
||
"have their latest revision, you can follow the chapter `Pulling in Upstream "
|
||
"changes <https://git-scm.com/book/en/v2/Git-Tools-"
|
||
"Submodules#_pulling_in_upstream_changes_from_the_submodule_remote>`_."
|
||
msgstr ""
|
||
"您可以阅读“git-scm.com 文档<https://git-scm.com/book/en/v2/Git-Tools-Submodules>”_ "
|
||
"以获取有关 Git 子模块的更多详细信息。例如,如果您想更新子模块以使其具有最新版本,则可以按照“拉入上游更改<https://git-"
|
||
"scm.com/book/en/v2/Git-Tools-"
|
||
"Submodules#_pulling_in_upstream_changes_from_the_submodule_remote>”一章进行操作。"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/submodules.rst:107
|
||
msgid "Ignore modules"
|
||
msgstr "忽略模块"
|
||
|
||
#: ../../content/administration/odoo_sh/advanced/submodules.rst:109
|
||
msgid ""
|
||
"If you're adding a repository that contains a lot of modules, you may want "
|
||
"to ignore some of them in case there are any that are installed "
|
||
"automatically. To do so, you can prefix your submodule folder with a "
|
||
":code:`.`. The platform will ignore this folder and you can hand pick your "
|
||
"modules by creating symlinks to them from another folder."
|
||
msgstr ""
|
||
"如果要添加包含大量模块的存储库,则可能需要忽略其中一些模块,以防自动安装任何模块。为此,您可以在子模块文件夹前面加上 "
|
||
":code:'.'。平台将忽略此文件夹,您可以通过从另一个文件夹创建指向它们的符号链接来手动选择模块。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started.rst:5
|
||
msgid "Get started"
|
||
msgstr "开始"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:3
|
||
msgid "Branches"
|
||
msgstr "分支"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:8
|
||
msgid ""
|
||
"The branches view gives you an overview of the different branches your "
|
||
"repository has."
|
||
msgstr "分支视图为您提供了存储库具有的不同分支的概述。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:16
|
||
#: ../../content/administration/odoo_sh/getting_started/builds.rst:41
|
||
msgid "Stages"
|
||
msgstr "阶段"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:18
|
||
msgid ""
|
||
"Odoo.sh offers three different stages for your branches: production, staging"
|
||
" and development."
|
||
msgstr "Odoo.sh 为您的分支机构提供三个不同的阶段:生产、暂存和开发。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:20
|
||
msgid ""
|
||
"You can change the stage of a branch by drag and dropping it into the stage "
|
||
"section title."
|
||
msgstr "您可以通过将分支拖放到阶段部分标题中来更改分支的阶段。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:28
|
||
#: ../../content/administration/odoo_sh/getting_started/builds.rst:44
|
||
msgid "Production"
|
||
msgstr "生产"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:30
|
||
msgid ""
|
||
"This is the branch holding the code on which your production database runs. "
|
||
"There can be only one production branch."
|
||
msgstr "这是保存运行生产数据库的代码的分支。只能有一个生产分支。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:33
|
||
msgid ""
|
||
"When you push a new commit in this branch, your production server is updated"
|
||
" with the code of the new revision and is then restarted."
|
||
msgstr "在此分支中推送新提交时,将使用新版本的代码更新生产服务器,然后重新启动。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:36
|
||
msgid ""
|
||
"If your changes require the update of a module, such as a change in a form "
|
||
"view, and you want it to be performed automatically, increase the version "
|
||
"number of the module in its manifest (*__manifest__.py*). The platform will "
|
||
"then take care to perform the update during which the instance will be held "
|
||
"temporarily unavailable for maintenance reason."
|
||
msgstr ""
|
||
"如果您的更改需要更新模块(如窗体视图中的更改),并且您希望自动执行该更改,请增加模块清单中的版本号 "
|
||
"(*__manifest__.py*)。然后,平台将负责执行更新,在此期间,由于维护原因,实例将暂时不可用。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:43
|
||
msgid ""
|
||
"This method is equivalent to perform an upgrade of the module through the "
|
||
"Apps menu, or through the :code:`-u` switch of :doc:`the command line "
|
||
"</developer/reference/cli>`."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:47
|
||
msgid ""
|
||
"In the case the changes in the commit prevent the server to restart, or if "
|
||
"the modules update fails, the server is automatically reverted to the "
|
||
"previous successful code revision and the database is roll-backed as it was "
|
||
"before the update. You still have access to the log of the failed update, so"
|
||
" you can troubleshoot it."
|
||
msgstr ""
|
||
"如果提交中的更改阻止服务器重新启动,或者如果模块更新失败,服务器将自动恢复到以前成功的代码修订版,并且数据库将按更新前的状态进行回滚。您仍然可以访问失败更新的日志,以便对其进行故障排除。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:53
|
||
msgid ""
|
||
"The demo data is not loaded, as it is not meant to be used in a production "
|
||
"database. The unit tests are not performed, as it would increase the "
|
||
"unavailability time of the production database during the updates."
|
||
msgstr "不会加载演示数据,因为它不适合在生产数据库中使用。不执行单元测试,因为这会增加更新期间生产数据库的不可用时间。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:57
|
||
msgid ""
|
||
"Partners using trial projects should be aware their production branch, along"
|
||
" with all the staging branches, will automatically be set back to the "
|
||
"development stage after 30 days."
|
||
msgstr "使用试用项目的合作伙伴应注意,其生产分支以及所有暂存分支将在 30 天后自动设置回开发阶段。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:61
|
||
#: ../../content/administration/odoo_sh/getting_started/builds.rst:63
|
||
msgid "Staging"
|
||
msgstr "暂存"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:63
|
||
msgid ""
|
||
"Staging branches are meant to test your new features using the production "
|
||
"data without compromising the actual production database with test records. "
|
||
"They will create databases that are neutralized duplicates of the production"
|
||
" database."
|
||
msgstr "暂存分支旨在使用生产数据测试新功能,而不会损害具有测试记录的实际生产数据库。他们将创建作为生产数据库的中和副本的数据库。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:67
|
||
msgid "The neutralization includes:"
|
||
msgstr "中和包括:"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:69
|
||
msgid ""
|
||
"Disabling scheduled actions. If you want to test them, you can trigger their"
|
||
" action manually or re-enable them. Be aware that the platform will trigger "
|
||
"them less often if no one is using the database in order to save up "
|
||
"resources."
|
||
msgstr "禁用计划操作。如果要测试它们,可以手动触发它们的操作或重新启用它们。请注意,如果没有人使用数据库以节省资源,则平台将较少地触发它们。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:72
|
||
msgid ""
|
||
"Disabling outgoing emails by intercepting them with a mailcatcher. An "
|
||
":ref:`interface to view <odoosh-gettingstarted-branches-tabs-mails>` the "
|
||
"emails sent by your database is provided. That way, you do not have to worry"
|
||
" about sending test emails to your contacts."
|
||
msgstr ""
|
||
"通过使用邮件捕获器拦截传出电子邮件来禁用这些电子邮件。提供了一个:ref:`界面来查看 <odoosh-gettingstarted-branches-"
|
||
"tabs-mails>`数据库发送的电子邮件。这样,您就不必担心向联系人发送测试电子邮件。</odoosh-gettingstarted-"
|
||
"branches-tabs-mails>"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:75
|
||
msgid "Setting payment providers and shipping providers in test mode."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:76
|
||
msgid "Disabling IAP services"
|
||
msgstr "禁用 IAP 服务"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:78
|
||
msgid ""
|
||
"The latest database will be kept alive indefinitely, older ones from the "
|
||
"same branch may get garbage collected to make room for new ones. It will be "
|
||
"valid for 3 months, after which you will be expected to rebuild the branch. "
|
||
"If you make configuration or view changes in these databases, make sure to "
|
||
"document them or write them directly in the modules of the branch, using XML"
|
||
" data files overriding the default configuration or views."
|
||
msgstr ""
|
||
"最新的数据库将无限期地保持活动状态,来自同一分支的旧数据库可能会被垃圾收集,以便为新数据库腾出空间。它的有效期为3个月,之后您将需要重建分支。如果在这些数据库中进行配置或视图更改,请确保使用覆盖默认配置或视图的"
|
||
" XML 数据文件来记录这些更改或直接在分支的模块中写入这些更改。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:83
|
||
msgid ""
|
||
"The unit tests are not performed as, in Odoo, they currently rely on the "
|
||
"demo data, which is not loaded in the production database. In the future, if"
|
||
" Odoo supports to run the unit tests without the demo data, Odoo.sh will "
|
||
"then consider running the tests on staging databases."
|
||
msgstr ""
|
||
"单元测试不是在执行的,因为在Odoo中,它们当前依赖于演示数据,而演示数据不会加载到生产数据库中。将来,如果Odoo支持在没有演示数据的情况下运行单元测试,Odoo.sh"
|
||
" 将考虑在临时数据库上运行测试。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:88
|
||
#: ../../content/administration/odoo_sh/getting_started/builds.rst:81
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:56
|
||
msgid "Development"
|
||
msgstr "开发"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:90
|
||
msgid ""
|
||
"Development branches create new databases using the demo data to run the "
|
||
"unit tests. The installed modules are the ones included in your branches. "
|
||
"You can change this list of modules to install in your :ref:`project "
|
||
"Settings <odoosh-gettingstarted-settings-modules-installation>`."
|
||
msgstr ""
|
||
"开发分支使用演示数据创建新数据库来运行单元测试。已安装的模块是分支中包含的模块。您可以在 :ref:`project Settings` "
|
||
"中更改此模块列表以进行安装 <odoosh-gettingstarted-settings-modules-"
|
||
"installation>。</odoosh-gettingstarted-settings-modules-installation>"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:94
|
||
msgid ""
|
||
"When you push a new commit in one of these branches, a new server is "
|
||
"started, with a database created from scratch and the new revision of the "
|
||
"branch. The demo data is loaded, and the unit tests are performed by "
|
||
"default. This verifies your changes do not break any of the features tested "
|
||
"by them. If you wish, you can disable the tests or allow specific tests to "
|
||
"be run with custom tags in the :ref:`branch's settings <odoosh-"
|
||
"gettingstarted-branches-tabs-settings>`."
|
||
msgstr ""
|
||
"在其中一个分支中推送新提交时,将启动一个新服务器,并从头开始创建数据库和分支的新版本。加载演示数据,并默认执行单元测试。这将验证您的更改不会破坏它们测试的任何功能。如果您愿意,可以禁用测试或允许在"
|
||
" :ref:'branch''s settings ' 中使用自定义标记运行特定测试 <odoosh-gettingstarted-branches-"
|
||
"tabs-settings>。</odoosh-gettingstarted-branches-tabs-settings>"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:101
|
||
msgid ""
|
||
"Similar to staging branches, the emails are not sent but are intercepted by "
|
||
"a mailcatcher and scheduled actions are not triggered as long as the "
|
||
"database is not in use."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:104
|
||
msgid ""
|
||
"The databases created for development branches are meant to live around "
|
||
"three days. After that, they can be automatically garbage collected to make "
|
||
"room for new databases without prior notice."
|
||
msgstr "为开发分支创建的数据库应保留三天左右。之后,它们可以自动进行垃圾回收,以便为新数据库腾出空间,恕不另行通知。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:110
|
||
msgid "Merging your branches"
|
||
msgstr "合并您的分支机构"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:112
|
||
msgid ""
|
||
"You can merge your branches easily by drag and dropping them into each "
|
||
"other."
|
||
msgstr "您可以通过将分支拖放到彼此中来轻松合并分支。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:117
|
||
msgid ""
|
||
"When you want to test the changes of your development branches with the "
|
||
"production data, you can either:"
|
||
msgstr "如果要使用生产数据测试开发分支的更改,可以执行以下操作之一:"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:120
|
||
msgid ""
|
||
"merge the development branch into your staging branch, by drag and dropping "
|
||
"it onto the desired staging branch,"
|
||
msgstr "将开发分支合并到您的暂存分支中,方法是将其拖放到所需的暂存分支上,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:121
|
||
msgid ""
|
||
"drag and dropping the development branch on the staging section title, to "
|
||
"make it become a staging branch."
|
||
msgstr "将开发分支拖放到暂存部分标题上,以使其成为暂存分支。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:123
|
||
msgid ""
|
||
"When your latest changes are ready for production, you can drag and drop "
|
||
"your staging branch onto your production branch to merge and deploy in "
|
||
"production your newest features."
|
||
msgstr "当最新更改准备好投入生产时,可以将过渡分支拖放到生产分支上,以便在生产中合并和部署最新功能。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:127
|
||
msgid ""
|
||
"If you are bold enough, you can merge your development branches into your "
|
||
"production branch as well. It just means you skip the validation of your "
|
||
"changes with the production data through a staging branch."
|
||
msgstr "如果您足够大胆,也可以将开发分支合并到生产分支中。这只是意味着您跳过通过过渡分支对生产数据进行更改的验证。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:131
|
||
msgid ""
|
||
"You can merge your development branches into each other, and your staging "
|
||
"branches into each other."
|
||
msgstr "您可以将开发分支相互合并,也可以将过渡分支相互合并。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:133
|
||
msgid ""
|
||
"Of course, you can also use :code:`git merge` directly on your workstation "
|
||
"to merge your branches. Odoo.sh will be notified when new revisions have "
|
||
"been pushed in your branches."
|
||
msgstr ""
|
||
"当然,您也可以直接在工作站上使用 :code:`git merge` 来合并您的分支。Odoo.sh 将在您的分支机构中推送新修订时收到通知。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:136
|
||
msgid ""
|
||
"Merging a staging branch in the production branch only merges the source "
|
||
"code: Any configuration changes you made in the staging databases are not "
|
||
"passed to the production database."
|
||
msgstr "合并生产分支中的暂存分支只会合并源代码:在临时数据库中所做的任何配置更改都不会传递到生产数据库。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:139
|
||
msgid ""
|
||
"If you test configuration changes in staging branches, and want them to be "
|
||
"applied in the production, you have to either:"
|
||
msgstr "如果在暂存分支中测试配置更改,并希望在生产中应用这些更改,则必须执行以下操作之一:"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:141
|
||
msgid ""
|
||
"write the configuration changes in XML data files overriding the default "
|
||
"configuration or views in your branches, and then increase the version of "
|
||
"your module in its manifest (*__manifest__.py*) to trigger the update of the"
|
||
" module when you merge your staging branch in your production branch. This "
|
||
"is the best practice for a better scalability of your developments as you "
|
||
"will use the Git versioning features for all your configuration changes, and"
|
||
" therefore have a traceability for your changes."
|
||
msgstr ""
|
||
"在 XML 数据文件中写入配置更改,覆盖分支中的默认配置或视图,然后在其清单 (*__manifest__.py*) "
|
||
"中增加模块的版本,以便在将过渡分支合并到生产分支时触发模块的更新。这是提高开发可伸缩性的最佳实践,因为您将对所有配置更改使用 Git "
|
||
"版本控制功能,因此对更改具有可追溯性。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:147
|
||
msgid ""
|
||
"pass them manually from your staging to your production database, by "
|
||
"copy/pasting them."
|
||
msgstr "通过复制/粘贴它们,将它们从暂存手动传递到生产数据库。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:152
|
||
msgid "Tabs"
|
||
msgstr "页卡"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:155
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:57
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:85
|
||
msgid "History"
|
||
msgstr "历史"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:157
|
||
msgid "An overview of your branch history:"
|
||
msgstr "您的分行历史概览:"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:159
|
||
msgid "The messages of the commits and their authors,"
|
||
msgstr "提交及其作者的信息,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:160
|
||
msgid ""
|
||
"The various events linked to the platform, such as stage changes, database "
|
||
"imports, backup restores."
|
||
msgstr "链接到平台的各种事件,例如阶段更改,数据库导入,备份还原。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:165
|
||
msgid ""
|
||
"For each event, a status is displayed in the top right-hand corner. It can "
|
||
"provide information about the ongoing operation on the database "
|
||
"(installation, update, backup import, ...), or its result (tests feedback, "
|
||
"successful backup import, ...). When an operation is successful, you can "
|
||
"access the database thanks to the *connect* button."
|
||
msgstr ""
|
||
"对于每个事件,状态显示在右上角。它可以提供有关数据库上正在进行的操作(安装、更新、备份导入等)或其结果(测试反馈、备份导入成功等)的信息。操作成功后,您可以通过"
|
||
" *connect* 按钮访问数据库。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:173
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:73
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:101
|
||
msgid "Mails"
|
||
msgstr "邮件"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:175
|
||
msgid ""
|
||
"This tab contains the mail catcher. It displays an overview of the emails "
|
||
"sent by your database. The mail catcher is available for your development "
|
||
"and staging branches as the emails of your production database are really "
|
||
"sent instead of being intercepted."
|
||
msgstr ""
|
||
"此选项卡包含邮件捕获程序。它显示数据库发送的电子邮件的概述。邮件捕获器可用于您的开发和暂存分支,因为生产数据库的电子邮件实际上是发送的,而不是被拦截的。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:184
|
||
msgid "Shell"
|
||
msgstr "命令"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:186
|
||
msgid ""
|
||
"A shell access to your container. You can perform basic linux commands "
|
||
"(:code:`ls`, :code:`top`) and open a shell on your database by typing "
|
||
":code:`psql`."
|
||
msgstr ""
|
||
"对容器的 shell 访问。您可以执行基本的 linux 命令 (:code:`ls`, :code:`top`), 并通过键入 "
|
||
":code:`psql` 在数据库上打开一个 shell。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:192
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:208
|
||
msgid ""
|
||
"You can open multiple tabs and drag-and-drop them to arrange the layout as "
|
||
"you wish, for instance side by side."
|
||
msgstr "您可以打开多个选项卡并拖放它们以根据需要排列布局,例如并排排列。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:196
|
||
msgid ""
|
||
"Long running shell instances are not guaranteed. Idle shells can be "
|
||
"disconnected at anytime in order to free up resources."
|
||
msgstr "不能保证长时间运行的 shell 实例。空闲 shell 可以随时断开连接,以便释放资源。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:200
|
||
msgid "Editor"
|
||
msgstr "编辑"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:202
|
||
msgid ""
|
||
"An online integrated development environment (IDE) to edit the source code. "
|
||
"You can also open terminals, Python consoles and even Odoo Shell consoles."
|
||
msgstr "用于编辑源代码的在线集成开发环境 (IDE)。您还可以打开终端,Python控制台甚至Odoo Shell控制台。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:212
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:105
|
||
msgid "Monitoring"
|
||
msgstr "监控"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:214
|
||
msgid "This link contains various monitoring metrics of the current build."
|
||
msgstr "此链接包含当前生成的各种监视指标。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:219
|
||
msgid ""
|
||
"You can zoom, change the time range or select a specific metric on each "
|
||
"graph. On the graphs, annotations help you relate to changes on the build "
|
||
"(database import, git push, etc...)."
|
||
msgstr "您可以缩放、更改时间范围或在每个图表上选择特定指标。在图表上,注释可帮助您与构建(数据库导入,git推送等)的更改相关联。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:225
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:65
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:93
|
||
msgid "Logs"
|
||
msgstr "日志"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:227
|
||
msgid "A viewer to have a look to your server logs."
|
||
msgstr "查看服务器日志的查看器。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:232
|
||
msgid "Different logs are available:"
|
||
msgstr "可以使用不同的日志:"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:234
|
||
msgid ""
|
||
"install.log: The logs of the database installation. In a development branch,"
|
||
" the logs of the tests are included."
|
||
msgstr "install.log:数据库安装的日志。在开发分支中,包括测试的日志。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:235
|
||
msgid "pip.log: The logs of the Python dependencies installation."
|
||
msgstr "pip.log:Python 依赖项安装的日志。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:236
|
||
msgid "odoo.log: The logs of the running server."
|
||
msgstr "odoo.log:正在运行的服务器的日志。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:237
|
||
msgid "update.log: The logs of the database updates."
|
||
msgstr "update.log:数据库更新的日志。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:238
|
||
msgid ""
|
||
"pg_long_queries.log: The logs of psql queries that take an unusual amount of"
|
||
" time."
|
||
msgstr "pg_long_queries.log:psql 查询的日志,这些查询需要花费异常的时间。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:240
|
||
msgid ""
|
||
"If new lines are added in the logs, they will be displayed automatically. If"
|
||
" you scroll to the bottom, the browser will scroll automatically each time a"
|
||
" new line is added."
|
||
msgstr "如果在日志中添加新行,它们将自动显示。如果滚动到底部,则每次添加新行时,浏览器都会自动滚动。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:243
|
||
msgid ""
|
||
"You can pause the logs fetching by clicking on the according button in the "
|
||
"upper right corner of the view. The fetching is automatically stopped after "
|
||
"5 minutes. You can restart it using the play button."
|
||
msgstr "您可以通过单击视图右上角的相应按钮来暂停日志提取。抓取会在 5 分钟后自动停止。您可以使用播放按钮重新启动它。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:249
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:109
|
||
msgid "Backups"
|
||
msgstr "备份"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:251
|
||
msgid ""
|
||
"A list of the backups available for download and restore, the ability to "
|
||
"perform a manual backup and to import a database."
|
||
msgstr "可用于下载和还原的备份列表,执行手动备份和导入数据库的功能。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:257
|
||
msgid ""
|
||
"Odoo.sh makes daily backups of the production database. It keeps 7 daily, 4 "
|
||
"weekly and 3 monthly backups. Each backup includes the database dump, the "
|
||
"filestore (attachments, binary fields), logs and sessions."
|
||
msgstr ""
|
||
"Odoo.sh 对生产数据库进行每日备份。它每天保留7个,每周4个备份和每月3个备份。每个备份都包括数据库转储、文件库(附件、二进制字段)、日志和会话。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:260
|
||
msgid ""
|
||
"Staging and development databases are not backed up. You nevertheless have "
|
||
"the possibility to restore a backup of the production database in your "
|
||
"staging branches, for testing purposes, or to manually recover data that has"
|
||
" been deleted by accident from the production database."
|
||
msgstr "不备份暂存数据库和开发数据库。但是,出于测试目的,您可以在暂存分支中还原生产数据库的备份,或者手动恢复从生产数据库中意外删除的数据。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:264
|
||
msgid ""
|
||
"The list contains the backups kept on the server your production database is"
|
||
" hosted on. This server only keeps one month of backups: 7 daily and 4 "
|
||
"weekly backups."
|
||
msgstr "该列表包含保存在托管生产数据库的服务器上的备份。此服务器仅保留一个月的备份:每天 7 次备份和 4 次每周备份。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:267
|
||
msgid ""
|
||
"Dedicated backup servers keep the same backups, as well as 3 additional "
|
||
"monthly backups. To restore or download one of these monthly backups, please"
|
||
" `contact us <https://www.odoo.com/help>`_."
|
||
msgstr ""
|
||
"专用备份服务器保留相同的备份,以及另外 3 "
|
||
"个每月备份。要恢复或下载这些每月备份之一,请“联系我们<https://www.odoo.com/help>”_。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:270
|
||
msgid ""
|
||
"If you merge a commit updating the version of one or several modules (in "
|
||
":file:`__manifest__.py`), or their linked python dependencies (in "
|
||
":file:`requirements.txt`), then Odoo.sh performs a backup automatically "
|
||
"(flagged with type Update in the list), as either the container will be "
|
||
"changed by the installation of new pip packages, either the database itself "
|
||
"will be changed with the module update triggered afterwards. In these two "
|
||
"cases, we are doing a backup as it may potentially break things."
|
||
msgstr ""
|
||
"如果您合并一个提交,更新一个或多个模块的版本(在:file:`__manifest__.py`中),或者它们链接的python依赖项(在:file:`requirements.txt`中),那么"
|
||
" Odoo.sh "
|
||
"会自动执行备份(在列表中标记为Prov),因为容器将通过安装新的pip包进行更改,或者数据库本身将通过随后触发的模块更新进行更改。在这两种情况下,我们正在进行备份,因为它可能会破坏某些内容。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:276
|
||
msgid ""
|
||
"If you merge a commit that only changes some code without the above-"
|
||
"mentioned modifications, then no backup is done by Odoo.sh, as neither the "
|
||
"container nor the database is modified so the platform considers this safe "
|
||
"enough. Of course, as an extra precaution, you can make a backup manually "
|
||
"before making big changes in your production sources in case something goes "
|
||
"wrong (those manual backups are available for about one week). To avoid "
|
||
"abuse, we limit manual backups to 5 per day."
|
||
msgstr ""
|
||
"如果合并的提交仅更改某些代码而不进行上述修改,则 Odoo.sh "
|
||
"不会执行任何备份,因为容器和数据库都未被修改,因此平台认为这足够安全。当然,作为额外的预防措施,您可以在对生产源进行重大更改之前手动进行备份,以防出现问题(这些手动备份大约可以使用一周)。为避免滥用,我们将手动备份限制为每天"
|
||
" 5 次。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:282
|
||
msgid ""
|
||
"The *import database* feature accepts database archives in the format "
|
||
"provided by:"
|
||
msgstr "*导入数据库* 功能接受以下格式的数据库存档:"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:284
|
||
msgid ""
|
||
"the standard Odoo databases manager, (available for on-premise Odoo servers "
|
||
"under :code:`/web/database/manager`)"
|
||
msgstr "标准的Odoo数据库管理器,(适用于内部部署的Odoo服务器,下:`/web/database/manager`)"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:286
|
||
msgid "the Odoo online databases manager,"
|
||
msgstr "Odoo在线数据库管理器,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:287
|
||
msgid "the Odoo.sh backup download button of this *Backups* tab,"
|
||
msgstr "此*备份*选项卡的 Odoo.sh 备份下载按钮,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:288
|
||
msgid ""
|
||
"the Odoo.sh dump download button in the :ref:`Builds view <odoosh-"
|
||
"gettingstarted-builds>`."
|
||
msgstr ""
|
||
":ref:`构建视图`中的 Odoo.sh 转储下载按钮 <odoosh-gettingstarted-builds>。</odoosh-"
|
||
"gettingstarted-builds>"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:295
|
||
msgid "Available for production and staging branches for valid projects."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:298
|
||
msgid ":doc:`Upgrade documentation <../../upgrade>`"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:303
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:3
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:81
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:117
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:124
|
||
msgid "Settings"
|
||
msgstr "设置"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:305
|
||
msgid ""
|
||
"Here you can find a couple of settings that only apply to the currently "
|
||
"selected branch."
|
||
msgstr "在这里,您可以找到一些仅适用于当前所选分支的设置。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:310
|
||
msgid "**Behaviour upon new commit**"
|
||
msgstr " **提交时的行** "
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:312
|
||
msgid ""
|
||
"For development and staging branches, you can change the branch's behavior "
|
||
"upon receiving a new commit. By default, a development branch will create a "
|
||
"new build and a staging branch will update the previous build (see the "
|
||
":ref:`Production Stage <stage_production>`). This is especially useful "
|
||
"should the feature you're working on require a particular setup or "
|
||
"configuration, to avoid having to manually set it up again on every commit. "
|
||
"If you choose new build for a staging branch, it will make a fresh copy from"
|
||
" the production build every time a commit is pushed. A branch that is put "
|
||
"back from staging to development will automatically be set to 'Do nothing'."
|
||
msgstr ""
|
||
"对于开发和暂存分支,您可以在收到新提交时更改分支的行为。默认情况下,开发分支将创建新的生成,过渡分支将更新以前的生成(请参阅 "
|
||
":ref:'生产阶段<stage_production>')。如果您正在使用的功能需要特定的设置或配置,这将特别有用,以避免在每次提交时都必须再次手动设置它。如果为过渡分支选择新建版本,则每次推送提交时,它都会从生产版本中生成一个新副本。从暂存到开发的分支将自动设置为“不执行任何操作”。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:320
|
||
msgid "**Modules installation**"
|
||
msgstr " **块安** "
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:322
|
||
msgid ""
|
||
"Choose the modules to install automatically for your development builds."
|
||
msgstr "选择要为开发版本自动安装的模块。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:327
|
||
msgid ""
|
||
"*Install only my modules* will install the modules of the branch only. This "
|
||
"is the default option. The :ref:`submodules <odoosh-advanced-submodules>` "
|
||
"are excluded."
|
||
msgstr ""
|
||
"*仅安装我的模块*将仅安装分支的模块。这是默认选项。排除了 :ref:`子模块 <odoosh-advanced-submodules>`。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:329
|
||
msgid ""
|
||
"*Full installation (all modules)* will install the modules of the branch, "
|
||
"the modules included in the submodules and all standard modules of Odoo. "
|
||
"When running the full installation, the test suite is disabled."
|
||
msgstr "*完整安装(所有模块)*将安装Odoo的分支模块,子模块中包含的模块和所有标准模块。运行完整安装时,将禁用测试套件。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:331
|
||
msgid ""
|
||
"*Install a list of modules* will install the modules specified in the input "
|
||
"just below this option. The names are the technical name of the modules, and"
|
||
" they must be comma-separated."
|
||
msgstr "*安装模块列表*将安装此选项正下方的输入中指定的模块。这些名称是模块的技术名称,必须以逗号分隔。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:334
|
||
msgid ""
|
||
"If the tests are enabled, the standard Odoo modules suite can take up to 1 "
|
||
"hour. This setting applies to development builds only. Staging builds "
|
||
"duplicate the production build and the production build only installs base."
|
||
msgstr "如果启用了测试,标准 Odoo 模块套件最多可能需要 1 小时。此设置仅适用于开发版本。暂存版本复制生产版本,而生产版本仅复制安装基础。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:339
|
||
msgid "**Test suite**"
|
||
msgstr "自动化营销活动测试组件"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:341
|
||
msgid ""
|
||
"For development branches, you can choose to enable or disable the test "
|
||
"suite. It's enabled by default. When the test suite is enabled, you can "
|
||
"restrict them by specifying test tags :ref:`test tags "
|
||
"<developer/reference/testing/selection>`."
|
||
msgstr ""
|
||
"对于开发分支,可以选择启用或禁用测试套件。默认情况下,它处于启用状态。启用测试套件后,您可以通过指定测试标记 "
|
||
":ref:'测试标记<开发人员/参考/测试/选择>'来限制它们。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:345
|
||
msgid "**Odoo Version**"
|
||
msgstr "**Odoo版** "
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:347
|
||
msgid ""
|
||
"For development branches only, you can change the version of Odoo, should "
|
||
"you want to test upgraded code or develop features while your production "
|
||
"database is in the process of being upgraded to a newer version."
|
||
msgstr "仅对于开发分支,如果您想在生产数据库升级到较新版本的过程中测试升级后的代码或开发功能,则可以更改Odoo的版本。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:350
|
||
msgid ""
|
||
"In addition, for each version you have two options regarding the code "
|
||
"update."
|
||
msgstr "此外,对于每个版本,您都有两个关于代码更新的选项。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:352
|
||
msgid ""
|
||
"You can choose to benefit from the latest bug, security and performance "
|
||
"fixes automatically. The sources of your Odoo server will be updated weekly."
|
||
" This is the 'Latest' option."
|
||
msgstr "您可以选择自动从最新的错误,安全性和性能修复中受益。您的Odoo服务器的来源将每周更新一次。这是“最新”选项。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:354
|
||
msgid ""
|
||
"You can choose to pin the Odoo sources to a specific revision by selecting "
|
||
"them from a list of dates. Revisions will expire after 3 months. You will be"
|
||
" notified by mail when the expiration date approaches and if you don't take "
|
||
"action afterwards, you will automatically be set to the latest revision."
|
||
msgstr ""
|
||
"您可以通过从日期列表中选择 Odoo 源来选择它们,从而将 Odoo 源固定到特定修订版。修订将在 3 "
|
||
"个月后过期。当到期日期临近时,您将收到邮件通知,如果您之后不采取行动,您将自动设置为最新修订版。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:359
|
||
msgid "**Custom domains**"
|
||
msgstr " **定义** "
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:361
|
||
msgid ""
|
||
"Here you can configure additional domains for the selected branch. It's "
|
||
"possible to add other *<name>.odoo.com* domains or your own custom domains. "
|
||
"For the latter you have to:"
|
||
msgstr "您可以在此处为所选分支配置其他域。可以添加其他 *<name>.odoo.com* 域或您自己的自定义域。对于后者,您必须:</name>"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:364
|
||
msgid "own or purchase the domain name,"
|
||
msgstr "拥有或购买域名,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:365
|
||
msgid "add the domain name in this list,"
|
||
msgstr "在此列表中添加域名,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:366
|
||
msgid ""
|
||
"in your registrar's domain name manager, configure the domain name with a "
|
||
"``CNAME`` record set to your production database domain name."
|
||
msgstr "在注册商的域名管理器中,使用设置为生产数据库域名的“CNAME”记录配置域名。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:369
|
||
msgid ""
|
||
"For instance, to associate *www.mycompany.com* to your database "
|
||
"*mycompany.odoo.com*:"
|
||
msgstr "例如,要将 *www.mycompany.com* 与数据库 *mycompany.odoo.com* 相关联:"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:371
|
||
msgid ""
|
||
"in Odoo.sh, add *www.mycompany.com* in the custom domains of your project "
|
||
"settings,"
|
||
msgstr "在 Odoo.sh 中,在项目设置的自定义域中添加 *www.mycompany.com*,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:372
|
||
msgid ""
|
||
"in your domain name manager (e.g. *godaddy.com*, *gandi.net*, *ovh.com*), "
|
||
"configure *www.mycompany.com* with a ``CNAME`` record with as value "
|
||
"*mycompany.odoo.com*."
|
||
msgstr ""
|
||
"在您的域名管理器中(例如 *godaddy.com*、*gandi.net*、*ovh.com*),将 *www.mycompany.com* "
|
||
"配置为值为 *mycompany.odoo.com* 的“CNAME”记录。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:375
|
||
msgid "Bare domains (e.g. *mycompany.com*) are not accepted:"
|
||
msgstr "不接受裸域名(例如 *mycompany.com*):"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:377
|
||
msgid "they can only be configured using ``A`` records,"
|
||
msgstr "它们只能使用“A”记录进行配置,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:378
|
||
msgid "``A`` records only accept IP addresses as value,"
|
||
msgstr "“A”记录仅接受 IP 地址作为值,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:379
|
||
msgid ""
|
||
"the IP address of your database can change, following an upgrade, a hardware"
|
||
" failure or your wish to host your database in another country or continent."
|
||
msgstr "升级、硬件故障或您希望在其他国家或大洲托管数据库后,数据库的 IP 地址可能会发生变化。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:382
|
||
msgid ""
|
||
"Therefore, bare domains could suddenly no longer work because of this change"
|
||
" of IP address."
|
||
msgstr "因此,由于 IP 地址的更改,裸域可能突然不再工作。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:384
|
||
msgid ""
|
||
"In addition, if you would like both *mycompany.com* and *www.mycompany.com* "
|
||
"to work with your database, having the first redirecting to the second is "
|
||
"amongst the `SEO best practices "
|
||
"<https://support.google.com/webmasters/answer/7451184?hl=en>`_ (See *Provide"
|
||
" one version of a URL to reach a document*) in order to have one dominant "
|
||
"URL. You can therefore just configure *mycompany.com* to redirect to "
|
||
"*www.mycompany.com*. Most domain managers have the feature to configure this"
|
||
" redirection. This is commonly called a web redirection."
|
||
msgstr ""
|
||
"此外,如果您希望*mycompany.com*和*www.mycompany.com*都与您的数据库一起使用,那么将第一个重定向到第二个数据库是“SEO最佳实践<https://support.google.com/webmasters/answer/7451184?hl=en>”_之一(请参阅*提供一个版本的URL以访问文档*),以便拥有一个主导URL。因此,您只需将"
|
||
" *mycompany.com* 配置为重定向到 *www.mycompany.com*。大多数域管理器都具有配置此重定向的功能。这通常称为 Web "
|
||
"重定向。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:391
|
||
msgid "**HTTPS/SSL**"
|
||
msgstr "**HTTPS/SSL**"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:393
|
||
msgid ""
|
||
"If the redirection is correctly set up, the platform will automatically "
|
||
"generate an SSL certificate with `Let's Encrypt "
|
||
"<https://letsencrypt.org/about/>`_ within the hour and your domain will be "
|
||
"accessible through HTTPS."
|
||
msgstr ""
|
||
"如果正确设置了重定向,平台将在一小时内自动生成一个带有“让我们加密<https://letsencrypt.org/about/>”_的SSL证书,您的域将通过HTTPS访问。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:397
|
||
msgid ""
|
||
"While it is currently not possible to configure your own SSL certificates on"
|
||
" the Odoo.sh platform we are considering the feature if there is enough "
|
||
"demand."
|
||
msgstr "虽然目前无法在 Odoo.sh 平台上配置自己的SSL证书,但如果有足够的需求,我们正在考虑该功能。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:401
|
||
msgid "**SPF and DKIM compliance**"
|
||
msgstr "**SPF 和 DKIM 合规** "
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:403
|
||
msgid ""
|
||
"In case the domain of your users email addresses use SPF (Sender Policy "
|
||
"Framework) or DKIM (DomainKeys Identified Mail), don't forget to authorize "
|
||
"Odoo as a sending host in your domain name settings to increase the "
|
||
"deliverability of your outgoing emails. The configuration steps are "
|
||
"explained in the documentation about :ref:`SPF "
|
||
"<email_communication/spf_compliant>` and :ref:`DKIM "
|
||
"<email_communication/dkim_compliant>`."
|
||
msgstr ""
|
||
"如果您的用户电子邮件地址的域使用SPF(发件人策略框架)或DKIM(域密钥识别邮件),请不要忘记在您的域名设置中授权Odoo作为发送主机,以提高传出电子邮件的可传递性。有关"
|
||
" :ref:'SPF <email_communication/spf_compliant>' 和 :ref:'DKIM "
|
||
"<email_communication/dkim_compliant>' 的文档中介绍了配置步骤。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:410
|
||
msgid ""
|
||
"Forgetting to configure your SPF or DKIM to authorize Odoo as a sending host"
|
||
" can lead to the delivery of your emails as spam in your contacts inbox."
|
||
msgstr "忘记配置您的SPF或DKIM以授权Odoo作为发送主机可能会导致您的电子邮件作为垃圾邮件在您的联系人收件箱中传递。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:414
|
||
msgid "Shell commands"
|
||
msgstr "命令行管理程序命令"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:416
|
||
msgid ""
|
||
"In the top right-hand corner of the view, different shell commands are "
|
||
"available."
|
||
msgstr "在视图的右上角,可以使用不同的 shell 命令。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:421
|
||
msgid ""
|
||
"Each command can be copied in the clipboard to be used in a terminal, and "
|
||
"some of them can be used directly from Odoo.sh by clicking the *run* button "
|
||
"in such case a popup will prompt the user in order to define eventual "
|
||
"placeholders such as ``<URL>``, ``<PATH>``, ..."
|
||
msgstr ""
|
||
"每个命令都可以在剪贴板中复制以在终端中使用,其中一些命令可以直接从 Odoo.sh "
|
||
"通过单击*run*按钮使用,在这种情况下,弹出窗口将提示用户以定义最终占位符,例如“”,“”<URL><PATH>,...</PATH></URL>"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:427
|
||
msgid "Clone"
|
||
msgstr "克隆"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:429
|
||
msgid "Download the Git repository."
|
||
msgstr "下载 Git 存储库。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:435
|
||
msgid "Clones the repository *odoo/odoo*."
|
||
msgstr "克隆存储库 *odoo/odoo*。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:437
|
||
msgid ""
|
||
":code:`--recurse-submodules`: Downloads the submodules of your repository. "
|
||
"Submodules included in the submodules are downloaded as well."
|
||
msgstr ":code:`--recurse-submodules`:下载存储库的子模块。子模块中包含的子模块也会被下载。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:438
|
||
msgid ""
|
||
":code:`--branch`: checks out a specific branch of the repository, in this "
|
||
"case *master*."
|
||
msgstr ":code:`--branch`:签出存储库的特定分支,在本例中为 *master*。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:440
|
||
msgid ""
|
||
"The *run* button is not available for this command, as it is meant to be "
|
||
"used on your machines."
|
||
msgstr "*run* 按钮不可用于此命令,因为它应该在您的计算机上使用。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:443
|
||
msgid "Fork"
|
||
msgstr "分叉"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:445
|
||
msgid "Create a new branch based on the current branch."
|
||
msgstr "基于当前分支创建新分支。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:451
|
||
msgid ""
|
||
"Creates a new branch called *feature-1* based on the branch *master*, and "
|
||
"then checkouts it."
|
||
msgstr "基于分支 *master* 创建一个名为 *feature-1* 的新分支,然后将其签出。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:457
|
||
msgid "Uploads the new branch *feature-1* on your remote repository."
|
||
msgstr "将新分支 *feature-1* 上传到远程存储库。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:460
|
||
msgid "Merge"
|
||
msgstr "合并"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:462
|
||
msgid "Merge the current branch in another branch."
|
||
msgstr "将当前分支合并到另一个分支中。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:468
|
||
msgid "Merges the branch *staging-1* in the current branch."
|
||
msgstr "合并当前分支中的分支 *staging-1*。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:474
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:547
|
||
msgid ""
|
||
"Uploads the changes you just added in the *master* branch on your remote "
|
||
"repository."
|
||
msgstr "上载您刚刚在远程存储库的 *master* 分支中添加的更改。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:477
|
||
msgid "SSH"
|
||
msgstr "SSH"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:482
|
||
msgid ""
|
||
"In order to use SSH, you have to set up your profile SSH public key (if it "
|
||
"is not already done). To do so, follow these steps:"
|
||
msgstr "为了使用 SSH,您必须设置配置文件 SSH 公钥(如果尚未设置)。为此,请按照下列步骤操作:"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:485
|
||
msgid ""
|
||
"`Generate a new SSH key <https://help.github.com/en/github/authenticating-"
|
||
"to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-"
|
||
"agent#generating-a-new-ssh-key>`_"
|
||
msgstr ""
|
||
"`生成一个新的 SSH 密钥<https://help.github.com/en/github/authenticating-to-"
|
||
"github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent#generating-a-"
|
||
"new-ssh-key>`_"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:487
|
||
msgid ""
|
||
"`Copy the SSH key to your clipboard "
|
||
"<https://help.github.com/en/github/authenticating-to-github/adding-a-new-"
|
||
"ssh-key-to-your-github-account>`_ (only apply the step 1)"
|
||
msgstr ""
|
||
"“将 SSH 密钥复制到剪贴板<https://help.github.com/en/github/authenticating-to-"
|
||
"github/adding-a-new-ssh-key-to-your-github-account>”_(仅应用步骤 1)"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:490
|
||
msgid "Paste the copied content to your profile SSH keys and press \"Add\""
|
||
msgstr "将复制的内容粘贴到您的配置文件SSH键,然后按“添加`"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:495
|
||
msgid "The key should appear below"
|
||
msgstr "密钥应显示在下面"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:501
|
||
msgid "Connection"
|
||
msgstr "连接"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:503
|
||
msgid ""
|
||
"To connect to your builds using ssh use the following command in a terminal:"
|
||
msgstr "要使用 ssh 连接到构建,请在终端中使用以下命令:"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:509
|
||
msgid ""
|
||
"You will find a shortcut for this command into the SSH tab in the upper "
|
||
"right corner."
|
||
msgstr "您将在右上角的 SSH 选项卡中找到此命令的快捷方式。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:514
|
||
msgid ""
|
||
"Provided you have the :ref:`correct access rights <odoosh-gettingstarted-"
|
||
"settings-collaborators>` on the project, you'll be granted ssh access to the"
|
||
" build."
|
||
msgstr ""
|
||
"只要您对项目具有 :ref:'正确的访问权限 <odoosh-gettingstarted-settings-"
|
||
"collaborators>',您将被授予对生成的 ssh 访问权限。</odoosh-gettingstarted-settings-"
|
||
"collaborators>"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:518
|
||
msgid ""
|
||
"Long running ssh connections are not guaranteed. Idle connections will be "
|
||
"disconnected in order to free up resources."
|
||
msgstr "不能保证长时间运行的 ssh 连接。空闲连接将断开连接以释放资源。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:522
|
||
msgid "Submodule"
|
||
msgstr "子模块"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:524
|
||
msgid ""
|
||
"Add a branch from another repository in your current branch as a "
|
||
"*submodule*."
|
||
msgstr "将当前分支中另一个存储库中的分支添加为 *子模块*。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:526
|
||
msgid ""
|
||
"*Submodules* allows you to use modules from other repositories in your "
|
||
"project."
|
||
msgstr "*子模块* 允许您使用项目中其他存储库中的模块。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:528
|
||
msgid ""
|
||
"The submodules feature is detailed in the chapter :ref:`Submodules <odoosh-"
|
||
"advanced-submodules>` of this documentation."
|
||
msgstr ""
|
||
"子模块功能在本文档的 :ref:`Submodules <odoosh-advanced-submodules>` 一</odoosh-"
|
||
"advanced-submodules>章中有详细说明。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:535
|
||
msgid ""
|
||
"Adds the branch *master* of the repository *<URL>* as a submodule under the "
|
||
"path *<PATH>* in your current branch."
|
||
msgstr "将存储库 ** 的分支 *master<URL>* 添加为<PATH>当前分支中</PATH>路径 ** 下的子模块。</URL>"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:541
|
||
msgid "Commits all your current changes."
|
||
msgstr "提交所有当前更改。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:552
|
||
msgid "Delete a branch from your repository."
|
||
msgstr "从存储库中删除分支。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:558
|
||
msgid "Deletes the branch in your remote repository."
|
||
msgstr "删除远程存储库中的分支。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/branches.rst:564
|
||
msgid "Deletes the branch in your local copy of the repository."
|
||
msgstr "删除存储库的本地副本中的分支。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/builds.rst:6
|
||
msgid "Builds"
|
||
msgstr "用户构建未过滤的软件包。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/builds.rst:11
|
||
msgid ""
|
||
"In Odoo.sh, a build is considered as a database loaded by an Odoo server "
|
||
"(`odoo/odoo <https://github.com/odoo/odoo>`_ & `odoo/enterprise "
|
||
"<https://github.com/odoo/enterprise>`_) running on a specific revision of "
|
||
"your project repository in a containerized environment. Its purpose is to "
|
||
"test the well-behavior of the server, the database and the features with "
|
||
"this revision."
|
||
msgstr ""
|
||
"在 Odoo.sh 中,构建被视为由 Odoo 服务器(`odoo/odoo <https://github.com/odoo/odoo>`_ 和 "
|
||
"`odoo/enterprise "
|
||
"<https://github.com/odoo/enterprise>`_)加载的数据库,该服务器在容器化环境中的项目存储库的特定版本上运行。其目的是使用此修订版测试服务器、数据库和功能的良好行为。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/builds.rst:20
|
||
msgid ""
|
||
"In this view, a row represents a branch, and a cell of a row represents a "
|
||
"build of this branch."
|
||
msgstr "在此视图中,一行表示一个分支,一行的单元格表示此分支的生成。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/builds.rst:22
|
||
msgid ""
|
||
"Most of the time, builds are created following pushes on your Github "
|
||
"repository branches. They can be created as well when you do other "
|
||
"operations, such as importing a database on Odoo.sh or asking a rebuild for "
|
||
"a branch in your project."
|
||
msgstr ""
|
||
"大多数情况下,构建是在 Github 存储库分支上的推送之后创建的。当您执行其他操作(例如在 Odoo.sh "
|
||
"上导入数据库或请求重建项目中的分支)时,也可以创建它们。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/builds.rst:26
|
||
msgid ""
|
||
"A build is considered successful if no errors or warnings come up during its"
|
||
" creation. A successful build is highlighted in green."
|
||
msgstr "如果在创建过程中未出现任何错误或警告,则认为生成成功。成功的构建以绿色突出显示。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/builds.rst:29
|
||
msgid ""
|
||
"A build is considered failed if errors come up during its creation. A failed"
|
||
" build is highlighted in red."
|
||
msgstr "如果在创建过程中出现错误,则认为生成失败。失败的生成以红色突出显示。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/builds.rst:32
|
||
msgid ""
|
||
"If warnings come up during the creation, but there are no errors, the build "
|
||
"is considered almost successful. It is highlighted in yellow to notify the "
|
||
"developer warnings were raised."
|
||
msgstr "如果在创建过程中出现警告,但没有错误,则认为生成几乎成功。它以黄色突出显示,以通知开发人员警告已引发。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/builds.rst:35
|
||
msgid ""
|
||
"Builds do not always create a database from scratch. For instance, when "
|
||
"pushing a change on the production branch, the build created just starts the"
|
||
" server with your new revision and tries to load the current production "
|
||
"database on it. If no errors come up, the build is considered successful, "
|
||
"and otherwise failed."
|
||
msgstr ""
|
||
"生成并不总是从头开始创建数据库。例如,在生产分支上推送更改时,创建的生成仅使用新修订版本启动服务器,并尝试在其上加载当前的生产数据库。如果未出现错误,则认为生成成功,否则将失败。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/builds.rst:46
|
||
msgid ""
|
||
"The first build of a production branch creates a database from scratch. If "
|
||
"this build is successful, this database is considered as the production "
|
||
"database of your project."
|
||
msgstr "生产分支的第一个生成从头开始创建数据库。如果此生成成功,则将此数据库视为项目的生产数据库。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/builds.rst:49
|
||
msgid ""
|
||
"From then, pushes on the production branch will create new builds that "
|
||
"attempt to load the database using a server running with the new revision."
|
||
msgstr "从那时起,对生产分支的推送将创建新的生成,这些生成尝试使用与新版本一起运行的服务器加载数据库。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/builds.rst:52
|
||
msgid ""
|
||
"If the build is successful, or has warnings but no errors, the production "
|
||
"database will now run with this build, along with the revision associated to"
|
||
" this build."
|
||
msgstr "如果生成成功,或者有警告但没有错误,则生产数据库现在将与此生成一起运行,以及与此生成关联的修订版。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/builds.rst:55
|
||
msgid ""
|
||
"If the build fails to load or update the database, then the previous "
|
||
"successful build is re-used to load the database, and therefore the database"
|
||
" will run using a server running with the previous successful revision."
|
||
msgstr "如果生成无法加载或更新数据库,则会重新使用以前成功的生成来加载数据库,因此数据库将使用运行上一个成功修订版的服务器运行。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/builds.rst:59
|
||
msgid ""
|
||
"The build used to run the production database is always the first of the "
|
||
"builds list. If a build fails, it is put after the build currently running "
|
||
"the production database."
|
||
msgstr "用于运行生产数据库的生成始终是生成列表的第一个。如果生成失败,则会将其放在当前正在运行生产数据库的生成之后。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/builds.rst:65
|
||
msgid ""
|
||
"Staging builds duplicate the production database, and try to load this "
|
||
"duplicate with the revisions of the staging branches."
|
||
msgstr "暂存生成复制生产数据库,并尝试使用暂存分支的修订加载此副本。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/builds.rst:68
|
||
msgid ""
|
||
"Each time you push a new revision on a staging branch, the build created "
|
||
"uses a new copy of the production database. The databases are not re-used "
|
||
"between builds of the same branch. This ensures:"
|
||
msgstr "每次在暂存分支上推送新修订版本时,创建的生成都会使用生产数据库的新副本。数据库不会在同一分支的生成之间重复使用。这可确保:"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/builds.rst:71
|
||
msgid ""
|
||
"staging builds use databases that are close to what the production looks "
|
||
"like, so you do not make your tests with outdated data,"
|
||
msgstr "暂存构建使用与生产环境接近的数据库,因此您不会使用过时的数据进行测试。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/builds.rst:74
|
||
msgid ""
|
||
"you can play around as much as you want in the same staging database, and "
|
||
"you can then ask for a rebuild when you want to restart with a new copy of "
|
||
"the production."
|
||
msgstr "您可以在同一临时数据库中随心所欲地玩,然后,当您想要使用生产的新副本重新启动时,可以要求重建。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/builds.rst:77
|
||
msgid ""
|
||
"Nevertheless, this means that if you make configuration changes in staging "
|
||
"databases and do not apply them in the production, they will not be passed "
|
||
"on the next build of the same staging branch."
|
||
msgstr "但是,这意味着,如果在临时数据库中进行了配置更改,并且未在生产中应用这些更改,则这些更改将不会在同一暂存分支的下一次生成中传递。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/builds.rst:83
|
||
msgid ""
|
||
"Development builds create new databases, load the demo data and run the unit"
|
||
" tests."
|
||
msgstr "开发构建创建新数据库,加载演示数据并运行单元测试。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/builds.rst:85
|
||
msgid ""
|
||
"A build will be considered failed and highlighted in red if tests fail "
|
||
"during the installation, as they are meant to raise errors if something "
|
||
"wrong occurs."
|
||
msgstr "如果测试在安装过程中失败,则生成将被视为失败并以红色突出显示,因为它们意味着如果发生错误,则会引发错误。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/builds.rst:88
|
||
msgid ""
|
||
"If all tests pass, and there is no error, the build will be considered "
|
||
"successful."
|
||
msgstr "如果所有测试都通过,并且没有错误,则生成将被视为成功。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/builds.rst:90
|
||
msgid ""
|
||
"According to the list of modules to install and test, a development build "
|
||
"can take up to 1 hour to be ready. This is due to the large number of tests "
|
||
"set in the default Odoo modules suite."
|
||
msgstr "根据要安装和测试的模块列表,开发版本最多可能需要 1 小时才能准备就绪。这是由于在默认的Odoo模块套件中设置了大量测试。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/builds.rst:94
|
||
msgid "Features"
|
||
msgstr "功能"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/builds.rst:96
|
||
msgid ""
|
||
"The production branch will always appear first, and then the other branches "
|
||
"are ordered by last build created. You can filter out the branches."
|
||
msgstr "生产分支将始终首先显示,然后按上次创建的生成对其他分支进行排序。您可以过滤掉分支。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/builds.rst:102
|
||
msgid ""
|
||
"For each branch, you can access the last build's database using the "
|
||
"*Connect* link and jump to the branch code using the *Github* link. For "
|
||
"other branches than the production, you can create a new build which will "
|
||
"use the latest revision of the branch using the link *rebuild*. This last "
|
||
"link is not available when there is already a build in progress for the "
|
||
"branch."
|
||
msgstr ""
|
||
"对于每个分支,您可以使用 *Connect* 链接访问最后一个构建的数据库,并使用 *Github* "
|
||
"链接跳转到分支代码。对于生产分支以外的其他分支,您可以创建一个新的构建版本,该构建将使用链接*rebuild*的分支的最新版本。当分支的构建过程中已进行时,最后一个链接不可用。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/builds.rst:110
|
||
msgid ""
|
||
"For each build, you can access the revision changes using the button with "
|
||
"the Github icon. You can access the build's database as the administrator "
|
||
"using the *Connect* button. Also, you can access the database with another "
|
||
"user using the *Connect as* button, in the dropdown menu of the *Connect* "
|
||
"button."
|
||
msgstr ""
|
||
"对于每个版本,您可以使用带有 Github "
|
||
"图标的按钮访问修订版更改。您可以使用*连接*按钮以管理员身份访问构建的数据库。此外,您还可以使用*连接*按钮下拉菜单中的*连接为*按钮与其他用户一起访问数据库。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/builds.rst:122
|
||
msgid ""
|
||
"In the dropdown menu of the build, you can access the same features than in "
|
||
":ref:`the branches view <odoosh-gettingstarted-branches-tabs>`: *Logs*, *Web"
|
||
" Shell*, *Editor*, *Outgoing e-mails*. You also have the possibility to "
|
||
"*Download a dump* of the build's database."
|
||
msgstr ""
|
||
"在构建的下拉菜单中,您可以访问与 :ref:'分支视图 '相同的功能 <odoosh-gettingstarted-branches-"
|
||
"tabs>:*日志*,*Web Shell*,*编辑器*,*传出电子邮件*。您还可以*下载构建数据库的转储*。</odoosh-"
|
||
"gettingstarted-branches-tabs>"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:6
|
||
msgid "Create your project"
|
||
msgstr "创建项目"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:9
|
||
msgid "Deploy your platform"
|
||
msgstr "部署您的平台"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:11
|
||
msgid ""
|
||
"Go to `Odoo.sh <https://www.odoo.sh/>`_ and hit the *Deploy your platform* "
|
||
"button."
|
||
msgstr "转到“Odoo.sh <https://www.odoo.sh/>”_,然后点击“*部署您的平台”按钮。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:17
|
||
msgid "Sign in with Github"
|
||
msgstr "使用 GitHub 登录"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:19
|
||
msgid ""
|
||
"Sign in with your Github account. If you do not have an account yet, hit the"
|
||
" *Create an account* link."
|
||
msgstr "使用您的 Github 帐户登录。如果您还没有帐户,请点击*创建帐户*链接。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:26
|
||
msgid "Authorize Odoo.sh"
|
||
msgstr "授权 Odoo.sh"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:28
|
||
msgid ""
|
||
"Grant Odoo.sh the required accesses to your account by clicking the "
|
||
"*Authorize* button."
|
||
msgstr "通过单击“*授权”按钮,授予 Odoo.sh 对您的帐户所需的访问权限。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:33
|
||
msgid "Odoo.sh basically needs:"
|
||
msgstr "Odoo.sh 基本需求:"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:35
|
||
msgid "to know your Github login and email,"
|
||
msgstr "了解您的Github登录和电子邮件,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:36
|
||
msgid "to create a new repository in case you decide to start from scratch,"
|
||
msgstr "创建一个新的存储库,以防您决定从头开始,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:37
|
||
msgid ""
|
||
"to read your existing repositories, including the ones of your "
|
||
"organizations, in case you want to start from an existing repository,"
|
||
msgstr "读取现有存储库,包括组织的存储库,以防您想从现有存储库开始,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:39
|
||
msgid "to create a webhook to be notified each time you push changes,"
|
||
msgstr "创建一个 Webhook,以便在每次推送更改时收到通知,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:40
|
||
msgid ""
|
||
"to commit changes to make your deployment easier, merging branches or adding"
|
||
" new `submodules <https://git-scm.com/book/en/v2/Git-Tools-Submodules>`_ for"
|
||
" example."
|
||
msgstr ""
|
||
"以提交更改以简化部署,例如合并分支或添加新的“子模块<https://git-scm.com/book/en/v2/Git-Tools-"
|
||
"Submodules>”_。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:44
|
||
msgid "Submit your project"
|
||
msgstr "提交您的项目"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:46
|
||
msgid ""
|
||
"Choose if you want to start from scratch by creating a new repository, or if"
|
||
" you want to use an existing repository."
|
||
msgstr "选择是要通过创建新存储库从头开始,还是要使用现有存储库。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:49
|
||
msgid "Then, choose a name or select the repository you want to use."
|
||
msgstr "然后,选择一个名称或选择要使用的存储库。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:51
|
||
msgid ""
|
||
"Choose the Odoo version you want to use. If you plan to import an existing "
|
||
"database or an existing set of applications, you might need to choose the "
|
||
"according version. If you start from scratch, use the latest version."
|
||
msgstr "选择您要使用的 Odoo 版本。如果计划导入现有数据库或现有应用程序集,则可能需要选择相应的版本。如果从头开始,请使用最新版本。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:55
|
||
msgid ""
|
||
"Enter your *subscription code*. This is also called *subscription referral*,"
|
||
" *contract number* or *activation code*."
|
||
msgstr "输入您的*订阅代码*。这也称为*订阅推荐*,*合同号*或*激活码*。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:58
|
||
msgid ""
|
||
"It should be the code of your Enterprise subscription that includes Odoo.sh."
|
||
msgstr "它应该是包含 Odoo.sh 的企业订阅的代码。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:60
|
||
msgid ""
|
||
"Partners can use their partnership codes to start a trial. Should their "
|
||
"clients start a project, they ought to get an Enterprise subscription "
|
||
"including Odoo.sh and use its subscription code. The partner will get 50% of"
|
||
" the amount back as commission. Contact your sales representative or account"
|
||
" manager in order to get it."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:65
|
||
msgid ""
|
||
"When submitting the form, if you are notified your subscription is not "
|
||
"valid, it either means:"
|
||
msgstr "提交表单时,如果通知您的订阅无效,则表示:"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:67
|
||
msgid "it is not an existing subscription,"
|
||
msgstr "它不是现有的订阅,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:68
|
||
msgid "it is not a partnership subscription,"
|
||
msgstr "它不是合伙订阅,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:69
|
||
msgid "it is an enterprise subscription, but which does not include Odoo.sh,"
|
||
msgstr "它是一个企业订阅,但不包括 Odoo.sh,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:70
|
||
msgid ""
|
||
"it is neither a partnership subscription or an enterprise subscription (e.g."
|
||
" an online subscription)."
|
||
msgstr "它既不是合作伙伴订阅,也不是企业订阅(例如在线订阅)。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:73
|
||
msgid ""
|
||
"In case of doubt with your subscription, please contact the `Odoo support "
|
||
"<https://www.odoo.com/help>`_."
|
||
msgstr "如果您的订阅有任何疑问,请联系“Odoo支持<https://www.odoo.com/help>”_。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:80
|
||
msgid "You're done !"
|
||
msgstr "大功告成!"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:82
|
||
msgid ""
|
||
"You can start using Odoo.sh. Your first build is about to be created. You "
|
||
"will soon be able to connect to your first database."
|
||
msgstr "您可以开始使用 Odoo.sh。您的第一个生成即将创建。您很快就可以连接到您的第一个数据库。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:91
|
||
msgid "Import your database"
|
||
msgstr "导入数据库"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:93
|
||
msgid ""
|
||
"You can import your database in your Odoo.sh project as long as it is in a "
|
||
":doc:`supported version </administration/maintain/supported_versions>` of "
|
||
"Odoo."
|
||
msgstr ""
|
||
"您可以在 Odoo.sh 项目中导入数据库,只要它位于 Odoo 的 :doc:`支持版本 "
|
||
"</administration/maintenance/supported_versions>` 中。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:97
|
||
msgid "Push your modules in production"
|
||
msgstr "在生产环境中推送您的模块"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:99
|
||
msgid ""
|
||
"If you use community or custom modules, add them in a branch in your Github "
|
||
"repository. Databases hosted on the Odoo.com online platform do not have any"
|
||
" custom modules. Users of these databases can therefore skip this step."
|
||
msgstr ""
|
||
"如果您使用社区或自定义模块,请将它们添加到 Github 存储库的分支中。Odoo.com "
|
||
"在线平台上托管的数据库没有任何自定义模块。因此,这些数据库的用户可以跳过此步骤。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:103
|
||
msgid ""
|
||
"You can structure your modules as you wish, Odoo.sh will automatically "
|
||
"detect the folders containing Odoo addons. For instance, you can put all "
|
||
"your modules folder in the root directory of your repository, or group the "
|
||
"modules in folders by categories that you define (accounting, project, ...)."
|
||
msgstr ""
|
||
"您可以根据需要构建模块,Odoo.sh "
|
||
"将自动检测包含Odoo插件的文件夹。例如,您可以将所有模块文件夹放在存储库的根目录中,或者按您定义的类别(会计,项目等)将模块分组到文件夹中。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:108
|
||
msgid ""
|
||
"For community modules available in public Git repositories, you can also "
|
||
"consider to add them using :ref:`Submodules <odoosh-advanced-submodules>`."
|
||
msgstr ""
|
||
"对于公共 Git 存储库中可用的社区模块,您还可以考虑使用 :ref:`Submodules` 添加它们 <odoosh-advanced-"
|
||
"submodules>。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:111
|
||
msgid ""
|
||
"Then, either :ref:`make this branch the production branch <odoosh-"
|
||
"gettingstarted-branches-stages>`, or :ref:`merge it into your production "
|
||
"branch <odoosh-gettingstarted-branches-mergingbranches>`."
|
||
msgstr ""
|
||
"然后,可以:ref:`使此分支成为生产分支 <odoosh-gettingstarted-branches-"
|
||
"stages>`,或者:ref:`将其合并到您的生产分支 <odoosh-gettingstarted-branches-"
|
||
"mergingbranches>`中。</odoosh-gettingstarted-branches-"
|
||
"mergingbranches></odoosh-gettingstarted-branches-stages>"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:115
|
||
msgid "Download a backup"
|
||
msgstr "下载备份"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:118
|
||
msgid "On-premise databases"
|
||
msgstr "本地数据库"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:120
|
||
msgid ""
|
||
"Access the URL :file:`/web/database/manager` of your on-premise database and"
|
||
" download a backup."
|
||
msgstr "访问本地数据库的 URL :file:`/web/database/manager` 并下载备份。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:124
|
||
msgid ""
|
||
"If you cannot access the database manager, it may have been disabled by your"
|
||
" system administrator. See the :ref:`database manager security documentation"
|
||
" <db_manager_security>`."
|
||
msgstr ""
|
||
"如果无法访问数据库管理器,那么系统管理员可能已禁用该数据库管理器。请参阅 :ref:`数据库管理器安全文档<db_manager_security>`。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:127
|
||
msgid ""
|
||
"You will need the master password of your database server. If you do not "
|
||
"have it, contact your system administrator."
|
||
msgstr "您将需要数据库服务器的主密码。如果没有,请与系统管理员联系。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:133
|
||
msgid "Choose a zip including the filestore as the backup format."
|
||
msgstr "选择一个包含文件存储的 zip 作为备份格式。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:139
|
||
msgid "Odoo Online databases"
|
||
msgstr "Odoo 在线数据库"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:141
|
||
msgid ""
|
||
"`Access your databases manager "
|
||
"<https://accounts.odoo.com/my/databases/manage>`_ and download a backup of "
|
||
"your database."
|
||
msgstr "“访问数据库管理器<https://accounts.odoo.com/my/databases/manage>”_ 并下载数据库的备份。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:149
|
||
msgid "Online versions (e.g. *saas-**) are not supported on Odoo.sh."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:152
|
||
msgid "Upload the backup"
|
||
msgstr "上传备份"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:154
|
||
msgid ""
|
||
"Then, in your Odoo.sh project, in the backups tab of your production branch,"
|
||
" import the backup you just downloaded."
|
||
msgstr "然后,在 Odoo.sh 项目中,在生产分支的“备份”选项卡中,导入刚下载的备份。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:160
|
||
msgid ""
|
||
"Once the backup imported, you can access the database using the *Connect* "
|
||
"button in the history of the branch."
|
||
msgstr "导入备份后,您可以使用分支历史记录中的*连接*按钮访问数据库。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:167
|
||
msgid "Check your outgoing email servers"
|
||
msgstr "检查您的传出电子邮件服务器"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:169
|
||
msgid ""
|
||
"There is a default mail server provided with Odoo.sh. To use it, there must "
|
||
"be no enabled outgoing mail server configured in your database in "
|
||
":menuselection:`Settings --> Technical --> Outgoing Mail Servers` "
|
||
"(:ref:`Developer mode <developer-mode>` must be activated)."
|
||
msgstr ""
|
||
"有一个默认的邮件服务器,其中包含 Odoo.sh。要使用它,您的数据库中必须没有在:menuselection:`Settings --> "
|
||
"Technical --> Sent Mail Servers`中配置已启用的发送邮件服务器(:ref:`Developer mode "
|
||
"<developer-mode>`必须激活)。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:174
|
||
msgid ""
|
||
"After the import of your database, all outgoing email servers are disabled "
|
||
"so you use the Odoo.sh email server provided by default."
|
||
msgstr "导入数据库后,将禁用所有传出电子邮件服务器,以便您使用默认提供的 Odoo.sh 电子邮件服务器。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:178
|
||
msgid ""
|
||
"Port 25 is (and will stay) closed. If you want to connect to an external "
|
||
"SMTP server, you should use ports 465 and 587."
|
||
msgstr "港口25已经(并将保持)关闭。如果要连接到外部 SMTP 服务器,则应使用端口 465 和 587。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:182
|
||
msgid "Check your scheduled actions"
|
||
msgstr "检查计划的行动"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:184
|
||
msgid "All scheduled actions are disabled after the import."
|
||
msgstr "导入后,将禁用所有计划的操作。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:186
|
||
msgid ""
|
||
"This is to prevent your newly imported database to perform actions that "
|
||
"could impact your running production, such as sending the mails remaining in"
|
||
" the queue, processing mass mailings, or third-party services "
|
||
"synchronization (Calendars, files hosting, ...)."
|
||
msgstr "这是为了防止新导入的数据库执行可能影响正在运行的生产的操作,例如发送队列中剩余的邮件、处理群发邮件或第三方服务同步(日历、文件托管等)。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:190
|
||
msgid ""
|
||
"If you plan to make the imported database your production, enable the "
|
||
"scheduled actions you need. You can check what is enabled in the database of"
|
||
" origin and enable the same actions in the imported database. Scheduled "
|
||
"actions are located under :menuselection:`Settings --> Technical --> "
|
||
"Automation --> Scheduled Actions`."
|
||
msgstr ""
|
||
"如果计划将导入的数据库作为生产数据库,请启用所需的计划操作。您可以检查源数据库中启用了哪些操作,并在导入的数据库中启用相同的操作。计划操作位于:menuselection:`设置"
|
||
" --> 技术 --> 自动化 -->计划操作`下。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:196
|
||
msgid "Register your subscription"
|
||
msgstr "注册您的订阅"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:198
|
||
msgid "Your subscription is unlinked after the import."
|
||
msgstr "导入后,您的订阅将取消链接。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:200
|
||
msgid ""
|
||
"The imported database is considered a duplicate by default and the "
|
||
"enterprise subscription is therefore removed, as you can only have one "
|
||
"database linked per subscription."
|
||
msgstr "默认情况下,导入的数据库被视为重复数据库,因此将删除企业订阅,因为每个订阅只能链接一个数据库。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/create.rst:203
|
||
msgid ""
|
||
"If you plan to make it your production, unlink your former database from the"
|
||
" subscription, and register the newly imported database. Read the "
|
||
":doc:`database registration documentation <../../maintain/on_premise>` for "
|
||
"instructions."
|
||
msgstr ""
|
||
"如果计划将其作为生产数据库,请从订阅中取消以前的数据库链接,然后注册新导入的数据库。阅读:d:数据库注册文档<。/../maintenance/on_premise>`"
|
||
" 以获取说明。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:3
|
||
msgid "Your first module"
|
||
msgstr "您的第一个模块"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:8
|
||
msgid ""
|
||
"This chapter helps you to create your first Odoo module and deploy it in "
|
||
"your Odoo.sh project."
|
||
msgstr "本章帮助您创建第一个 Odoo 模块并将其部署到 Odoo.sh 项目中。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:10
|
||
msgid ""
|
||
"This tutorial requires :ref:`you created a project on Odoo.sh <odoosh-"
|
||
"gettingstarted-create>`, and you know your Github repository's URL."
|
||
msgstr ""
|
||
"本教程需要 :ref:'您在 Odoo.sh' 上创建了一个项目 <odoosh-gettingstarted-create>,并且您知道 Github"
|
||
" 存储库的 URL。</odoosh-gettingstarted-create>"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:13
|
||
msgid "Basic use of Git and Github is explained."
|
||
msgstr "解释了Git和Github的基本用法。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:15
|
||
msgid "The below assumptions are made:"
|
||
msgstr "假设如下:"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:17
|
||
msgid ""
|
||
"*~/src* is the directory where are located the Git repositories related to "
|
||
"your Odoo projects,"
|
||
msgstr "*~/src* 是与您的 Odoo 项目相关的 Git 存储库所在的目录,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:18
|
||
msgid "*odoo* is the Github user,"
|
||
msgstr "*odoo* 是 Github 用户,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:19
|
||
msgid "*odoo-addons* is the Github repository,"
|
||
msgstr "*odoo-addons* 是 Github 的存储库,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:20
|
||
msgid "*feature-1* is the name of a development branch,"
|
||
msgstr "*feature-1* 是开发分支的名称,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:21
|
||
msgid "*master* is the name of the production branch,"
|
||
msgstr "*master* 是生产分支的名称,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:22
|
||
msgid "*my_module* is the name of the module."
|
||
msgstr "*my_module* 是模块的名称。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:24
|
||
msgid "Replace these by the values of your choice."
|
||
msgstr "将这些值替换为您选择的值。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:27
|
||
msgid "Create the development branch"
|
||
msgstr "创建开发分支"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:30
|
||
msgid "From Odoo.sh"
|
||
msgstr "从 Odoo.sh"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:32
|
||
msgid "In the branches view:"
|
||
msgstr "在分支视图中:"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:34
|
||
msgid "hit the :code:`+` button next to the development stage,"
|
||
msgstr "点击开发阶段旁边的:code:`+`按钮,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:35
|
||
msgid "choose the branch *master* in the *Fork* selection,"
|
||
msgstr "在 *分叉* 选择中选择分支 *主*,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:36
|
||
msgid "type *feature-1* in the *To* input."
|
||
msgstr "在 *To* 输入中键入 *feature-1*。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:38
|
||
msgid "|pic1| |pic2|"
|
||
msgstr "|图片1| |图片2|"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:40
|
||
msgid "pic1"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:43
|
||
msgid "pic2"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:46
|
||
msgid ""
|
||
"Once the build created, you can access the editor and browse to the folder "
|
||
"*~/src/user* to access to the code of your development branch."
|
||
msgstr "创建生成后,可以访问编辑器并浏览到文件夹 *~/src/user* 以访问开发分支的代码。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:56
|
||
msgid "From your computer"
|
||
msgstr "画出你最漂亮的签名!<br>你也可以自动创建一个,或者从你的电脑中加载一个签名。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:58
|
||
msgid "Clone your Github repository on your computer:"
|
||
msgstr "在您的计算机上克隆 Github 存储库:"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:67
|
||
msgid "Create a new branch:"
|
||
msgstr "创建新分支:"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:74
|
||
msgid "Create the module structure"
|
||
msgstr "创建模块结构"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:77
|
||
msgid "Scaffolding the module"
|
||
msgstr "搭建模块的脚手架"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:79
|
||
msgid ""
|
||
"While not necessary, scaffolding avoids the tedium of setting the basic Odoo"
|
||
" module structure. You can scaffold a new module using the executable *odoo-"
|
||
"bin*."
|
||
msgstr "虽然不是必需的,但脚手架避免了设置基本Odoo模块结构的乏味。您可以使用可执行文件 *odoo-bin* 构建新模块的基架。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:82
|
||
msgid "From the Odoo.sh editor, in a terminal:"
|
||
msgstr "在 Odoo.sh 编辑器中,在终端中:"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:88
|
||
msgid ""
|
||
"Or, from your computer, if you have an :doc:`installation of Odoo "
|
||
"<../../install/source>`:"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:94
|
||
msgid ""
|
||
"If you do not want to bother installing Odoo on your computer, you can also "
|
||
":download:`download this module structure template "
|
||
"<first_module/my_module.zip>` in which you replace every occurrences of "
|
||
"*my_module* to the name of your choice."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:98
|
||
msgid "The below structure will be generated:"
|
||
msgstr "将生成以下结构:"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:121
|
||
msgid ""
|
||
"Do not use special characters other than the underscore ( _ ) for your "
|
||
"module name, not even an hyphen ( - ). This name is used for the Python "
|
||
"classes of your module, and having classes name with special characters "
|
||
"other than the underscore is not valid in Python."
|
||
msgstr ""
|
||
"不要使用下划线 ( _ ) 以外的特殊字符作为模块名称,甚至不要使用连字符 ( - )。此名称用于模块的 Python "
|
||
"类,并且具有下划线以外的特殊字符的类名称在 Python 中无效。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:125
|
||
msgid "Uncomment the content of the files:"
|
||
msgstr "取消注释文件的内容:"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:127
|
||
msgid "*models/models.py*, an example of model with its fields,"
|
||
msgstr "*模型/模型.py*,模型及其字段的示例,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:129
|
||
msgid ""
|
||
"*views/views.xml*, a tree and a form view, with the menus opening them,"
|
||
msgstr "*视图/视图.xml*,树和窗体视图,菜单打开它们,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:131
|
||
msgid "*demo/demo.xml*, demo records for the above example model,"
|
||
msgstr "*演示/演示.xml*,上述示例模型的演示记录,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:133
|
||
msgid ""
|
||
"*controllers/controllers.py*, an example of controller implementing some "
|
||
"routes,"
|
||
msgstr "*控制器/控制器.py*,控制器实现某些路由的示例,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:135
|
||
msgid ""
|
||
"*views/templates.xml*, two example qweb views used by the above controller "
|
||
"routes,"
|
||
msgstr "*视图/模板.xml*,上述控制器路由使用的两个示例 qweb 视图,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:137
|
||
msgid ""
|
||
"*__manifest__.py*, the manifest of your module, including for instance its "
|
||
"title, description and data files to load. You just need to uncomment the "
|
||
"access control list data file:"
|
||
msgstr "*__manifest__.py*,模块的清单,包括例如其标题,描述和要加载的数据文件。您只需要取消注释访问控制列表数据文件:"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:146
|
||
msgid "Manually"
|
||
msgstr "手动"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:148
|
||
msgid ""
|
||
"If you want to create your module structure manually, you can follow the "
|
||
":doc:`/developer/tutorials/getting_started` tutorial to understand the "
|
||
"structure of a module and the content of each file."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:153
|
||
msgid "Push the development branch"
|
||
msgstr "推送开发分支"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:155
|
||
msgid "Stage the changes to be committed"
|
||
msgstr "暂存要提交的更改"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:161
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:395
|
||
msgid "Commit your changes"
|
||
msgstr "提交更改"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:167
|
||
msgid "Push your changes to your remote repository"
|
||
msgstr "将更改推送到远程存储库"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:169
|
||
msgid "From an Odoo.sh editor terminal:"
|
||
msgstr "从 Odoo.sh 编辑器终端:"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:175
|
||
msgid ""
|
||
"The above command is explained in the section :ref:`Commit & Push your "
|
||
"changes <odoosh-gettingstarted-online-editor-push>` of the :ref:`Online "
|
||
"Editor <odoosh-gettingstarted-online-editor>` chapter. It includes the "
|
||
"explanation regarding the fact you will be prompted to type your username "
|
||
"and password, and what to do if you use the two-factor authentication."
|
||
msgstr ""
|
||
"上面的命令在 :ref:` <odoosh-gettingstarted-online-editor-push>Online Editor` 章节的 "
|
||
":ref:`Commit & Push your changes <odoosh-gettingstarted-online-editor>` "
|
||
"一节中进行了解释。它包括有关系统将提示您键入用户名和密码的事实的解释,以及如果您使用双因素身份验证该怎么办。</odoosh-"
|
||
"gettingstarted-online-editor>"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:183
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:383
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:409
|
||
msgid "Or, from your computer terminal:"
|
||
msgstr "或者,从您的计算机终端:"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:189
|
||
msgid ""
|
||
"You need to specify *-u origin feature-1* for the first push only. From that"
|
||
" point, to push your future changes from your computer, you can simply use"
|
||
msgstr "您只需要为第一次推送指定 *-u 源要素-1*。从那时起,要从计算机推送未来的更改,您只需使用"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:197
|
||
msgid "Test your module"
|
||
msgstr "测试您的模块"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:199
|
||
msgid ""
|
||
"Your branch should appear in your development branches in your project."
|
||
msgstr "分支应显示在项目的开发分支中。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:204
|
||
msgid ""
|
||
"In the branches view of your project, you can click on your branch name in "
|
||
"the left navigation panel to access its history."
|
||
msgstr "在项目的分支视图中,您可以单击左侧导航面板中的分支名称以访问其历史记录。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:210
|
||
msgid ""
|
||
"You can see here the changes you just pushed, including the comment you set."
|
||
" Once the database ready, you can access it by clicking the *Connect* "
|
||
"button."
|
||
msgstr "您可以在此处看到您刚刚推送的更改,包括您设置的评论。数据库准备就绪后,您可以通过单击“*连接”按钮来访问它。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:216
|
||
msgid ""
|
||
"If your Odoo.sh project is configured to install your module automatically, "
|
||
"you will directly see it amongst the database apps. Otherwise, it will be "
|
||
"available in the apps to install."
|
||
msgstr "如果您的 Odoo.sh 项目配置为自动安装模块,您将直接在数据库应用程序中看到它。否则,它将在要安装的应用程序中可用。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:220
|
||
msgid ""
|
||
"You can then play around with your module, create new records and test your "
|
||
"features and buttons."
|
||
msgstr "然后,您可以试用模块,创建新记录并测试功能和按钮。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:223
|
||
msgid "Test with the production data"
|
||
msgstr "使用生产数据进行测试"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:225
|
||
msgid ""
|
||
"You need to have a production database for this step. You can create it if "
|
||
"you do not have it yet."
|
||
msgstr "此步骤需要有一个生产数据库。如果您还没有它,则可以创建它。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:227
|
||
msgid ""
|
||
"Once you tested your module in a development build with the demo data and "
|
||
"believe it is ready, you can test it with the production data using a "
|
||
"staging branch."
|
||
msgstr "在开发版本中使用演示数据测试模块并认为它已准备就绪后,可以使用过渡分支使用生产数据对其进行测试。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:230
|
||
msgid "You can either:"
|
||
msgstr "你可以选择:"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:232
|
||
msgid ""
|
||
"Make your development branch a staging branch, by drag and dropping it onto "
|
||
"the *staging* section title."
|
||
msgstr "将开发分支拖放到 *staging* 部分标题上,使开发分支成为过渡分支。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:238
|
||
msgid ""
|
||
"Merge it in an existing staging branch, by drag and dropping it onto the "
|
||
"given staging branch."
|
||
msgstr "将其合并到现有暂存分支中,方法是将其拖放到给定的暂存分支上。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:243
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:289
|
||
msgid "You can also use the :code:`git merge` command to merge your branches."
|
||
msgstr "您还可以使用 :code:`git merge` 命令来合并您的分支。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:245
|
||
msgid ""
|
||
"This will create a new staging build, which will duplicate the production "
|
||
"database and make it run using a server updated with your latest changes of "
|
||
"your branch."
|
||
msgstr "这将创建一个新的暂存版本,该版本将复制生产数据库,并使其使用使用分支的最新更改更新的服务器运行。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:251
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:297
|
||
msgid "Once the database ready, you can access it using the *Connect* button."
|
||
msgstr "数据库准备就绪后,您可以使用*连接*按钮访问它。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:256
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:300
|
||
msgid "Install your module"
|
||
msgstr "安装模块"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:258
|
||
msgid ""
|
||
"Your module will not be installed automatically, you have to install it from"
|
||
" the apps menu. Indeed, the purpose of the staging build is to test the "
|
||
"behavior of your changes as it would be on your production, and on your "
|
||
"production you would not like your module to be installed automatically, but"
|
||
" on demand."
|
||
msgstr ""
|
||
"您的模块不会自动安装,您必须从应用程序菜单中安装它。实际上,暂存生成的目的是测试更改的行为,就像在生产环境中一样,在生产环境中,您不希望模块自动安装,而是按需安装。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:263
|
||
msgid ""
|
||
"Your module may not appear directly in your apps to install either, you need"
|
||
" to update your apps list first:"
|
||
msgstr "您的模块可能不会直接显示在您的应用程序中进行安装,您需要先更新您的应用程序列表:"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:266
|
||
msgid "Activate the :ref:`developer mode <developer-mode>`"
|
||
msgstr "激活 :ref:`开发者模式 <developer-mode>`"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:267
|
||
msgid "in the apps menu, click the *Update Apps List* button,"
|
||
msgstr "在应用程序菜单中,单击*更新应用程序列表*按钮,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:268
|
||
msgid "in the dialog that appears, click the *Update* button."
|
||
msgstr "在出现的对话框中,单击“*更新*”按钮。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:273
|
||
msgid "Your module will then appear in the list of available apps."
|
||
msgstr "然后,您的模块将显示在可用应用程序列表中。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:279
|
||
msgid "Deploy in production"
|
||
msgstr "在生产环境中部署"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:281
|
||
msgid ""
|
||
"Once you tested your module in a staging branch with your production data, "
|
||
"and believe it is ready for production, you can merge your branch in the "
|
||
"production branch."
|
||
msgstr "使用生产数据在过渡分支中测试模块并认为它已准备好投入生产后,即可在生产分支中合并分支。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:284
|
||
msgid "Drag and drop your staging branch on the production branch."
|
||
msgstr "将过渡分支拖放到生产分支上。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:291
|
||
msgid ""
|
||
"This will merge the latest changes of your staging branch in the production "
|
||
"branch, and update your production server with these latest changes."
|
||
msgstr "这将合并生产分支中过渡分支的最新更改,并使用这些最新更改更新生产服务器。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:302
|
||
msgid ""
|
||
"Your module will not be installed automatically, you have to install it "
|
||
"manually as explained in the :ref:`above section about installing your "
|
||
"module in staging databases <odoosh-gettingstarted-firstmodule-"
|
||
"productiondata-install>`."
|
||
msgstr ""
|
||
"您的模块不会自动安装,您必须手动安装它,如 :ref:`以上关于在临时数据库中安装模块 <odoosh-gettingstarted-"
|
||
"firstmodule-productiondata-install>的部分中所述。.</odoosh-gettingstarted-"
|
||
"firstmodule-productiondata-install>"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:308
|
||
msgid "Add a change"
|
||
msgstr "添加更改"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:310
|
||
msgid ""
|
||
"This section explains how to add a change in your module by adding a new "
|
||
"field in a model and deploy it."
|
||
msgstr "本节说明如何通过在模型中添加新字段并在模型中部署它来添加更改。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:315
|
||
msgid "From the Odoo.sh editor,"
|
||
msgstr "来自 Odoo.sh 编辑器,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:314
|
||
msgid "browse to your module folder *~/src/user/my_module*,"
|
||
msgstr "浏览到您的模块文件夹 *~/src/user/my_module*,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:315
|
||
msgid "then, open the file *models/models.py*."
|
||
msgstr "然后,打开文件*模型/模型.py*。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:321
|
||
msgid "Or, from your computer,"
|
||
msgstr "画出你最漂亮的签名!<br>你也可以自动创建一个,或者从你的电脑中加载一个签名。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:318
|
||
msgid ""
|
||
"use the file browser of your choice to browse to your module folder "
|
||
"*~/src/odoo-addons/my_module*,"
|
||
msgstr "使用您选择的文件浏览器浏览到您的模块文件夹 *~/src/odoo-addons/my_module*,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:320
|
||
msgid ""
|
||
"then, open the file *models/models.py* using the editor of your choice, such"
|
||
" as *Atom*, *Sublime Text*, *PyCharm*, *vim*, ..."
|
||
msgstr "然后,使用您选择的编辑器打开文件*模型/模型.py*,例如*Atom*,*崇高文本*,*PyCharm*,*vim*,..."
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:323
|
||
msgid "Then, after the description field"
|
||
msgstr "然后,在描述字段之后"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:329
|
||
msgid "Add a datetime field"
|
||
msgstr "添加日期时间字段"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:335
|
||
msgid "Then, open the file *views/views.xml*."
|
||
msgstr "然后,打开文件 *views/views.xml*。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:337
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:473
|
||
msgid "After"
|
||
msgstr "之后"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:343
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:450
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:467
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:479
|
||
msgid "Add"
|
||
msgstr "添加"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:349
|
||
msgid ""
|
||
"These changes alter the database structure by adding a column in a table, "
|
||
"and modify a view stored in database."
|
||
msgstr "这些更改通过在表中添加列来更改数据库结构,并修改存储在数据库中的视图。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:352
|
||
msgid ""
|
||
"In order to be applied in existing databases, such as your production "
|
||
"database, these changes requires the module to be updated."
|
||
msgstr "为了在现有数据库(如生产数据库)中应用,这些更改需要更新模块。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:355
|
||
msgid ""
|
||
"If you would like the update to be performed automatically by the Odoo.sh "
|
||
"platform when you push your changes, increase your module version in its "
|
||
"manifest."
|
||
msgstr "如果您希望在推送更改时由 Odoo.sh 平台自动执行更新,请在其清单中增加模块版本。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:358
|
||
msgid "Open the module manifest *__manifest__.py*."
|
||
msgstr "打开模块清单 *__manifest__.py*。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:366
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:504
|
||
msgid "with"
|
||
msgstr "和"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:372
|
||
msgid ""
|
||
"The platform will detect the change of version and trigger the update of the"
|
||
" module upon the new revision deployment."
|
||
msgstr "平台将检测版本更改,并在新修订版部署时触发模块更新。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:375
|
||
msgid "Browse to your Git folder."
|
||
msgstr "浏览到您的 Git 文件夹。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:377
|
||
msgid "Then, from an Odoo.sh terminal:"
|
||
msgstr "然后,从 Odoo.sh 终端:"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:389
|
||
msgid "Then, stage your changes to be committed"
|
||
msgstr "然后,暂存要提交的更改"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:401
|
||
msgid "Push your changes:"
|
||
msgstr "推送您的更改:"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:403
|
||
msgid "From an Odoo.sh terminal:"
|
||
msgstr "从 Odoo.sh 终端:"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:415
|
||
msgid "The platform will then create a new build for the branch *feature-1*."
|
||
msgstr "然后,平台将为分支 *feature-1* 创建一个新的构建版本。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:420
|
||
msgid ""
|
||
"Once you tested your changes, you can merge your changes in the production "
|
||
"branch, for instance by drag-and-dropping the branch on the production "
|
||
"branch in the Odoo.sh interface. As you increased the module version in the "
|
||
"manifest, the platform will update the module automatically and your new "
|
||
"field will be directly available. Otherwise you can manually update the "
|
||
"module within the apps list."
|
||
msgstr ""
|
||
"测试更改后,可以在生产分支中合并更改,例如,通过在 Odoo.sh "
|
||
"界面中将分支拖放到生产分支上。当您在清单中增加模块版本时,平台将自动更新模块,并且您的新字段将直接可用。否则,您可以手动更新应用程序列表中的模块。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:426
|
||
msgid "Use an external Python library"
|
||
msgstr "使用外部 Python 库"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:428
|
||
msgid ""
|
||
"If you would like to use an external Python library which is not installed "
|
||
"by default, you can define a *requirements.txt* file listing the external "
|
||
"libraries your modules depends on."
|
||
msgstr "如果要使用默认情况下未安装的外部 Python 库,可以定义一个 *requirements.txt* 文件,列出模块所依赖的外部库。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:432
|
||
msgid ""
|
||
"It is not possible to install or upgrade system packages on an Odoo.sh "
|
||
"database (e.g., apt packages). However, under specific conditions, packages "
|
||
"can be considered for installation. This also applies to **Python modules** "
|
||
"requiring system packages for their compilation, and **third-party Odoo "
|
||
"modules**."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:436
|
||
msgid "**PostgreSQL extensions** are not supported on Odoo.sh."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:437
|
||
msgid ""
|
||
"For more information, consult our `FAQ "
|
||
"<https://www.odoo.sh/faq#install_dependencies>`_."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:439
|
||
msgid ""
|
||
"The platform will use this file to automatically install the Python "
|
||
"libraries your project needs."
|
||
msgstr "平台将使用此文件自动安装项目所需的 Python 库。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:441
|
||
msgid ""
|
||
"The feature is explained in this section by using the `Unidecode library "
|
||
"<https://pypi.python.org/pypi/Unidecode>`_ in your module."
|
||
msgstr ""
|
||
"本节通过使用模块中的“Unidecode 库<https://pypi.python.org/pypi/Unidecode>”_ 来解释该功能。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:444
|
||
msgid "Create a file *requirements.txt* in the root folder of your repository"
|
||
msgstr "在存储库的根文件夹中创建一个文件 *要求.txt*"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:446
|
||
msgid ""
|
||
"From the Odoo.sh editor, create and open the file "
|
||
"~/src/user/requirements.txt."
|
||
msgstr "在 Odoo.sh 编辑器中,创建并打开文件 ~/src/user/requirements.txt。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:448
|
||
msgid ""
|
||
"Or, from your computer, create and open the file ~/src/odoo-"
|
||
"addons/requirements.txt."
|
||
msgstr "或者,从您的计算机中创建并打开文件~/src/odoo-addons/requirements.txt。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:456
|
||
msgid ""
|
||
"Then use the library in your module, for instance to remove accents from "
|
||
"characters in the name field of your model."
|
||
msgstr "然后使用模块中的库,例如,从模型名称字段中的字符中删除重音符号。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:459
|
||
msgid "Open the file *models/models.py*."
|
||
msgstr "打开文件 *模型/模型.py*。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:461
|
||
msgid "Before"
|
||
msgstr "在之前"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:494
|
||
msgid ""
|
||
"Adding a Python dependency requires a module version increase for the "
|
||
"platform to install it."
|
||
msgstr "添加 Python 依赖项需要增加模块版本,以便平台安装它。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:496
|
||
msgid "Edit the module manifest *__manifest__.py*"
|
||
msgstr "编辑模块清单 *__manifest__.py*"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:510
|
||
msgid "Stage and commit your changes:"
|
||
msgstr "暂存并提交更改:"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:518
|
||
msgid "Then, push your changes:"
|
||
msgstr "然后,推送更改:"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:520
|
||
msgid "In an Odoo.sh terminal:"
|
||
msgstr "在 Odoo.sh 终端中:"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/first_module.rst:526
|
||
msgid "In your computer terminal:"
|
||
msgstr "在您的计算机终端中:"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:6
|
||
msgid "Online Editor"
|
||
msgstr "在线编辑器"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:11
|
||
msgid ""
|
||
"The online editor allows you to edit the source code of your builds from a "
|
||
"web browser. It also gives you the possibility to open terminals, Python "
|
||
"consoles, Odoo Shell consoles and `Notebooks "
|
||
"<https://jupyterlab.readthedocs.io/en/stable/user/notebook.html>`_."
|
||
msgstr ""
|
||
"在线编辑器允许您从 Web 浏览器编辑构建的源代码。它还为您提供了打开终端,Python控制台,Odoo Shell控制台和“Notebooks "
|
||
"<https://jupyterlab.readthedocs.io/en/stable/user/notebook.html>”_的可能性。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:18
|
||
msgid ""
|
||
"You can access the editor of a build through :ref:`the branches tabs "
|
||
"<odoosh-gettingstarted-branches-tabs>`, :ref:`the builds dropdown menu "
|
||
"<odoosh-gettingstarted-builds-dropdown-menu>` or by adding */odoo-sh/editor*"
|
||
" to your build domain name (e.g. *https://odoo-addons-"
|
||
"master-1.dev.odoo.com/odoo-sh/editor*)."
|
||
msgstr ""
|
||
"您可以通过 :ref:`分支选项卡 <odoosh-gettingstarted-branches-tabs>`, :ref:`构建下拉菜单 "
|
||
"<odoosh-gettingstarted-builds-dropdown-menu>` 或通过将 */odoo-sh/editor* "
|
||
"添加到您的构建域名(例如 *https://odoo-addons-master-1.dev.odoo.com/odoo-"
|
||
"sh/editor*)来访问构建的编辑器。</odoosh-gettingstarted-builds-dropdown-menu></odoosh-"
|
||
"gettingstarted-branches-tabs>"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:25
|
||
msgid "Edit the source code"
|
||
msgstr "编辑源代码"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:27
|
||
msgid "The working directory is composed of the following folders:"
|
||
msgstr "工作目录由以下文件夹组成:"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:49
|
||
msgid ""
|
||
"You can edit the source code (files under */src*) in development and staging"
|
||
" builds."
|
||
msgstr "您可以在开发和过渡版本中编辑源代码(*/src* 下的文件)。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:52
|
||
msgid ""
|
||
"Your changes won't be propagated to a new build, you must commit them in "
|
||
"your source code if you want to make them persist."
|
||
msgstr "您的更改不会传播到新的生成,如果要使它们持久化,则必须在源代码中提交它们。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:56
|
||
msgid ""
|
||
"For production builds, the source code is read-only, because applying local "
|
||
"changes on a production server is not a good practice."
|
||
msgstr "对于生产版本,源代码是只读的,因为在生产服务器上应用本地更改不是一个好的做法。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:59
|
||
msgid ""
|
||
"The source code of your Github repository is located under */src/user*,"
|
||
msgstr "Github 存储库的源代码位于 */src/user* 下,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:60
|
||
msgid "The source code of Odoo is located under"
|
||
msgstr "Odoo的源代码位于"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:62
|
||
msgid "*/src/odoo* (`odoo/odoo <https://github.com/odoo/odoo>`_),"
|
||
msgstr "*/src/odoo* (`odoo/odoo <https://github.com/odoo/odoo>`_),"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:63
|
||
msgid ""
|
||
"*/src/enterprise* (`odoo/enterprise <https://github.com/odoo/enterprise>`_),"
|
||
msgstr ""
|
||
"*/src/enterprise* (`odoo/enterprise <https://github.com/odoo/enterprise>`_),"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:64
|
||
msgid ""
|
||
"*/src/themes* (`odoo/design-themes <https://github.com/odoo/design-"
|
||
"themes>`_)."
|
||
msgstr ""
|
||
"*/src/themes* (`odoo/design-themes <https://github.com/odoo/design-"
|
||
"themes>`_)。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:66
|
||
msgid ""
|
||
"To open a file in the editor, just double-click on it in the file browser "
|
||
"panel on the left."
|
||
msgstr "要在编辑器中打开文件,只需在左侧的文件浏览器面板中双击它即可。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:71
|
||
msgid ""
|
||
"You can then begin to make your changes. You can save your changes with the "
|
||
"menu :menuselection:`File --> Save .. File` or by hitting the :kbd:`Ctrl+S` "
|
||
"shortcut."
|
||
msgstr ""
|
||
"然后,您可以开始进行更改。您可以使用菜单 :menuselection:`File --> Save ..文件“或按 :kbd:”Ctrl+S“ "
|
||
"快捷方式。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:77
|
||
msgid ""
|
||
"If you save a Python file which is under your Odoo server addons path, Odoo "
|
||
"will detect it and reload automatically so your changes are reflected "
|
||
"immediately, without having to restart the server manually."
|
||
msgstr ""
|
||
"如果您保存的Python文件位于Odoo服务器插件路径下,Odoo将检测到它并自动重新加载,以便您的更改立即反映出来,而无需手动重新启动服务器。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:84
|
||
msgid ""
|
||
"However, if the change is a data stored in database, such as the label of a "
|
||
"field, or a view, you have to update the according module to apply the "
|
||
"change. You can update the module of the currently opened file by using the "
|
||
"menu :menuselection:`Odoo --> Update current module`. Note that the file "
|
||
"considered as currently opened is the file focused in the text editor, not "
|
||
"the file highlighted in the file browser."
|
||
msgstr ""
|
||
"但是,如果更改是存储在数据库中的数据(如字段的标签或视图),则必须更新相应的模块才能应用更改。您可以使用菜单更新当前打开的文件的模块:菜单选择:`Odoo"
|
||
" -->更新当前模块`。请注意,被视为当前打开的文件是文本编辑器中聚焦的文件,而不是文件浏览器中突出显示的文件。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:93
|
||
msgid "You can also open a terminal and execute the command:"
|
||
msgstr "您也可以打开终端并执行以下命令:"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:102
|
||
msgid "Commit & Push your changes"
|
||
msgstr "提交并推送更改"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:104
|
||
msgid ""
|
||
"You have the possibility to commit and push your changes to your Github "
|
||
"repository."
|
||
msgstr "您可以提交更改并将其推送到 Github 存储库。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:106
|
||
msgid "Open a terminal (:menuselection:`File --> New --> Terminal`),"
|
||
msgstr "打开终端(:菜单选择:`文件 --> 新建 --> 终端`),"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:107
|
||
msgid "Change the directory to *~/src/user* using :code:`cd ~/src/user`,"
|
||
msgstr "使用 :code:`cd ~/src/user` 将目录更改为 *~/src/user*,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:108
|
||
msgid "Stage your changes using :code:`git add`,"
|
||
msgstr "使用 :code:`git add`暂存您的更改,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:109
|
||
msgid "Commit your changes using :code:`git commit`,"
|
||
msgstr "使用 :code:`git commit` 提交更改,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:110
|
||
msgid "Push your changes using :code:`git push https HEAD:<branch>`."
|
||
msgstr "使用 :code:`git push https HEAD:` 推送您的更改<branch>。</branch>"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:112
|
||
msgid "In this last command,"
|
||
msgstr "在最后一个命令中,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:114
|
||
msgid ""
|
||
"*https* is the name of your *HTTPS* Github remote repository (e.g. "
|
||
"https://github.com/username/repository.git),"
|
||
msgstr ""
|
||
"*https* 是您的 *HTTPS* Github 远程存储库的名称(例如 "
|
||
"https://github.com/username/repository.git),"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:116
|
||
msgid "HEAD is the reference to the latest revision you committed,"
|
||
msgstr "HEAD 是对您提交的最新修订版的引用,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:117
|
||
msgid ""
|
||
"<branch> must be replaced by the name of the branch to which you want to "
|
||
"push the changes, most-likely the current branch if you work in a "
|
||
"development build."
|
||
msgstr "<branch> 必须替换为要将更改推送到的分支的名称,如果在开发版本中工作,则很可能是当前分支。</branch>"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:124
|
||
msgid ""
|
||
"The SSH Github remote is not used because your SSH private key is not hosted"
|
||
" in your build containers (for obvious security concerns) nor forwarded "
|
||
"through an SSH Agent (as you access this editor through a web browser) and "
|
||
"you therefore cannot authenticate yourself to Github using SSH. You have to "
|
||
"use the HTTPS remote of your Github repository to push your changes, which "
|
||
"is added automatically named as *https* in your Git remotes. You will be "
|
||
"prompted to enter your Github username and password. If you activated the "
|
||
"two-factor authentication on Github, you can create a `personal access token"
|
||
" <https://help.github.com/articles/creating-a-personal-access-token-for-the-"
|
||
"command-line/>`_ and use it as password. Granting the ``repo`` permission "
|
||
"suffices."
|
||
msgstr ""
|
||
"不使用 SSH Github 远程,因为您的 SSH 私钥未托管在构建容器中(出于明显的安全问题),也不会通过 SSH 代理转发(当您通过 Web "
|
||
"浏览器访问此编辑器时),因此您无法使用 SSH 向 Github "
|
||
"验证自己的身份。您必须使用Github存储库的HTTPS远程来推送更改,这些更改会自动添加到Git远程中,命名为*https*。系统将提示您输入 "
|
||
"Github 用户名和密码。如果您在 Github "
|
||
"上激活了双因素身份验证,则可以创建“个人访问令牌<https://help.github.com/articles/creating-a-"
|
||
"personal-access-token-for-the-command-line/>”_ 并将其用作密码。授予“存储库”权限就足够了。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:137
|
||
msgid ""
|
||
"The Git source folder *~/src/user* is not checked out on a branch but rather"
|
||
" on a detached revision: This is because builds work on specific revisions "
|
||
"rather than branches. In other words, this means you can have multiple "
|
||
"builds on the same branch, but on different revisions."
|
||
msgstr ""
|
||
"Git 源文件夹 *~/src/user* "
|
||
"不是在分支上签出的,而是在分离的修订版上签出的:这是因为构建工作是在特定修订版而不是分支上。换句话说,这意味着您可以在同一分支上拥有多个构建版本,但具有不同的修订版。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:141
|
||
msgid ""
|
||
"Once your changes are pushed, according to your :ref:`branch push behavior "
|
||
"<odoosh-gettingstarted-branches-tabs-settings>`, a new build may be created."
|
||
" You can continue to work in the editor you pushed from, as it will have the"
|
||
" same revision as the new build that was created, but always make sure to be"
|
||
" in an editor of a build using the latest revision of your branch."
|
||
msgstr ""
|
||
"推送更改后,根据你的 :ref:`branch push behavior <odoosh-gettingstarted-branches-tabs-"
|
||
"settings>`,可能会创建一个新的构建版本。您可以继续在推送的编辑器中工作,因为它将具有与创建的新版本相同的修订版本,但始终确保在使用分支最新修订版本的生成编辑器中。</odoosh-"
|
||
"gettingstarted-branches-tabs-settings>"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:148
|
||
msgid "Consoles"
|
||
msgstr "机"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:150
|
||
msgid ""
|
||
"You can open Python consoles, which are `IPython interactive shells "
|
||
"<https://ipython.readthedocs.io/en/stable/interactive/tutorial.html>`_. One "
|
||
"of the most interesting addition to use a Python console rather than a "
|
||
"IPython shell within a terminal is the `rich display "
|
||
"<https://ipython.readthedocs.io/en/stable/config/integrating.html#rich-"
|
||
"display>`_ capabilities. Thanks to this, you will be able to display objects"
|
||
" in HTML."
|
||
msgstr ""
|
||
"你可以打开Python控制台,它们是“IPython交互式shells<https://ipython.readthedocs.io/en/stable/interactive/tutorial.html>”_。在终端中使用Python控制台而不是IPython"
|
||
" "
|
||
"shell的最有趣的补充之一是“丰富的显示<https://ipython.readthedocs.io/en/stable/config/integrating.html#rich-"
|
||
"display>”_功能。因此,您将能够以HTML格式显示对象。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:158
|
||
msgid ""
|
||
"You can for instance display cells of a CSV file using `pandas "
|
||
"<https://pandas.pydata.org/pandas-docs/stable/tutorials.html>`_."
|
||
msgstr ""
|
||
"例如,您可以使用“pandas <https://pandas.pydata.org/pandas-"
|
||
"docs/stable/tutorials.html>”_来显示CSV文件的单元格。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:164
|
||
msgid ""
|
||
"You can also open an Odoo Shell console to play around with the Odoo "
|
||
"registry and model methods of your database. You can also directly read or "
|
||
"write on your records."
|
||
msgstr "您还可以打开 Odoo Shell 控制台来使用数据库的 Odoo 注册表和模型方法。您也可以直接读取或写入您的记录。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:169
|
||
msgid ""
|
||
"In an Odoo Console, transactions are automatically committed. This means, "
|
||
"for instance, that changes in records are applied effectively in the "
|
||
"database. If you change the name of a user, the name of the user is changed "
|
||
"in your database as well. You therefore should use Odoo consoles carefully "
|
||
"on production databases."
|
||
msgstr ""
|
||
"在 Odoo "
|
||
"控制台中,事务会自动提交。这意味着,例如,记录中的更改可以有效地应用于数据库中。如果更改用户名,则该用户的名称也会在数据库中更改。因此,您应该在生产数据库上谨慎使用Odoo控制台。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:174
|
||
msgid ""
|
||
"You can use *env* to invoke models of your database registry, e.g. "
|
||
":code:`env['res.users']`."
|
||
msgstr "您可以使用 *env* 调用数据库注册表的模型,例如 :code:'env['res.users']'。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:184
|
||
msgid ""
|
||
"The class :code:`Pretty` gives you the possibility to easily display lists "
|
||
"and dicts in a pretty way, using the `rich display "
|
||
"<https://ipython.readthedocs.io/en/stable/config/integrating.html#rich-"
|
||
"display>`_ mentioned above."
|
||
msgstr ""
|
||
"类 :code:`Pretty` "
|
||
"使您可以使用上面提到的“富显示<https://ipython.readthedocs.io/en/stable/config/integrating.html#rich-"
|
||
"display>”_以漂亮的方式轻松显示列表和字典。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/online-editor.rst:192
|
||
msgid ""
|
||
"You can also use `pandas <https://pandas.pydata.org/pandas-"
|
||
"docs/stable/tutorials.html>`_ to display graphs."
|
||
msgstr ""
|
||
"您还可以使用“pandas <https://pandas.pydata.org/pandas-"
|
||
"docs/stable/tutorials.html>”_ 来显示图表。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:8
|
||
msgid "The settings allow you to manage the configuration of your project."
|
||
msgstr "这些设置允许您管理项目的配置。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:14
|
||
msgid "Project name"
|
||
msgstr "项目名称"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:16
|
||
msgid "The name of your project."
|
||
msgstr "项目的名称。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:21
|
||
msgid ""
|
||
"This defines the address that will be used to access your production "
|
||
"database."
|
||
msgstr "这将定义将用于访问生产数据库的地址。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:23
|
||
msgid ""
|
||
"Addresses of your staging and development builds are derived from this name "
|
||
"and assigned automatically. However, when you change your project name, only"
|
||
" future builds will use the new name."
|
||
msgstr "暂存和开发版本的地址派生自此名称并自动分配。但是,当您更改项目名称时,只有将来的生成将使用新名称。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:29
|
||
msgid "Collaborators"
|
||
msgstr "合作者"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:31
|
||
msgid "Manage the Github users who can access your project."
|
||
msgstr "管理可以访问您的项目的 Github 用户。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:36
|
||
msgid "There are two levels of users:"
|
||
msgstr "有两个级别的用户:"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:38
|
||
msgid "Admin: has access to all features of Odoo.sh."
|
||
msgstr "管理员:有权访问 Odoo.sh 的所有功能。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:39
|
||
msgid ""
|
||
"User: does not have access to the project settings nor to the production and"
|
||
" staging databases."
|
||
msgstr "用户:无权访问项目设置,也无权访问生产和临时数据库。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:41
|
||
msgid ""
|
||
"The user group is meant for developers who can make modifications in your "
|
||
"code but are not allowed to access the production data. Users of this group "
|
||
"cannot connect to the production and staging databases using the *1-click "
|
||
"connect* feature, but they can of course use their regular account on these "
|
||
"databases if they have one, using their regular credentials."
|
||
msgstr ""
|
||
"用户组适用于可以在代码中进行修改但不允许访问生产数据的开发人员。此组的用户无法使用 *一键连接* "
|
||
"功能连接到生产和临时数据库,但他们当然可以使用其常规凭据在这些数据库上使用其常规帐户(如果他们有)。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:46
|
||
msgid ""
|
||
"In addition, they cannot use the webshell nor have access to the server "
|
||
"logs."
|
||
msgstr "此外,他们不能使用 Webshell,也无法访问服务器日志。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:54
|
||
msgid "User"
|
||
msgstr "用户"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:55
|
||
msgid "Admin"
|
||
msgstr "管理员"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:61
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:89
|
||
msgid "1-click connect"
|
||
msgstr "一键连接"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:69
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:97
|
||
msgid "Shell/SSH"
|
||
msgstr "Shell/SSH"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:84
|
||
msgid "Production & Staging"
|
||
msgstr "生产与舞台"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:118
|
||
msgid "|green|\\*"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:120
|
||
#: ../../content/administration/odoo_sh/getting_started/status.rst:3
|
||
msgid "Status"
|
||
msgstr "状态"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:130
|
||
msgid "\\* Only in staging branches"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:145
|
||
msgid "Public Access"
|
||
msgstr "公共访问"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:147
|
||
msgid "Allow public access to your development builds."
|
||
msgstr "允许对开发版本进行公共访问。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:152
|
||
msgid ""
|
||
"If activated, this option exposes the Builds page publicly, allowing "
|
||
"visitors to connect to your development builds."
|
||
msgstr "如果激活,此选项将公开“生成”页,允许访问者连接到开发生成。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:155
|
||
msgid ""
|
||
"In addition, visitors have access to the logs, shell and mails of your "
|
||
"development builds."
|
||
msgstr "此外,访问者还可以访问开发版本的日志、shell 和邮件。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:157
|
||
msgid ""
|
||
"Production and staging builds are excluded, visitors can only see their "
|
||
"status."
|
||
msgstr "生产和过渡版本被排除在外,访问者只能看到他们的状态。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:162
|
||
msgid "Custom domains"
|
||
msgstr "自定义域"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:164
|
||
msgid ""
|
||
"To configure additional domains please refer to the corresponding branch's "
|
||
":ref:`settings tab <odoosh-gettingstarted-branches-tabs-settings>`."
|
||
msgstr ""
|
||
"要配置其他域,请参阅相应分支的 :ref:'settings 选项卡 <odoosh-gettingstarted-branches-tabs-"
|
||
"settings>'。</odoosh-gettingstarted-branches-tabs-settings>"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:172
|
||
msgid ""
|
||
"Configure the deploy keys for the private repositories you use as submodules"
|
||
" in your branches to allow Odoo.sh to download them."
|
||
msgstr "为在分支中用作子模块的私有仓库配置部署密钥,以允许 Odoo.sh 下载它们。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:176
|
||
msgid ""
|
||
"These settings are required for **private repositories** only. If you are "
|
||
"looking on how to set up your submodules, instructions are available in the "
|
||
"chapter :ref:`Submodules <odoosh-advanced-submodules>` of this "
|
||
"documentation."
|
||
msgstr ""
|
||
"仅对于“私有仓库”,这些设置是必需的。如果您正在研究如何设置子模块,请参阅本文档的章节:ref:`Submodules <odoosh-"
|
||
"advanced-submodules>`。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:183
|
||
msgid ""
|
||
"When a repository is private, it is not possible to publicly download its "
|
||
"branches and revisions. For that reason, you need to configure a deploy key "
|
||
"for Odoo.sh, so the remote Git server allows our platform to download the "
|
||
"revisions of this private repository."
|
||
msgstr ""
|
||
"当存储库是私有的时,无法公开下载其分支和修订版。因此,您需要为 Odoo.sh 配置部署密钥,以便远程 Git "
|
||
"服务器允许我们的平台下载此私有存储库的修订版。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:188
|
||
msgid ""
|
||
"To configure the deploy key for a private repository, proceed as follows:"
|
||
msgstr "要为私有存储库配置部署密钥,请按以下步骤操作:"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:190
|
||
msgid ""
|
||
"in the input, paste the SSH URL of your private sub-repository and click on "
|
||
"*Add*,"
|
||
msgstr "在输入中,粘贴私有子存储库的 SSH URL,然后单击“*添加”,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:192
|
||
msgid "e.g. *git@github.com:USERNAME/REPOSITORY.git*"
|
||
msgstr "例如 *git@github.com:USERNAME/REPOSITORY.git*"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:193
|
||
msgid ""
|
||
"it can be another Git server than Github, such as Bitbucket, Gitlab or even "
|
||
"your own self-hosted server"
|
||
msgstr "它可以是Github以外的另一个Git服务器,例如Bitbucket,Gitlab甚至您自己的自托管服务器"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:196
|
||
msgid "copy the public key,"
|
||
msgstr "复制公钥,"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:198
|
||
msgid "it should look like *ssh-rsa some...random...characters...here...==*"
|
||
msgstr "它应该看起来像*ssh-rsa一些...随机。。。字符。。。这里...==*"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:200
|
||
msgid ""
|
||
"in the settings of the private sub-repository, add the public key amongst "
|
||
"the deploy keys."
|
||
msgstr "在私有子存储库的设置中,在部署密钥之间添加公钥。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:202
|
||
msgid ""
|
||
"Github.com: :menuselection:`Settings --> Deploy keys --> Add deploy key`"
|
||
msgstr ""
|
||
"Github.com: :menuselection:`Settings --> Deploy key --> Add deploy key`"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:203
|
||
msgid "Bitbucket.com: :menuselection:`Settings --> Access keys --> Add key`"
|
||
msgstr "Bitbucket.com: :菜单选择:“设置 --> 访问键 --> 添加键`"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:204
|
||
msgid "Gitlab.com: :menuselection:`Settings --> Repository --> Deploy Keys`"
|
||
msgstr "Gitlab.com: :菜单选择:`设置 -->存储库 -->部署密钥`"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:205
|
||
msgid ""
|
||
"Self-hosted: append the key to the git user’s authorized_keys file in its "
|
||
".ssh directory"
|
||
msgstr "自托管:将密钥附加到 git 用户的 authorized_keys 文件在其 .ssh 目录中"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:208
|
||
msgid "Storage Size"
|
||
msgstr "存储大小"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:210
|
||
msgid "This section shows the storage size used by your project."
|
||
msgstr "本部分显示项目使用的存储大小。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:215
|
||
msgid "Storage size is computed as follows:"
|
||
msgstr "存储大小的计算方法如下:"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:217
|
||
msgid "the size of the PostgreSQL database"
|
||
msgstr "PostgreSQL 数据库的大小"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:219
|
||
msgid ""
|
||
"the size of the disk files available in your container: database filestore, "
|
||
"sessions storage directory..."
|
||
msgstr "容器中可用磁盘文件的大小:数据库文件存储、会话存储目录..."
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:222
|
||
msgid ""
|
||
"In case you want to analyze disk usage, you can run the tool `ncdu "
|
||
"<https://dev.yorhel.nl/ncdu/man>`_ in your Web Shell."
|
||
msgstr ""
|
||
"如果要分析磁盘使用情况,可以在 Web Shell 中运行工具“ncdu <https://dev.yorhel.nl/ncdu/man>”。。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:225
|
||
msgid ""
|
||
"Should your production database size grow to exceed what's provisioned in "
|
||
"your subscription, it will automatically be synchronized with it."
|
||
msgstr "如果生产数据库大小增长到超过订阅中预配的大小,它将自动与订阅同步。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:229
|
||
msgid "Database Workers"
|
||
msgstr "数据库工作线程"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:231
|
||
msgid ""
|
||
"Additional database workers can be configured here. More workers help "
|
||
"increase the load your production database is able to handle. If you add "
|
||
"more, it will automatically be synchronized with your subscription."
|
||
msgstr "可以在此处配置其他数据库工作线程。更多的工作人员有助于增加生产数据库能够处理的负载。如果添加更多,它将自动与你的订阅同步。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:239
|
||
msgid ""
|
||
"Adding more workers will not magically solve all performance issues. It only"
|
||
" allows the server to handle more connections at the same time. If some "
|
||
"operations are unusually slow, it's most likely a problem with the code, if "
|
||
"it's not due to your own customizations you can open a ticket `here "
|
||
"<https://www.odoo.com/help>`_."
|
||
msgstr ""
|
||
"增加更多的工作人员并不能神奇地解决所有性能问题。它只允许服务器同时处理更多连接。如果某些操作异常缓慢,则很可能是代码有问题,如果不是由于您自己的自定义,则可以打开工单“这里<https://www.odoo.com/help>”_。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:245
|
||
msgid "Staging Branches"
|
||
msgstr "暂存分支"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:247
|
||
msgid ""
|
||
"Additional staging branches allow you to develop and test more features at "
|
||
"the same time. If you add more, it will automatically be synchronized with "
|
||
"your subscription."
|
||
msgstr "其他暂存分支允许您同时开发和测试更多功能。如果添加更多,它将自动与你的订阅同步。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:254
|
||
msgid "Activation"
|
||
msgstr "启用"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/settings.rst:256
|
||
msgid ""
|
||
"Shows the status of the project's activation. You can change the project's "
|
||
"activation code if needed."
|
||
msgstr "显示项目激活的状态。如果需要,您可以更改项目的激活码。"
|
||
|
||
#: ../../content/administration/odoo_sh/getting_started/status.rst:8
|
||
msgid ""
|
||
"The status page shows statistics regarding the servers your project uses. It"
|
||
" includes the servers availability."
|
||
msgstr "状态页显示有关项目使用的服务器的统计信息。它包括服务器可用性。"
|
||
|
||
#: ../../content/administration/odoo_sh/overview/introduction.rst:3
|
||
msgid "Introduction to Odoo.sh"
|
||
msgstr "Odoo.sh 简介"
|
||
|
||
#: ../../content/administration/odoo_sh/overview/introduction.rst:10
|
||
msgid ""
|
||
"The documentation will help you go live with your Odoo.sh project in no "
|
||
"time."
|
||
msgstr "该文档将帮助您立即上线 Odoo.sh 项目。"
|
||
|
||
#: ../../content/administration/upgrade.rst:7
|
||
msgid ""
|
||
"An upgrade is the process of moving your database from an older version to a"
|
||
" newer :doc:`supported version <maintain/supported_versions>` (e.g., Odoo "
|
||
"14.0 to Odoo 16.0). Frequently upgrading is essential as each version comes "
|
||
"with new and improved features, bug fixes, and security patches."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:15
|
||
msgid ""
|
||
"The Rolling Release process allows Odoo Online customers to upgrade their "
|
||
"database directly from a message prompt sent to the database administrator "
|
||
"as soon as a new version is released. The invitation to upgrade is only sent"
|
||
" if no issues are detected during the automatic tests."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:0
|
||
msgid "The upgrade message prompt on the top right of the database"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:22
|
||
msgid ""
|
||
"It is strongly recommended to manually :ref:`test the upgrade first "
|
||
"<upgrade/test_your_db>`. Clicking :guilabel:`I want to test first` redirects"
|
||
" to `the database manager <https://www.odoo.com/my/databases/>`_, where it "
|
||
"is possible to request an upgraded test database and check it for any "
|
||
"discrepancies."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:27
|
||
msgid ""
|
||
"It is **not** recommended to click :guilabel:`Upgrade Now` without testing "
|
||
"first, as it immediately triggers the live production database upgrade."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:30
|
||
msgid ""
|
||
"If the Rolling Release process detects an issue with the upgrade, it will be"
|
||
" deactivated until the issue is resolved."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:33
|
||
msgid "An upgrade does not cover:"
|
||
msgstr "升级不包括:"
|
||
|
||
#: ../../content/administration/upgrade.rst:35
|
||
msgid "Downgrading to a previous version of Odoo"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:36
|
||
msgid ""
|
||
":doc:`Switching editions <maintain/enterprise>` (e.g., from Community to "
|
||
"Enterprise)"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:37
|
||
msgid ""
|
||
":doc:`Changing hosting type </administration/maintain/hosting_changes>` "
|
||
"(e.g., from on-premise to Odoo Online)"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:39
|
||
msgid "Migrating from another ERP to Odoo"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:42
|
||
msgid ""
|
||
"If your database contains a **custom module**, you must first upgrade its "
|
||
"source code to be compatible with the new version of Odoo **before "
|
||
"upgrading**."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:49
|
||
msgid "Upgrading in a nutshell"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:51
|
||
msgid ""
|
||
"Request an upgraded test database (see :ref:`obtaining an upgraded test "
|
||
"database <upgrade/request-test-database>`)."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:54
|
||
msgid ""
|
||
"Thoroughly test the upgraded database (see :ref:`testing the new version of "
|
||
"the database <upgrade/test_your_db>`)."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:57
|
||
msgid ""
|
||
"Report any issue encountered during the testing to Odoo via the `support "
|
||
"page <https://odoo.com/help?stage=migration>`__."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:60
|
||
msgid ""
|
||
"(If applicable) : upgrade the source code of your custom module to be "
|
||
"compatible with the new version of Odoo."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:63
|
||
msgid ""
|
||
"Once all issues are resolved and you are confident that the upgraded "
|
||
"database can be used as your main database without any issues, plan the "
|
||
"upgrade of your production database."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:66
|
||
msgid ""
|
||
"Request the upgrade for the production database, rendering it unavailable "
|
||
"for the time it takes to complete the process (see :ref:`upgrading the "
|
||
"production database <upgrade/upgrade-prod>`)."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:69
|
||
msgid ""
|
||
"Report any issue encountered during the upgrade to Odoo via the `support "
|
||
"page <https://odoo.com/help?stage=post_upgrade>`__."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:78
|
||
msgid "Obtaining an upgraded test database"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:80
|
||
msgid ""
|
||
"The `Upgrade page <https://upgrade.odoo.com/>`_ is the main platform for "
|
||
"requesting an upgraded database. However, depending on the hosting type, you"
|
||
" can upgrade from the command line (on-premise), the `Odoo Online database "
|
||
"manager <https://odoo.com/my/databases>`_, or your `Odoo.sh project "
|
||
"<https://odoo.sh/project>`_."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:86
|
||
msgid ""
|
||
"The Upgrade platform follows the same `Privacy Policy "
|
||
"<https://www.odoo.com/privacy>`_ as the other Odoo.com services. Visit the "
|
||
"`General Data Protection Regulation page <https://www.odoo.com/gdpr>`_ to "
|
||
"learn more about how Odoo handles your data and privacy."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:94
|
||
msgid ""
|
||
"Odoo Online databases can be manually upgraded via the `database manager "
|
||
"<https://odoo.com/my/databases>`_."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:97
|
||
msgid ""
|
||
"The database manager displays all databases associated with the user's "
|
||
"account. Databases not on the most recent version of Odoo display an arrow "
|
||
"in a circle icon next to their name, indicating that they can be upgraded."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:0
|
||
msgid ""
|
||
"The database manager with an upgrade button next to the name of a database."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:104
|
||
msgid ""
|
||
"Click the **arrow in a circle** icon to start the upgrade process. In the "
|
||
"popup, fill in:"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:106
|
||
msgid ""
|
||
"The **version** of Odoo you want to upgrade to, usually the latest version"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:107
|
||
msgid ""
|
||
"The **email** address that should receive the link to the upgraded database"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:108
|
||
msgid ""
|
||
"The :guilabel:`Purpose` of the upgrade, which is automatically set to "
|
||
":guilabel:`Test` for your first upgrade request"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:0
|
||
msgid "The \"Upgrade your database\" popup."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:114
|
||
msgid ""
|
||
"The :guilabel:`Upgrade in progress` tag is displayed next to the database "
|
||
"name until completion. Once the process succeeds, an email containing a link"
|
||
" to the upgraded test database is sent to the address provided. The database"
|
||
" can also be accessed from the database manager by clicking the dropdown "
|
||
"arrow before the database name."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:0
|
||
msgid "Clicking the menu arrow displays the upgraded test database."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:124
|
||
msgid ""
|
||
"Odoo.sh is integrated with the upgrade platform to simplify the upgrade "
|
||
"process."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:0
|
||
msgid "Odoo.sh project and tabs"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:129
|
||
msgid ""
|
||
"The **latest production daily automatic backup** is then sent to the "
|
||
"`upgrade platform <https://upgrade.odoo.com>`_."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:132
|
||
msgid ""
|
||
"Once the upgrade platform is done upgrading the backup and uploading it on "
|
||
"the branch, it is put in a **special mode**: each time a **commit is "
|
||
"pushed** on the branch, a **restore operation** of the upgraded backup and "
|
||
"an **update of all the custom modules** occur. This allows you to test your "
|
||
"custom modules on a pristine copy of the upgraded database. The log file of "
|
||
"the upgrade process can be found in your newly upgraded staging build by "
|
||
"going to :file:`~/logs/upgrade.log`."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:140
|
||
msgid ""
|
||
"In databases where custom modules are installed, their source code must be "
|
||
"up-to-date with the target version of Odoo before the upgrade can be "
|
||
"performed. If there are none, the \"update on commit\" mode is skipped, the "
|
||
"upgraded database is built as soon as it is transferred from the upgrade "
|
||
"platform, and the upgrade mode is exited."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:152
|
||
#: ../../content/administration/upgrade.rst:344
|
||
msgid "On-premise"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:154
|
||
msgid ""
|
||
"The standard upgrade process can be initiated by entering the following "
|
||
"command line on the machine where the database is hosted:"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:161
|
||
msgid ""
|
||
"The following command can be used to display the general help and the main "
|
||
"commands:"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:167
|
||
msgid ""
|
||
"An upgraded test database can also be requested via the `Upgrade page "
|
||
"<https://upgrade.odoo.com/>`_."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:171
|
||
msgid ""
|
||
"For security reasons, only the person who submitted the upgrade request can "
|
||
"download it."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:172
|
||
msgid ""
|
||
"For storage reasons, the database's copy is submitted without a filestore to"
|
||
" the upgrade server. Therefore, the upgraded database does not contain the "
|
||
"production filestore."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:174
|
||
msgid ""
|
||
"Before restoring the upgraded database, its filestore must be merged with "
|
||
"the production filestore to be able to perform tests in the same conditions "
|
||
"as it would be in the new version."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:177
|
||
msgid "The upgraded database contains:"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:179
|
||
msgid "A `dump.sql` file containing the upgraded database"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:180
|
||
msgid ""
|
||
"A `filestore` folder containing files extracted from in-database records "
|
||
"into attachments (if there are any) and new standard Odoo files from the "
|
||
"targeted Odoo version (e.g., new images, icons, payment provider's logos, "
|
||
"etc.). This is the folder that should be merged with the production "
|
||
"filestore in order to get the full upgraded filestore."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:187
|
||
msgid ""
|
||
"You can request multiple test databases if you wish to test an upgrade more "
|
||
"than once."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:192
|
||
msgid ""
|
||
"When an upgrade request is completed, an upgrade report is attached to the "
|
||
"successful upgrade email, and it becomes available in the Discuss app for "
|
||
"users who are part of the \"Administration / Settings\" group. This report "
|
||
"provides important information about the changes introduced by the new "
|
||
"version."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:200
|
||
msgid "Testing the new version of the database"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:202
|
||
msgid ""
|
||
"It is essential to spend some time testing the upgraded test database to "
|
||
"ensure that you are not stuck in your day-to-day activities by a change in "
|
||
"views, behavior, or an error message once the upgrade goes live."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:207
|
||
msgid ""
|
||
"Test databases are neutralized, and some features are disabled to prevent "
|
||
"them from impacting the production database:"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:210
|
||
msgid "Scheduled actions are disabled."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:211
|
||
msgid ""
|
||
"Outgoing mail servers are disabled by archiving the existing ones and adding"
|
||
" a fake one."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:212
|
||
msgid ""
|
||
"Payment providers and delivery carriers are reset to the test environment."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:213
|
||
msgid ""
|
||
"Bank synchronization is disabled. Should you want to test the "
|
||
"synchronization, contact your bank synchronization provider to get sandbox "
|
||
"credentials."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:216
|
||
msgid ""
|
||
"Testing as many of your business flows as possible is strongly recommended "
|
||
"to ensure they are working correctly and to get more familiar with the new "
|
||
"version."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:219
|
||
msgid "Basic test checklist"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:221
|
||
msgid ""
|
||
"Are there views that are deactivated in your test database but active in "
|
||
"your production database?"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:223
|
||
msgid "Are your usual views still displayed correctly?"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:224
|
||
msgid "Are your reports (invoice, sales order, etc.) correctly generated?"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:225
|
||
msgid "Are your website pages working correctly?"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:226
|
||
msgid ""
|
||
"Are you able to create and modify records? (sales orders, invoices, "
|
||
"purchases, users, contacts, companies, etc.)"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:228
|
||
msgid "Are there any issues with your mail templates?"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:229
|
||
msgid "Are there any issues with saved translations?"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:230
|
||
msgid "Are your search filters still present?"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:231
|
||
msgid "Can you export your data?"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:235
|
||
msgid ""
|
||
"Checking a random product in your product catalog and comparing its test and"
|
||
" production data to verify everything is the same (product category, selling"
|
||
" price, cost price, vendor, accounts, routes, etc.)."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:238
|
||
msgid "Buying this product (Purchase app)."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:239
|
||
msgid "Confirming the reception of this product (Inventory app)."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:240
|
||
msgid ""
|
||
"Checking if the route to receive this product is the same in your production"
|
||
" database (Inventory app)."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:242
|
||
msgid "Selling this product (Sales app) to a random customer."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:243
|
||
msgid ""
|
||
"Opening your customer database (Contacts app), selecting a customer (or "
|
||
"company), and checking its data."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:245
|
||
msgid "Shipping this product (Inventory app)."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:246
|
||
msgid ""
|
||
"Checking if the route to ship this product is the same as in your production"
|
||
" database (Inventory app)."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:248
|
||
msgid "Validating a customer invoice (Invoicing or Accounting app)."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:249
|
||
msgid ""
|
||
"Crediting the invoice (issuing a credit note) and checking if it behaves as "
|
||
"in your production database."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:251
|
||
msgid "Checking your reports' results (Accounting app)."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:252
|
||
msgid ""
|
||
"Randomly checking your taxes, currencies, bank accounts, and fiscal year "
|
||
"(Accounting app)."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:253
|
||
msgid ""
|
||
"Making an online order (Website apps) from the product selection in your "
|
||
"shop until the checkout process and checking if everything behaves as in "
|
||
"your production database."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:256
|
||
msgid ""
|
||
"This list is **not** exhaustive. Extend the example to your other apps based"
|
||
" on your use of Odoo."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:258
|
||
msgid ""
|
||
"If you face an issue while testing your upgraded test database, you can "
|
||
"request the assistance of Odoo via the `support page "
|
||
"<https://odoo.com/help?stage=migration>`__ by selecting the option related "
|
||
"to testing the upgrade. In any case, it is essential to report any problem "
|
||
"encountered during the testing to fix it before upgrading your production "
|
||
"database."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:263
|
||
msgid ""
|
||
"You might encounter significant differences with standard views, features, "
|
||
"fields, and models during testing. Those changes cannot be reverted on a "
|
||
"case-by-case basis. However, if a change introduced by a new version breaks "
|
||
"a customization, it is the responsibility of the maintainer of your custom "
|
||
"module to make it compatible with the new version of Odoo."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:269
|
||
msgid "Do not forget to test:"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:271
|
||
msgid "Integrations with external software (EDI, APIs, etc.)"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:272
|
||
msgid ""
|
||
"Workflows between different apps (online sales with eCommerce, converting a "
|
||
"lead all the way to a sales order, delivery of products, etc.)"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:274
|
||
msgid "Data exports"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:275
|
||
msgid "Automated actions"
|
||
msgstr "自动动作"
|
||
|
||
#: ../../content/administration/upgrade.rst:276
|
||
msgid ""
|
||
"Server actions in the action menu on form views, as well as by selecting "
|
||
"multiple records on list views"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:282
|
||
msgid "Upgrading the production database"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:284
|
||
msgid ""
|
||
"Once the :ref:`tests <upgrade/test_your_db>` are completed and you are "
|
||
"confident that the upgraded database can be used as your main database "
|
||
"without any issues, it is time to plan the go-live day. It can be planned in"
|
||
" coordination with Odoo's upgrade support analysts, reachable via the "
|
||
"`support page <https://odoo.com/help>`__."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:289
|
||
msgid ""
|
||
"Your production database will be unavailable during its upgrade. Therefore, "
|
||
"we recommend planning the upgrade at a time when the use of the database is "
|
||
"minimal."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:292
|
||
msgid ""
|
||
"As the standard upgrade scripts and your database are constantly evolving, "
|
||
"it is also recommended to frequently request another upgraded test database "
|
||
"to ensure that the upgrade process is still successful, especially if it "
|
||
"takes a long time to finish. Fully rehearsing the upgrade process the day "
|
||
"before upgrading the production database is also recommended."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:298
|
||
msgid "Going into production without first testing may lead to:"
|
||
msgstr "在没有进行首次测试的情况下投入生产可能会导致:"
|
||
|
||
#: ../../content/administration/upgrade.rst:300
|
||
msgid "Users failing to adjust to the changes and new features"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:301
|
||
msgid ""
|
||
"Business interruptions (e.g., no longer having the possibility to validate "
|
||
"an action)"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:302
|
||
msgid ""
|
||
"Poor customer experience (e.g., an eCommerce website that does not work "
|
||
"correctly)"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:304
|
||
msgid ""
|
||
"The process of upgrading a production database is similar to upgrading a "
|
||
"test database with a few exceptions."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:311
|
||
msgid ""
|
||
"The process is similar to :ref:`obtaining an upgraded test database "
|
||
"<upgrade/request-test-database>`, except for the purpose option, which must "
|
||
"be set to :guilabel:`Production` instead of :guilabel:`Test`."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:316
|
||
msgid ""
|
||
"Once the upgrade is requested, the database will be unavailable until the "
|
||
"upgrade is finished. Once the process is completed, it is impossible to "
|
||
"revert to the previous version."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:322
|
||
msgid ""
|
||
"The process is similar to :ref:`obtaining an upgraded test database "
|
||
"<upgrade/request-test-database>` on the :guilabel:`Production` branch."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:0
|
||
msgid "View from the upgrade tab"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:328
|
||
msgid ""
|
||
"The process is **triggered as soon as a new commit is made** on the branch. "
|
||
"This allows the upgrade process to be synchronized with the deployment of "
|
||
"the custom modules' upgraded source code. If there are no custom modules, "
|
||
"the upgrade process is triggered immediately."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:334
|
||
msgid ""
|
||
"The database is unavailable throughout the process. If anything goes wrong, "
|
||
"the platform automatically reverts the upgrade, as it would be for a regular"
|
||
" update. In case of success, a backup of the database before the upgrade is "
|
||
"created."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:338
|
||
msgid ""
|
||
"The update of your custom modules must be successful to complete the entire "
|
||
"upgrade process. Make sure the status of your staging upgrade is "
|
||
":guilabel:`successful` before trying it in production."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:346
|
||
msgid ""
|
||
"The command to upgrade a database to production is similar to the one of "
|
||
"upgrading a test database except for the argument `test`, which must be "
|
||
"replaced by `production`:"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:353
|
||
msgid ""
|
||
"An upgraded production database can also be requested via the `Upgrade page "
|
||
"<https://upgrade.odoo.com/>`_. Once the database is uploaded, any "
|
||
"modification to your production database will **not** be present on your "
|
||
"upgraded database. This is why we recommend not using it during the upgrade "
|
||
"process."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:360
|
||
msgid ""
|
||
"When requesting an upgraded database for production purposes, the copy is "
|
||
"submitted without a filestore. Therefore, the upgraded database filestore "
|
||
"must be merged with the production filestore before deploying the new "
|
||
"version."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:364
|
||
msgid ""
|
||
"In case of an issue with your production database, you can request the "
|
||
"assistance of Odoo via the `support page "
|
||
"<https://odoo.com/help?stage=post_upgrade>`__ by selecting the option "
|
||
"related to the upgrade in production."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:372
|
||
msgid "Service-level agreement (SLA)"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:374
|
||
msgid ""
|
||
"With Odoo Enterprise, upgrading a database to the most recent version of "
|
||
"Odoo is **free**, including any support required to rectify potential "
|
||
"discrepancies in the upgraded database."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:377
|
||
msgid ""
|
||
"Information about the upgrade services included in the Enterprise Licence is"
|
||
" available in the :ref:`Odoo Enterprise Subscription Agreement <upgrade>`. "
|
||
"However, this section clarifies what upgrade services you can expect."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:382
|
||
msgid "Upgrade services covered by the SLA"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:384
|
||
msgid ""
|
||
"Databases hosted on Odoo's cloud platforms (Odoo Online and Odoo.sh) or "
|
||
"self-hosted (On-Premise) can benefit from upgrade services at all times for:"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:387
|
||
msgid "the upgrade of all **standard applications**;"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:388
|
||
msgid ""
|
||
"the upgrade of all **customizations created with the Studio app**, as long "
|
||
"as Studio is still installed and the respective subscription is still "
|
||
"active; and"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:390
|
||
msgid ""
|
||
"the upgrade of all **developments and customizations covered by a "
|
||
"maintenance of customizations subscription**."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:393
|
||
msgid ""
|
||
"Upgrade services are limited to the technical conversion and adaptation of a"
|
||
" database (standard modules and data) to make it compatible with the version"
|
||
" targeted by the upgrade."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:397
|
||
msgid "Upgrade services not covered by the SLA"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:399
|
||
msgid "The following upgrade-related services are **not** included:"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:401
|
||
msgid ""
|
||
"the **cleaning** of pre-existing data and configurations while upgrading;"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:402
|
||
msgid ""
|
||
"the upgrade of **custom modules created in-house or by third parties**, "
|
||
"including Odoo partners;"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:403
|
||
msgid ""
|
||
"lines of **code added to standard modules**, i.e., customizations created "
|
||
"outside the Studio app, code entered manually, and :ref:`automated actions "
|
||
"using Python code <studio/automated-actions/action>`; and"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:406
|
||
msgid "**training** on using the upgraded version's features and workflows."
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:409
|
||
msgid ":doc:`Odoo.sh documentation <odoo_sh>`"
|
||
msgstr ""
|
||
|
||
#: ../../content/administration/upgrade.rst:410
|
||
msgid ":doc:`Supported Odoo versions <maintain/supported_versions>`"
|
||
msgstr ""
|