Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ff49926

Browse files
[po] auto sync
1 parent 134508b commit ff49926

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

howto/logging-cookbook.po

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1684,7 +1684,7 @@ msgstr "根据命令行参数确定日志级别"
16841684
msgid ""
16851685
"Dispatch to multiple subcommands in separate files, all logging at the same "
16861686
"level in a consistent way"
1687-
msgstr ""
1687+
msgstr "在单独的文件中分发多条子命令,同一级别的子命令均以一致的方式记录。"
16881688

16891689
#: ../../howto/logging-cookbook.rst:2598
16901690
msgid "Make use of simple, minimal configuration"
@@ -1700,20 +1700,23 @@ msgid ""
17001700
"verbosity of the application via a command-line argument, defaulting to "
17011701
"``logging.INFO``. Here's one way that ``app.py`` could be written::"
17021702
msgstr ""
1703+
"假定有一个命令行应用程序,用于停止、启动或重新启动某些服务。为了便于演示,不妨将 ``app.py`` 作为应用程序的主代码文件,并在 "
1704+
"``start.py``、 ``stop.py``和 ``restart.py`` "
1705+
"中实现单独的命令。再假定要通过命令行参数控制应用程序的日志粒度,默认为 ``logging.INFO`` 。以下是 ``app.py`` 的一个示例:"
17031706

17041707
#: ../../howto/logging-cookbook.rst:2649
17051708
msgid ""
17061709
"And the ``start``, ``stop`` and ``restart`` commands can be implemented in "
17071710
"separate modules, like so for starting::"
1708-
msgstr ""
1711+
msgstr "``start``、``stop`` 和 ``restart`` 命令可以在单独的模块中实现,启动命令的代码可如下:"
17091712

17101713
#: ../../howto/logging-cookbook.rst:2662
17111714
msgid "and thus for stopping::"
1712-
msgstr ""
1715+
msgstr "然后是停止命令的代码:"
17131716

17141717
#: ../../howto/logging-cookbook.rst:2683
17151718
msgid "and similarly for restarting::"
1716-
msgstr ""
1719+
msgstr "重启命令类似:"
17171720

17181721
#: ../../howto/logging-cookbook.rst:2704
17191722
msgid ""

0 commit comments

Comments
 (0)