Skip to content

Commit ec9dba3

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent ed0eec4 commit ec9dba3

File tree

13 files changed

+249
-51
lines changed

13 files changed

+249
-51
lines changed

library/collections.abc.po

Lines changed: 62 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@
55
#
66
# Translators:
77
# tomo, 2022
8-
# Takeshi Nakazato, 2022
98
# souma987, 2023
109
# TENMYO Masakazu, 2024
1110
# 石井明久, 2024
1211
# Takanori Suzuki <takanori@takanory.net>, 2024
12+
# Takeshi Nakazato, 2024
1313
#
1414
#, fuzzy
1515
msgid ""
1616
msgstr ""
1717
"Project-Id-Version: Python 3.13\n"
1818
"Report-Msgid-Bugs-To: \n"
19-
"POT-Creation-Date: 2024-09-13 14:16+0000\n"
19+
"POT-Creation-Date: 2024-09-20 14:17+0000\n"
2020
"PO-Revision-Date: 2021-06-28 00:56+0000\n"
21-
"Last-Translator: Takanori Suzuki <takanori@takanory.net>, 2024\n"
21+
"Last-Translator: Takeshi Nakazato, 2024\n"
2222
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
2323
"ja/)\n"
2424
"MIME-Version: 1.0\n"
@@ -80,6 +80,12 @@ msgid ""
8080
" def __len__(self): ... # Required abstract method\n"
8181
" def count(self, value): ... # Optionally override a mixin method"
8282
msgstr ""
83+
"class C(Sequence): # Direct inheritance\n"
84+
" def __init__(self): ... # Extra method not required by the "
85+
"ABC\n"
86+
" def __getitem__(self, index): ... # Required abstract method\n"
87+
" def __len__(self): ... # Required abstract method\n"
88+
" def count(self, value): ... # Optionally override a mixin method"
8389

8490
#: ../../library/collections.abc.rst:43
8591
msgid ""
@@ -88,6 +94,10 @@ msgid ""
8894
">>> isinstance(C(), Sequence)\n"
8995
"True"
9096
msgstr ""
97+
">>> issubclass(C, Sequence)\n"
98+
"True\n"
99+
">>> isinstance(C(), Sequence)\n"
100+
"True"
91101

92102
#: ../../library/collections.abc.rst:50
93103
msgid ""
@@ -117,6 +127,15 @@ msgid ""
117127
"\n"
118128
"Sequence.register(D) # Register instead of inherit"
119129
msgstr ""
130+
"class D: # No inheritance\n"
131+
" def __init__(self): ... # Extra method not required by the "
132+
"ABC\n"
133+
" def __getitem__(self, index): ... # Abstract method\n"
134+
" def __len__(self): ... # Abstract method\n"
135+
" def count(self, value): ... # Mixin method\n"
136+
" def index(self, value): ... # Mixin method\n"
137+
"\n"
138+
"Sequence.register(D) # Register instead of inherit"
120139

121140
#: ../../library/collections.abc.rst:69
122141
msgid ""
@@ -125,6 +144,10 @@ msgid ""
125144
">>> isinstance(D(), Sequence)\n"
126145
"True"
127146
msgstr ""
147+
">>> issubclass(D, Sequence)\n"
148+
"True\n"
149+
">>> isinstance(D(), Sequence)\n"
150+
"True"
128151

129152
#: ../../library/collections.abc.rst:76
130153
msgid ""
@@ -154,6 +177,9 @@ msgid ""
154177
" def __iter__(self): ...\n"
155178
" def __next__(self): ..."
156179
msgstr ""
180+
"class E:\n"
181+
" def __iter__(self): ...\n"
182+
" def __next__(self): ..."
157183

158184
#: ../../library/collections.abc.rst:92
159185
msgid ""
@@ -162,6 +188,10 @@ msgid ""
162188
">>> isinstance(E(), Iterable)\n"
163189
"True"
164190
msgstr ""
191+
">>> issubclass(E, Iterable)\n"
192+
"True\n"
193+
">>> isinstance(E(), Iterable)\n"
194+
"True"
165195

