|
8 | 8 | msgstr ""
|
9 | 9 | "Project-Id-Version: Python 2.7\n"
|
10 | 10 | "Report-Msgid-Bugs-To: \n"
|
11 |
| -"POT-Creation-Date: 2018-01-21 01:52+0900\n" |
12 |
| -"PO-Revision-Date: 2017-09-22 17:57+0000\n" |
| 11 | +"POT-Creation-Date: 2018-03-03 12:40+0900\n" |
| 12 | +"PO-Revision-Date: 2018-03-03 03:54+0000\n" |
13 | 13 | "Last-Translator: cocoatomo\n"
|
14 | 14 | "Language-Team: Japanese (http://www.transifex.com/python-doc/python-27/language/ja/)\n"
|
15 | 15 | "MIME-Version: 1.0\n"
|
@@ -160,33 +160,23 @@ msgstr "ソースコードの文字コード"
|
160 | 160 |
|
161 | 161 | #: ../../tutorial/interpreter.rst:129
|
162 | 162 | msgid ""
|
163 |
| -"By default, Python source files are treated as encoded in UTF-8. In that " |
164 |
| -"encoding, characters of most languages in the world can be used " |
165 |
| -"simultaneously in string literals, identifiers and comments --- although the" |
166 |
| -" standard library only uses ASCII characters for identifiers, a convention " |
167 |
| -"that any portable code should follow. To display all these characters " |
168 |
| -"properly, your editor must recognize that the file is UTF-8, and it must use" |
169 |
| -" a font that supports all the characters in the file." |
170 |
| -msgstr "デフォルトでは、Python のソースコードは UTF-8 でエンコードされているものとして扱われます。UTF-8 では、世界中のほとんどの言語の文字を同時に文字列リテラルや識別子やコメント中に書くことができます。--- ただし、標準ライブラリは識別子に ASCII 文字のみを利用していて、その他のポータブルなコードもその慣習に従うべきです。それらの文字を正しく表示するためには、エディターはそのファイルが UTF-8 である事を識別して、そのファイルに含まれている文字を全てサポートしたフォントを使わなければなりません。" |
| 163 | +"By default, Python source files are treated as encoded in ASCII. To declare " |
| 164 | +"an encoding other than the default one, a special comment line should be " |
| 165 | +"added as the *first* line of the file. The syntax is as follows::" |
| 166 | +msgstr "" |
171 | 167 |
|
172 |
| -#: ../../tutorial/interpreter.rst:137 |
173 |
| -msgid "" |
174 |
| -"To declare an encoding other than the default one, a special comment line " |
175 |
| -"should be added as the *first* line of the file. The syntax is as follows::" |
176 |
| -msgstr "デフォルトエンコーディング以外のエンコーディングを使用するには\nファイルの *先頭*の行に特別なコメントを追加しなければなりません。書式は以下の通りです::" |
177 |
| - |
178 |
| -#: ../../tutorial/interpreter.rst:142 |
| 168 | +#: ../../tutorial/interpreter.rst:135 |
179 | 169 | msgid ""
|
180 | 170 | "where *encoding* is one of the valid :mod:`codecs` supported by Python."
|
181 | 171 | msgstr "*encoding* には、Python が :mod:`codecs` でサポートしている有効なエンコーディングを指定します。"
|
182 | 172 |
|
183 |
| -#: ../../tutorial/interpreter.rst:144 |
| 173 | +#: ../../tutorial/interpreter.rst:137 |
184 | 174 | msgid ""
|
185 | 175 | "For example, to declare that Windows-1252 encoding is to be used, the first "
|
186 | 176 | "line of your source code file should be::"
|
187 | 177 | msgstr "例えば、Windows-1252 エンコーディングを使用するには、ソースコードファイルの先頭行は下記のとおりとなります::"
|
188 | 178 |
|
189 |
| -#: ../../tutorial/interpreter.rst:149 |
| 179 | +#: ../../tutorial/interpreter.rst:142 |
190 | 180 | msgid ""
|
191 | 181 | "One exception to the *first line* rule is when the source code starts with a"
|
192 | 182 | " :ref:`UNIX \"shebang\" line <tut-scripts>`. In this case, the encoding "
|
|
0 commit comments