Skip to content

Commit 36aa03b

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent 95ec053 commit 36aa03b

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

library/pathlib.po

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,9 @@ msgid ""
444444
"doesn't have a suffix, the new *suffix* is appended instead. If the "
445445
"*suffix* is an empty string, the original suffix is removed::"
446446
msgstr ""
447+
":attr:`suffix` を変更した新しいパスを返します。\n"
448+
"元のパスに suffix が無かった場合、代わりに新しい *suffix* が追加されます。\n"
449+
"*suffix* が空文字列だった場合、元の suffix は除去されます::"
447450

448451
#: ../../library/pathlib.rst:580
449452
msgid "Concrete paths"

library/string.po

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ msgstr ""
134134
msgid ""
135135
"A format string argument is now :ref:`positional-only <positional-"
136136
"only_parameter>`."
137-
msgstr ""
137+
msgstr "フォーマット文字列は :ref:`位置のみ <positional-only_parameter>` の引数となりました。"
138138

139139
#: ../../library/string.rst:104
140140
msgid ""
@@ -355,11 +355,13 @@ msgid ""
355355
"The positional argument specifiers can be omitted for :meth:`str.format`, so"
356356
" ``'{} {}'.format(a, b)`` is equivalent to ``'{0} {1}'.format(a, b)``."
357357
msgstr ""
358+
":meth:`str.format` を使い、位置引数指定を省略することができます。\n"
359+
"``'{} {}'.format(a, b)`` は ``'{0} {1}'.format(a, b)`` と同じになります。"
358360

359361
#: ../../library/string.rst:237
360362
msgid ""
361363
"The positional argument specifiers can be omitted for :class:`Formatter`."
362-
msgstr ""
364+
msgstr ":class:`Formatter` を使い、位置引数指定を省略することができます。"
363365

364366
#: ../../library/string.rst:240
365367
msgid "Some simple format string examples::"
@@ -805,7 +807,7 @@ msgstr "``'f'``"
805807
msgid ""
806808
"Fixed-point notation. Displays the number as a fixed-point number. The "
807809
"default precision is ``6``."
808-
msgstr ""
810+
msgstr "固定小数点数表記です。数値を固定小数点数として表示します。デフォルトの精度は ``6`` です。"
809811

810812
#: ../../library/string.rst:470
811813
msgid "``'F'``"
@@ -816,6 +818,7 @@ msgid ""
816818
"Fixed-point notation. Same as ``'f'``, but converts ``nan`` to ``NAN`` and "
817819
"``inf`` to ``INF``."
818820
msgstr ""
821+
"固定小数点数表記です。``nan`` が ``NAN`` に、``inf`` が ``INF`` に変換されることを除き ``'f'`` と同じです。"
819822

820823
#: ../../library/string.rst:473
821824
msgid "``'g'``"
@@ -986,12 +989,15 @@ msgid ""
986989
"template strings for i18n, see the `flufl.i18n "
987990
"<http://flufli18n.readthedocs.io/en/latest/>`_ package."
988991
msgstr ""
992+
"テンプレート文字列では :pep:`292` で解説されている単純な文字列置換ができます。\n"
993+
"テンプレート文字列の主な使い道は国際化 (i18n) です。というのは、その国際化の文脈において、より簡潔な文法と機能を持つテンプレート文字列を使うと、 Python にある他の組み込みの文字列フォーマット機能よりも翻訳がしやすいからです。\n"
994+
"テンプレート文字列の上に構築された国際化のためのライプラリの例として、 `flufl.i18n <http://flufli18n.readthedocs.io/en/latest/>`_ を調べてみてください。"
989995

990996
#: ../../library/string.rst:671
991997
msgid ""
992998
"Template strings support ``$``-based substitutions, using the following "
993999
"rules:"
994-
msgstr ""
1000+
msgstr "テンプレート文字列は ``$`` に基づいた置換をサポートしていて、次の規則が使われています:"
9951001

9961002
#: ../../library/string.rst:673
9971003
msgid "``$$`` is an escape; it is replaced with a single ``$``."
@@ -1112,6 +1118,10 @@ msgid ""
11121118
"change the delimiter after class creation (i.e. a different delimiter must "
11131119
"be set in the subclass's class namespace)."
11141120
msgstr ""
1121+
"*delimiter* -- プレースホルダの開始を示すリテラル文字列です。\n"
1122+
"デフォルトの値は ``$`` です。\n"
1123+
"実装系はこの文字列に対して必要に応じて :meth:`re.escape` を呼び出すので、正規表現になってしまうような文字列にしては *なりません* 。\n"
1124+
"さらにクラスを作成した後に delimiter を変更できない (つまり、別の delimiter を設定したいのであれば、サブクラスの名前空間で行わなければならない) ことに注意してください。"
11151125

11161126
#: ../../library/string.rst:759
11171127
msgid ""

0 commit comments

Comments
 (0)