166196
#: ../../library/collections.abc.rst:99
167197
msgid ""
@@ -566,6 +596,8 @@ msgid ""
566596
"See :ref:`annotating-callables` for details on how to use :class:`!Callable` "
567597
"in type annotations."
568598
msgstr ""
599+
":class:`!Callable` を型アノテーションで使う方法の詳細は、 :ref:`annotating-"
600+
"callables` を参照してください。"
569601

570602
#: ../../library/collections.abc.rst:224
571603
msgid "ABC for classes that provide the :meth:`~container.__iter__` method."
@@ -621,6 +653,8 @@ msgid ""
621653
"See :ref:`annotating-generators-and-coroutines` for details on using :class:"
622654
"`!Generator` in type annotations."
623655
msgstr ""
656+
":class:`!Generator` を型アノテーションで使う方法の詳細は、 :ref:`annotating-"
657+
"generators-and-coroutines` を参照してください。"
624658

625659
#: ../../library/collections.abc.rst:268
626660
msgid "ABCs for read-only and mutable :term:`sequences <sequence>`."
@@ -802,6 +836,9 @@ msgid ""
802836
"if isinstance(myvar, collections.abc.Sized):\n"
803837
" size = len(myvar)"
804838
msgstr ""
839+
"size = None\n"
840+
"if isinstance(myvar, collections.abc.Sized):\n"
841+
" size = len(myvar)"
805842

806843
#: ../../library/collections.abc.rst:388
807844
msgid ""
@@ -843,6 +880,28 @@ msgid ""
843880
"overlap = s1 & s2 # The __and__() method is supported "
844881
"automatically"
845882
msgstr ""
883+
"class ListBasedSet(collections.abc.Set):\n"
884+
" ''' Alternate set implementation favoring space over speed\n"
885+
" and not requiring the set elements to be hashable. '''\n"
886+
" def __init__(self, iterable):\n"
887+
" self.elements = lst = []\n"
888+
" for value in iterable:\n"
889+
" if value not in lst:\n"
890+
" lst.append(value)\n"
891+
"\n"
892+
" def __iter__(self):\n"
893+
" return iter(self.elements)\n"
894+
"\n"
895+
" def __contains__(self, value):\n"
896+
" return value in self.elements\n"
897+
"\n"
898+
" def __len__(self):\n"
899+
" return len(self.elements)\n"
900+
"\n"
901+
"s1 = ListBasedSet('abcdef')\n"
902+
"s2 = ListBasedSet('defghi')\n"
903+
"overlap = s1 & s2 # The __and__() method is supported "
904+
"automatically"
846905

847906
#: ../../library/collections.abc.rst:417
848907
msgid "Notes on using :class:`Set` and :class:`MutableSet` as a mixin:"

library/configparser.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@
1111
# Yusuke Miyazaki <miyazaki.dev@gmail.com>, 2023
1212
# Arihiro TAKASE, 2023
1313
# Masato HASHIMOTO <cabezon.hashimoto@gmail.com>, 2023
14-
# Takeshi Nakazato, 2024
1514
# Taichi Haradaguchi, 2024
1615
# 石井明久, 2024
16+
# Takeshi Nakazato, 2024
1717
#
1818
#, fuzzy
1919
msgid ""
2020
msgstr ""
2121
"Project-Id-Version: Python 3.13\n"
2222
"Report-Msgid-Bugs-To: \n"
23-
"POT-Creation-Date: 2024-09-06 14:16+0000\n"
23+
"POT-Creation-Date: 2024-09-20 14:17+0000\n"
2424
"PO-Revision-Date: 2021-06-28 00:57+0000\n"
25-
"Last-Translator: 石井明久, 2024\n"
25+
"Last-Translator: Takeshi Nakazato, 2024\n"
2626
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
2727
"ja/)\n"
2828
"MIME-Version: 1.0\n"
@@ -2114,4 +2114,4 @@ msgstr ""
21142114

21152115
#: ../../library/configparser.rst:399
21162116
msgid "$ (dollar)"
2117-
msgstr ""
2117+
msgstr "$ (ダラー)"

