diff --git a/locale/zh_CN/LC_MESSAGES/guides/telemetrics/telem-guide.po b/locale/zh_CN/LC_MESSAGES/guides/telemetrics/telem-guide.po index d0bcc61b..beed8ee8 100644 --- a/locale/zh_CN/LC_MESSAGES/guides/telemetrics/telem-guide.po +++ b/locale/zh_CN/LC_MESSAGES/guides/telemetrics/telem-guide.po @@ -4,50 +4,49 @@ # Project Docs package. # FIRST AUTHOR , 2019. # -#, fuzzy msgid "" -msgstr "" -"Project-Id-Version: Clear Linux* Project Docs latest\n" +msgstr "Project-Id-Version: Clear Linux* Project Docs latest\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-07-22 12:54-0700\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"PO-Revision-Date: 2019-07-29 17:47-0008\n" "Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" +"Language-Team: zh-Hans\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.7.0\n" +"Generated-By: Intel® International Developer Studio Version 4.1.273.0\n" +"Language: zh-Hans\n" #: ../../guides/telemetrics/telem-guide.rst:4 msgid "Telemetrics" -msgstr "" +msgstr "遥测" #: ../../guides/telemetrics/telem-guide.rst:6 msgid "This guide describes the |CL-ATTR| telemetry solution." -msgstr "" +msgstr "This guide describes the |CL-ATTR| telemetry solution." #: ../../guides/telemetrics/telem-guide.rst:10 msgid "" "Telemetry in |CL| is **opt-in**. The telemetry client is **not** active " "and sends **no** data until you explicitly enable it." -msgstr "" +msgstr "|CL| 中的遥测为 **opt-in**。遥测客户端 **未** 处于活动状态,且在您将其显式启用之前 **不** 发送任何数据。" #: ../../guides/telemetrics/telem-guide.rst:15 msgid "" "The telemetry functionality adheres to `Intel privacy policies`_ " "regarding the collection and use of :abbr:`PII (Personally Identifiable " "Information)` and is open source." -msgstr "" +msgstr "The telemetry functionality adheres to `Intel privacy policies`_ regarding the collection and use of :abbr:`PII (Personally Identifiable Information)` and is open source." #: ../../guides/telemetrics/telem-guide.rst:19 msgid "" "No intentionally identifiable information about the user or system owner " "is collected." -msgstr "" +msgstr "No intentionally identifiable information about the user or system owner is collected." #: ../../guides/telemetrics/telem-guide.rst:27 msgid "Overview" -msgstr "" +msgstr "Overview" #: ../../guides/telemetrics/telem-guide.rst:29 msgid "" @@ -55,27 +54,27 @@ msgid "" "from running |CL| systems to help quickly identify and fix bugs in the " "OS. Both client and server are customizable, and an API is available on " "the client side for instrumenting your code for debug and analysis." -msgstr "" +msgstr "Telemetrics in |CL| is a client and server solution used to collect data from running |CL| systems to help quickly identify and fix bugs in the OS. Both client and server are customizable, and an API is available on the client side for instrumenting your code for debug and analysis." #: ../../guides/telemetrics/telem-guide.rst:34 msgid "" "Telemetry, one of the key features of |CL|, enables developers to observe" " and proactively address issues in the OS before end users are impacted." -msgstr "" +msgstr "借助遥测这一 |CL| 的主要功能,开发人员可在最终用户受到影响之前观察并主动解决操作系统中存在的问题。" #: ../../guides/telemetrics/telem-guide.rst:37 msgid "Telemetrics is a combination word made from:" -msgstr "" +msgstr "遥测 (Telemetrics) 是由以下项组成的组合词:" #: ../../guides/telemetrics/telem-guide.rst:39 msgid "Telemetry, which is sensing and reporting data." -msgstr "" +msgstr "遥测 (Telemetry),即感知和报告数据。" #: ../../guides/telemetrics/telem-guide.rst:40 msgid "" "Analytics, which is using visualization and statistical inferencing to " "make sense of the reported data." -msgstr "" +msgstr "分析 (Analytics),即使用可视化和统计推理探究报告数据的意义。" #: ../../guides/telemetrics/telem-guide.rst:43 msgid "" @@ -85,7 +84,7 @@ msgid "" "unhandled hardware failures. Telemetry enables real-time issue reporting " "to allow system developers to focus quickly on an issue and monitor " "corrective actions." -msgstr "" +msgstr "|CL| telemetry reports system-level debug/crash information using specialized probes. The probes monitor system tasks such as swupd, kernel oops, machine error checks, and the BIOS error report table for unhandled hardware failures. Telemetry enables real-time issue reporting to allow system developers to focus quickly on an issue and monitor corrective actions." #: ../../guides/telemetrics/telem-guide.rst:49 msgid "" @@ -94,98 +93,98 @@ msgid "" "in your code to create custom telemetry records. You can also use the " "telem-record-gen utility in script files for light-touch record creation " "where instrumenting code files doesn't make sense." -msgstr "" +msgstr "|CL| telemetry is fully customizable and can be used during software development for debugging purposes. You can use the libtelemetry library in your code to create custom telemetry records. You can also use the telem-record-gen utility in script files for light-touch record creation where instrumenting code files doesn't make sense." #: ../../guides/telemetrics/telem-guide.rst:55 msgid "" "The |CL| telemetrics solution is an **opt-in** choice on the client side." " By default, the telemetry client is disabled until you choose to enable " "it. Enabling the client is covered in this guide." -msgstr "" +msgstr "The |CL| telemetrics solution is an **opt-in** choice on the client side. By default, the telemetry client is disabled until you choose to enable it. Enabling the client is covered in this guide." #: ../../guides/telemetrics/telem-guide.rst:60 msgid "Architecture" -msgstr "" +msgstr "体系架构" #: ../../guides/telemetrics/telem-guide.rst:62 msgid "" "|CL| telemetry has two fundamental components, which are shown in Figure " "1:" -msgstr "" +msgstr "|CL| telemetry has two fundamental components, which are shown in Figure 1:" #: ../../guides/telemetrics/telem-guide.rst:64 msgid "" "Client: generates and delivers records to the backend server via the " "network." -msgstr "" +msgstr "Client: generates and delivers records to the backend server via the network." #: ../../guides/telemetrics/telem-guide.rst:66 msgid "" "Backend: receives records sent from the client and displays the " "cumulative content through a specialized web interface." -msgstr "" +msgstr "后端:接收客户端发来的记录,通过专门的 Web 界面显示累积的内容。" #: ../../guides/telemetrics/telem-guide.rst:72 msgid "Figure 1: :guilabel:`|CL| Telemetry Architecture`" -msgstr "" +msgstr "图 1::guilabel:`|CL| Telemetry Architecture`" #: ../../guides/telemetrics/telem-guide.rst:74 msgid "" "The telemetry client provides the front end of the telemetrics solution " "and includes the following components:" -msgstr "" +msgstr "遥测客户端提供遥测解决方案的前端,同时还包括以下组件:" #: ../../guides/telemetrics/telem-guide.rst:77 msgid "" "telemprobd, which is a daemon that receives and prepares telemetry " "records from probes and spools them to disk." -msgstr "" +msgstr "telemprobd, which is a daemon that receives and prepares telemetry records from probes and spools them to disk." #: ../../guides/telemetrics/telem-guide.rst:79 msgid "" "telempostd, which is a daemon that manages spooled telemetry records and " "delivers these records according to configurable settings." -msgstr "" +msgstr "telempostd, which is a daemon that manages spooled telemetry records and delivers these records according to configurable settings." #: ../../guides/telemetrics/telem-guide.rst:81 msgid "probes, which collect specific types of data from the operating system." -msgstr "" +msgstr "probes, which collect specific types of data from the operating system." #: ../../guides/telemetrics/telem-guide.rst:82 msgid "" "libtelemetry, which is the API that telemetrics probes use to create " "records." -msgstr "" +msgstr "libtelemetry, which is the API that telemetrics probes use to create records." #: ../../guides/telemetrics/telem-guide.rst:84 msgid "" "The telemetry backend provides the server-side component of the " "telemetrics solution and consists of:" -msgstr "" +msgstr "遥测后端提供遥测解决方案的服务器端组件且包括:" #: ../../guides/telemetrics/telem-guide.rst:87 msgid "Nginx web server." -msgstr "" +msgstr "Nginx Web 服务器。" #: ../../guides/telemetrics/telem-guide.rst:88 msgid "Two Flask apps:" -msgstr "" +msgstr "Two Flask apps:" #: ../../guides/telemetrics/telem-guide.rst:90 msgid "" "Collector, which is an ingestion web app for records received from client" " probes." -msgstr "" +msgstr "Collector, which is an ingestion web app for records received from client probes." #: ../../guides/telemetrics/telem-guide.rst:92 msgid "" "TelemetryUI, which is a web app that exposes different views to visualize" " the telemetry data." -msgstr "" +msgstr "TelemetryUI, which is a web app that exposes different views to visualize the telemetry data." #: ../../guides/telemetrics/telem-guide.rst:94 msgid "PostgreSQL as the underlying database server." -msgstr "" +msgstr "PostgreSQL 作为底层数据库服务器。" #: ../../guides/telemetrics/telem-guide.rst:98 msgid "" @@ -193,11 +192,11 @@ msgid "" "development team and is not viewable outside the Intel firewall. To " "collect your own records, you must set up your own telemetry backend " "server." -msgstr "" +msgstr "默认遥测后端服务器由英特尔 |CL| 开发团队托管,且无法在英特尔防火墙之外查看。要收集个人记录,必须设置自己的遥测后端服务器。" #: ../../guides/telemetrics/telem-guide.rst:103 msgid "How to use" -msgstr "" +msgstr "How to use" #: ../../guides/telemetrics/telem-guide.rst:105 msgid "" @@ -208,22 +207,22 @@ msgid "" "custom backend server, keep the data local to the system, or both. The " "backend server has a more complex setup, but once it's running, it is " "simple to use and configure." -msgstr "" +msgstr "From a workflow perspective, the |CL| telemetrics system is straightforward. On the client side, the main decisions after installation and enabling telemetry involve what to do with the record data generated by the probes. You can send the data to the default or a custom backend server, keep the data local to the system, or both. The backend server has a more complex setup, but once it's running, it is simple to use and configure." #: ../../guides/telemetrics/telem-guide.rst:112 msgid "" "This section describes some of the possible scenarios for configuring the" " |CL| telemetrics system, and suggests which ones make sense according to" " your needs." -msgstr "" +msgstr "This section describes some of the possible scenarios for configuring the |CL| telemetrics system, and suggests which ones make sense according to your needs." #: ../../guides/telemetrics/telem-guide.rst:117 msgid "Scenarios" -msgstr "" +msgstr "场景" #: ../../guides/telemetrics/telem-guide.rst:119 msgid "Enable telemetry:" -msgstr "" +msgstr "Enable telemetry:" #: ../../guides/telemetrics/telem-guide.rst:121 msgid "" @@ -233,11 +232,11 @@ msgid "" ":file:`/etc/telemetrics` directory. If you choose to use the default " "settings, records will be sent to the telemetrics backend server managed " "by the |CL| development team at Intel." -msgstr "" +msgstr "Before probes can generate records, the telemetry client daemons must be enabled. You can configure the client before enabling by creating a custom :file:`telemetrics.conf` file that you place in the :file:`/etc/telemetrics` directory. If you choose to use the default settings, records will be sent to the telemetrics backend server managed by the |CL| development team at Intel." #: ../../guides/telemetrics/telem-guide.rst:128 msgid "Save record data locally:" -msgstr "" +msgstr "Save record data locally:" #: ../../guides/telemetrics/telem-guide.rst:130 msgid "" @@ -246,11 +245,11 @@ msgid "" "to track system issues if you believe there is a machine specific " "problem. The client can be set not to send records at all, or to both " "keep the records locally and send to the backend server." -msgstr "" +msgstr "You can configure the telemetry client to save records locally. This is convenient when you want instant feedback during a development cycle, or to track system issues if you believe there is a machine specific problem. The client can be set not to send records at all, or to both keep the records locally and send to the backend server." #: ../../guides/telemetrics/telem-guide.rst:136 msgid "Set up a server to collect data:" -msgstr "" +msgstr "Set up a server to collect data:" #: ../../guides/telemetrics/telem-guide.rst:138 msgid "" @@ -258,11 +257,11 @@ msgid "" "send records to the default telemetry server, you can set up a backend " "server to collect your records. The backend server can be installed on " "any Linux system and provides the same dashboard as the default server." -msgstr "" +msgstr "Whether you are managing a network of |CL| systems or you don't want to send records to the default telemetry server, you can set up a backend server to collect your records. The backend server can be installed on any Linux system and provides the same dashboard as the default server." #: ../../guides/telemetrics/telem-guide.rst:144 msgid "Instrument your code with the libtelemetry API:" -msgstr "" +msgstr "Instrument your code with the libtelemetry API:" #: ../../guides/telemetrics/telem-guide.rst:146 msgid "" @@ -271,19 +270,19 @@ msgid "" "can use these in your applications as well. The API documentation is " "found in the :file:`telemetry.h` file in `Telemetrics client`_ " "repository." -msgstr "" +msgstr "The :command:`telemetrics` bundle includes the libtelemetry C library, which exposes an API used by the telemprobd and telempostd daemons. You can use these in your applications as well. The API documentation is found in the :file:`telemetry.h` file in `Telemetrics client`_ repository." #: ../../guides/telemetrics/telem-guide.rst:153 msgid "Examples" -msgstr "" +msgstr "示例" #: ../../guides/telemetrics/telem-guide.rst:160 msgid "Enable or disable telemetry" -msgstr "" +msgstr "Enable or disable telemetry" #: ../../guides/telemetrics/telem-guide.rst:162 msgid "Enabling during installation:" -msgstr "" +msgstr "Enabling during installation:" #: ../../guides/telemetrics/telem-guide.rst:164 msgid "" @@ -293,15 +292,15 @@ msgid "" "then the telemetry software bundle is not added to your system. Choosing " "to join will automatically enable telemetry on your system after " "installation is complete." -msgstr "" +msgstr "在初始安装 |CL| 期间,系统会要求加入稳定性增强计划,允许 |CL| 收集匿名报告,提高系统稳定性。如果选择不加入此计划,则不会将遥测软件 bundle 文件添加到系统中。选择加入此计划,则会在安装完成后自动在系统上启用遥测。" #: ../../guides/telemetrics/telem-guide.rst:171 msgid "Enabling after install:" -msgstr "" +msgstr "Enabling after install:" #: ../../guides/telemetrics/telem-guide.rst:173 msgid "To start telemetry on your system, run the following command:" -msgstr "" +msgstr "要在系统上启动遥测,请运行以下命令:" #: ../../guides/telemetrics/telem-guide.rst:179 msgid "" @@ -311,31 +310,31 @@ msgid "" ":file:`/etc/telemetrics/telemetrics.conf`. If this file does not exist, " "the :command:`telemprobd` and :command:`telempostd` daemons will use the " "file :file:`/usr/share/defaults/telemetrics/telemetrics.conf`." -msgstr "" +msgstr "此命令将启用并启动 :command:`telemprobd` 和 :command:`telempostd` 守护程序。系统随即开始将遥测数据发送到文件 :file:`/etc/telemetrics/telemetrics.conf` 中所定义的服务器。如果此文件不存在,:command:`telemprobd` 和 :command:`telempostd` 守护程序则会使用文件 :file:`/usr/share/defaults/telemetrics/telemetrics.conf`。" #: ../../guides/telemetrics/telem-guide.rst:185 msgid "Disabling after install:" -msgstr "" +msgstr "Disabling after install:" #: ../../guides/telemetrics/telem-guide.rst:187 msgid "To disable both of the telemetry daemons, run the following command:" -msgstr "" +msgstr "要禁用这两个遥测守护程序,请运行以下命令:" #: ../../guides/telemetrics/telem-guide.rst:193 msgid "Opt in to telemetry:" -msgstr "" +msgstr "Opt in to telemetry:" #: ../../guides/telemetrics/telem-guide.rst:195 msgid "" "To opt-in to the telemetry services, simply enter the opt-in command, " "which also starts the service:" -msgstr "" +msgstr "To opt-in to the telemetry services, simply enter the opt-in command, which also starts the service:" #: ../../guides/telemetrics/telem-guide.rst:202 msgid "" "This removes the :file:`/etc/telemetrics/opt-out` file, if it exists, and" " starts the telemetry services." -msgstr "" +msgstr "此操作将删除 :file:`/etc/telemetrics/opt-out` 文件(如果存在)并启动遥测服务。" #: ../../guides/telemetrics/telem-guide.rst:207 msgid "" @@ -343,33 +342,33 @@ msgid "" "command :command:`sudo telemctl stop` after the :command:`opt-in` command" " is entered. Once you are ready to start the service, enter the command " ":command:`sudo telemctl start`." -msgstr "" +msgstr "To opt-in but not immediately start telemetry services, you must run the command :command:`sudo telemctl stop` after the :command:`opt-in` command is entered. Once you are ready to start the service, enter the command :command:`sudo telemctl start`." #: ../../guides/telemetrics/telem-guide.rst:212 msgid "Opt out of telemetry:" -msgstr "" +msgstr "Opt out of telemetry:" #: ../../guides/telemetrics/telem-guide.rst:214 msgid "" "To stop sending telemetrics data from your system, opt out of the " "telemetry service:" -msgstr "" +msgstr "要停止发送来自系统的遥测数据,请选择禁用遥测服务:" #: ../../guides/telemetrics/telem-guide.rst:221 msgid "" "This creates the file :file:`/etc/telemetrics/opt-out` and stops the " "telemetry services." -msgstr "" +msgstr "此操作将创建文件 :file:`/etc/telemetrics/opt-out` 并停止遥测服务。" #: ../../guides/telemetrics/telem-guide.rst:226 msgid "Saving data locally" -msgstr "" +msgstr "Saving data locally" #: ../../guides/telemetrics/telem-guide.rst:228 msgid "" "This example requires |CL| to be installed and telemetry to be enabled on" " the system." -msgstr "" +msgstr "This example requires |CL| to be installed and telemetry to be enabled on the system." #: ../../guides/telemetrics/telem-guide.rst:231 msgid "" @@ -382,7 +381,7 @@ msgid "" ":file:`/etc`. For each example, and for any time you make changes to the " "configuration file, you must restart the client daemons to pick up the " "changes:" -msgstr "" +msgstr "To change how records are managed, copy the default :file:`/usr/share/defaults/telemetrics/telemetrics.conf` file to :file:`/etc/telemetrics/telemetrics.conf` and edit it. The changes in the :file:`/etc/telemetrics/telemetrics.conf` file will override the defaults in the :file:`/usr/share/defaults/telemetrics/telemetrics.conf` file. You may need root permissions to create and edit files in :file:`/etc`. For each example, and for any time you make changes to the configuration file, you must restart the client daemons to pick up the changes:" #: ../../guides/telemetrics/telem-guide.rst:245 msgid "" @@ -390,11 +389,11 @@ msgid "" "options of the telemetry journal to assist with system analytics and " "debug. :command:`telemctl journal` has a number of options to help filter" " records. Use :command:`-h` or :command:`--help` to view usage options." -msgstr "" +msgstr "使用 :command:`telemctl journal` 命令可以访问遥测日志的各项功能和选项,有助于进行系统分析和调试。:command:`telemctl journal` 提供众多选项来协助过滤记录。使用 :command:`-h` 或 :command:`--help` 查看使用情况选项。" #: ../../guides/telemetrics/telem-guide.rst:251 msgid "Keep a local copy and send records to backend server:" -msgstr "" +msgstr "Keep a local copy and send records to backend server:" #: ../../guides/telemetrics/telem-guide.rst:253 msgid "" @@ -402,11 +401,11 @@ msgid "" "backend server, we will need to change the " ":guilabel:`record_retention_enabled` configuration key value to " ":guilabel:`true`." -msgstr "" +msgstr "要保留遥测记录的本地副本并将其发送到后端服务器,需将 :guilabel:`record_retention_enabled` 配置键值更改为 :guilabel:`true`。" #: ../../guides/telemetrics/telem-guide.rst:258 msgid "Keep all records -- don't send to backend server:" -msgstr "" +msgstr "Keep all records -- don't send to backend server:" #: ../../guides/telemetrics/telem-guide.rst:260 msgid "" @@ -415,17 +414,17 @@ msgid "" ":guilabel:`false`. Note that you will also need to ensure the " ":guilabel:`record_retention_enabled` configuration key value is set to " ":guilabel:`true` or the system will not keep local copies." -msgstr "" +msgstr "To keep records on the system without sending them to a backend server, set the :guilabel:`record_server_delivery_enabled` key value to :guilabel:`false`. Note that you will also need to ensure the :guilabel:`record_retention_enabled` configuration key value is set to :guilabel:`true` or the system will not keep local copies." #: ../../guides/telemetrics/telem-guide.rst:266 msgid "Keep and send records to custom server:" -msgstr "" +msgstr "Keep and send records to custom server:" #: ../../guides/telemetrics/telem-guide.rst:268 msgid "" "This assumes you have set up a custom server according to the next " "example." -msgstr "" +msgstr "此操作假设您已根据下例设置了定制服务器。" #: ../../guides/telemetrics/telem-guide.rst:270 msgid "" @@ -433,100 +432,100 @@ msgid "" "default records are sent to the |CL| server " ":guilabel:`server=https://clr.telemetry.intel.com/v2/collector`. To " "change this, you can use an IP address or fully qualified domain name." -msgstr "" +msgstr "The server is identified by the :guilabel:`server` setting, and by default records are sent to the |CL| server :guilabel:`server=https://clr.telemetry.intel.com/v2/collector`. To change this, you can use an IP address or fully qualified domain name." #: ../../guides/telemetrics/telem-guide.rst:277 msgid "Set up a back-end server to collect telemetry records" -msgstr "" +msgstr "Set up a back-end server to collect telemetry records" #: ../../guides/telemetrics/telem-guide.rst:279 msgid "" "For this example, start with a clean installation of |CL| on a new system" " using the :ref:`bare-metal-install-server` getting started guide and:" -msgstr "" +msgstr "在本例中,请先使用 :ref:`bare-metal-install-server` 入门指南和以下内容在新系统上完整安装 |CL|:" #: ../../guides/telemetrics/telem-guide.rst:282 msgid "" "Join the :guilabel:`Stability Enhancement Program` to install and enable " "the telemetrics components." -msgstr "" +msgstr "加入 :guilabel:`Stability Enhancement Program`,安装和启用遥测组件。" #: ../../guides/telemetrics/telem-guide.rst:285 msgid "Select the manual installation method with the following settings:" -msgstr "" +msgstr "选择采用以下设置的手动安装方法:" #: ../../guides/telemetrics/telem-guide.rst:287 msgid "Set the hostname to :guilabel:`clr-telem-server`," -msgstr "" +msgstr "将主机名设为 :guilabel:`clr-telem-server`。" #: ../../guides/telemetrics/telem-guide.rst:288 msgid "" "Create an administrative user named :guilabel:`clear` and add this user " "to sudoers" -msgstr "" +msgstr "创建名为 :guilabel:`clear` 的管理用户并将其添加到 sudo 用户组" #: ../../guides/telemetrics/telem-guide.rst:291 msgid "" "Log in with your administrative user, from your :file:`$HOME` directory, " "run :command:`git` to clone the :guilabel:`telemetrics-backend` " "repository into the :file:`$HOME/telemetrics-backend` directory:" -msgstr "" +msgstr "以管理用户身份登录,在 :file:`$HOME` 目录中运行 :command:`git`,将 :guilabel:`telemetrics-backend` 存储库克隆到 :file:`$HOME/telemetrics-backend` 目录:" #: ../../guides/telemetrics/telem-guide.rst:301 msgid "" "You may need to set up the :envvar:`https_proxy` environment variable if " "you have issues reaching github.com." -msgstr "" +msgstr "如果访问 github.com 时出现问题,则最好设置 :envvar:`https_proxy` 环境变量。" #: ../../guides/telemetrics/telem-guide.rst:304 msgid "" "Change your current working directory to :file:`telemetrics-" "backend/scripts`." -msgstr "" +msgstr "将当前工作目录更改为 :file:`telemetrics-backend/scripts`。" #: ../../guides/telemetrics/telem-guide.rst:305 msgid "" "Before you install the telemetrics backend with the :file:`deploy.sh` " "script file in the next step, here is an explanation of the options to be" " specified:" -msgstr "" +msgstr "Before you install the telemetrics backend with the :file:`deploy.sh` script file in the next step, here is an explanation of the options to be specified:" #: ../../guides/telemetrics/telem-guide.rst:308 msgid ":command:`-a install` to perform an install" -msgstr "" +msgstr ":command:`-a install` to perform an install" #: ../../guides/telemetrics/telem-guide.rst:309 msgid ":command:`-d clr` to install to a |CL| distro" -msgstr "" +msgstr ":command:`-d clr` to install to a |CL| distro" #: ../../guides/telemetrics/telem-guide.rst:310 msgid ":command:`-H localhost` to set the domain to localhost" -msgstr "" +msgstr ":command:`-H localhost` to set the domain to localhost" #: ../../guides/telemetrics/telem-guide.rst:313 msgid "" "The :file:`deploy.sh` shell script has minimal error checking and makes " "several changes to your system. Be sure that the options you define on " "the cmdline are correct before proceeding." -msgstr "" +msgstr "The :file:`deploy.sh` shell script has minimal error checking and makes several changes to your system. Be sure that the options you define on the cmdline are correct before proceeding." #: ../../guides/telemetrics/telem-guide.rst:317 msgid "" "Run the shell script from the :file:`$HOME/telemetrics-backend/scripts` " "directory:" -msgstr "" +msgstr "在 :file:`$HOME/telemetrics-backend/scripts` 目录中运行此 shell 脚本:" #: ../../guides/telemetrics/telem-guide.rst:326 msgid "" "The script starts and lists all the defined options and prompts you for " "the :guilabel:`PostgreSQL` database password." -msgstr "" +msgstr "The script starts and lists all the defined options and prompts you for the :guilabel:`PostgreSQL` database password." #: ../../guides/telemetrics/telem-guide.rst:340 msgid "" "For the :guilabel:`DB password:`, press the :kbd:`Enter` key to accept " "the default password `postgres`." -msgstr "" +msgstr "对于 :guilabel:`DB password:`,请按 :kbd:`Enter` 键接受默认密码 `postgres`。" #: ../../guides/telemetrics/telem-guide.rst:345 msgid "" @@ -534,21 +533,21 @@ msgid "" " may be prompted to enter your user password at any time while the script" " is executing. If this occurs, enter your user password to execute the " ":command:`sudo` command." -msgstr "" +msgstr ":file:`deploy.sh` 脚本使用 :command:`sudo` 运行命令,而系统在执行脚本时则随时可能会提示您输入用户密码。如果出现此情况,请输入用户密码,执行 :command:`sudo` 命令。" #: ../../guides/telemetrics/telem-guide.rst:351 msgid "" "After all the server components have been installed, you are prompted to " "enter the :guilabel:`PostgreSQL` database password to change it as " "illustrated below:" -msgstr "" +msgstr "After all the server components have been installed, you are prompted to enter the :guilabel:`PostgreSQL` database password to change it as illustrated below:" #: ../../guides/telemetrics/telem-guide.rst:362 msgid "" "Enter `postgres` for the current value of the password and then enter a " "new password, retype it to verify the new password and the " ":guilabel:`PostgreSQL` database password will be updated." -msgstr "" +msgstr "输入此密码的当前值 `postgres`,然后输入新密码。接着,再次输入此密码进行验证,:guilabel:`PostgreSQL` 数据库密码随即更新。" #: ../../guides/telemetrics/telem-guide.rst:366 msgid "" @@ -556,15 +555,15 @@ msgid "" "the new server by opening the browser on the system and typing in " "localhost in the address bar. You should see a web page similar to the " "one shown in Figure 2 below." -msgstr "" +msgstr "After the installation is complete, you can use your web browser to view the new server by opening the browser on the system and typing in localhost in the address bar. You should see a web page similar to the one shown in Figure 2 below." #: ../../guides/telemetrics/telem-guide.rst:374 msgid "Figure 2: :guilabel:`Telemetry UI`" -msgstr "" +msgstr "Figure 2: :guilabel:`Telemetry UI`" #: ../../guides/telemetrics/telem-guide.rst:377 msgid "Create records with telem-record-gen" -msgstr "" +msgstr "使用 telem-record-gen 创建记录" #: ../../guides/telemetrics/telem-guide.rst:379 msgid "" @@ -572,31 +571,31 @@ msgid "" "record-gen`. This tool can be used to create records from shell scripts " "or the command line when writing a probe in C is not desirable. Records " "are sent to the backend server, and can also be echoed to stdout." -msgstr "" +msgstr "The telemetrics bundle provides a record generator tool called `telem-record-gen`. This tool can be used to create records from shell scripts or the command line when writing a probe in C is not desirable. Records are sent to the backend server, and can also be echoed to stdout." #: ../../guides/telemetrics/telem-guide.rst:384 msgid "There are three ways to supply the payload to the record." -msgstr "" +msgstr "有三种方法可将有效负载提供给记录。" #: ../../guides/telemetrics/telem-guide.rst:386 msgid "On the command line, use the :command:`-p ` option:" -msgstr "" +msgstr "在命令行中,使用 :command:`-p ` 选项:" #: ../../guides/telemetrics/telem-guide.rst:412 msgid "" "Specify a file that contains the payload with the option :command:`-P " "path/to/file`." -msgstr "" +msgstr "通过 :command:`-P path/to/file` 选项指定包含此有效负载的文件。" #: ../../guides/telemetrics/telem-guide.rst:439 msgid "" "If the :command:`-p` or :command:`-P` options are absent, the tool reads " "from stdin so you can use it in a :file:`heredoc` in scripts." -msgstr "" +msgstr "如果不使用 :command:`-p` 或 :command:`-P` 选项,此工具则会从 stdin 读取,以便您在脚本的 :file:`heredoc` 中使用。" #: ../../guides/telemetrics/telem-guide.rst:469 msgid "Set a static machine id" -msgstr "" +msgstr "设置静态计算机 ID" #: ../../guides/telemetrics/telem-guide.rst:471 msgid "" @@ -604,29 +603,29 @@ msgid "" "days for privacy reasons. If you wish to have a static machine id for " "testing purposes, you can opt in by creating a file named `opt-in-static-" "machine-id` in the directory :file:`/etc/telemetrics/`." -msgstr "" +msgstr "The machine id reported by the telemetry client is rotated every three days for privacy reasons. If you wish to have a static machine id for testing purposes, you can opt in by creating a file named `opt-in-static-machine-id` in the directory :file:`/etc/telemetrics/`." #: ../../guides/telemetrics/telem-guide.rst:476 msgid "Create a directory `telemetrics`." -msgstr "" +msgstr "创建 `telemetrics` 目录。" #: ../../guides/telemetrics/telem-guide.rst:483 msgid "" "Create the file and replace the \"unique machine ID\" with your desired " "static machine ID." -msgstr "" +msgstr "创建文件并将 \"unique machine ID\" 替换为所需的静态计算机 ID。" #: ../../guides/telemetrics/telem-guide.rst:492 msgid "The machine ID is different than the system hostname." -msgstr "" +msgstr "The machine ID is different than the system hostname." #: ../../guides/telemetrics/telem-guide.rst:495 msgid "Instrument your code with the libtelemetry API" -msgstr "" +msgstr "通过 libtelemetry API 检测代码" #: ../../guides/telemetrics/telem-guide.rst:498 msgid "Prerequisites" -msgstr "" +msgstr "必备条件" #: ../../guides/telemetrics/telem-guide.rst:500 msgid "" @@ -635,25 +634,25 @@ msgid "" "also be found on github for reference, but installing the " ":command:`telemetry` bundle will install the header file that matches " "your |CL| version." -msgstr "" +msgstr "Confirm that the telemetrics header file is located on the system at :file:`usr/include/telemetry.h` The `latest version`_ of the file can also be found on github for reference, but installing the :command:`telemetry` bundle will install the header file that matches your |CL| version." #: ../../guides/telemetrics/telem-guide.rst:505 msgid "Includes and variables:" -msgstr "" +msgstr "Includes and variables:" #: ../../guides/telemetrics/telem-guide.rst:507 msgid "You must include the following headers in your code to use the API:" -msgstr "" +msgstr "You must include the following headers in your code to use the API:" #: ../../guides/telemetrics/telem-guide.rst:518 msgid "" "Use the following code to create the variables needed to hold the data " "for the record to be created:" -msgstr "" +msgstr "Use the following code to create the variables needed to hold the data for the record to be created:" #: ../../guides/telemetrics/telem-guide.rst:537 msgid "Severity:" -msgstr "" +msgstr "严重性:" #: ../../guides/telemetrics/telem-guide.rst:533 msgid "" @@ -661,57 +660,57 @@ msgid "" "range 1-4, with 1 being the lowest severity, and 4 being the highest " "severity. Values provided outside of this range are clamped to 1 or 4. " "[low, med, high, crit]" -msgstr "" +msgstr "Type: uint32_t Value: Severity field value. Accepted values are in the range 1-4, with 1 being the lowest severity, and 4 being the highest severity. Values provided outside of this range are clamped to 1 or 4. [low, med, high, crit]" #: ../../guides/telemetrics/telem-guide.rst:543 msgid "Payload_version:" -msgstr "" +msgstr "Payload_version:" #: ../../guides/telemetrics/telem-guide.rst:540 msgid "" "Type: uint32_t Value: Payload format version. The only supported value " "right now is 1, which indicates that the payload is a freely-formatted " "(unstructured) string. Values greater than 1 are reserved for future use." -msgstr "" +msgstr "Type: uint32_t Value: Payload format version. The only supported value right now is 1, which indicates that the payload is a freely-formatted (unstructured) string. Values greater than 1 are reserved for future use." #: ../../guides/telemetrics/telem-guide.rst:552 msgid "Classification:" -msgstr "" +msgstr "分类:" #: ../../guides/telemetrics/telem-guide.rst:546 msgid "" "Type: char array Value: It should have the form, DOMAIN/PROBENAME/REST: " "DOMAIN is the reverse domain to use as a namespace for the probe (e.g. " -"org.clearlinux); PROBENAME is the name of the probe; and REST is an " +"org.clearlinux); PROBENAME is the name of the probe, and REST is an " "arbitrary value that the probe should use to classify the record. The " "maximum length for the classification string is 122 bytes. Each sub-" "category may be no longer than 40 bytes long. Two / delimiters are " "required." -msgstr "" +msgstr "Type: char array Value: It should have the form, DOMAIN/PROBENAME/REST: DOMAIN is the reverse domain to use as a namespace for the probe (e.g. org.clearlinux); PROBENAME is the name of the probe, and REST is an arbitrary value that the probe should use to classify the record. The maximum length for the classification string is 122 bytes. Each sub-category may be no longer than 40 bytes long. Two / delimiters are required." #: ../../guides/telemetrics/telem-guide.rst:557 msgid "Tm_handle:" -msgstr "" +msgstr "Tm_handle:" #: ../../guides/telemetrics/telem-guide.rst:555 msgid "" "Type: Telem_ref struct pointer Value: Struct pointer declared by the " "caller, The struct is initialized if the function returns success." -msgstr "" +msgstr "Type: Telem_ref struct pointer Value: Struct pointer declared by the caller, The struct is initialized if the function returns success." #: ../../guides/telemetrics/telem-guide.rst:561 msgid "Payload:" -msgstr "" +msgstr "有效负载:" #: ../../guides/telemetrics/telem-guide.rst:560 msgid "Type: char pointer Value: The payload to set" -msgstr "" +msgstr "Type: char pointer Value: The payload to set" #: ../../guides/telemetrics/telem-guide.rst:563 msgid "" "For this example, we'll set the payload to “hello” by using " ":command:`asprintf()`:" -msgstr "" +msgstr "For this example, we'll set the payload to “hello” by using :command:`asprintf()`:" #: ../../guides/telemetrics/telem-guide.rst:572 msgid "" @@ -721,11 +720,11 @@ msgid "" "terminating null byte ('\\0'), and return a pointer to it via the first " "argument. This pointer should be passed to :command:`free(3)` to release " "the allocated storage when it is no longer needed." -msgstr "" +msgstr "The functions :command:`asprintf()` and :command:`vasprintf()` are analogs of :command:`sprintf(3)` and :command:`vsprintf(3)`, except that they allocate a string large enough to hold the output including the terminating null byte ('\\0'), and return a pointer to it via the first argument. This pointer should be passed to :command:`free(3)` to release the allocated storage when it is no longer needed." #: ../../guides/telemetrics/telem-guide.rst:579 msgid "Create the new telemetry record:" -msgstr "" +msgstr "Create the new telemetry record:" #: ../../guides/telemetrics/telem-guide.rst:581 msgid "" @@ -734,18 +733,18 @@ msgid "" "as the payload version number. The memory needed to store the telemetry " "record is allocated and should be freed with :command:`tm_free_record()` " "when no longer needed." -msgstr "" +msgstr "The function :command:`tm_create_record()` initializes a telemetry record and sets the severity and classification of that record, as well as the payload version number. The memory needed to store the telemetry record is allocated and should be freed with :command:`tm_free_record()` when no longer needed." #: ../../guides/telemetrics/telem-guide.rst:594 msgid "Set the payload field of a telemetrics record:" -msgstr "" +msgstr "Set the payload field of a telemetrics record:" #: ../../guides/telemetrics/telem-guide.rst:596 msgid "" "The function :command:`tm_set_payload()` attaches the provided telemetry " "record data to the telemetry record. The current maximum payload size is " "8192b." -msgstr "" +msgstr "The function :command:`tm_set_payload()` attaches the provided telemetry record data to the telemetry record. The current maximum payload size is 8192b." #: ../../guides/telemetrics/telem-guide.rst:608 msgid "" @@ -754,11 +753,11 @@ msgid "" ":command:`malloc()`, :command:`calloc()`, or :command:`realloc()`. " "Otherwise, or if :command:`free(ptr)` has already been called before, " "undefined behavior occurs. If `ptr` is NULL, no operation is performed." -msgstr "" +msgstr "The :command:`free()` function frees the memory space pointed to by `ptr`, which must have been returned by a previous call to :command:`malloc()`, :command:`calloc()`, or :command:`realloc()`. Otherwise, or if :command:`free(ptr)` has already been called before, undefined behavior occurs. If `ptr` is NULL, no operation is performed." #: ../../guides/telemetrics/telem-guide.rst:614 msgid "Send a record to the telemetrics daemon:" -msgstr "" +msgstr "Send a record to the telemetrics daemon:" #: ../../guides/telemetrics/telem-guide.rst:616 msgid "" @@ -766,37 +765,37 @@ msgid "" " :command:`telemprobd(1)` service. Since the telemetry record was " "allocated by the program it should be freed with " ":command:`tm_free_record()` when it is no longer needed." -msgstr "" +msgstr "The function :command:`tm_send_record()` delivers the record to the local :command:`telemprobd(1)` service. Since the telemetry record was allocated by the program it should be freed with :command:`tm_free_record()` when it is no longer needed." #: ../../guides/telemetrics/telem-guide.rst:638 msgid "A full sample application with compiling flags:" -msgstr "" +msgstr "A full sample application with compiling flags:" #: ../../guides/telemetrics/telem-guide.rst:640 msgid "Create a new file :file:`test.c` and add the following code:" -msgstr "" +msgstr "Create a new file :file:`test.c` and add the following code:" #: ../../guides/telemetrics/telem-guide.rst:695 msgid "Compile with the gcc compiler, using this command:" -msgstr "" +msgstr "使用以下命令通过 gcc 编译器进行编译:" #: ../../guides/telemetrics/telem-guide.rst:702 msgid "Test to ensure the program is working:" -msgstr "" +msgstr "测试以确保程序正在运行:" #: ../../guides/telemetrics/telem-guide.rst:711 msgid "" "A full example of the `heartbeat probe`_ in C is documented in the source" " code." -msgstr "" +msgstr "源代码中记录了以 C 语言编写的 `heartbeat probe`_ 的完整示例。" #: ../../guides/telemetrics/telem-guide.rst:715 msgid "Reference" -msgstr "" +msgstr "参考" #: ../../guides/telemetrics/telem-guide.rst:722 msgid "The telemetry API" -msgstr "" +msgstr "The telemetry API" #: ../../guides/telemetrics/telem-guide.rst:724 msgid "" @@ -805,11 +804,11 @@ msgid "" "daemons. You can use these in your applications as well. The API " "documentation is found in the :file:`telemetry.h` file in `Telemetrics " "client`_ repository." -msgstr "" +msgstr "Installing the :command:`telemetrics` bundle includes the libtelemetry C library, which exposes an API used by the telemprobd and telempostd daemons. You can use these in your applications as well. The API documentation is found in the :file:`telemetry.h` file in `Telemetrics client`_ repository." #: ../../guides/telemetrics/telem-guide.rst:730 msgid "Client configuration" -msgstr "" +msgstr "Client configuration" #: ../../guides/telemetrics/telem-guide.rst:732 msgid "" @@ -820,39 +819,39 @@ msgid "" "modify or customize the configuration, copy the file from " ":file:`/usr/share/defaults/telemetrics` to :file:`/etc/telemetrics` and " "edit it." -msgstr "" +msgstr "遥测客户端会查找位于 :file:`/etc/telemetrics/telemetrics.conf` 中的配置文件。如果存在,则会使用。如果此文件不存在,客户端则会使用位于 :file:`/usr/share/defaults telemetrics/telemetrics.conf` 的默认配置。要修改或定制配置,请将此文件从 :file:`/usr/share/defaults/telemetrics` 复制到 :file:`/etc/telemetrics` 并对其进行编辑。" #: ../../guides/telemetrics/telem-guide.rst:740 msgid "Configuration options" -msgstr "" +msgstr "Configuration options" #: ../../guides/telemetrics/telem-guide.rst:742 msgid "The client uses the following configuration options from the config file:" -msgstr "" +msgstr "客户端使用配置文件中的以下配置选项:" #: ../../guides/telemetrics/telem-guide.rst:744 msgid "server" -msgstr "" +msgstr "server" #: ../../guides/telemetrics/telem-guide.rst:745 msgid "" "This specifies the web server to which telempostd sends the telemetry " "records." -msgstr "" +msgstr "This specifies the web server to which telempostd sends the telemetry records." #: ../../guides/telemetrics/telem-guide.rst:747 msgid "socket_path" -msgstr "" +msgstr "socket_path" #: ../../guides/telemetrics/telem-guide.rst:747 msgid "" "This specifies the path of the unix domain socket on which the telemprobd" " listens for connections from the probes." -msgstr "" +msgstr "This specifies the path of the unix domain socket on which the telemprobd listens for connections from the probes." #: ../../guides/telemetrics/telem-guide.rst:753 msgid "spool_dir" -msgstr "" +msgstr "spool_dir" #: ../../guides/telemetrics/telem-guide.rst:750 msgid "" @@ -861,21 +860,21 @@ msgid "" "such as the network availability, then it stores the records in a spool " "directory. This option specifies the path of the spool directory. This " "directory should be owned by the same user as the daemon." -msgstr "" +msgstr "This configuration option is related to spooling. If the daemon is not able to send the telemetry records to the backend server due to reasons such as the network availability, then it stores the records in a spool directory. This option specifies the path of the spool directory. This directory should be owned by the same user as the daemon." #: ../../guides/telemetrics/telem-guide.rst:756 msgid "record_expiry" -msgstr "" +msgstr "record_expiry" #: ../../guides/telemetrics/telem-guide.rst:756 msgid "" "This is the time, in minutes, after which the records in the spool " "directory are deleted by the daemon." -msgstr "" +msgstr "This is the time, in minutes, after which the records in the spool directory are deleted by the daemon." #: ../../guides/telemetrics/telem-guide.rst:764 msgid "spool_process_time" -msgstr "" +msgstr "spool_process_time" #: ../../guides/telemetrics/telem-guide.rst:759 msgid "" @@ -887,33 +886,33 @@ msgid "" "the daemon finds a record older than the \"record_expiry\" time, then it " "deletes that record. The daemon looks at a maximum of 20 records in a " "single spool run loop." -msgstr "" +msgstr "This specifies the time interval, in seconds, that the daemon waits for before checking the spool directory for records. The daemon picks up the records in the order of modification date and tries to send the record to the server. It sends a maximum of 10 records at a time. If it was able to send a record successfully, it deletes the record from the spool. If the daemon finds a record older than the \"record_expiry\" time, then it deletes that record. The daemon looks at a maximum of 20 records in a single spool run loop." #: ../../guides/telemetrics/telem-guide.rst:768 msgid "rate_limit_enabled" -msgstr "" +msgstr "rate_limit_enabled" #: ../../guides/telemetrics/telem-guide.rst:767 msgid "" "This determines whether rate-limiting is enabled or disabled. When " "enabled, there is a threshold on both records sent within a window of " "time, and record bytes sent within a window a time." -msgstr "" +msgstr "This determines whether rate-limiting is enabled or disabled. When enabled, there is a threshold on both records sent within a window of time, and record bytes sent within a window a time." #: ../../guides/telemetrics/telem-guide.rst:772 msgid "record_burst_limit" -msgstr "" +msgstr "record_burst_limit" #: ../../guides/telemetrics/telem-guide.rst:771 msgid "" "This is the maximum amount of records allowed to be passed by the daemon " "within the record_window_length of time. If set to -1, the rate-limiting " "for record bursts is disabled." -msgstr "" +msgstr "This is the maximum amount of records allowed to be passed by the daemon within the record_window_length of time. If set to -1, the rate-limiting for record bursts is disabled." #: ../../guides/telemetrics/telem-guide.rst:777 msgid "record_window_length" -msgstr "" +msgstr "record_window_length" #: ../../guides/telemetrics/telem-guide.rst:775 msgid "" @@ -921,32 +920,32 @@ msgid "" "record_burst_limit. For example, if record_burst_window=1000 and " "record_window_length=15, then no more than 1000 records can be passed " "within any given fifteen-minute window." -msgstr "" +msgstr "The time, in minutes (0-59), that establishes the window length for the record_burst_limit. For example, if record_burst_window=1000 and record_window_length=15, then no more than 1000 records can be passed within any given fifteen-minute window." #: ../../guides/telemetrics/telem-guide.rst:781 msgid "byte_burst_limit" -msgstr "" +msgstr "byte_burst_limit" #: ../../guides/telemetrics/telem-guide.rst:780 msgid "" "This is the maximum amount of bytes that can be passed by the daemon " "within the byte_window_length of time. If set to -1, the rate-limiting " "for byte bursts is disabled." -msgstr "" +msgstr "This is the maximum amount of bytes that can be passed by the daemon within the byte_window_length of time. If set to -1, the rate-limiting for byte bursts is disabled." #: ../../guides/telemetrics/telem-guide.rst:784 msgid "byte_window_length" -msgstr "" +msgstr "byte_window_length" #: ../../guides/telemetrics/telem-guide.rst:784 msgid "" "This is the time, in minutes (0-59), that establishes the window length " "for the byte_burst_limit." -msgstr "" +msgstr "This is the time, in minutes (0-59), that establishes the window length for the byte_burst_limit." #: ../../guides/telemetrics/telem-guide.rst:788 msgid "rate_limit_strategy" -msgstr "" +msgstr "rate_limit_strategy" #: ../../guides/telemetrics/telem-guide.rst:787 msgid "" @@ -954,11 +953,11 @@ msgid "" "reached. Currently the options are 'drop' or 'spool', with spool being " "the default. If spool is chosen, records will be spooled and sent at a " "later time." -msgstr "" +msgstr "This is the strategy chosen once the rate-limiting threshold has been reached. Currently the options are 'drop' or 'spool', with spool being the default. If spool is chosen, records will be spooled and sent at a later time." #: ../../guides/telemetrics/telem-guide.rst:793 msgid "record_retention_enabled" -msgstr "" +msgstr "record_retention_enabled" #: ../../guides/telemetrics/telem-guide.rst:791 msgid "" @@ -966,11 +965,11 @@ msgid "" " disk from all valid records. To avoid the excessive use of disk space " "only the latest 100 records are kept. The default value for this " "configuration key is false." -msgstr "" +msgstr "When this key is enabled (true) the daemon saves a copy of the payload on disk from all valid records. To avoid the excessive use of disk space only the latest 100 records are kept. The default value for this configuration key is false." #: ../../guides/telemetrics/telem-guide.rst:807 msgid "record_server_delivery_enabled" -msgstr "" +msgstr "record_server_delivery_enabled" #: ../../guides/telemetrics/telem-guide.rst:796 msgid "" @@ -980,18 +979,18 @@ msgid "" "records will not be spooled or posted to backend. This configuration key " "can be used in combination with record_retention_enabled to keep copies " "of telemetry records locally only." -msgstr "" +msgstr "This key controls the delivery of records to server; when enabled (default value), the record will be posted to the address in the configuration file. If this configuration key is disabled (false), records will not be spooled or posted to backend. This configuration key can be used in combination with record_retention_enabled to keep copies of telemetry records locally only." #: ../../guides/telemetrics/telem-guide.rst:804 msgid "" "Configuration options may change as the telemetry client evolves. Please " "use the comments in the file itself as the most accurate reference for " "configuration." -msgstr "" +msgstr "随着遥测客户端的发展,配置选项可能会发生变化。请使用文件自身所附带的注释,作为最准确的配置参考。" #: ../../guides/telemetrics/telem-guide.rst:810 msgid "Client run-time options" -msgstr "" +msgstr "Client run-time options" #: ../../guides/telemetrics/telem-guide.rst:812 msgid "" @@ -999,11 +998,11 @@ msgid "" ":guilabel:`telemctl` for managing the telemetry services and probes. The " "tool is located in :file:`/usr/bin`. Running it with no argument results " "in the following:" -msgstr "" +msgstr "|CL| 遥测客户端提供名为 :guilabel:`telemctl` 的管理工具,可用于管理遥测服务和探针。此工具位于 :file:`/usr/bin`。如果不带参数运行此工具,则会导致如下情况:" #: ../../guides/telemetrics/telem-guide.rst:833 msgid "start/stop/restart" -msgstr "" +msgstr "start/stop/restart" #: ../../guides/telemetrics/telem-guide.rst:835 msgid "" @@ -1012,11 +1011,11 @@ msgid "" "separately start/stop/restart the two client daemons telemprobd and " "telempostd. The :command:`restart` command option will call " ":command:`telemctl stop` followed by :command:`telemctl start` ." -msgstr "" +msgstr "The commands to start, stop and restart the telemetry services manage all required services and probes on the system. There is no need to separately start/stop/restart the two client daemons telemprobd and telempostd. The :command:`restart` command option will call :command:`telemctl stop` followed by :command:`telemctl start` ." #: ../../guides/telemetrics/telem-guide.rst:842 msgid "is-active" -msgstr "" +msgstr "is-active" #: ../../guides/telemetrics/telem-guide.rst:844 msgid "" @@ -1024,7 +1023,7 @@ msgid "" "are active. This is useful to verify that the :command:`opt-in` and " ":command:`opt-out` options have taken effect, or to ensure that telemetry" " is functioning on the system. Note that both daemons are verified." -msgstr "" +msgstr "The :command:`is-active` option reports whether the two client daemons are active. This is useful to verify that the :command:`opt-in` and :command:`opt-out` options have taken effect, or to ensure that telemetry is functioning on the system. Note that both daemons are verified." #~ msgid "" #~ "Telemetrics in |CL-ATTR| is a " @@ -1229,7 +1228,7 @@ msgstr "" #~ "added to your system. Choosing to " #~ "join will automatically enable telemetry " #~ "on your system after installation is " -#~ "commplete." +#~ "complete." #~ msgstr "" #~ msgid "Enabling after install" @@ -1738,3 +1737,4 @@ msgstr "" #~ " are verified." #~ msgstr "" + diff --git a/locale/zh_CN/LC_MESSAGES/tooling/autoproxy.po b/locale/zh_CN/LC_MESSAGES/tooling/autoproxy.po index 298045a3..9869024d 100644 --- a/locale/zh_CN/LC_MESSAGES/tooling/autoproxy.po +++ b/locale/zh_CN/LC_MESSAGES/tooling/autoproxy.po @@ -4,33 +4,32 @@ # Project Docs package. # FIRST AUTHOR , 2019. # -#, fuzzy msgid "" -msgstr "" -"Project-Id-Version: Clear Linux* Project Docs latest\n" +msgstr "Project-Id-Version: Clear Linux* Project Docs latest\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-07-12 12:18-0700\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"PO-Revision-Date: 2019-07-29 17:41-0008\n" "Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" +"Language-Team: zh-Hans\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.7.0\n" +"Generated-By: Intel® International Developer Studio Version 4.1.273.0\n" +"Language: zh-Hans\n" #: ../../tooling/autoproxy.rst:4 msgid "Autoproxy" -msgstr "" +msgstr "Autoproxy" #: ../../tooling/autoproxy.rst:6 msgid "" "Autoproxy is provided to enable |CL-ATTR| to work smoothly behind a " "corporate proxy." -msgstr "" +msgstr "借助 Autoproxy,|CL-ATTR| 可在公司代理服务器后平稳运行。" #: ../../tooling/autoproxy.rst:14 msgid "Description" -msgstr "" +msgstr "描述" #: ../../tooling/autoproxy.rst:16 msgid "" @@ -38,7 +37,7 @@ msgid "" "automatically resolve the proxy needed for a given connection. With " "Autoproxy, you can use |CL| inside any proxy environment without having " "to manually configure the proxies." -msgstr "" +msgstr "Autoproxy 会尝试检测代理自动配置 (PAC) 脚本,并使用其自动解析给定连接所需的代理。使用 Autoproxy,可以在任意代理环境下使用 |CL|,而无需手动配置代理。" #: ../../tooling/autoproxy.rst:21 msgid "" @@ -49,7 +48,7 @@ msgid "" "cloning a repo or checking for updates. With |CL|, all of the work is " "done behind the scenes to effortlessly use your network and have " "connections “just work”." -msgstr "" +msgstr "公司和专用网络可能非常复杂,因此出于安全原因需限制和控制网络连接。常见的负面效果是限制或阻止连接,且需手动配置代理以执行最普通的任务,例如克隆存储库或检查是否存在更新。通过 |CL|,所有工作便可在后台完成,以便轻松使用网络并使连接“正常工作”。" #: ../../tooling/autoproxy.rst:28 msgid "" @@ -58,11 +57,11 @@ msgid "" "worrying about the proxy not being set, and you can remove unset proxies " "from the equation when dealing with network unavailability across " "systems." -msgstr "" +msgstr "此功能可消除因代理问题所导致的极端复杂的网络连接难题。可以自动执行任务(例如单元测试),而无需担心代理未设置,并可在处理跨系统的网络不可用问题时将未设置代理这一因素排除在外。" #: ../../tooling/autoproxy.rst:34 msgid "How it works" -msgstr "" +msgstr "工作原理" #: ../../tooling/autoproxy.rst:36 msgid "" @@ -73,11 +72,11 @@ msgid "" "PAC file. The daemon then passes the URL into PACrunner\\*. PACrunner " "downloads the PAC file and uses the newly implemented Duktape\\* engine " "to parse it." -msgstr "" +msgstr "我们围绕多数 Linux\\* 发行版提供的工具设计了 Autoproxy,同时还进行了一些小修小补。我们利用从系统获取的 DHCP 和网络信息,创建了 PAC 发现守护程序。该守护程序使用此信息来解析 PAC 文件的 URL。然后,守护程序将此 URL 传入 PACrunner\\*。PACrunner 下载 PAC 文件,使用新实现的 Duktape\\* 引擎来对其进行解析。" #: ../../tooling/autoproxy.rst:47 msgid "Figure 1: Autoproxy Flow" -msgstr "" +msgstr "图 1:Autoproxy 流程" #: ../../tooling/autoproxy.rst:49 msgid "" @@ -88,11 +87,11 @@ msgid "" "Thus, your environment settings are respected and no time is wasted " "trying to resolve a proxy. All these steps happen in the background with " "no user interaction." -msgstr "" +msgstr "此后,所有 cURL\\* 或网络请求均会查询 PACrunner 以使用正确的代理。我们修改了 cURL 库以通过 DBus 与 PACrunner 进行通信。但是,如果未加载 PAC 文件或手动设置代理,cURL 则会忽略 PACrunner 并正常运行。如此一来,环境设置便会得以应用,且不会浪费时间来尝试解析代理。所有这些步骤均在后台执行,而无需用户介入。" #: ../../tooling/autoproxy.rst:57 msgid "Troubleshooting" -msgstr "" +msgstr "故障排除" #: ../../tooling/autoproxy.rst:59 msgid "" @@ -100,63 +99,63 @@ msgid "" ":ref:`swupd ` and other |CL| tools are implemented on top of" " libcurl. Tools that do not use libcurl, like git, must be configured " "independently." -msgstr "" +msgstr "Autoproxy 允许 |CL| 在代理后无缝运行,因为 :ref:`swupd ` 和其他 |CL| 工具的实现均基于 libcurl。不使用 libcurl 的工具(例如 git)则须单独配置。" #: ../../tooling/autoproxy.rst:64 msgid "" "If you are familiar with PAC files and WPAD, you can use " ":command:`pacdiscovery` and :command:`FindProxyForURL` to troubleshoot " "problems with autproxy." -msgstr "" +msgstr "如果熟悉 PAC 文件和 WPAD,则可使用 :command:`pacdiscovery` 和 :command:`FindProxyForURL`,通过 Autoproxy 进行故障排除。" #: ../../tooling/autoproxy.rst:70 msgid "Learn more about WPAD, PAC files, and PAC functions at `findproxyforurl`_." -msgstr "" +msgstr "访问 `findproxyforurl`_,了解有关 WPAD、PAC 文件和 PAC 的更多信息。" #: ../../tooling/autoproxy.rst:74 msgid "Run :command:`pacdiscovery` with no arguments to indicate" -msgstr "" +msgstr "不带参数运行 :command:`pacdiscovery`,可以明确" #: ../../tooling/autoproxy.rst:76 msgid "if there is a problem resolving the :command:`WPAD` host name resolution:" -msgstr "" +msgstr "解析 :command:`WPAD` 主机名时是否出现问题:" #: ../../tooling/autoproxy.rst:87 msgid "or if the :command:`pacrunner` service is disabled (masked)." -msgstr "" +msgstr "或是是否已禁用(已屏蔽):command:`pacrunner` 服务。" #: ../../tooling/autoproxy.rst:98 msgid "Unmask the :command:`pacrunner` service by running:" -msgstr "" +msgstr "运行以下命令取消屏蔽 :command:`pacrunner` 服务:" #: ../../tooling/autoproxy.rst:104 msgid "" ":command:`FindProxyForURL` with :command:`busctl` can also indicate if " "the :command:`pacrunner.service` is masked." -msgstr "" +msgstr ":command:`FindProxyForURL` 和 :command:`busctl`,也可以明确是否已屏蔽 :command:`pacrunner.service`。" #: ../../tooling/autoproxy.rst:117 msgid "" ":command:`FindProxyForURL` returns the URL and port of the proxy server " "when an external URL and host are provided as arguments." -msgstr "" +msgstr ":command:`FindProxyForURL` 会在外部 URL 和主机作为参数提供时,返回代理服务器的 URL 和端口。" #: ../../tooling/autoproxy.rst:129 msgid "" "If a proxy server is not avialable, or if :command:`pacrunner` is running" " without a PAC file, :command:`FindProxyForURL` will return \"DIRECT\"." -msgstr "" +msgstr "如果无代理服务器或是 :command:`pacrunner` 正在运行但不带 PAC 文件,:command:`FindProxyForURL` 则会返回 \"DIRECT\"。" #: ../../tooling/autoproxy.rst:141 msgid "" "Once :command:`pacdiscovery` is able to look up :command:`WPAD`, restart " "the :command:`pacrunner` service:" -msgstr "" +msgstr ":command:`pacdiscovery` 可查找 :command:`WPAD` 后,立即重新启动 :command:`pacrunner` 服务:" #: ../../tooling/autoproxy.rst:151 msgid "" "A \"domain\" or \"search\" entry in :file:`/etc/resolv.conf` is required " "for short name lookups to resolve. The :file:`resolv.conf` man page has " "additional details." -msgstr "" +msgstr ":file:`/etc/resolv.conf` 中的 \"domain\" 或 \"search\" 条目是查找短名称以便进行解析所必需的条目。:File:`resolv.conf` 手册页包含其他详细信息。" diff --git a/locale/zh_CN/LC_MESSAGES/tooling/autospec.po b/locale/zh_CN/LC_MESSAGES/tooling/autospec.po index 9fd5da6b..572fe945 100644 --- a/locale/zh_CN/LC_MESSAGES/tooling/autospec.po +++ b/locale/zh_CN/LC_MESSAGES/tooling/autospec.po @@ -4,23 +4,22 @@ # Project Docs package. # FIRST AUTHOR , 2019. # -#, fuzzy msgid "" -msgstr "" -"Project-Id-Version: Clear Linux* Project Docs latest\n" +msgstr "Project-Id-Version: Clear Linux* Project Docs latest\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-07-17 11:17-0700\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"PO-Revision-Date: 2019-07-29 17:41-0008\n" "Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" +"Language-Team: zh-Hans\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.7.0\n" +"Generated-By: Intel® International Developer Studio Version 4.1.273.0\n" +"Language: zh-Hans\n" #: ../../tooling/autospec.rst:4 msgid "autospec" -msgstr "" +msgstr "autospec" #: ../../tooling/autospec.rst:6 msgid "" @@ -29,11 +28,11 @@ msgid "" "(RPM Package Manager)` build process using :command:`rpmbuild` requires a" " tarball and :file:`.spec` file to start, autospec requires only a " "tarball and package name to start." -msgstr "" +msgstr "**autospec** 是在 |CL-ATTR| 中协助自动创建和维护 RPM 封装的工具。其中,使用 :command:`rpmbuild` 的标准 :abbr:`RPM (RPM Package Manager)` 构建流程需要 tarball 和 :file:`.spec` 文件才能启动,而 autospec 只需 tarball 和软件包名称便可启动。" #: ../../tooling/autospec.rst:16 msgid "Description" -msgstr "" +msgstr "描述" #: ../../tooling/autospec.rst:18 msgid "" @@ -43,91 +42,91 @@ msgid "" " build failures until it has a complete and valid :file:`.spec` file. If " "needed, you can influence the behavior of autospec and customize the " "build by providing optional `control files`_ to the autospec tool." -msgstr "" +msgstr "autospec 工具通过分析源代码和 :file:`Makefile` 信息来尝试推断 :file:`.spec` 文件的要求。它会根据从构建失败中发现的新信息不断运行更新后的内部版本,直到它具有完整有效的 :file:`.spec` 文件。如有必要,可以在 autospec 工具中增加可选的 `control files`_,影响 autospec 的行为,定制内部版本。" #: ../../tooling/autospec.rst:25 msgid "" "autospec uses **mock** as a sandbox to run the builds. Visit the `mock " "wiki`_ for additional information on using mock." -msgstr "" +msgstr "autospec 使用 **模拟** 作为沙箱运行内部版本。访问 `mock wiki`_,了解有关使用模拟的其他信息。" #: ../../tooling/autospec.rst:28 msgid "" "For a general understanding of how an RPM works, visit the `rpm website`_" " or the `RPM Packaging Guide`_ ." -msgstr "" +msgstr "要大致了解 RPM 工作原理,请访问 `rpm website`_ 或 `RPM Packaging Guide`_。" #: ../../tooling/autospec.rst:32 msgid "How it works" -msgstr "" +msgstr "工作原理" #: ../../tooling/autospec.rst:34 msgid "Learn the autospec tool set up and process." -msgstr "" +msgstr "了解 autospec 工具的设置和流程。" #: ../../tooling/autospec.rst:41 msgid "Prerequisites" -msgstr "" +msgstr "必备条件" #: ../../tooling/autospec.rst:43 msgid "" "The setup for building source in |CL| must be completed before using the " "autospec tool." -msgstr "" +msgstr "使用 autospec 工具之前,必须先在 |CL| 中完成构建源代码的设置操作。" #: ../../tooling/autospec.rst:46 msgid "" "Refer to `Setup environment to build source`_ for instructions on " "completing the setup." -msgstr "" +msgstr "请参阅 `Setup environment to build source`_,了解有关完成此设置的说明。" #: ../../tooling/autospec.rst:50 msgid "Create an RPM" -msgstr "" +msgstr "创建 RPM" #: ../../tooling/autospec.rst:52 msgid "The basic autospec process is described in the following steps:" -msgstr "" +msgstr "autospec 的基本流程如以下步骤所述:" #: ../../tooling/autospec.rst:54 msgid "" "The :command:`make autospec` command generates a :file:`.spec` file based" " on the analysis of code and existing control files." -msgstr "" +msgstr ":command:`make autospec` 命令根据对代码和现有控制文件的分析生成 :file:`.spec` 文件。" #: ../../tooling/autospec.rst:57 msgid "" "Any control files should be located in the same directory as the " "resulting :file:`.spec` file." -msgstr "" +msgstr "所有控制文件均应与所生成 :file:`.spec` 文件位于同一目录。" #: ../../tooling/autospec.rst:60 msgid "View the `autospec README`_ for more information on `control files`_." -msgstr "" +msgstr "查看 `autospec README`_,了解有关 `control files`_ 的更多信息。" #: ../../tooling/autospec.rst:62 msgid "autospec creates a build root with mock config." -msgstr "" +msgstr "autospec 通过模拟配置来创建内部版本根目录。" #: ../../tooling/autospec.rst:64 msgid "autospec attempts to build an RPM from the generated :file:`.spec`." -msgstr "" +msgstr "autospec 会尝试通过所生成的 :file:`.spec` 来构建 RPM。" #: ../../tooling/autospec.rst:66 msgid "autospec detects any missed declarations in the :file:`.spec`." -msgstr "" +msgstr "autospec 会检测 :file:`.spec` 中的所有缺失声明。" #: ../../tooling/autospec.rst:68 msgid "" "If build errors occur, autospec scans the build log to try to detect the " "root cause." -msgstr "" +msgstr "如果出现构建错误,autospec 则会扫描构建日志,尝试发现根源所在。" #: ../../tooling/autospec.rst:71 msgid "" "If autospec detects the root cause and knows how to continue, it restarts" " the build automatically at step 1 with updated build instructions." -msgstr "" +msgstr "如果 autospec 检测到根源,且知如何继续,则会在步骤 1 中利用更新后的构建指令自动重新启动构建。" #: ../../tooling/autospec.rst:74 msgid "" @@ -136,17 +135,17 @@ msgid "" "and/or editing control files to resolve issues, which may include " "dependencies or exclusions. See `autospec README`_ for more information " "on control files." -msgstr "" +msgstr "否则,autospec 会停止构建,以供用户检查,纠正错误。修复源代码问题和/或编辑控制文件,响应构建过程输出,从而解决问题。这些问题可能包括依存关系或排除项。查看 `autospec README`_,了解有关控制文件的更多信息。" #: ../../tooling/autospec.rst:80 msgid "The user resumes the process at step 1 after errors are resolved." -msgstr "" +msgstr "纠正错误后,用户在步骤 1 中恢复此流程。" #: ../../tooling/autospec.rst:82 msgid "" "If a binary dependency doesn't exist in |CL|, you must build it before " "running autospec again." -msgstr "" +msgstr "如果 |CL| 中不存在二进制依存关系,则须先构建这种关系,然后才能再次运行 autospec。" #: ../../tooling/autospec.rst:85 msgid "" @@ -154,64 +153,64 @@ msgid "" "on new information discovered from build failures, until it has a valid " ":file:`.spec`. If no build errors occur, RPM packages are successfully " "built." -msgstr "" +msgstr "执行完这些步骤后,autospec 根据从构建失败中发现的新信息继续重新构建软件包,直到它具有有效的 :file:`.spec`。如果未出现构建错误,则会成功构建 RPM 包。" #: ../../tooling/autospec.rst:90 msgid "Examples" -msgstr "" +msgstr "示例" #: ../../tooling/autospec.rst:92 msgid "Complete `Setup environment to build source`_ before using these examples." -msgstr "" +msgstr "在使用这些示例之前,请先完成 `Setup environment to build source`_。" #: ../../tooling/autospec.rst:99 msgid "Example 1: Build RPM with an existing spec file" -msgstr "" +msgstr "例 1:使用现有规格文件构建 RPM" #: ../../tooling/autospec.rst:101 msgid "" "This example shows how to build a RPM from a pre-packaged upstream " "package with an existing spec file. The example uses the ``dmidecode`` " "package." -msgstr "" +msgstr "本例介绍如何使用现有规格文件通过预封装的上游软件包来构建 RPM。本例采用 ``dmidecode`` 软件包。" #: ../../tooling/autospec.rst:104 ../../tooling/autospec.rst:160 msgid "Navigate to the autospec workspace and clone the ``dmidecode`` package:" -msgstr "" +msgstr "导航到 autospec 工作区并克隆 ``dmidecode`` 软件包:" #: ../../tooling/autospec.rst:113 msgid "You can clone all package repos at once using the following command:" -msgstr "" +msgstr "您可使用以下命令一次性克隆所有软件包存储库:" #: ../../tooling/autospec.rst:119 ../../tooling/autospec.rst:216 msgid "The optional NUM is the number of threads to use." -msgstr "" +msgstr "可选 NUM 参数表示待用线程数量。" #: ../../tooling/autospec.rst:121 msgid "" "For a list of available packages, view the " ":file:`~/clearlinux/projects/common/packages` file." -msgstr "" +msgstr "有关可用软件包的列表,请查看 :file:`~/clearlinux/projects/common/packages` 文件。" #: ../../tooling/autospec.rst:124 msgid "Navigate to the local copy of the ``dmidecode`` package and build it:" -msgstr "" +msgstr "导航到 ``dmidecode`` 软件包的本地副本进行构建:" #: ../../tooling/autospec.rst:131 msgid "" "The resulting RPMs are in :file:`./rpms`. Build logs and additional RPMs " "are in :file:`./results`." -msgstr "" +msgstr "生成的 RPM 位于 :file:`./rpms`。构建日志和其他 RPM 则位于 :file:`./results`。" #: ../../tooling/autospec.rst:135 msgid "Example 2: Build a new RPM" -msgstr "" +msgstr "例 2:构建新的 RPM" #: ../../tooling/autospec.rst:137 msgid "" "This example shows how to build a new RPM with no spec file. The example " "will create a simple helloclear RPM." -msgstr "" +msgstr "本例介绍如何构建新的 RPM,而不使用规格文件。本例会创建简易的 helloclear RPM。" #: ../../tooling/autospec.rst:140 msgid "" @@ -220,52 +219,52 @@ msgid "" "automatically generate an RPM package using the autospec tool. You must " "pass the URL to the source tarball and the NAME of the RPM you wish to " "create:" -msgstr "" +msgstr "导航到 autospec 工作区并构建 helloclear RPM。:file:`Makefile` 提供 :command:`make autospecnew`,可以使用 autospec 工具自动生成 RPM 包。必须将 URL 传递给源 tarball 以及待创建 RPM 的 NAME:" #: ../../tooling/autospec.rst:150 msgid "" "The resulting RPMs are in :file:`./packages/helloclear/rpms`. Build logs " "and additional RPMs are in :file:`./packages/helloclear/results`." -msgstr "" +msgstr "生成的 RPM 位于 :file:`./packages/helloclear/rpms`。构建日志和其他 RPM 则位于 :file:`./packages/helloclear/results`。" #: ../../tooling/autospec.rst:154 msgid "Example 3: Generate a new spec file with a pre-defined package" -msgstr "" +msgstr "例 3:使用预定义软件包生成新的规格文件" #: ../../tooling/autospec.rst:156 msgid "" "This example shows how to modify an existing package to create a custom " "RPM. In this example you will make a simple change to the ``dmidecode`` " "package and rebuild the package." -msgstr "" +msgstr "本例介绍如何修改现有软件包来创建定制 RPM。本例会对 ``dmidecode`` 软件包进行简单的更改并重新构建软件包。" #: ../../tooling/autospec.rst:167 msgid "Navigate into the *dmidecode* directory:" -msgstr "" +msgstr "导航到 *dmidecode* 目录:" #: ../../tooling/autospec.rst:173 msgid "Open the :file:`excludes` file with an editor and add these lines:" -msgstr "" +msgstr "用编辑器打开 :file:`excludes` 文件,添加以下行:" #: ../../tooling/autospec.rst:186 msgid "" "These files aren't needed by dmidecode, so we can remove them without any" " issues." -msgstr "" +msgstr "dmidecode 不需要这些文件,因此可放心将其删除。" #: ../../tooling/autospec.rst:189 msgid "" "In the :file:`dmidecode` directory, build the modified ``dmidecode`` " "package:" -msgstr "" +msgstr "在 :file:`dmidecode` 目录中,构建修改后的 ``dmidecode`` 软件包:" #: ../../tooling/autospec.rst:195 msgid "The resulting RPMs are in :file:`./rpms`. Logs are in :file:`./results`." -msgstr "" +msgstr "生成的 RPM 位于 :file:`./rpms`。日志则位于 :file:`./results`。" #: ../../tooling/autospec.rst:198 msgid "Example 4: Provide control files to autospec" -msgstr "" +msgstr "例 4:为 autospec 提供控制文件" #: ../../tooling/autospec.rst:200 msgid "" @@ -273,193 +272,193 @@ msgid "" "that autospec is unable to resolve. In this example, you will add a " "missing license and dependencies so autospec can complete a successful " "build." -msgstr "" +msgstr "本例介绍如何修改控制文件,纠正 autospec 无法进行解析的构建问题。在本例中,您会添加缺少的许可证和依存关系,以便 autospec 成功完成构建。" #: ../../tooling/autospec.rst:204 msgid "Navigate to the autospec workspace:" -msgstr "" +msgstr "导航到 autospec 工作区:" #: ../../tooling/autospec.rst:210 msgid "If you have not already, clone all upstream package repos:" -msgstr "" +msgstr "如果尚未克隆所有上游数据包存储库,则进行克隆:" #: ../../tooling/autospec.rst:220 msgid "" "In a later step of this example, we will search the cloned package repos " "for a missing dependency." -msgstr "" +msgstr "在本例的后续步骤中,我们搜索克隆的软件包存储库中是否存在缺少的依存关系。" #: ../../tooling/autospec.rst:223 msgid "Build the opae-sdk RPM:" -msgstr "" +msgstr "构建 opae-sdk RPM:" #: ../../tooling/autospec.rst:229 msgid "This results in an error for a missing license file:" -msgstr "" +msgstr "此操作会因缺少许可证文件而出错:" #: ../../tooling/autospec.rst:235 msgid "Navigate to the package with build failures:" -msgstr "" +msgstr "导航到包含构建问题的软件包:" #: ../../tooling/autospec.rst:241 msgid "" "Add one or more valid license identifiers from the `SPDX License List " "`_. In the example below, two different " "licenses are appropriate based on the opae-sdk project licensing:" -msgstr "" +msgstr "添加一个或多个来自 `SPDX License List `_ 的有效许可证标识符。在下例中,根据 opae-sdk 项目许可,有两个不同的许可证适用:" #: ../../tooling/autospec.rst:250 msgid "Run autospec again:" -msgstr "" +msgstr "再次运行 autospec:" #: ../../tooling/autospec.rst:256 msgid "This results in a generic error:" -msgstr "" +msgstr "此操作会导致一般错误:" #: ../../tooling/autospec.rst:262 msgid "Open the build log to view the error details:" -msgstr "" +msgstr "打开构建日志,查看错误详细信息:" #: ../../tooling/autospec.rst:268 msgid "" "The build log contains details for the specific failures. In this " "instance, there are missing dependencies:" -msgstr "" +msgstr "构建日志包含特定故障的详细信息。在本例中,存在缺少的依存关系:" #: ../../tooling/autospec.rst:281 msgid "" "Search the spec files of upstream |CL| packages to see if the json-c " "library is available. In this case, it does exist and we'll add the " "json-c 'dev' package into the buildreq_add:" -msgstr "" +msgstr "搜索上游 |CL| 软件包的规格文件,查看 json-c 库是否可用。在本例中,此库不存在,我们需要将 json-c 'dev’ 软件包添加到 buildreq_add:" #: ../../tooling/autospec.rst:292 msgid "" "This search step works only if the user cloned all of the upstream " "package repos. In this example, upstream package repos were cloned in a " "previous step." -msgstr "" +msgstr "仅当用户已克隆所有上游软件包存储库后,此搜索步骤才有效。在本例中,已在上一步骤中克隆上游软件包存储库。" #: ../../tooling/autospec.rst:296 msgid "" "Search the spec files of upstream |CL| packages to see if the libuuid " "library is available. In this case, it exists in the util-linux package, " "so we'll add util-linux-dev package into the buildreq_add:" -msgstr "" +msgstr "搜索上游 |CL| 软件包的规格文件,查看 libuuid 库是否可用。在本例中,此库存在于 util-linux 软件包中,因此需要将 util-linux-dev 软件包添加到 buildreq_add:" #: ../../tooling/autospec.rst:305 msgid "" "Run autospec again and find the successfully-generated RPMs in the " ":file:`rpms` directory:" -msgstr "" +msgstr "再次运行 autospec 并在 :file:`rpms` 目录中查找成功生成的 RPM:" #: ../../tooling/autospec.rst:314 msgid "" "If you need a dependency that does not exist in the |CL| repo, you must " "first build it manually (see `Example 2: Build a new RPM`_), then add the" " repo so that autospec knows the package exists. For example:" -msgstr "" +msgstr "如需 |CL| 存储库中不存在的某一依存关系,则须首先对其进行手动构建(请参阅 `Example 2: Build a new RPM`_),然后添加此存储库,以便 autospec 了解存在此软件包。例如:" #: ../../tooling/autospec.rst:324 msgid "" "You only need to add the dependency to the :file:`buildreq_add` control " "file if autospec is not able to automatically find the correct dependency" " on its own." -msgstr "" +msgstr "如果 autospec 无法单独自动查找正确的依存关系,则需将此依存关系添加到 :file:`buildreq_add` 控制文件。" #: ../../tooling/autospec.rst:329 msgid "Test packaged software" -msgstr "" +msgstr "测试封装后的软件" #: ../../tooling/autospec.rst:331 msgid "" "After software has been packaged with autospec, the resulting RPMs can be" " tested for functionality before being integrated and deployed into a " "|CL| image with the :ref:`Mixer tool `." -msgstr "" +msgstr "使用 autospec 封装软件后,可对生成的 RPM 进行功能测试,然后再用 :ref:`Mixer tool ` 将其集成和部署到 |CL| 映像。" #: ../../tooling/autospec.rst:335 msgid "" "The |CL| development tooling offers two ways to quickly test autospec " "generated RPMs." -msgstr "" +msgstr "|CL| 开发工具提供两种快速测试 autospec 所生成 RPM 的方法。" #: ../../tooling/autospec.rst:339 msgid "" "The methods outlined below should only be used for temporary testing on " "development systems." -msgstr "" +msgstr "下列方法只应用于开发系统的临时测试。" #: ../../tooling/autospec.rst:344 msgid "Test in a |CL| virtual machine" -msgstr "" +msgstr "在 |CL| 虚拟机上测试" #: ../../tooling/autospec.rst:346 msgid "" "The |CL| development tooling includes a method to install RPMs into a " "|CL| virtual machine running on the KVM hypervisor. Using a :abbr:`VM " "(Virtual Machine)` allows testing in a completely isolated environment." -msgstr "" +msgstr "|CL| 开发工具包括将 RPM 安装到 |CL| 虚拟机(在 KVM 管理程序上运行)的方法。使用 :abbr:`VM (Virtual Machine)`,可在完全隔离的环境下进行测试。" #: ../../tooling/autospec.rst:350 msgid "To test an autospec-created package inside a VM:" -msgstr "" +msgstr "要测试在虚拟机内 autospec 创建的软件包:" #: ../../tooling/autospec.rst:352 msgid "" "Download the |CL| KVM image into the :file:`~/clearlinux` directory as " ":file:`clear.img`. The location and name :file:`clear.img.xz` is " "important for the tooling to work:" -msgstr "" +msgstr "将 |CL| KVM 映像下载到 :file:`~/clearlinux` 目录,即 :file:`clear.img`。其位置和名称 :file:`clear.img.xz` 对于工具运行都十分重要:" #: ../../tooling/autospec.rst:361 msgid "Extract the downloaded |CL| KVM image:" -msgstr "" +msgstr "解压缩已下载的 |CL| KVM 映像:" #: ../../tooling/autospec.rst:367 msgid "" "Copy the QEMU start script and virtual firmware needed for KVM into the " ":file:`~/clearlinux` directory:" -msgstr "" +msgstr "将 KVM 所需的 QEMU 启动脚本和虚拟固件复制到 :file:`~/clearlinux` 目录:" #: ../../tooling/autospec.rst:375 msgid "" "Run :command:`make install` from the package's autospec directory. The " ":command:`make install` command mounts the downloaded |CL| KVM image and " "installs the autospec-created RPM into it:" -msgstr "" +msgstr "在此软件包的 autospec 目录中运行 :command:`make install`。:command:`make install` 命令可挂载已下载的 |CL| KVM 映像并将 autospec 创建的 RPM 安装到其中:" #: ../../tooling/autospec.rst:384 msgid "" "The code that makes this possible can be viewed by searching for the " "*install:* target in the `Makefile.common`_ file on GitHub." -msgstr "" +msgstr "在 GitHub 上的 `Makefile.common`_ 文件中搜索 *install:* 目标,可以查看实现此操作的代码。" #: ../../tooling/autospec.rst:387 msgid "Return to the :file:`~/clearlinux` directory and start the |CL| VM:" -msgstr "" +msgstr "返回到 :file:`~/clearlinux` 目录并启动 |CL| 虚拟机:" #: ../../tooling/autospec.rst:394 msgid "" "A new |CL| VM will launch in the console. Log into the VM as *root* and " -"set a new pasword for the VM." -msgstr "" +"set a new password for the VM." +msgstr "新的 |CL| 虚拟机随即在控制台上启动。以 *root* 用户身份登录到虚拟机,为此虚拟机设置新密码。" #: ../../tooling/autospec.rst:397 msgid "" "Check that the software is installed in the |CL| VM as expected and " "perform any relevant tests." -msgstr "" +msgstr "确保该软件已正常安装到 |CL| 虚拟机上,然后完成所有相关测试。" #: ../../tooling/autospec.rst:400 msgid "" "After testing has been completed, the |CL| VM can be powered off and " "deleted:" -msgstr "" +msgstr "测试完成后,可关闭并删除 |CL| 虚拟机:" #: ../../tooling/autospec.rst:410 msgid "Test directly on a development machine" -msgstr "" +msgstr "直接在开发计算机上进行测试" #: ../../tooling/autospec.rst:412 msgid "" @@ -468,32 +467,32 @@ msgid "" "Extracting an RPM directly onto a system offers quicker testing; however" " conflicts may occur and responsibility to remove the software after " "testing is up to the developer." -msgstr "" +msgstr "|CL| 开发工具还包括将 autospec 创建的 RPM 从本地解压缩到 |CL| 开发系统进行测试的方法。将 RPM 直接解压缩到系统中,可以加速测试过程,但可能发生冲突。同时,测试后删除软件的责任也取决于开发人员。" #: ../../tooling/autospec.rst:418 msgid "" "To test an autospec created package directly on the |CL| development " "system:" -msgstr "" +msgstr "要直接在 |CL| 开发系统上测试 autospec 创建的软件包,必须执行以下步骤:" #: ../../tooling/autospec.rst:420 msgid "" "Run :command:`make install-local` from the package's autospec directory. " "The :command:`make install-local` command extracts the RPM directly onto " "the filesystem of the running |CL| system:" -msgstr "" +msgstr "在此软件包的 autospec 目录中运行 :command:`make install-local`。:command:`make install-local` 命令会将 RPM 直接解压缩到正在运行的 |CL| 系统的文件系统中:" #: ../../tooling/autospec.rst:429 msgid "" "The code that makes this possible can be viewed by searching for the " "*install-local:* target in the `Makefile.common`_ file on GitHub." -msgstr "" +msgstr "在 GitHub 上的 `Makefile.common`_ 文件中搜索 *install-local:* 目标,可以查看实现此操作的代码。" #: ../../tooling/autospec.rst:432 msgid "" "Check that the software is installed as expected and perform any relevant" " tests." -msgstr "" +msgstr "确保该软件已正常安装,然后完成所有相关测试。" #: ../../tooling/autospec.rst:435 msgid "" @@ -501,28 +500,28 @@ msgid "" " be identified and deleted. The :command:`swupd repair --picky` command " "can help restore the state of the :file:`/usr` directory (see :ref:`swupd" " `) however any other files must be cleaned up manually." -msgstr "" +msgstr "测试完成后,必须发现并删除该软件和所有相关文件。:command:`swupd repair --picky` 命令有助于还原 :file:`/usr` 目录的状态(请参阅 :ref:`swupd `),但所有其他文件均须手动清理。" #: ../../tooling/autospec.rst:443 msgid "References" -msgstr "" +msgstr "参考" #: ../../tooling/autospec.rst:445 msgid "" "Reference the `autospec README`_ for details regarding `autospec` " "commands and options." -msgstr "" +msgstr "请参阅 `autospec README`_,了解有关 `autospec` 命令和选项的详细信息。" #: ../../tooling/autospec.rst:448 msgid "Setup environment to build source" -msgstr "" +msgstr "设置环境以构建源代码" #: ../../tooling/autospec.rst:452 msgid "" "Setup of the workspace and tooling used for building source in |CL| is " "mostly automated for you with a setup script. It uses tools from the " ":command:`os-clr-on-clr` bundle." -msgstr "" +msgstr "在 |CL| 中设置用于构建源代码的工作区和工具主要是通过设置脚本自动执行的。它使用 :command:`os-clr-on-clr` bundle 文件中的工具。" #: ../../tooling/autospec.rst:456 msgid "" @@ -530,49 +529,49 @@ msgid "" "with the subfolders :file:`Makefile`, :file:`packages`, and " ":file:`projects`. The :file:`projects` folder contains the main tools " "used for making packages in |CL| :file:`autospec` and :file:`common`." -msgstr "" +msgstr "该设置脚本会在 :file:`clearlinux` 文件夹中创建工作区,同时还会创建子文件夹 :file:`Makefile`、:file:`packages` 和 :file:`projects`。:file:`projects` 文件夹包含用于在 |CL| :file:`autospec` 和 :file:`common` 中创建软件包的主要工具。" #: ../../tooling/autospec.rst:461 msgid "Follow these steps to setup the workspace and tooling for building source:" -msgstr "" +msgstr "按照以下步骤设置工作区和工具以构建源代码:" #: ../../tooling/autospec.rst:463 msgid "Install the :command:`os-clr-on-clr` bundle:" -msgstr "" +msgstr "安装 :command:`os-clr-on-clr` bundle 文件:" #: ../../tooling/autospec.rst:469 msgid "Download the :file:`user-setup.sh` script:" -msgstr "" +msgstr "下载 :file:`user-setup.sh` 脚本:" #: ../../tooling/autospec.rst:475 msgid "Make :file:`user-setup.sh` executable:" -msgstr "" +msgstr "将 :file:`user-setup.sh` 转换为可执行文件:" #: ../../tooling/autospec.rst:481 msgid "Run the script as an unprivileged user:" -msgstr "" +msgstr "以非特权用户身份运行脚本:" #: ../../tooling/autospec.rst:487 msgid "" "After the script completes, log out and log in again to complete the " "setup process." -msgstr "" +msgstr "脚本完成后,注销并再次登录,完成设置流程。" #: ../../tooling/autospec.rst:490 msgid "Set your Git user email and username for the repos on your system:" -msgstr "" +msgstr "为系统上的存储库设置 Git 用户电子邮件和用户名:" #: ../../tooling/autospec.rst:497 msgid "This global setting is used by |CL| tools that make use of Git." -msgstr "" +msgstr "此全局设置由采用 Git 的 |CL| 工具使用。" #: ../../tooling/autospec.rst:502 msgid "Related topics" -msgstr "" +msgstr "相关主题" #: ../../tooling/autospec.rst:504 msgid ":ref:`Mixer tool `" -msgstr "" +msgstr ":ref:`Mixer tool `" #~ msgid "" #~ "The code that makes this possible " @@ -588,3 +587,4 @@ msgstr "" #~ "`Makefile.common file on GitHub`_." #~ msgstr "" + diff --git a/locale/zh_CN/LC_MESSAGES/tooling/debug.po b/locale/zh_CN/LC_MESSAGES/tooling/debug.po index af1d438b..bb51be6c 100644 --- a/locale/zh_CN/LC_MESSAGES/tooling/debug.po +++ b/locale/zh_CN/LC_MESSAGES/tooling/debug.po @@ -4,23 +4,22 @@ # Project Docs package. # FIRST AUTHOR , 2019. # -#, fuzzy msgid "" -msgstr "" -"Project-Id-Version: Clear Linux* Project Docs latest\n" +msgstr "Project-Id-Version: Clear Linux* Project Docs latest\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-07-17 11:17-0700\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"PO-Revision-Date: 2019-07-29 17:41-0008\n" "Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" +"Language-Team: zh-Hans\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.7.0\n" +"Generated-By: Intel® International Developer Studio Version 4.1.273.0\n" +"Language: zh-Hans\n" #: ../../tooling/debug.rst:4 msgid "Debug system" -msgstr "" +msgstr "调试系统" #: ../../tooling/debug.rst:6 msgid "" @@ -29,18 +28,18 @@ msgid "" "necessary debug information on-the-fly over a network during a debugging " "session. On the server side, the system curates and compresses debug " "information into small pieces for efficient downloading." -msgstr "" +msgstr "|CL-ATTR| 引入了一种使用 *clr-debug-info* 进行系统软件调试的新方法。在客户端,|CL| 调试系统会在调试会话期间通过网络即时获取所有必要的调试信息。在服务器端,系统将调试信息整理并压缩为较小的数据块,方便高效下载。" #: ../../tooling/debug.rst:12 msgid "" "For developers, this avoids the interruption during debugging that " "usually happens when debug information is missing. This can be especially" " useful on systems where storage is limited." -msgstr "" +msgstr "对于开发人员,此举可避免调试期间通常在缺少调试信息的情况下所出现的中断问题。对于存储空间有限的系统,此功能尤其实用。" #: ../../tooling/debug.rst:22 msgid "Background" -msgstr "" +msgstr "后台" #: ../../tooling/debug.rst:24 msgid "" @@ -49,7 +48,7 @@ msgid "" "program, such as binaries and libraries. Extra developer data, such as " "the actual source code and symbol information, are separated and excluded" " for efficiency." -msgstr "" +msgstr "为在操作系统中进行一般使用而编译和封装的软件通常仅包含用于执行程序的组件,例如二进制文件和库。为提高效率,其他开发数据则会被分置并排除,例如实际的源代码和符号信息。" #: ../../tooling/debug.rst:30 msgid "" @@ -57,54 +56,54 @@ msgid "" "code lines and variables. Most of the time, this auxiliary information is" " not needed; however without it, debugging a program results in limited " "visibility." -msgstr "" +msgstr "调试信息有助将二进制代码与人类可读的源代码行和变量进行关联。多数情况下,这些辅助信息并不需要。但如果缺少此类信息,调试程序时便无法提供足够的可见性。" #: ../../tooling/debug.rst:37 msgid "Usage" -msgstr "" +msgstr "用途" #: ../../tooling/debug.rst:39 msgid "" "The clr-debug-info system is integrated into |CL| and seamlessly engages " "once installed." -msgstr "" +msgstr "clr-debug-info 系统已集成到 |CL| 并在安装后立即无缝结合。" #: ../../tooling/debug.rst:42 msgid "Install the *dev-utils* bundle." -msgstr "" +msgstr "安装 *dev-utils* bundle 文件。" #: ../../tooling/debug.rst:50 msgid "" "The *telemetrics* and *performance-tools* bundles also include clr-debug-" "info." -msgstr "" +msgstr "*telemetrics* 和 *performance-tools* bundle 文件也包含 clr-debug-info。" #: ../../tooling/debug.rst:54 msgid "" "Start a debugging session against a program using a debugger, such as " "GDB. For example, to debug *gnome-control-center* execute the following " "command:" -msgstr "" +msgstr "使用调试程序(如 GDB)针对程序启动调试会话。例如,要调试 *gnome-control-center*,请执行以下命令:" #: ../../tooling/debug.rst:62 msgid "" "As you step through the program and debug information is needed, the " "clr_debug_daemon obtains it in the background." -msgstr "" +msgstr "单步执行程序且需调试信息时,clr_debug_daemon 便会在后台获取所需信息。" #: ../../tooling/debug.rst:67 msgid "Implementation" -msgstr "" +msgstr "实现" #: ../../tooling/debug.rst:69 msgid "" "The implementation of the |CL| debug system is open source and available " "on GitHub at: https://github.com/clearlinux/clr-debug-info/" -msgstr "" +msgstr "|CL| 调试系统的实现为开源程序且可在 GitHub 上的以下位置找到:https://github.com/clearlinux/clr-debug-info/" #: ../../tooling/debug.rst:76 msgid "Figure 1: The communication flow of the |CL| debug system" -msgstr "" +msgstr "图 1:|CL| 调试系统的通信流程" #: ../../tooling/debug.rst:78 msgid "" @@ -112,7 +111,7 @@ msgid "" " filesystem mounted at :file:`/usr/lib/debug` and :file:`/usr/src/debug`." " The FUSE filesystem starts automatically. You can verify its status by " "executing :command:`systemctl status clr_debug_fuse.service`." -msgstr "" +msgstr "|CL| 调试系统可实现在 :file:`/usr/lib/debug` 和 :file:`/usr/src/debug` 挂载的 :abbr:`FUSE (filesystem in userspace)` 文件系统。FUSE 文件系统会自动启动。可以执行 :command:`systemctl status clr_debug_fuse.service` 来验证状态。" #: ../../tooling/debug.rst:83 msgid "" @@ -121,14 +120,15 @@ msgid "" "debugging programs that need it. It is socket activated whenever a " "request to the local FUSE filesystem occurs. You can verify its status " "with :command:`systemctl status clr_debug_daemon.service`." -msgstr "" +msgstr "*clr_debug_daemon* 负责从服务器获取相应的软件包调试内容,并提供给需要它的所有调试程序。只要对本地 FUSE 文件系统发出请求,便会通过套接字将其激活。可以使用 :command:`systemctl status clr_debug_daemon.service` 来验证状态。" #: ../../tooling/debug.rst:90 msgid "" "|CL| hosts debuginfo content packaged for consumption by |CL| debug " "clients at https://download.clearlinux.org/debuginfo/" -msgstr "" +msgstr "|CL| 存储有专供 |CL| 调试客户端(位于 https://download.clearlinux.org/debuginfo/)使用而封装的调试信息内容" #~ msgid "Debug System" #~ msgstr "" + diff --git a/locale/zh_CN/LC_MESSAGES/tooling/ister.po b/locale/zh_CN/LC_MESSAGES/tooling/ister.po index 9c1b26f7..0aa15ded 100644 --- a/locale/zh_CN/LC_MESSAGES/tooling/ister.po +++ b/locale/zh_CN/LC_MESSAGES/tooling/ister.po @@ -4,42 +4,41 @@ # Project Docs package. # FIRST AUTHOR , 2019. # -#, fuzzy msgid "" -msgstr "" -"Project-Id-Version: Clear Linux* Project Docs latest\n" +msgstr "Project-Id-Version: Clear Linux* Project Docs latest\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-07-17 11:17-0700\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"PO-Revision-Date: 2019-07-29 17:41-0008\n" "Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" +"Language-Team: zh-Hans\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.7.0\n" +"Generated-By: Intel® International Developer Studio Version 4.1.273.0\n" +"Language: zh-Hans\n" #: ../../tooling/ister.rst:4 msgid "ister.py image builder" -msgstr "" +msgstr "ister.py image builder" #: ../../tooling/ister.rst:6 msgid "" "The `ister.py`_ tool is a template-based installer used by |CL-ATTR| to " "produce images for each release. The same ister tool is available for use" " in |CL| to create custom images based on an upstream image." -msgstr "" +msgstr "`ister.py`_ 工具是 |CL-ATTR| 使用的一款基于模板的安装程序,可以生成每个版本的映像。|CL| 中也可以使用该款 ister 工具,可以根据上游映像定制创建映像。" #: ../../tooling/ister.rst:15 msgid "Description" -msgstr "" +msgstr "描述" #: ../../tooling/ister.rst:17 msgid "" "|CL| is a rolling release and produces an average of 10 releases per week" -" using the ister tool. With each release we produce multiple :ref:`image " +" using the ister tool. With each release, we produce multiple :ref:`image " "types for different environments ` and use cases such as " "installers, Hyper-V, KVM, or VMWare." -msgstr "" +msgstr "|CL| 是一个滚动发行版本,使用该款 ister 工具每周平均生成 10 个版本。针对每个版本,我们均会生成多个 :ref:`image types for different environments ` 和用例,如安装程序、Hyper-V、KVM 或 VMWare。" #: ../../tooling/ister.rst:22 msgid "" @@ -48,7 +47,7 @@ msgid "" "type, partitions, version, and bundles that will be preinstalled by " "default with the image. For each image type we produce, the corresponding" " JSON configuration file for the image also is published." -msgstr "" +msgstr "每个映像均有一个 JSON 配置文件。ister 使用配置文件生成映像。这些 JSON 配置文件描述了默认情况下预安装映像的映像类型、分区、版本和 bundle 文件。针对所生成的每种映像类型,同时还会发布映像的相应 JSON 配置文件。" #: ../../tooling/ister.rst:28 msgid "" @@ -57,69 +56,69 @@ msgid "" "for the image, which ister uses to generate the image. Refer to the " ":ref:`mixer` guide for instructions on using ister to build an " "image for a custom mix." -msgstr "" +msgstr ":ref:`mixer` 工具也用 ister 为定制组合构建映像。与上游映像一样,系统会为该映像定义 ister 用于生成映像的 JSON 配置文件。请参阅 :ref:`mixer` 指南,查看使用 ister 为定制组合构建映像的说明。" #: ../../tooling/ister.rst:34 msgid "Examples" -msgstr "" +msgstr "示例" #: ../../tooling/ister.rst:37 msgid "Recreate an upstream image" -msgstr "" +msgstr "重新创建上游映像" #: ../../tooling/ister.rst:39 msgid "" "The published configuration files for upstream images may be used to " "recreate an image. Here are some examples:" -msgstr "" +msgstr "上游映像的已发布配置文件可用于重新创建映像。部分示例如下:" #: ../../tooling/ister.rst:42 msgid "" "Use an older version of |CL| and the image is no longer available (only " "after March 2017)." -msgstr "" +msgstr "不再提供旧版 |CL| 和映像(仅 2017 年 3 月后)。" #: ../../tooling/ister.rst:44 msgid "Customize the partitions of an image." -msgstr "" +msgstr "定制映像的分区。" #: ../../tooling/ister.rst:45 msgid "Customize the bundles preinstalled in an image." -msgstr "" +msgstr "定制映像中预安装的 bundle 文件。" #: ../../tooling/ister.rst:46 msgid "Run your own post installation script." -msgstr "" +msgstr "运行自己的安装后脚本。" #: ../../tooling/ister.rst:49 msgid "" "Follow these steps to recreate an upstream image based on the image's " "JSON configuration file:" -msgstr "" +msgstr "按照以下步骤,根据映像的 JSON 配置文件重新创建上游映像:" #: ../../tooling/ister.rst:52 msgid "" "Install the :command:`os-installer` bundle. Refer to :ref:`swupd-guide` " "for more information on installing bundles." -msgstr "" +msgstr "安装 :command:`os-installer` bundle 文件。请参阅 :ref:`swupd-guide`,了解有关安装 bundle 文件的更多信息。" #: ../../tooling/ister.rst:55 msgid "Download the `ister.py`_ tool and grant it sudo privileges." -msgstr "" +msgstr "下载 `ister.py`_ 工具并为其授予 sudo 权限。" #: ../../tooling/ister.rst:57 msgid "" "Download the JSON configuration file for the desired image (located in " ":file:`config/image/`):" -msgstr "" +msgstr "下载所需映像的 JSON 配置文件(位于 :file:`config/image/`):" #: ../../tooling/ister.rst:60 msgid "`Current release`_" -msgstr "" +msgstr "`Current release`_" #: ../../tooling/ister.rst:61 msgid "`Previous releases`_ (only after March 2017)" -msgstr "" +msgstr "`Previous releases`_ (仅 2017 年 3 月后)" #: ../../tooling/ister.rst:63 msgid "" @@ -127,44 +126,44 @@ msgid "" "version you want, and find the JSON configuration file under " ":file:`/clear/config/image`. For example: " "``https://cdn.download.clearlinux.org/releases/15700/clear/config/image/``" -msgstr "" +msgstr "针对先前版本,请导航到 `Previous releases`_,选择所需版本,然后在 :file:`/clear/config/image` 下找到 JSON 配置文件。例如:``https://cdn.download.clearlinux.org/releases/15700/clear/config/image/``" #: ../../tooling/ister.rst:68 msgid "Download the “PostNonChroot” script (if applicable)." -msgstr "" +msgstr "下载“PostNonChroot”脚本(如果适用)。" #: ../../tooling/ister.rst:70 msgid "" "The JSON configuration file for the image may have an accompanying " "“PostNonChroot” script that is executed at the end of the image creation " "process. If it does, download the script and make it executable." -msgstr "" +msgstr "此映像的 JSON 配置文件可能附带“PostNonChroot”脚本,在映像创建过程结束时执行。如果是,则下载此脚本,将其转换为可执行文件。" #: ../../tooling/ister.rst:74 msgid "Edit the JSON configuration file as needed." -msgstr "" +msgstr "按需编辑 JSON 配置文件。" #: ../../tooling/ister.rst:76 msgid "" "If your configuration file has an accompanying \"PostNonChroot\" script, " "change the default path of the script to match your path." -msgstr "" +msgstr "如果此配置文件附带 \"PostNonChroot\" 脚本,则将此脚本的默认路径更改为您的路径。" #: ../../tooling/ister.rst:79 msgid "Generate the new image with the following command:" -msgstr "" +msgstr "用以下命令生成新映像:" #: ../../tooling/ister.rst:86 msgid "Related topics" -msgstr "" +msgstr "相关主题" #: ../../tooling/ister.rst:88 msgid ":ref:`mixer`" -msgstr "" +msgstr ":ref:`mixer`" #: ../../tooling/ister.rst:89 msgid ":ref:`bulk-provision`" -msgstr "" +msgstr ":ref:`bulk-provision`" #~ msgid "" #~ "The `ister.py tool`_ is a template-" @@ -190,3 +189,4 @@ msgstr "" #~ msgid "`Configuration files for the current release`_" #~ msgstr "" + diff --git a/locale/zh_CN/LC_MESSAGES/tooling/mixer.po b/locale/zh_CN/LC_MESSAGES/tooling/mixer.po index fd506e00..408856d2 100644 --- a/locale/zh_CN/LC_MESSAGES/tooling/mixer.po +++ b/locale/zh_CN/LC_MESSAGES/tooling/mixer.po @@ -4,23 +4,22 @@ # Project Docs package. # FIRST AUTHOR , 2019. # -#, fuzzy msgid "" -msgstr "" -"Project-Id-Version: Clear Linux* Project Docs latest\n" +msgstr "Project-Id-Version: Clear Linux* Project Docs latest\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-07-22 12:54-0700\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"PO-Revision-Date: 2019-07-29 17:41-0008\n" "Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" +"Language-Team: zh-Hans\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.7.0\n" +"Generated-By: Intel® International Developer Studio Version 4.1.273.0\n" +"Language: zh-Hans\n" #: ../../tooling/mixer.rst:4 msgid "mixer" -msgstr "" +msgstr "mixer" #: ../../tooling/mixer.rst:6 msgid "" @@ -29,27 +28,27 @@ msgid "" "then consumed by swupd on a downstream client. The same mixer tool is " "available as part of |CL| to create your own customized update content " "and releases." -msgstr "" +msgstr "**mixer** 是 |CL-ATTR| 团队用于生成官方更新内容和版本的工具。mixer 生成的更新内容随后会在下游客户端上供 swupd 使用。该 mixer 工具也可以成为 |CL| 功能,用来创建自己的定制更新内容和版本。" #: ../../tooling/mixer.rst:16 msgid "Description" -msgstr "" +msgstr "描述" #: ../../tooling/mixer.rst:18 msgid "mixer uses the following sources as inputs to generate update content:" -msgstr "" +msgstr "mixer 使用以下源作为输入,生成更新内容:" #: ../../tooling/mixer.rst:20 msgid "Upstream |CL| bundles with their corresponding RPM packages" -msgstr "" +msgstr "带相应 RPM 包的上游 |CL| bundle 文件" #: ../../tooling/mixer.rst:21 msgid "Locally-defined bundles with their corresponding local RPM packages" -msgstr "" +msgstr "带相应本地 RPM 包的本地定义的 bundle 文件" #: ../../tooling/mixer.rst:22 msgid "Locally-defined bundles with upstream RPM packages" -msgstr "" +msgstr "带上游 RPM 包的本地定义的 bundle 文件" #: ../../tooling/mixer.rst:24 msgid "" @@ -57,7 +56,7 @@ msgid "" "will be part of your update. You can select content from each of these " "sources to make a unique combination of functionality for your custom " "update content, known as a **mix**." -msgstr "" +msgstr "使用 mixer 工具,可以选择将来自这些源的哪些内容纳入更新。可以从这些源选择内容,从而为定制更新内容创建独特的功能组合(即**组合**)。" #: ../../tooling/mixer.rst:27 msgid "" @@ -69,33 +68,33 @@ msgid "" "produced by mixer is then published to a web server and consumed by " "clients via swupd. Refer to :ref:`swupd ` for additional " "information regarding updates and update content." -msgstr "" +msgstr "mixer 生成的更新内容包括各种操作系统内容、更新元数据和完整映像。操作系统内容包括所有更新文件,以及用于提升更新性能的零包和增量包。作为清单存储的更新元数据则描述了更新的所有 bundle 文件信息。mixer 生成的更新内容随后会发布到 Web 服务器,然后由客户端通过 swupd 使用。请参阅 :ref:`swupd `,了解有关更新和更新内容的其他信息。" #: ../../tooling/mixer.rst:32 msgid "How it works" -msgstr "" +msgstr "工作原理" #: ../../tooling/mixer.rst:34 msgid "Learn the mixer tool set up and workflow." -msgstr "" +msgstr "了解 mixer 工具的设置和工作流。" #: ../../tooling/mixer.rst:41 msgid "Prerequisites" -msgstr "" +msgstr "必备条件" #: ../../tooling/mixer.rst:43 msgid ":command:`mixer` bundle" -msgstr "" +msgstr ":command:`mixer` bundle 文件" #: ../../tooling/mixer.rst:45 msgid "" "Add the mixer tool with the :command:`mixer` bundle. Refer to :ref" ":`swupd-guide` for more information on installing bundles." -msgstr "" +msgstr "通过 :command:`mixer` bundle 文件添加 mixer 工具。请参阅 :ref:`swupd-guide`,了解有关安装 bundle 文件的更多信息。" #: ../../tooling/mixer.rst:48 msgid "Docker\\* container" -msgstr "" +msgstr "Docker\\* 容器" #: ../../tooling/mixer.rst:50 msgid "" @@ -104,63 +103,63 @@ msgid "" "automatically perform downstream format bumps when the upstream releases " "a format bump. See `Format version`_ for additional information regarding" " format bumps." -msgstr "" +msgstr "默认情况下,mixer 会在 Docker 容器中运行所有构建命令,确保使用正确的工具版本。此外,此操作还会在上游发布新的时间戳时允许定制组合自动执行下游时间戳转换。请参阅 `Format version`_,了解有关时间戳转换的其他信息。" #: ../../tooling/mixer.rst:56 msgid "Refer to `Configure and enable Docker`_ for instruction." -msgstr "" +msgstr "请参阅 `Configure and enable Docker`_,查看相关说明。" #: ../../tooling/mixer.rst:58 msgid "Docker proxy (optional)" -msgstr "" +msgstr "Docker 代理(可选)" #: ../../tooling/mixer.rst:60 msgid "" "If you use a proxy server, you must set your proxy environment variables " "and create a proxy configuration file for the Docker daemon and " "container." -msgstr "" +msgstr "如果使用代理服务器,则须设置代理环境变量并为 Docker 守护程序和容器创建代理配置文件。" #: ../../tooling/mixer.rst:63 msgid "" "Consult your IT department for the correct values if you are behind a " "corporate proxy." -msgstr "" +msgstr "如果使用了公司代理服务器,则请咨询 IT 部门以获取正确的值。" #: ../../tooling/mixer.rst:66 msgid "Refer to `Configure Docker proxy info`_ for instruction." -msgstr "" +msgstr "请参阅 `Configure Docker proxy info`_,查看相关说明。" #: ../../tooling/mixer.rst:68 msgid "Location to host the update content and images" -msgstr "" +msgstr "更新内容和映像的存储位置" #: ../../tooling/mixer.rst:70 msgid "" "In order for swupd to make use of your mix, the update content for your " "mix must be hosted on a web server. Your mix will be configured with an " "update location URL, which swupd will use to pull down updates." -msgstr "" +msgstr "为了让 swupd 使用您的组合,组合的更新内容需在 Web 服务器上存储。此组合会配置更新位置 URL,而 swupd 则会用其拉取更新。" #: ../../tooling/mixer.rst:74 msgid "" "Refer to `Set up a nginx web server for mixer`_ for an simple example of " "setting up an update location." -msgstr "" +msgstr "请参阅 `Set up a nginx web server for mixer`_,查看设置更新位置的简单示例。" #: ../../tooling/mixer.rst:78 msgid "Mix setup" -msgstr "" +msgstr "组合设置" #: ../../tooling/mixer.rst:80 msgid "" "Follow these steps to create and initialize the mixer workspace. Complete" " the setup before you create a mix." -msgstr "" +msgstr "请按以下步骤创建和初始化 mixer 工作区。创建组合前,请先完成设置。" #: ../../tooling/mixer.rst:83 msgid "Create workspace." -msgstr "" +msgstr "创建工作区。" #: ../../tooling/mixer.rst:85 msgid "" @@ -168,11 +167,11 @@ msgid "" " a basic directory structure. The workspace is simply an empty folder " "from which you execute the mixer commands. Each mix uses its own separate" " workspace." -msgstr "" +msgstr "mixer 工具使用简易工作区包含基本目录结构中的所有输入和输出。此工作区只是一个空文件夹,可以在此文件夹中执行 mixer 命令。每个组合均使用自己的独立工作区。" #: ../../tooling/mixer.rst:90 msgid "Initialize the workspace and mix." -msgstr "" +msgstr "初始化工作区和组合。" #: ../../tooling/mixer.rst:92 msgid "" @@ -182,63 +181,63 @@ msgid "" "latest upstream version and starts with the minimum set of bundles. Your " "first custom mix version number starts at 10. Alternatively, you can " "select other versions or bundle sets from which to start." -msgstr "" +msgstr "创建组合前,必须显式初始化 mixer 工作区。初始化期间,系统将配置 mixer 工作区并定义组合基础。默认情况下,组合以最新的上游版本为基础创建,一开始只包含最少的 bundle 文件。第一个定制组合版本号以 10 开始。也可以选择要从中启动的其他版本或 bundle 文件集。" #: ../../tooling/mixer.rst:99 msgid "" "Initialization creates the directory structure within the workspace and " "adds the :file:`builder.conf` file, which is used to configure the mixer " "tool." -msgstr "" +msgstr "初始化操作会在工作区中创建目录结构并添加 :file:`builder.conf` 文件,而此文件将用于配置 mixer 工具。" #: ../../tooling/mixer.rst:102 msgid "" "View the `mixer.init man page`_ for more information on mixer " "initialization." -msgstr "" +msgstr "查看 `mixer.init man page`_,了解有关 mixer 初始化的更多信息。" #: ../../tooling/mixer.rst:105 msgid "View the list of suitable `releases`_ from which to mix." -msgstr "" +msgstr "查看适合从中进行组合的 `releases`_ 列表。" #: ../../tooling/mixer.rst:107 msgid "Edit builder.conf." -msgstr "" +msgstr "编辑 builder.conf。" #: ../../tooling/mixer.rst:109 msgid "" ":file:`builder.conf` tells the mixer tool how to configure the mix. For " "example, it allows you to configure where mixer output is located and " "where swupd update content will be located." -msgstr "" +msgstr "mixer 工具根据 :file:`builder.conf` 知道如何配置组合。例如,可以配置 mixer 输出的所在位置以及 swupd 更新内容的所在位置。" #: ../../tooling/mixer.rst:113 msgid "" "At minimum, set the URL of your update server so your custom OS knows " "where to get update content." -msgstr "" +msgstr "至少需要设置更新服务器的 URL,以便定制操作系统知道从何处获取更新内容。" #: ../../tooling/mixer.rst:116 msgid "Refer to the `builder.conf`_ section for more information." -msgstr "" +msgstr "请参阅 `builder.conf`_ 部分,了解更多信息。" #: ../../tooling/mixer.rst:119 msgid "Create a mix" -msgstr "" +msgstr "创建组合" #: ../../tooling/mixer.rst:121 msgid "A mix is created with the following steps:" -msgstr "" +msgstr "创建组合的步骤如下:" #: ../../tooling/mixer.rst:123 msgid "Add custom RPMs and set up local repo (optional)." -msgstr "" +msgstr "添加定制 RPM 并设置本地存储库(可选)。" #: ../../tooling/mixer.rst:125 msgid "" "If you are adding custom RPMs to your mix, you must add the RPMs to your " "mix workspace and set up a corresponding local repository." -msgstr "" +msgstr "如果要在组合中添加定制 RPM,则须将 RPM 添加到组合工作区并设置相应的本地存储库。" #: ../../tooling/mixer.rst:128 msgid "" @@ -246,71 +245,71 @@ msgid "" "scratch. If the RPMs are not built on |CL|, make sure your configuration " "and toolchain builds them correctly for |CL|. Otherwise there is no " "guarantee they will be compatible." -msgstr "" +msgstr "转到 :ref:`autospec` 指南,了解如何从头构建 RPM。如果未在 |CL| 上构建 RPM,则请确保配置和工具链会为 |CL| 正确构建 RPM,否则便无法保证其兼容。" #: ../../tooling/mixer.rst:133 msgid "" "Refer to the :ref:`autospec` guide for more information on using autospec" " to build RPMs." -msgstr "" +msgstr "请参阅 :ref:`autospec` 指南,了解使用 autospec 来构建 RPM 的更多信息。" #: ../../tooling/mixer.rst:136 msgid "Update and build bundles." -msgstr "" +msgstr "更新和构建 bundle 文件。" #: ../../tooling/mixer.rst:138 msgid "" "Add, edit, or remove bundles that will be part of your content and build " "them. mixer automatically updates the :file:`mixbundles` file when you " "update the bundles in your mix." -msgstr "" +msgstr "添加、编辑或删除将纳入内容的 bundle 文件并对其进行构建。更新组合中的 bundle 文件时,mixer 会自动更新 :file:`mixbundles` 文件。" #: ../../tooling/mixer.rst:142 msgid "" "View the `mixer.bundle man page`_ for more information on configuring " "bundles in a mix." -msgstr "" +msgstr "查看 `mixer.bundle man page`_,了解配置组合中的 bundle 文件的更多信息。" #: ../../tooling/mixer.rst:145 msgid "View the `mixer.build man page`_ for more information on building bundles." -msgstr "" +msgstr "查看 `mixer.build man page`_,了解有关构建 bundle 文件的更多信息。" #: ../../tooling/mixer.rst:147 msgid "" "View the `Bundles`_ section for more information on how mixer manages " "bundles." -msgstr "" +msgstr "查看 `Bundles`_ 部分,了解有关 mixer 如何管理 bundle 文件的更多信息。" #: ../../tooling/mixer.rst:150 msgid "Create the update content." -msgstr "" +msgstr "创建更新内容。" #: ../../tooling/mixer.rst:152 msgid "" "mixer creates update content with this step. Zero-packs are created " "automatically, and delta-packs can be optionally created at the same time" " (for all builds after version 0)." -msgstr "" +msgstr "mixer 会通过此步骤创建更新内容。零包是自动创建的,也可以同时创建增量包(适用于版本 0 之后的所有内部版本)。" #: ../../tooling/mixer.rst:156 msgid "" "A zero-pack is the full set of content needed to go from mix version 0 " "(nothing) to the mix version for which you just built content." -msgstr "" +msgstr "零包是从组合版本 0(无)变为刚刚为其构建内容的组合版本所需的全套内容。" #: ../../tooling/mixer.rst:159 msgid "" "A delta-pack provides the content *delta* between a `PAST_VERSION` to a " "`MIX_VERSION` that allows the transition from one mix version to another." -msgstr "" +msgstr "增量包可提供 `PAST_VERSION` 与 `MIX_VERSION` 之间的*增量*内容,允许从一个组合版本变为另一版本。" #: ../../tooling/mixer.rst:162 msgid "View :ref:`swupd-guide` for more information on update content." -msgstr "" +msgstr "查看 :ref:`swupd-guide`,了解有关更新内容的更多信息。" #: ../../tooling/mixer.rst:164 msgid "Create image." -msgstr "" +msgstr "创建映像。" #: ../../tooling/mixer.rst:166 msgid "" @@ -318,73 +317,73 @@ msgid "" ":ref:`ister` tool. In this step you can specify which bundles you want " "*preinstalled* in the image. Users can later install other bundles " "available in your mix." -msgstr "" +msgstr "mixer 使用 :ref:`ister` 工具从更新后的内容创建可引导映像。在此步骤中,可以指定要在映像中*预安装*的 bundle 文件。随后,用户可以安装组合中的其他 bundle 文件。" #: ../../tooling/mixer.rst:171 msgid "Make update available." -msgstr "" +msgstr "推出更新。" #: ../../tooling/mixer.rst:173 msgid "Deploy update content and images to your update server." -msgstr "" +msgstr "将更新内容和映像部署到更新服务器。" #: ../../tooling/mixer.rst:175 msgid "" "View the `Example 3: Deploy updates to target`_ for a simple deployment " "scenario." -msgstr "" +msgstr "查看 `Example 3: Deploy updates to target`_,了解简单的部署场景。" #: ../../tooling/mixer.rst:179 msgid "Maintain or modify mix" -msgstr "" +msgstr "保持或修改组合" #: ../../tooling/mixer.rst:181 msgid "" "Update or modify your content to a new version by following the steps to " "create a mix. Increment the mix version number for the next mix." -msgstr "" +msgstr "按照创建组合的步骤,将内容更新或修改为新版本。为下一组合递增组合版本号。" #: ../../tooling/mixer.rst:185 msgid "Examples" -msgstr "" +msgstr "示例" #: ../../tooling/mixer.rst:187 msgid "" "The following examples are designed to work together and in order. The " "examples use:" -msgstr "" +msgstr "以下示例旨在按顺序协同工作。这些示例采用:" #: ../../tooling/mixer.rst:190 msgid "A stock installation of |CL|." -msgstr "" +msgstr "|CL| 的原有安装。" #: ../../tooling/mixer.rst:191 msgid "A web server that comes with |CL| to host the content updates." -msgstr "" +msgstr "|CL| 随附用于存储内容更新的 Web 服务器。" #: ../../tooling/mixer.rst:192 msgid "" "A simple VM that updates against the locally produced content created in " "Example 2." -msgstr "" +msgstr "一台根据例 2 中创建的本地生成内容进行更新的简易虚拟机。" #: ../../tooling/mixer.rst:195 msgid "Complete all `Prerequisites`_ before using these examples." -msgstr "" +msgstr "在使用这些示例之前,请先满足所有 `Prerequisites`_。" #: ../../tooling/mixer.rst:198 msgid "Example 1: Mix set up" -msgstr "" +msgstr "例 1:组合设置" #: ../../tooling/mixer.rst:200 msgid "" "This example shows the basic steps for the first-time setup of mixer for " "a new mix." -msgstr "" +msgstr "本例介绍了第一次为新组合设置 mixer 的基本步骤。" #: ../../tooling/mixer.rst:203 msgid "Create an empty directory to use as a workspace for mixer:" -msgstr "" +msgstr "创建一个空目录,用作 mixer 的工作区:" #: ../../tooling/mixer.rst:209 msgid "" @@ -392,25 +391,25 @@ msgid "" "upstream |CL| version, with minimum bundles. In the initialization " "output, be aware that your initial mix version is set to 10 and that the " "minimum bundles have been added." -msgstr "" +msgstr "在 mixer 工作区中,根据最新的上游 |CL| 版本生成初始组合,包含最少的 bundle 文件。在初始化输出中,请注意初始组合版本已设为 10,添加了最少的 bundle 文件。" #: ../../tooling/mixer.rst:219 msgid "" "Edit :file:`builder.conf` to set the value of CONTENTURL and VERSIONURL " "to the IP address of the nginx\\* server you set up in the prerequisite " "`Set up a nginx web server for mixer`_. For example:" -msgstr "" +msgstr "编辑 :file:`builder.conf`,将 CONTENTURL 和 VERSIONURL 的值设为在前提条件 `Set up a nginx web server for mixer`_ 中所设 nginx\\* 服务器的 IP 地址。例如:" #: ../../tooling/mixer.rst:229 msgid "Example 2: Create a simple mix" -msgstr "" +msgstr "例 2:创建简单组合" #: ../../tooling/mixer.rst:231 msgid "" "This example shows how to create a simple custom mix using upstream " "content. We'll create an image for a QEMU virtual machine that we can use" " later to test our mix." -msgstr "" +msgstr "本例介绍如何使用上游内容创建简单的定制组合。我们要为 QEMU 虚拟机创建映像,方便以后进行组合测试。" #: ../../tooling/mixer.rst:235 msgid "" @@ -419,54 +418,54 @@ msgid "" " used on a bare metal system instead of a VM. So we will modify the " "default bundle set to get a smaller kernel image, which will also be " "faster to load." -msgstr "" +msgstr "我们可以使用初始化期间添加的默认 bundle 文件,但其中包括 :command:`native-kernel` bundle 文件,而此 bundle 文件主要用于裸机系统而非虚拟机。因此,我们要修改默认的 bundle 文件集,缩小内核映像,提高加载速度。" #: ../../tooling/mixer.rst:240 msgid "Update bundles in mix:" -msgstr "" +msgstr "更新组合中的 bundle 文件:" #: ../../tooling/mixer.rst:247 msgid "" "In this case, we will add the `editors` bundle from upstream, but we will" " remove the `joe` editor." -msgstr "" +msgstr "在此情况下,我们将添加来自上游的 `editors` bundle,但会移除 `joe` 编辑器。" #: ../../tooling/mixer.rst:255 msgid "Use an editor and manually remove `joe` from the bundle definition." -msgstr "" +msgstr "使用一个编辑器,从 bundle 定义中手动移除 `joe`。" #: ../../tooling/mixer.rst:261 msgid "List the bundles in the mix again to confirm removal." -msgstr "" +msgstr "在 mix 中再次列出 buddles 以确认移除。" #: ../../tooling/mixer.rst:268 msgid "Build bundles:" -msgstr "" +msgstr "构建 bundle 文件:" #: ../../tooling/mixer.rst:274 msgid "" "Look in ~/mixer/update/image//full for the full chroot after" " the :command:`build` command completes." -msgstr "" +msgstr ":command:`build` 命令完成后,在 ~/mixer/update/image//full 中查找完整 chroot。" #: ../../tooling/mixer.rst:277 msgid "" "Build update content. Browse to your \\http://localhost site and you'll " "see the web page is now up, but with no update content. Build the update " "content:" -msgstr "" +msgstr "构建更新内容。浏览到 \\http://localhost 站点,您会看到网页现已打开,但没有更新内容。构建更新内容:" #: ../../tooling/mixer.rst:284 msgid "" "Refresh your \\http://localhost site and now you can see the update " "content for mix version 10." -msgstr "" +msgstr "刷新 \\http://localhost 站点。此时,您便可看到组合版本 10 的更新内容。" #: ../../tooling/mixer.rst:287 ../../tooling/mixer.rst:351 msgid "" "Look in ~/mixer/update/www/ to see the update content in " "your workspace." -msgstr "" +msgstr "查找 ~/mixer/update/www/,在工作区中查看更新内容。" #: ../../tooling/mixer.rst:290 msgid "" @@ -474,48 +473,48 @@ msgid "" "include all of the bundles you want preinstalled in the image. If this is" " the first time creating an image, first get a copy of the :file" ":`release-image-config.json` template file:" -msgstr "" +msgstr "配置映像。编辑映像的 ister 配置文件,包含要在映像中预安装的所有 bundle 文件。如果是首次创建映像,则需首先获取 :file:`release-image-config.json` 模板文件的副本:" #: ../../tooling/mixer.rst:299 msgid "" "For this example, edit :file:`release-image-config.json` so that the root" " partition size is \"5G\" and replace the \"kernel-native\" bundle with " "\"kernel-kvm\"." -msgstr "" +msgstr "在本例中,编辑 :file:`release-image-config.json`,使 root 分区的大小为 \"5G\",同时将 \"kernel-native\" bundle 文件更换为 \"kernel-kvm\"。" #: ../../tooling/mixer.rst:319 msgid "Build the image." -msgstr "" +msgstr "构建映像。" #: ../../tooling/mixer.rst:325 msgid "" "The output from this step will be :file:`release.img`, which is a live " "image." -msgstr "" +msgstr "此步骤的输出为实时映像 :file:`release.img`。" #: ../../tooling/mixer.rst:327 msgid "" "Make the next mix. Create a new version of your mix, for the live image " "to update to. Increment your mix version by 10:" -msgstr "" +msgstr "创建下一组合。为接受更新的实时映像创建组合新版本。组合版本以 10 为因子递增:" #: ../../tooling/mixer.rst:334 msgid "Repeat steps 1-3 to add the upstream :command:`curl` bundle to the mix:" -msgstr "" +msgstr "重置执行步骤 1-3,将上游 :command:`curl` bundle 文件添加到组合中:" #: ../../tooling/mixer.rst:342 msgid "Build optional delta-packs, which helps reduce client update time:" -msgstr "" +msgstr "构建可选增量包,有助于缩短客户端更新时间:" #: ../../tooling/mixer.rst:348 msgid "" "Refresh your \\http://localhost site to see the update content for mix " "version 20." -msgstr "" +msgstr "刷新 \\http://localhost 站点,查看组合版本 20 的更新内容。" #: ../../tooling/mixer.rst:355 msgid "Example 3: Deploy updates to target" -msgstr "" +msgstr "例 3:将更新部署到目标位置" #: ../../tooling/mixer.rst:357 msgid "" @@ -523,83 +522,83 @@ msgid "" "example, we'll boot the image from Example 2 to verify it, and update the" " image from mix version 10 (from which the image was built), to mix " "version 20." -msgstr "" +msgstr "在例 2 中创建的映像可以在 QEMU 中直接引导。在本例中,我们会引导例 2 中的映像,对其进行验证,然后将映像从组合版本 10(原始映像)更新到组合版本 20。" #: ../../tooling/mixer.rst:361 msgid "Set up the QEMU environment." -msgstr "" +msgstr "设置 QEMU 环境。" #: ../../tooling/mixer.rst:363 msgid "Install the :command:`kvm-host` bundle to your |CL|:" -msgstr "" +msgstr "将 :command:`kvm-host` bundle 文件安装到 |CL|:" #: ../../tooling/mixer.rst:369 msgid "" "Get the virtual EFI firmware, download the image launch script, and make " "it executable:" -msgstr "" +msgstr "获取虚拟 EFI 固件,下载映像启动脚本,将其转换为可执行文件:" #: ../../tooling/mixer.rst:378 msgid "Start your VM image (created in Example 2):" -msgstr "" +msgstr "启动虚拟机映像(例 2 中创建):" #: ../../tooling/mixer.rst:384 msgid "Log in as root and set a password" -msgstr "" +msgstr "以 root 用户身份登录,设置密码" #: ../../tooling/mixer.rst:386 msgid "Try out your mix." -msgstr "" +msgstr "试用此组合。" #: ../../tooling/mixer.rst:388 msgid "Take a look at the default bundles installed in your mix:" -msgstr "" +msgstr "查看组合中安装的默认 bundle 文件:" #: ../../tooling/mixer.rst:396 msgid "Now we will add the `editors` bundle that we modified." -msgstr "" +msgstr "现在我们将添加修改的 `editors` bundle。" #: ../../tooling/mixer.rst:402 msgid "" "Try to start the `joe` editor. It should not appear because we removed " "it from the original `editors` bundle." -msgstr "" +msgstr "尝试启动 `joe` 编辑器。它应该不会出现,因为我们已将它从原 `editors` bundle 中移除。" #: ../../tooling/mixer.rst:405 msgid "" "Next we will update from version 10 to 20 to capture the newly available " "bundles. Use :command:`swupd` to update your mix:" -msgstr "" +msgstr "下一步,我们将从版本 10 更新至版本 20,以获取新的可用 bundles。使用 :command:`swupd` 更新您的 mix:" #: ../../tooling/mixer.rst:414 msgid "" "Now your mix should be at version 20 and curl is now available. Try using" " curl. This will fail because curl is not yet installed:" -msgstr "" +msgstr "此时,组合应为版本 20 且 curl 可用。试用 curl。由于尚未安装 curl,因此此操作会失败:" #: ../../tooling/mixer.rst:422 msgid "" "Add the new bundle from your update server to your VM. Retry curl. It " "works!" -msgstr "" +msgstr "将更新服务器上的新 bundle 文件添加到虚拟机上。再次试用 curl。操作成功!" #: ../../tooling/mixer.rst:429 msgid "Shutdown your VM:" -msgstr "" +msgstr "关闭虚拟机:" #: ../../tooling/mixer.rst:441 msgid "References" -msgstr "" +msgstr "参考" #: ../../tooling/mixer.rst:443 msgid "" "Reference the `mixer man page`_ for details regarding mixer commands and " "options." -msgstr "" +msgstr "参考 `mixer man page`_,了解有关 mixer 命令和选项的详细信息。" #: ../../tooling/mixer.rst:452 msgid "builder.conf" -msgstr "" +msgstr "builder.conf" #: ../../tooling/mixer.rst:454 msgid "" @@ -607,25 +606,25 @@ msgid "" " configuration for the mixer tool. The items of primary interest are " "CONTENTURL and VERSIONURL, which will be used by systems updating against" " your custom content." -msgstr "" +msgstr "mixer 初始化过程中会创建 :file:`builder.conf`。文件中包含 mixer 工具的基本配置。其中的主要项目为 CONTENTURL 和 VERSIONURL。系统会根据定制内容使用这些项目。" #: ../../tooling/mixer.rst:487 msgid "" "Additional explanation of variables in :file:`builder.conf` is provided " "in Table 1." -msgstr "" +msgstr "表 1 提供了 :file:`builder.conf` 中变量的附加说明。" #: ../../tooling/mixer.rst:491 msgid "**Variable**" -msgstr "" +msgstr "**变量**" #: ../../tooling/mixer.rst:491 msgid "**Explanation**" -msgstr "" +msgstr "**说明**" #: ../../tooling/mixer.rst:493 msgid "`CERT`" -msgstr "" +msgstr "`CERT`" #: ../../tooling/mixer.rst:493 msgid "" @@ -634,123 +633,123 @@ msgid "" "if you do not provide the path to an existing one, and signs the " ":file:`Manifest.MoM` file to provide security for the updated content you" " create." -msgstr "" +msgstr "设置 mixer 存储证书文件的路径。该文件用于签署内容并进行验证。如果不提供现有证书文件的路径,mixer 则会自动生成证书,同时会签署 :file:`Manifest.MoM` 文件,为创建的更新内容提供安全保障。" #: ../../tooling/mixer.rst:500 msgid "" "chroot-builder uses the certificate file to sign the root " ":file:`Manifest.MoM` file to provide security for content verification." -msgstr "" +msgstr "chroot-builder 使用此证书文件签署 :file:`Manifest.MoM` root 文件,为内容验证提供安全保障。" #: ../../tooling/mixer.rst:504 msgid "" "swupd uses this certificate to verify the :file:`Manifest.MoM` file's " "signature." -msgstr "" +msgstr "swupd 使用此证书验证 :file:`Manifest.MoM` 文件的签名。" #: ../../tooling/mixer.rst:507 msgid "" "For now, we strongly recommend that you do not modify this variable, as " "swupd expects a certificate with a very specific configuration to sign " "and verify properly." -msgstr "" +msgstr "目前,极力建议不要修改此变量,因为 swupd 必须要有配置十分具体的证书,才能正确签署和验证。" #: ../../tooling/mixer.rst:512 msgid "`CONTENTURL` and `VERSIONURL`" -msgstr "" +msgstr "`CONTENTURL` 和 `VERSIONURL`" #: ../../tooling/mixer.rst:512 msgid "" "Set these variables to the IP address of the web server hosting the " "update content." -msgstr "" +msgstr "将这些变量设置为存储更新内容的 Web 服务器的 IP 地址。" #: ../../tooling/mixer.rst:515 msgid "" "VERSIONURL is the IP address where the swupd client looks to determine if" " a new version is available." -msgstr "" +msgstr "VERSIONURL 是 swupd 客户端希望确定是否存在新版本的 IP 地址。" #: ../../tooling/mixer.rst:518 msgid "CONTENTURL is the location from which swupd pulls content updates." -msgstr "" +msgstr "CONTENTURL 是 swupd 从中拉取内容更新的位置。" #: ../../tooling/mixer.rst:521 msgid "" "If the web server is on the same machine as the SERVER_STATE_DIR " "directory, you can create a symlink to the directory in your web server's" " document root to easily host the content." -msgstr "" +msgstr "如果 Web 服务器与 SERVER_STATE_DIR 目录位于同一计算机上,则可在 Web 服务器的文档根目录中创建符号链接,轻松存储内容。" #: ../../tooling/mixer.rst:526 msgid "These URLs are embedded in the images created by mixer." -msgstr "" +msgstr "这些 URL 嵌入 mixer 所创建的映像中。" #: ../../tooling/mixer.rst:528 msgid "`DOCKER_IMAGE_PATH`" -msgstr "" +msgstr "`DOCKER_IMAGE_PATH`" #: ../../tooling/mixer.rst:528 msgid "" "Sets the base name of the docker image that mixer pulls down to run " "builds in the proper container." -msgstr "" +msgstr "设置 mixer 通过拉取在适当容器中运行内部版本的 docker 映像的基本名称。" #: ../../tooling/mixer.rst:531 msgid "`LOCAL_BUNDLE_DIR`" -msgstr "" +msgstr "`LOCAL_BUNDLE_DIR`" #: ../../tooling/mixer.rst:531 msgid "" "Sets the path where mixer stores the local bundle definition files. The " "bundle definition files include any new, original bundles you create, " "along with any edited versions of upstream bundles." -msgstr "" +msgstr "设置 mixer 存储本地 bundle 定义文件的路径。bundle 定义文件包括用户创建的所有原创新 bundle 文件,还有上游 bundle 文件的编辑版本。" #: ../../tooling/mixer.rst:536 msgid "`SERVER_STATE_DIR`" -msgstr "" +msgstr "`SERVER_STATE_DIR`" #: ../../tooling/mixer.rst:536 msgid "" "Sets the path to which mixer outputs content. By default, mixer " "automatically sets the path." -msgstr "" +msgstr "设置 mixer 输出内容的目标路径。默认情况下,mixer 会自动设置此路径。" #: ../../tooling/mixer.rst:539 msgid "`VERSIONS_PATH`" -msgstr "" +msgstr "`VERSIONS_PATH`" #: ../../tooling/mixer.rst:539 msgid "" "Sets the path for the mix version and upstream version's two state files:" " :file:`mixversion` and :file:`upstreamversion`. mixer creates both files" " for you when you set up the workspace." -msgstr "" +msgstr "设置组合版本以及上游版本的两个状态文件的路径::file:`mixversion` 和 :file:`upstreamversion`。设置工作区时,mixer 会为您创建这两个文件。" #: ../../tooling/mixer.rst:544 msgid "`YUM_CONF`" -msgstr "" +msgstr "`YUM_CONF`" #: ../../tooling/mixer.rst:544 msgid "" "Sets the path where mixer automatically generates the :file:`.yum-" "mix.conf` file." -msgstr "" +msgstr "设置 mixer 自动生成 :file:`.yum-mix.conf` 文件所在的路径。" #: ../../tooling/mixer.rst:547 msgid "" "The yum configuration file points the chroot-builder to where the RPMs " "are stored." -msgstr "" +msgstr "yum 配置文件将 chroot-builder 指向 RPM 的存储位置。" #: ../../tooling/mixer.rst:550 msgid "**Table 1**: *Variables in builder.conf*" -msgstr "" +msgstr "**表 1**:*builder.conf 中的变量*" #: ../../tooling/mixer.rst:554 msgid "Format version" -msgstr "" +msgstr "Format 版本" #: ../../tooling/mixer.rst:556 msgid "" @@ -760,7 +759,7 @@ msgid "" " set as the `Format` variable in the :file:`mixer.state` file. Variables " "in the :file:`mixer.state` are used by mixer between executions and " "should not be manually changed." -msgstr "" +msgstr "操作系统的兼容版本通过操作系统 *兼容性时间戳* 进行跟踪。某一时间戳的各版本操作系统均完全兼容,并可更新到该时间戳中的任意其他版本。兼容性时间戳在 :file:`mixer.state` 文件中作为 `Format` 变量进行设置。:file:`mixer.state` 中的变量由 mixer 在执行间隔使用,且不应手动更改。" #: ../../tooling/mixer.rst:563 msgid "" @@ -768,23 +767,23 @@ msgid "" " level. If `Format` increments to a new epoch (a \"format bump\"), the OS" " has changed in such a way that updating from build A in format X to " "build B in format Y will not work." -msgstr "" +msgstr "format bump 会改变 house 的基础,创建一个新层级。如果 `Format` 递增至新的阶段( \"format bump\"),操作系统会以这种方式发生改变:从 format X 构成的 build A 更新至 format Y 构成的 build B 将无法完成。" #: ../../tooling/mixer.rst:568 msgid "A format bump is required when:" -msgstr "" +msgstr "在如下情况中,将需要 format bump:" #: ../../tooling/mixer.rst:570 msgid "" "The software updater, :command:`swupd`, or the software is no longer " "compatible with the previous update scheme" -msgstr "" +msgstr "软件更新器 :command:`swupd` 或软件不再兼容以前的更新模式" #: ../../tooling/mixer.rst:573 msgid "" "A package is removed from the update stream and the update must ensure " "the files associated with that package are removed from the system" -msgstr "" +msgstr "一个 package 从更新流中移除后,该更新必须确保从系统中移除与该 package 相关的文件" #: ../../tooling/mixer.rst:576 msgid "" @@ -793,7 +792,7 @@ msgid "" "latest release in its respective format version, unless overridden by " "command line flags. In this way, we can guarantee that all clients update" " to the final version in their given format." -msgstr "" +msgstr "使用 Format 增量可以确保必需进行的更改和同时需要进行的更改以正确的顺序进行。除非使用命令行标志覆盖,否则更新后的客户端只会更新采用各自时间戳格式版本的最新版本。如此一来,便可确保所有客户端均更新采用给定时间戳格式的最终版本。" #: ../../tooling/mixer.rst:582 msgid "" @@ -801,18 +800,18 @@ msgid "" "content built in the next format. Only after reaching the final release " "in the old format can a client continue to update to releases in the new " "format." -msgstr "" +msgstr "给定时间戳格式 *必须* 包含理解以下一个时间戳格式构建的内容所需的所有更改。仅当达到采用旧时间戳格式的最终版本后,客户端才能继续更新到采用新时间戳格式的版本。" #: ../../tooling/mixer.rst:584 msgid "" "The format version is incremented only when a compatibility breakage is " "introduced. Normal updates, such as updating a software package, do not " "require a format increment." -msgstr "" +msgstr "仅当出现兼容性破坏问题时,才会递增时间戳格式版本。正常更新(如更新软件包)无需时间戳格式增量。" #: ../../tooling/mixer.rst:590 msgid "Bundles" -msgstr "" +msgstr "bundle 文件" #: ../../tooling/mixer.rst:592 msgid "" @@ -821,25 +820,25 @@ msgid "" "VERSIONS_PATH variable in :file:`builder.conf`. :file:`mixbundles` is " "automatically created when the mix is initiated. mixer will refresh the " "file each time you change the bundles in the mix." -msgstr "" +msgstr "mixer 将有关 bundle 文件的信息存储在名为 :file:`mixbundles` 的平面文件中。此文件所在的路径是通过文件 :`builder.conf` 中的 VERSIONS_PATH 变量设置的。启动组合时会自动创建 :file:`mixbundles`。每次更改组合中的 bundle 文件时,mixer 均会刷新此文件。" #: ../../tooling/mixer.rst:595 msgid "" "Bundles can include other bundles. Nested bundles can themselves include " "other bundles. If you see an unexpected bundle in your mix, it is likely " "a nested bundle in one of the bundles you explicitly added." -msgstr "" +msgstr "bundle 文件可以包括其他 bundle 文件。嵌套的 bundle 文件自身可以包含其他 bundle 文件。如果在组合中发现不应该纳入的 bundle 文件,则可能是先前显式添加的一个 bundle 文件中的嵌套 bundle 文件。" #: ../../tooling/mixer.rst:599 msgid "" "A bundle will fill into one of two categories: upstream or local. " "Upstream bundles are those provided by |CL|. Local bundles are either " "modified upstream bundles or new local bundles." -msgstr "" +msgstr "bundle 文件分为两大类:上游或本地。上游 bundle 文件是 |CL| 提供的 bundle 文件。本地 bundle 文件则要么是修改后的上游 bundle 文件,要么是新的本地 bundle 文件。" #: ../../tooling/mixer.rst:603 msgid "Upstream bundles" -msgstr "" +msgstr "上游 bundle 文件" #: ../../tooling/mixer.rst:605 msgid "" @@ -849,18 +848,18 @@ msgid "" "This directory is simply a mirror for mixer to use. mixer will " "automatically delete the contents of this directory before repopulating " "it on-the-fly if a new version must be downloaded." -msgstr "" +msgstr "mixer 会自动下载和缓存上游 bundle 定义文件。这些定义文件存储在工作区的 upstream-bundles 目录中。请勿修改此目录中的文件。此目录只是供 mixer 使用的镜像。如果必须下载新版本,mixer 则会在动态重新填充之前自动删除该目录的内容。" #: ../../tooling/mixer.rst:612 msgid "" "The mixer tool automatically caches the bundles for the |CL| version " "configured in the :file:`upstreamversion` file. mixer also cleans up old " "versions once they are no longer needed." -msgstr "" +msgstr "mixer 工具会自动缓存在 :file:`upstreamversion` 文件中配置的 |CL| 版 bundle 文件。此外,mixer 还会在旧版本无需再使用后立即将其清除。" #: ../../tooling/mixer.rst:617 msgid "Local bundles" -msgstr "" +msgstr "本地 bundle 文件" #: ../../tooling/mixer.rst:619 msgid "" @@ -868,7 +867,7 @@ msgid "" "upstream bundles. Local bundle definition files are stored in the local-" "bundles directory in the workspace. The LOCAL_BUNDLE_DIR variable sets " "the path of this directory in the :file:`builder.conf` file." -msgstr "" +msgstr "本地 bundle 文件是您创建的 bundle 文件,或是上游 bundle 文件的编辑版本。本地 bundle 定义文件存储在工作区的 local-bundles 目录中。此目录的路径是通过 :file:`builder.conf` 文件中的 LOCAL_BUNDLE_DIR 变量设置的。" #: ../../tooling/mixer.rst:623 msgid "" @@ -877,11 +876,11 @@ msgid "" "precedence over any upstream bundles that have the same name. This " "precedence enables you to copy upstream bundles locally, and edit into a " "local variation." -msgstr "" +msgstr "*mixer 始终会先检查本地 bundle 文件,然后再检查上游 bundle 文件。* 因此,local-bundles 目录中的 bundle 文件始终优先于同名的上游 bundle 文件。利用此优先特性,可以将上游 bundle 文件复制到本地,然后进行编辑,变为本地 bundle 文件。" #: ../../tooling/mixer.rst:630 msgid "Bundle configuration" -msgstr "" +msgstr "bundle 文件配置" #: ../../tooling/mixer.rst:632 msgid "" @@ -889,14 +888,14 @@ msgid "" "add a bundle to a mix, to create a new bundle for a mix, or to remove a " "bundle from a mix. View the `mixer.bundle man page`_ for a full list of " "commands and more information on configuring bundles in a mix." -msgstr "" +msgstr "mixer 提供命令来配置组合的 bundle 文件,例如将 bundle 文件添加到组合中,为组合创建新的 bundle 文件,或从组合中删除 bundle 文件。查看 `mixer.bundle man page`_,获取完整的命令列表,了解配置组合中的 bundle 文件的更多信息。" #: ../../tooling/mixer.rst:637 msgid "" "Editing an existing local bundle is as simple as opening the bundle " "definition file in your favorite editor, making the desired edits, and " "saving your changes." -msgstr "" +msgstr "编辑现有本地 bundle 文件就像在心仪的编辑器中打开 bundle 定义文件、执行所需编辑以及保存更改一样简单。" #: ../../tooling/mixer.rst:642 msgid "" @@ -904,43 +903,43 @@ msgid "" "remove the bundle from the mix. The local bundle definition file will " "still remain. To completely remove a bundle, including its local bundle " "definition file, use the :command:`--local` flag." -msgstr "" +msgstr "从组合中删除 bundle 文件:默认情况下,删除 bundle 文件只会从组合中删除 bundle 文件。本地 bundle 定义文件仍会保留。要彻底删除 bundle 文件(包括它的本地 bundle 定义文件),请使用 :command:`--local` 标志。" #: ../../tooling/mixer.rst:646 msgid "" "If you remove the bundle definition file for a local, edited version of " "an upstream bundle in a mix, the mix reverts to reference the original " "upstream version of the bundle." -msgstr "" +msgstr "如果删除组合中上游 bundle 文件的本地编辑版本的 bundle 定义文件,该组合则会重新引用此 bundle 文件的原始上游版本。" #: ../../tooling/mixer.rst:652 msgid "Configure and enable Docker" -msgstr "" +msgstr "配置和启用 Docker" #: ../../tooling/mixer.rst:654 msgid "" "Use these steps to enable Docker for the mixer tool. Make sure to " "`Configure Docker proxy info`_ first if needed." -msgstr "" +msgstr "通过以下步骤为 mixer 工具启用 Docker。如有必要,请务必先 `Configure Docker proxy info`_。" #: ../../tooling/mixer.rst:657 msgid "Start the Docker daemon:" -msgstr "" +msgstr "启动 Docker 守护程序:" #: ../../tooling/mixer.rst:665 msgid "Add user to the docker group" -msgstr "" +msgstr "将用户添加到 docker 组" #: ../../tooling/mixer.rst:672 msgid "Pull Docker container manually (optional)" -msgstr "" +msgstr "手动拉取 Docker 容器(可选)" #: ../../tooling/mixer.rst:674 msgid "" "By default, mixer automatically pulls a Docker container for mixing if " "one does not already exist. If you need to troubleshoot the mixer " "container, it may be useful to manually pull a mixer Docker container." -msgstr "" +msgstr "默认情况下,如果没有 Docker 容器,mixer 则会自动拉取 Docker 容器以创建组合。如需对 mixer 容器进行故障排除,则可尝试手动拉取 mixer Docker 容器。" #: ../../tooling/mixer.rst:678 msgid "" @@ -950,158 +949,158 @@ msgid "" "version of the mixer Docker container is named after the associated |CL| " "upstream format version. Refer to `Format version`_ for additional " "information on upstream format versions." -msgstr "" +msgstr "mixer Docker 容器的版本可在 Docker Hub 上的 `clearlinux/mixer repo `_ 标签下找到。每个版本的 mixer Docker 容器均以关联的 |CL| 上游时间戳格式版本来命名。请参阅 `Format version`_,了解有关上游时间戳格式版本的其他信息。" #: ../../tooling/mixer.rst:684 msgid "Use the following steps to manually pull a mixer Docker container:" -msgstr "" +msgstr "通过以下步骤手动拉取 mixer Docker 容器:" #: ../../tooling/mixer.rst:686 msgid "" "Find the version of the container you need by viewing the tags for the " "`clearlinux/mixer repo " "`_ on Docker Hub." -msgstr "" +msgstr "查看 Docker Hub 上的 `clearlinux/mixer repo `_ 标签,查找所需版本的容器。" #: ../../tooling/mixer.rst:690 msgid "Pull the latest container version:" -msgstr "" +msgstr "拉取最新容器版本:" #: ../../tooling/mixer.rst:696 msgid "View local docker images:" -msgstr "" +msgstr "查看本地 docker 映像:" #: ../../tooling/mixer.rst:705 msgid "Configure Docker proxy info" -msgstr "" +msgstr "配置 Docker 代理信息" #: ../../tooling/mixer.rst:707 msgid "If needed, use these steps to configure the Docker proxy information." -msgstr "" +msgstr "如有必要,通过以下步骤配置 Docker 代理信息。" #: ../../tooling/mixer.rst:709 msgid "Create the Docker daemon proxy config directory:" -msgstr "" +msgstr "创建 Docker 守护程序代理配置目录:" #: ../../tooling/mixer.rst:715 msgid "" "Create :file:`/etc/systemd/system/docker.service.d/http-proxy.conf` and " "add the following using your own proxy values:" -msgstr "" +msgstr "创建 :file:`/etc/systemd/system/docker.service.d/http-proxy.conf` 并用自己的代理值添加以下内容:" #: ../../tooling/mixer.rst:724 msgid "Reload the Docker daemon:" -msgstr "" +msgstr "重新加载 Docker 守护程序:" #: ../../tooling/mixer.rst:730 msgid "" "Configure the Docker container proxies, to pass proxy settings to " "containers:" -msgstr "" +msgstr "配置 Docker 容器代理,将代理设置传递给容器:" #: ../../tooling/mixer.rst:733 msgid "Create a directory for your container config:" -msgstr "" +msgstr "为容器配置创建目录:" #: ../../tooling/mixer.rst:739 msgid "" "Create the config file :file:`~/.docker/config.json` and add the " "following entries, using your own proxy values:" -msgstr "" +msgstr "创建配置文件 :file:`~/.docker/config.json` 并用自己的代理值添加以下条目:" #: ../../tooling/mixer.rst:755 msgid "Set ownership and permission on the docker config directory:" -msgstr "" +msgstr "设置 docker 配置目录的所有权和权限:" #: ../../tooling/mixer.rst:762 msgid "" "Configure proxies to allow mixer to access upstream content from behind a" " firewall." -msgstr "" +msgstr "配置代理,允许 mixer 从防火墙后访问上游内容。" #: ../../tooling/mixer.rst:765 msgid "" "Open your :file:`$HOME/.bashrc` file and add proxy and port values for " "the following:" -msgstr "" +msgstr "打开 :file:`$HOME/.bashrc` 文件,为以下内容添加代理和端口值:" #: ../../tooling/mixer.rst:776 msgid "Log out and log back in for the proxies to take effect." -msgstr "" +msgstr "注销并再次登录,使代理生效。" #: ../../tooling/mixer.rst:781 msgid "Set up a nginx web server for mixer" -msgstr "" +msgstr "为 mixer 设置 Nginx Web 服务器" #: ../../tooling/mixer.rst:783 msgid "" "A web server is needed to host your update content. In this example, we " "use the nginx web server, which comes with |CL|." -msgstr "" +msgstr "需有 Web 服务器存储更新内容。在本例中,我们使用 |CL| 随附的 Nginx Web 服务器。" #: ../../tooling/mixer.rst:786 msgid "Set up a nginx web server for mixer with the following steps:" -msgstr "" +msgstr "通过以下步骤为 mixer 设置 Nginx Web 服务器:" #: ../../tooling/mixer.rst:788 msgid "Install the :command:`nginx` bundle:" -msgstr "" +msgstr "安装 :command:`nginx` bundle 文件:" #: ../../tooling/mixer.rst:794 msgid "Make the directory where mixer updates will reside:" -msgstr "" +msgstr "创建 mixer 更新的存储目录:" #: ../../tooling/mixer.rst:800 msgid "" "Create a symbolic link between your workspace updates and the updates on " "the local nginx web server. In this example, `$HOME/mixer` is the " "workspace for the mix." -msgstr "" +msgstr "在工作区更新和本地 Nginx Web 服务器更新之间创建符号链接。在本例中,`$HOME/mixer` 是组合的工作区。" #: ../../tooling/mixer.rst:808 msgid "Set up ``nginx`` configuration:" -msgstr "" +msgstr "设置 ``nginx`` 配置:" #: ../../tooling/mixer.rst:814 msgid "Copy the default example configuration file:" -msgstr "" +msgstr "复制默认示例配置文件:" #: ../../tooling/mixer.rst:820 msgid "" "Configure the mixer update server. Create and add the following server " "configuration content to :file:`/etc/nginx/conf.d/mixer.conf` (sudo " "required):" -msgstr "" +msgstr "配置 mixer 更新服务器。创建以下服务器配置内容并将其添加到 :file:`/etc/nginx/conf.d/mixer.conf` (需 sudo 权限):" #: ../../tooling/mixer.rst:833 msgid "Restart the daemon, enable nginx on boot, and start the service." -msgstr "" +msgstr "重新启动守护程序,引导时启用 Nginx,然后启动此服务。" #: ../../tooling/mixer.rst:843 msgid "" "Verify the web server is running at \\http://localhost. At this point you" " should no longer see a \"404 Not Found\" message." -msgstr "" +msgstr "验证 Web 服务器是否在 \\http://localhost 上运行。此时不应再出现 \"404 Not Found\" 消息。" #: ../../tooling/mixer.rst:847 msgid "Related topics" -msgstr "" +msgstr "相关主题" #: ../../tooling/mixer.rst:849 msgid ":ref:`About mixer `" -msgstr "" +msgstr ":ref:`About mixer `" #: ../../tooling/mixer.rst:850 msgid ":ref:`autospec-about`" -msgstr "" +msgstr ":ref:`autospec-about`" #: ../../tooling/mixer.rst:851 msgid ":ref:`bundles-about`" -msgstr "" +msgstr ":ref:`bundles-about`" #: ../../tooling/mixer.rst:852 msgid ":ref:`swupd-about`" -msgstr "" +msgstr ":ref:`swupd-about`" #~ msgid "" #~ "Add the mixer tool with the " @@ -1143,3 +1142,4 @@ msgstr "" #~ "system." #~ msgstr "" + diff --git a/locale/zh_CN/LC_MESSAGES/tooling/swupd-guide.po b/locale/zh_CN/LC_MESSAGES/tooling/swupd-guide.po index 567cdf39..c72ff80f 100644 --- a/locale/zh_CN/LC_MESSAGES/tooling/swupd-guide.po +++ b/locale/zh_CN/LC_MESSAGES/tooling/swupd-guide.po @@ -4,54 +4,53 @@ # Project Docs package. # FIRST AUTHOR , 2019. # -#, fuzzy msgid "" -msgstr "" -"Project-Id-Version: Clear Linux* Project Docs latest\n" +msgstr "Project-Id-Version: Clear Linux* Project Docs latest\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-07-17 11:17-0700\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"PO-Revision-Date: 2019-07-29 17:41-0008\n" "Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" +"Language-Team: zh-Hans\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.7.0\n" +"Generated-By: Intel® International Developer Studio Version 4.1.273.0\n" +"Language: zh-Hans\n" #: ../../tooling/swupd-guide.rst:4 msgid "swupd" -msgstr "" +msgstr "swupd" #: ../../tooling/swupd-guide.rst:6 msgid "" ":command:`swupd` links a |CL-ATTR| installation with upstream updates and" " software." -msgstr "" +msgstr ":command:`swupd` 将 |CL-ATTR| 安装与上游更新和软件进行链接。" #: ../../tooling/swupd-guide.rst:14 msgid "Description" -msgstr "" +msgstr "描述" #: ../../tooling/swupd-guide.rst:16 msgid ":command:`swupd` has two main functions:" -msgstr "" +msgstr ":command:`swupd` 有两个主要功能:" #: ../../tooling/swupd-guide.rst:18 msgid "" "Manage software and replace APT or YUM, by installing bundles rather than" " packages." -msgstr "" +msgstr "通过安装 bundle 文件而非软件包来管理软件并替换 APT 或 YUM。" #: ../../tooling/swupd-guide.rst:20 msgid "Check for system updates and install them." -msgstr "" +msgstr "检查是否存在系统更新并进行安装。" #: ../../tooling/swupd-guide.rst:22 msgid "" ":command:`swupd` manages overlapping dependencies behind the scenes, " "ensuring that all software is compatible across the system. It can be " "used to verify the OS, clean cached files, and fix issues." -msgstr "" +msgstr ":command:`swupd` 可管理后台的重叠依存关系,从而确保所有软件在整个系统中兼容。它可以验证操作系统、清理缓存文件和修复问题。" #: ../../tooling/swupd-guide.rst:26 msgid "" @@ -60,17 +59,17 @@ msgid "" "by |CL|. A bundle comes with all of its dependencies rather than " "downloading a cascade of package dependencies when installing a piece of " "software." -msgstr "" +msgstr ":ref:`Bundles ` 包含提供软件功能所需的一切。它们是 |CL| 管理的最小粒度组件。bundle 文件附带所有依存关系,而非在安装软件时下载一系列软件包依存关系。" #: ../../tooling/swupd-guide.rst:33 msgid "Versioning" -msgstr "" +msgstr "版本管理" #: ../../tooling/swupd-guide.rst:35 msgid "" "Using package managers to monitor software version compatibility or " "compare multiple systems on many Linux distributions can be cumbersome." -msgstr "" +msgstr "使用软件包管理器监控软件版本兼容性或比较大量 Linux 发行版上的多个系统可能十分麻烦。" #: ../../tooling/swupd-guide.rst:38 msgid "" @@ -80,7 +79,7 @@ msgid "" "removals. This rolling release versioning model is similar to " ":command:`git` internal version tracking, where any of the individual " "file commits are tracked and move the pointer forward when changed." -msgstr "" +msgstr "借助 |CL| :command:`swupd`,则可在个别文件级别进行版本管理。也就是说,|CL| 会生成全新的操作系统版本,且附带对系统所做的所有软件更改,其中包括软件降级或删除。此滚动发布版本管理模型类似于 :command:`git` 内部版本跟踪,会跟踪所有单个文件提交并在更改时将指针前移。" #: ../../tooling/swupd-guide.rst:45 msgid "" @@ -92,11 +91,11 @@ msgid "" "combinations of software have been tested. Every release of the same " "number is guaranteed to contain the same versions of software, so there's" " no ambiguity between two systems running the same version of |CL|." -msgstr "" +msgstr "表示操作系统 **当前** 版本的数字,描述操作系统上所有软件的版本。每个内部版本均由一组特定的 bundle 文件组成,而这些 bundle 文件则由特定版本的软件包组成。如果系统管理员日常需要确定哪些系统缺少最新安全修复程序,或哪些软件组合已经过测试,这对他们来说十分重要。对于同一数字的每个版本,均可以保证包含相同版本的软件,因此在运行同一版本的 |CL| 的两个系统之间不会产生混淆。" #: ../../tooling/swupd-guide.rst:55 msgid "Updating" -msgstr "" +msgstr "更新中" #: ../../tooling/swupd-guide.rst:57 msgid "" @@ -107,7 +106,7 @@ msgid "" "*manifests*, which list and describe file contents, symlinks, and " "directories. Additionally, the actual content is provided to clients in " "the form of archive files." -msgstr "" +msgstr "|CL| 默认强制定期更新操作系统,并自动对照版本服务器检查是否存在更新。内容服务器提供针对所有版本的文件和元数据内容,并可与版本服务器相同。内容 URL 服务器以 *清单* 形式提供元数据,列出并描述文件内容、符号链接和目录。此外,实际内容还会以存档文件的形式提供给客户端。" #: ../../tooling/swupd-guide.rst:65 msgid "" @@ -116,35 +115,35 @@ msgid "" "rather than entire packages. For example, it is quite common for an OS " "security patch to be as small as 15 KB. Using binary deltas, |CL| is able" " to apply only what is needed." -msgstr "" +msgstr "|CL| 的软件更新也十分高效。与基于软件包的发行版不同,:command:`swupd` 只会更新已更改的文件,而非整个软件包。例如,操作系统安全补丁大小经常只有 15 KB。通过使用二进制增量,|CL| 可只应用所需的内容。" #: ../../tooling/swupd-guide.rst:71 msgid "" "For details on how to generate update content for |CL|, see the " ":ref:`mixer ` tool." -msgstr "" +msgstr "有关如何为 |CL| 生成更新内容的详细信息,请参阅 :ref:`mixer ` 工具。" #: ../../tooling/swupd-guide.rst:75 msgid "How it works" -msgstr "" +msgstr "工作原理" #: ../../tooling/swupd-guide.rst:78 msgid "Prerequisites" -msgstr "" +msgstr "必备条件" #: ../../tooling/swupd-guide.rst:80 msgid "The device is on a well-connected network." -msgstr "" +msgstr "设备网络连接良好。" #: ../../tooling/swupd-guide.rst:81 msgid "" "The device is able to connect to an update server. The default server is:" " http://update.clearlinux.org" -msgstr "" +msgstr "设备可连接到更新服务器。默认服务器地址为:http://update.clearlinux.org" #: ../../tooling/swupd-guide.rst:85 msgid "Updates" -msgstr "" +msgstr "更新" #: ../../tooling/swupd-guide.rst:87 msgid "" @@ -152,11 +151,11 @@ msgid "" "demand. :command:`swupd` makes sure that regular updates are simple and " "secure. It can also check the validity of currently installed files and " "software, and can correct any problems." -msgstr "" +msgstr "|CL| 更新默认自动进行,但也可设为按需进行。:command:`swupd` 可确保定期更新既简单又安全。它还可检查当前已安装文件和软件的有效性,并可更正所有问题。" #: ../../tooling/swupd-guide.rst:93 msgid "Manifests" -msgstr "" +msgstr "清单" #: ../../tooling/swupd-guide.rst:95 msgid "" @@ -164,24 +163,24 @@ msgid "" "is the files that end up in the OS. The metadata contains relevant " "information to properly provision the data to the OS file system, as well" " as update the system and add or remove additional content to the OS." -msgstr "" +msgstr "|CL| 软件更新内容由数据和元数据组成。数据是指操作系统中的文件。元数据包含将数据正确配置到操作系统文件系统、更新系统以及向操作系统添加或删除其他内容所需的相关信息。" #: ../../tooling/swupd-guide.rst:100 msgid "" "The manifests are mostly long lists of hashes that describe content. Each" " bundle gets its own manifest file. There is a master manifest file that " "describes all manifests to tie it all together." -msgstr "" +msgstr "清单多为用于描述内容的长哈希列表。每个 bundle 文件均有自己的清单文件。主清单文件描述了所有清单,可以将其绑定在一起。" #: ../../tooling/swupd-guide.rst:105 msgid "Fullfiles, packs, and delta packs" -msgstr "" +msgstr "完整文件、数据包和增量包" #: ../../tooling/swupd-guide.rst:107 msgid "" "To speed up updates and optimize content delivery, update data " "provisioned to a system is obtained by one of the following methods:" -msgstr "" +msgstr "要加速更新并优化内容交付,可通过以下方法获取配置到系统的更新数据:" #: ../../tooling/swupd-guide.rst:110 msgid "" @@ -189,86 +188,86 @@ msgid "" "allows any |CL| to obtain the exact copy of the content for each version " "directly. This is used if the OS verification needs to replace a single " "file, for instance." -msgstr "" +msgstr "在每个版本中,始终会为每个文件生成 *完整文件*。此操作可让所有 |CL| 直接获取每个版本的精确内容副本。例如,如果操作系统验证需替换单个文件,则可使用此操作。" #: ../../tooling/swupd-guide.rst:115 msgid "" "*Packs* are available for some releases. They combine many files to speed" " up the creation of installation media and large updates." -msgstr "" +msgstr "*数据包* 可用于某些版本。它们将大量文件进行组合,从而加速安装介质制作过程,加快大型更新过程。" #: ../../tooling/swupd-guide.rst:118 msgid "" "*Delta packs* are an optimized version of packs that only contain updates" " (binary diffs). They cannot be used without having the original file " "content." -msgstr "" +msgstr "*增量包* 是只包含更新(二进制差异)的优化版本的数据包。如果没有原始文件内容,则无法使用。" #: ../../tooling/swupd-guide.rst:122 msgid "Bundle search" -msgstr "" +msgstr "bundle 文件搜索" #: ../../tooling/swupd-guide.rst:124 msgid "" ":command:`swupd` searches download manifest data for bundles that match " "the term. Enter only one term, or hyphenated term, per search. Use the " "command :command:`man swupd` to learn more." -msgstr "" +msgstr ":command:`swupd` 可搜索下载清单数据,查找与此字词匹配的 bundle 文件。每次搜索只输入一个字词或带连字符的字词。使用命令 :command:`man swupd`,了解更多信息。" #: ../../tooling/swupd-guide.rst:128 msgid "" "Only the base bundle is returned. Bundles can contain other bundles via " "includes. For more details, see `Bundle Definition Files`_ and its " "subdirectory bundles." -msgstr "" +msgstr "系统只返回基本 bundle 文件。bundle 文件可通过 include 包含其他 bundle 文件。有关更多详细信息,请参阅 `Bundle Definition Files`_ 及其子目录 bundle 文件。" #: ../../tooling/swupd-guide.rst:132 msgid "" "Bundles that are already installed are marked **(installed)** in search " "results." -msgstr "" +msgstr "已安装的 bundle 文件在搜索结果中标记为 **(已安装)**。" #: ../../tooling/swupd-guide.rst:135 msgid "Optionally, you can review our `bundles`_ on GitHub\\*." -msgstr "" +msgstr "您可以选择查看 GitHub\\* 上的 `bundles`_。" #: ../../tooling/swupd-guide.rst:138 msgid "Examples" -msgstr "" +msgstr "示例" #: ../../tooling/swupd-guide.rst:141 msgid "Example 1: Disable and enable automatic updates" -msgstr "" +msgstr "例 1:禁用和启用自动更新" #: ../../tooling/swupd-guide.rst:143 msgid "" "|CL| updates are automatic by default, but can be set to occur only on " "demand." -msgstr "" +msgstr "|CL| 更新默认自动进行,但也可设为按需进行。" #: ../../tooling/swupd-guide.rst:146 msgid "Verify your current auto-update setting." -msgstr "" +msgstr "验证当前的自动更新设置。" #: ../../tooling/swupd-guide.rst:156 msgid "Disable automatic updates." -msgstr "" +msgstr "禁用自动更新。" #: ../../tooling/swupd-guide.rst:170 msgid "Check manually for updates." -msgstr "" +msgstr "手动检查是否存在更新。" #: ../../tooling/swupd-guide.rst:176 msgid "Install an update after identifying one that you need." -msgstr "" +msgstr "确定所需的更新后对其进行安装。" #: ../../tooling/swupd-guide.rst:182 msgid "Re-enable automatic installs." -msgstr "" +msgstr "再次启用自动安装。" #: ../../tooling/swupd-guide.rst:191 msgid "Example 2: Find and install Kata Containers\\*" -msgstr "" +msgstr "例 2:查找并安装 Kata 容器\\*" #: ../../tooling/swupd-guide.rst:193 msgid "" @@ -276,171 +275,171 @@ msgid "" "container implementations, each Kata Container has its own kernel " "instance and runs on its own :abbr:`VM (Virtual Machine)` for improved " "security." -msgstr "" +msgstr "Kata 容器是一种常见的容器实现。与其他容器实现不同,每个 Kata 容器均有自己的内核实例,在自己的 :abbr:`VM (Virtual Machine)` 上运行,增强了安全性。" #: ../../tooling/swupd-guide.rst:198 msgid "" "|CL| makes it very easy to install, since you only need to add one bundle" " to use `Kata Containers`_: `containers-virt`_, despite a number of " "dependencies. Also, check out our tutorial: :ref:`kata`." -msgstr "" +msgstr "虽然存在大量依存关系,但由于您只需添加一个 bundle 文件便可使用 `Kata Containers`_ `containers-virt`_,因此 |CL| 大大简化了安装过程。此外,请查阅教程::ref:`kata`。" #: ../../tooling/swupd-guide.rst:202 msgid "Find the correct bundle." -msgstr "" +msgstr "找到正确的 bundle 文件。" #: ../../tooling/swupd-guide.rst:204 msgid "" "To return all possible matches for the search string, enter " ":command:`swupd search`, followed by 'kata':" -msgstr "" +msgstr "要返回搜索字符串的所有潜在匹配项,请输入 :command:`swupd search`,后跟“kata”:" #: ../../tooling/swupd-guide.rst:211 msgid "The output should be similar to:" -msgstr "" +msgstr "输出如下所示:" #: ../../tooling/swupd-guide.rst:229 msgid "" "If your search does not produce results with a specific term, shorten the" " search term. For example, use *kube* instead of *kubernetes*." -msgstr "" +msgstr "如果搜索结果中没有带特定字词,则请缩短搜索字词。例如,使用 *kube* 而非 *kubernetes*。" #: ../../tooling/swupd-guide.rst:232 msgid "Add the bundle." -msgstr "" +msgstr "添加 bundle 文件。" #: ../../tooling/swupd-guide.rst:240 msgid "To add multiple bundles, add a space followed by the bundle name." -msgstr "" +msgstr "要添加多个 bundle 文件,请添加一个空格,后跟 bundle 文件名称。" #: ../../tooling/swupd-guide.rst:242 msgid "The output of a successful installation should be similar to:" -msgstr "" +msgstr "成功安装的输出如下所示:" #: ../../tooling/swupd-guide.rst:261 msgid "Example 3: Verify and correct system file mismatch" -msgstr "" +msgstr "例 3:验证并更正系统文件不匹配错误" #: ../../tooling/swupd-guide.rst:263 msgid "" ":command:`swupd` can determine whether system directories and files have " "been added to, overwritten, removed, or modified (e.g., permissions)." -msgstr "" +msgstr ":command:`swupd` 可确定是否已添加、覆盖、删除或修改系统目录和文件(例如权限)。" #: ../../tooling/swupd-guide.rst:270 msgid "" "All directories that are watched by :command:`swupd` are verified " "according to the manifest data. Hash mismatches are flagged as follows:" -msgstr "" +msgstr ":command:`swupd` 所监控的所有目录均会根据清单数据进行验证。哈希不匹配项将按如下方式进行标记:" #: ../../tooling/swupd-guide.rst:287 msgid "" "In this case, Python\\* packages that were installed on top of the " "default install were flagged as mismatched. :command:`swupd` can be " "directed to ignore or fix issues based on command line options." -msgstr "" +msgstr "在此情况下,安装在默认安装之上的 Python\\* 软件包将被标记为不匹配。:command:`swupd` 可根据命令行选项指令来忽略或修复问题。" #: ../../tooling/swupd-guide.rst:291 msgid "" ":command:`swupd` can correct any issues it detects. Additional directives" " can be added including a white list of directories to be ignored." -msgstr "" +msgstr ":command:`swupd` 可更正检测到的所有问题。还可以添加其他指令,其中包括要忽略的目录的白名单。" #: ../../tooling/swupd-guide.rst:294 msgid "" "The following command repairs issues, removes unknown items, and ignores " "files or directories matching :file:`/usr/lib/python`:" -msgstr "" +msgstr "以下命令可修复问题,删除未知项目,忽略匹配 :file:`/usr/lib/python` 的文件或目录:" #: ../../tooling/swupd-guide.rst:302 msgid "Quick reference" -msgstr "" +msgstr "快速参考" #: ../../tooling/swupd-guide.rst:305 msgid "swupd info" -msgstr "" +msgstr "swupd info" #: ../../tooling/swupd-guide.rst:305 msgid "Returns the currently installed version and update servers." -msgstr "" +msgstr "返回当前安装的版本和更新服务器。" #: ../../tooling/swupd-guide.rst:309 msgid "swupd update " -msgstr "" +msgstr "swupd update " #: ../../tooling/swupd-guide.rst:308 msgid "" "Updates to a specific version or updates to latest version if no " "arguments are used." -msgstr "" +msgstr "如果未使用参数,则更新到特定版本或最新版本。" #: ../../tooling/swupd-guide.rst:312 msgid "swupd bundle-list [--all]" -msgstr "" +msgstr "swupd bundle-list [--all]" #: ../../tooling/swupd-guide.rst:312 msgid "Lists installed bundles." -msgstr "" +msgstr "列出已安装的 bundle 文件。" #: ../../tooling/swupd-guide.rst:315 msgid "swupd bundle-add [-b] " -msgstr "" +msgstr "swupd bundle-add [-b] " #: ../../tooling/swupd-guide.rst:315 msgid "Finds a bundle that contains your search term." -msgstr "" +msgstr "查找包含搜索字词的 bundle 文件。" #: ../../tooling/swupd-guide.rst:318 msgid "swupd bundle-add " -msgstr "" +msgstr "swupd bundle-add " #: ../../tooling/swupd-guide.rst:318 msgid "Adds a bundle." -msgstr "" +msgstr "添加 bundle 文件。" #: ../../tooling/swupd-guide.rst:321 msgid "swupd bundle-remove " -msgstr "" +msgstr "swupd bundle-remove " #: ../../tooling/swupd-guide.rst:321 msgid "Removes a bundle." -msgstr "" +msgstr "删除 bundle 文件。" #: ../../tooling/swupd-guide.rst:324 msgid "swupd --help" -msgstr "" +msgstr "swupd --help" #: ../../tooling/swupd-guide.rst:324 msgid "Lists additional :command:`swupd` commands." -msgstr "" +msgstr "列出其他 :command:`swupd` 命令。" #: ../../tooling/swupd-guide.rst:327 msgid "man swupd" -msgstr "" +msgstr "man swupd" #: ../../tooling/swupd-guide.rst:327 msgid "Opens the :command:`swupd` man page." -msgstr "" +msgstr "打开 :command:`swupd` 手册页。" #: ../../tooling/swupd-guide.rst:329 msgid "Refer to `swupd source documentation`_ on GitHub for more details." -msgstr "" +msgstr "请参阅 GitHub 上的 `swupd source documentation`_,了解更多详细信息。" #: ../../tooling/swupd-guide.rst:332 msgid "Related topics" -msgstr "" +msgstr "相关主题" #: ../../tooling/swupd-guide.rst:334 msgid ":ref:`autospec`" -msgstr "" +msgstr ":ref:`autospec`" #: ../../tooling/swupd-guide.rst:335 msgid ":ref:`mixer`" -msgstr "" +msgstr ":ref:`mixer`" #: ../../tooling/swupd-guide.rst:336 msgid ":ref:`bundles`" -msgstr "" +msgstr ":ref:`bundles`" #~ msgid "" #~ "|CL| makes it very easy to " @@ -457,3 +456,4 @@ msgstr "" #~ "details." #~ msgstr "" +