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

Skip to content

Commit 8078f82

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent 0da90dd commit 8078f82

File tree

2 files changed

+6831
-6788
lines changed

2 files changed

+6831
-6788
lines changed

faq/design.po

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ msgid ""
2020
msgstr ""
2121
"Project-Id-Version: Python 3.9\n"
2222
"Report-Msgid-Bugs-To: \n"
23-
"POT-Creation-Date: 2021-03-16 05:43+0000\n"
23+
"POT-Creation-Date: 2021-06-22 06:42+0000\n"
2424
"PO-Revision-Date: 2017-02-16 17:42+0000\n"
2525
"Last-Translator: Mikami Akiko, 2021\n"
2626
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -1108,28 +1108,40 @@ msgid ""
11081108
msgstr "Python では実行時に名前束縛が解決され、後者はその解決が一度で済むため、これには実行速度をあげる副作用もあります。"
11091109

11101110
#: ../../faq/design.rst:713
1111+
msgid "Why don't generators support the with statement?"
1112+
msgstr ""
1113+
1114+
#: ../../faq/design.rst:715
1115+
msgid ""
1116+
"For technical reasons, a generator used directly as a context manager would "
1117+
"not work correctly. When, as is most common, a generator is used as an "
1118+
"iterator run to completion, no closing is needed. When it is, wrap it as "
1119+
"\"contextlib.closing(generator)\" in the 'with' statment."
1120+
msgstr ""
1121+
1122+
#: ../../faq/design.rst:722
11111123
msgid "Why are colons required for the if/while/def/class statements?"
11121124
msgstr "if/while/def/class 文にコロンが必要なのはなぜですか?"
11131125

1114-
#: ../../faq/design.rst:715
1126+
#: ../../faq/design.rst:724
11151127
msgid ""
11161128
"The colon is required primarily to enhance readability (one of the results "
11171129
"of the experimental ABC language). Consider this::"
11181130
msgstr "主に可読性を高めるため (実験的な ABC 言語の結果の一つ) に、コロンが必要です::"
11191131

1120-
#: ../../faq/design.rst:721
1132+
#: ../../faq/design.rst:730
11211133
msgid "versus ::"
11221134
msgstr "と::"
11231135

1124-
#: ../../faq/design.rst:726
1136+
#: ../../faq/design.rst:735
11251137
msgid ""
11261138
"Notice how the second one is slightly easier to read. Notice further how a "
11271139
"colon sets off the example in this FAQ answer; it's a standard usage in "
11281140
"English."
11291141
msgstr ""
11301142
"を考えれば、後者のほうが少し読みやすいでしょう。さらに言えば、この FAQ の解答例は次のようになるでしょう。これは、英語の標準的な用法です。"
11311143

1132-
#: ../../faq/design.rst:729
1144+
#: ../../faq/design.rst:738
11331145
msgid ""
11341146
"Another minor reason is that the colon makes it easier for editors with "
11351147
"syntax highlighting; they can look for colons to decide when indentation "
@@ -1138,21 +1150,21 @@ msgid ""
11381150
msgstr ""
11391151
"他の小さな理由は、コロンによってエディタがシンタックスハイライトをしやすくなることです。プログラムテキストの手の込んだ解析をしなくても、コロンを探せばいつインデントを増やすべきかを決められます。"
11401152

1141-
#: ../../faq/design.rst:735
1153+
#: ../../faq/design.rst:744
11421154
msgid "Why does Python allow commas at the end of lists and tuples?"
11431155
msgstr "なぜ Python ではリストやタプルの最後にカンマがあっても良いのですか?"
11441156

1145-
#: ../../faq/design.rst:737
1157+
#: ../../faq/design.rst:746
11461158
msgid ""
11471159
"Python lets you add a trailing comma at the end of lists, tuples, and "
11481160
"dictionaries::"
11491161
msgstr "Python では、リスト、タプル、辞書の最後の要素の後端にカンマをつけても良いことになっています::"
11501162

1151-
#: ../../faq/design.rst:748
1163+
#: ../../faq/design.rst:757
11521164
msgid "There are several reasons to allow this."
11531165
msgstr "これを許すのには、いくつかの理由があります。"
11541166

1155-
#: ../../faq/design.rst:750
1167+
#: ../../faq/design.rst:759
11561168
msgid ""
11571169
"When you have a literal value for a list, tuple, or dictionary spread across"
11581170
" multiple lines, it's easier to add more elements because you don't have to "
@@ -1161,13 +1173,13 @@ msgid ""
11611173
msgstr ""
11621174
"リストやタプルや辞書のリテラルが複数行に渡っているときに、前の行にカンマを追加するのを覚えておく必要が無いため、要素を追加するのが楽になります。また、文法エラーを起こすこと無く、行の並べ替えを行うことができます。"
11631175

1164-
#: ../../faq/design.rst:755
1176+
#: ../../faq/design.rst:764
11651177
msgid ""
11661178
"Accidentally omitting the comma can lead to errors that are hard to "
11671179
"diagnose. For example::"
11681180
msgstr "間違えてカンマを落としてしまうと、診断しづらいエラーにつながります。例えば::"
11691181

1170-
#: ../../faq/design.rst:765
1182+
#: ../../faq/design.rst:774
11711183
msgid ""
11721184
"This list looks like it has four elements, but it actually contains three: "
11731185
"\"fee\", \"fiefoo\" and \"fum\". Always adding the comma avoids this source"
@@ -1177,7 +1189,7 @@ msgstr ""
11771189
"\"fee\"\"fiefoo\"\"fum\" です。\n"
11781190
"常にカンマを付けるようにすれば、この種のエラーが避けられます。"
11791191

1180-
#: ../../faq/design.rst:768
1192+
#: ../../faq/design.rst:777
11811193
msgid ""
11821194
"Allowing the trailing comma may also make programmatic code generation "
11831195
"easier."

0 commit comments

Comments
 (0)