library/gettext.po

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# Arihiro TAKASE, 2023
1212
# Rafael Fontenelle <rffontenelle@gmail.com>, 2023
1313
# 石井明久, 2024
14+
# Takeshi Nakazato, 2024
1415
#
1516
#, fuzzy
1617
msgid ""
@@ -19,7 +20,7 @@ msgstr ""
1920
"Report-Msgid-Bugs-To: \n"
2021
"POT-Creation-Date: 2024-09-20 14:17+0000\n"
2122
"PO-Revision-Date: 2021-06-28 01:06+0000\n"
22-
"Last-Translator: 石井明久, 2024\n"
23+
"Last-Translator: Takeshi Nakazato, 2024\n"
2324
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
2425
"ja/)\n"
2526
"MIME-Version: 1.0\n"
@@ -1114,7 +1115,7 @@ msgstr "上の :func:`bindtextdomain` に関する脚注を参照してくださ
11141115

11151116
#: ../../library/gettext.rst:56
11161117
msgid "_ (underscore)"
1117-
msgstr ""
1118+
msgstr "_ (下線)"
11181119

11191120
#: ../../library/gettext.rst:56
11201121
msgid "gettext"

library/os.path.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
# Arihiro TAKASE, 2023
1212
# Masato HASHIMOTO <cabezon.hashimoto@gmail.com>, 2023
1313
# tomo, 2023
14-
# Takeshi Nakazato, 2024
1514
# 石井明久, 2024
15+
# Takeshi Nakazato, 2024
1616
#
1717
#, fuzzy
1818
msgid ""
@@ -21,7 +21,7 @@ msgstr ""
2121
"Report-Msgid-Bugs-To: \n"
2222
"POT-Creation-Date: 2024-09-20 14:17+0000\n"
2323
"PO-Revision-Date: 2021-06-28 01:10+0000\n"
24-
"Last-Translator: 石井明久, 2024\n"
24+
"Last-Translator: Takeshi Nakazato, 2024\n"
2525
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
2626
"ja/)\n"
2727
"MIME-Version: 1.0\n"
@@ -801,7 +801,7 @@ msgstr "pwd"
801801

802802
#: ../../library/os.path.rst:184
803803
msgid "$ (dollar)"
804-
msgstr ""
804+
msgstr "$ (ダラー)"
805805

806806
#: ../../library/os.path.rst:184
807807
msgid "environment variables expansion"

library/re.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@
88
# Inada Naoki <songofacandy@gmail.com>, 2023
99
# TENMYO Masakazu, 2023
1010
# 秘湯 <xwhhsprings@gmail.com>, 2024
11-
# Takeshi Nakazato, 2024
1211
# 石井明久, 2024
1312
# Takanori Suzuki <takanori@takanory.net>, 2024
1413
# Arihiro TAKASE, 2024
14+
# Takeshi Nakazato, 2024
1515
#
1616
#, fuzzy
1717
msgid ""
1818
msgstr ""
1919
"Project-Id-Version: Python 3.13\n"
2020
"Report-Msgid-Bugs-To: \n"
21-
"POT-Creation-Date: 2024-09-06 14:16+0000\n"
21+
"POT-Creation-Date: 2024-09-20 14:17+0000\n"
2222
"PO-Revision-Date: 2021-06-28 01:12+0000\n"
23-
"Last-Translator: Arihiro TAKASE, 2024\n"
23+
"Last-Translator: Takeshi Nakazato, 2024\n"
2424
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
2525
"ja/)\n"
2626
"MIME-Version: 1.0\n"
@@ -3127,7 +3127,7 @@ msgstr "^ (キャレット)"
31273127

31283128
#: ../../library/re.rst:112
31293129
msgid "$ (dollar)"
3130-
msgstr ""
3130+
msgstr "$ (ダラー)"
31313131

31323132
#: ../../library/re.rst:123
31333133
msgid "* (asterisk)"
@@ -3167,7 +3167,7 @@ msgstr "?+"
31673167

31683168
#: ../../library/re.rst:181
31693169
msgid "{} (curly brackets)"
3170-
msgstr ""
3170+
msgstr "{} (波括弧)"
31713171

31723172
#: ../../library/re.rst:220 ../../library/re.rst:257 ../../library/re.rst:522
31733173
msgid "\\ (backslash)"

0 commit comments

Comments
 (0)