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

Skip to content

Commit 7f6e3e8

Browse files
committed
[po] auto sync bot
1 parent d30cc94 commit 7f6e3e8

2 files changed

Lines changed: 17 additions & 13 deletions

File tree

faq/programming.po

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -892,13 +892,13 @@ msgid ""
892892
"names\" of particular values. Unless you are deliberately writing "
893893
"introspective programs, this is usually an indication that a change of "
894894
"approach might be beneficial."
895-
msgstr ""
895+
msgstr "一般来说你的代码应该没有必要“知道”特定值的名称。 除非你是在编写特殊的内省程序,出现这样的问题通常表明如果改变方式可能会更有利。"
896896

897897
#: ../../faq/programming.rst:687
898898
msgid ""
899899
"In comp.lang.python, Fredrik Lundh once gave an excellent analogy in answer "
900900
"to this question:"
901-
msgstr ""
901+
msgstr "在 comp.lang.python 中,Fredrik Lundh 在回答这样的问题时曾经给出过一个绝佳的类比:"
902902

903903
#: ../../faq/programming.rst:690
904904
msgid ""
@@ -907,51 +907,53 @@ msgid ""
907907
"so the only way to find out what it's called is to ask all your neighbours "
908908
"(namespaces) if it's their cat (object)..."
909909
msgstr ""
910+
"跟你找出在你家门廊见到的某只猫的名字所用的办法一样:猫(对象)自己无法告诉你它的名字,它根本就不在乎 —— "
911+
"所以找出它叫什么名字的唯一办法是问你的所有邻居(命名空间)那是不是他们的猫(对象)……"
910912

911913
#: ../../faq/programming.rst:695
912914
msgid ""
913915
"....and don't be surprised if you'll find that it's known by many names, or "
914916
"no name at all!"
915-
msgstr ""
917+
msgstr "……并且如果你发现它有很多名字或根本没有名字也不必觉得惊讶!"
916918

917919
#: ../../faq/programming.rst:700
918920
msgid "What's up with the comma operator's precedence?"
919921
msgstr "逗号运算符的优先级是什么?"
920922

921923
#: ../../faq/programming.rst:702
922924
msgid "Comma is not an operator in Python. Consider this session::"
923-
msgstr ""
925+
msgstr "逗号在 Python 中不是运算符。 考虑这个例子::"
924926

925927
#: ../../faq/programming.rst:707
926928
msgid ""
927929
"Since the comma is not an operator, but a separator between expressions the "
928930
"above is evaluated as if you had entered::"
929-
msgstr ""
931+
msgstr "由于逗号不是运算符而是表达式之间的分隔符,以上代码的含义就相当于::"
930932

931933
#: ../../faq/programming.rst:712
932934
msgid "not::"
933-
msgstr ""
935+
msgstr "而不是::"
934936

935937
#: ../../faq/programming.rst:716
936938
msgid ""
937939
"The same is true of the various assignment operators (``=``, ``+=`` etc). "
938940
"They are not truly operators but syntactic delimiters in assignment "
939941
"statements."
940-
msgstr ""
942+
msgstr "对于各种赋值运算符 (``=``, ``+=`` 等) 来说同样如此。 它们并不是真正的运算符而是赋值语句中的语法分隔符。"
941943

942944
#: ../../faq/programming.rst:721
943945
msgid "Is there an equivalent of C's \"?:\" ternary operator?"
944-
msgstr ""
946+
msgstr "是否有与 C 的 \"?:\" 三目运算符等价的东西?"
945947

946948
#: ../../faq/programming.rst:723
947949
msgid "Yes, there is. The syntax is as follows::"
948-
msgstr ""
950+
msgstr "有的。 相应语法如下::"
949951

950952
#: ../../faq/programming.rst:730
951953
msgid ""
952954
"Before this syntax was introduced in Python 2.5, a common idiom was to use "
953955
"logical operators::"
954-
msgstr ""
956+
msgstr "在 Python 2.5 引入此语法之前,常见的做法是使用逻辑运算符::"
955957

956958
#: ../../faq/programming.rst:735
957959
msgid ""

howto/logging-cookbook.po

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
# 欢 王 <[email protected]>, 2018
99
# Meng Du <[email protected]>, 2019
1010
# MuSheng Chen <[email protected]>, 2019
11-
# Freesand Leo <[email protected]>, 2019
1211
# 非法操作 <[email protected]>, 2019
12+
# Freesand Leo <[email protected]>, 2019
1313
#
1414
#, fuzzy
1515
msgid ""
@@ -18,7 +18,7 @@ msgstr ""
1818
"Report-Msgid-Bugs-To: \n"
1919
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
2020
"PO-Revision-Date: 2017-02-16 17:45+0000\n"
21-
"Last-Translator: 非法操作 <ultrahe@gmail.com>, 2019\n"
21+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2019\n"
2222
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2323
"MIME-Version: 1.0\n"
2424
"Content-Type: text/plain; charset=UTF-8\n"
@@ -551,7 +551,9 @@ msgid ""
551551
"usage pattern, the logging package provides a "
552552
":class:`~handlers.RotatingFileHandler`::"
553553
msgstr ""
554-
"有时,你希望当日志文件不断记录增长至一定大小时,打开一个新的文件接着记录。你可能希望只保留一定数量的日志文件,当不断的创建文件到达该数量时,又覆盖掉最开始的文件形成循环。对于这种使用场景,日志包提供了:class:`~handlers.RotatingFileHandler`::"
554+
"有时,你希望当日志文件不断记录增长至一定大小时,打开一个新的文件接着记录。 "
555+
"你可能希望只保留一定数量的日志文件,当不断的创建文件到达该数量时,又覆盖掉最开始的文件形成循环。 对于这种使用场景,日志包提供了 "
556+
":class:`~handlers.RotatingFileHandler`::"
555557

556558
#: ../../howto/logging-cookbook.rst:990
557559
msgid ""

0 commit comments

Comments
 (0)