Skip to content

Commit 242bdce

Browse files
authored
#1127 translate library/string.templatelib.po
1 parent fb0f609 commit 242bdce

1 file changed

Lines changed: 82 additions & 38 deletions

File tree

‎library/string.templatelib.po‎

Lines changed: 82 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -8,39 +8,39 @@ msgstr ""
88
"Project-Id-Version: Python 3.14\n"
99
"Report-Msgid-Bugs-To: \n"
1010
"POT-Creation-Date: 2025-10-11 20:40+0000\n"
11-
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12-
"Last-Translator: Editorial (https://python.flowdas.com)\n"
11+
"PO-Revision-Date: 2026-09-27 12:00+0000\n"
12+
"Last-Translator: Seungpyo1007 <rush94434@gmail.com>\n"
1313
"Language: ko\n"
1414
"Language-Team: ko <LL@li.org>\n"
1515
"Plural-Forms: nplurals=1; plural=0;\n"
1616
"MIME-Version: 1.0\n"
1717
"Content-Type: text/plain; charset=utf-8\n"
1818
"Content-Transfer-Encoding: 8bit\n"
19-
"Generated-By: Babel 2.17.0\n"
19+
"Generated-By: Babel 2.18.0\n"
2020

2121
#: ../../library/string.templatelib.rst:2
2222
msgid ":mod:`!string.templatelib` --- Support for template string literals"
23-
msgstr ""
23+
msgstr ":mod:`!string.templatelib` --- 템플릿 문자열 리터럴 지원"
2424

2525
#: ../../library/string.templatelib.rst:7
2626
msgid "**Source code:** :source:`Lib/string/templatelib.py`"
27-
msgstr ""
27+
msgstr "**소스 코드:** :source:`Lib/string/templatelib.py`"
2828

2929
#: ../../library/string.templatelib.rst:13
3030
msgid ":ref:`Format strings <f-strings>`"
31-
msgstr ""
31+
msgstr ":ref:`포맷 문자열 <f-strings>`"
3232

3333
#: ../../library/string.templatelib.rst:14
3434
msgid ":ref:`Template string literal (t-string) syntax <t-strings>`"
35-
msgstr ""
35+
msgstr ":ref:`템플릿 문자열 리터럴 (t-문자열) 문법 <t-strings>`"
3636

3737
#: ../../library/string.templatelib.rst:15
3838
msgid ":pep:`750`"
3939
msgstr ":pep:`750`"
4040

4141
#: ../../library/string.templatelib.rst:20
4242
msgid "Template strings"
43-
msgstr ""
43+
msgstr "템플릿 문자열"
4444

4545
#: ../../library/string.templatelib.rst:24
4646
msgid ""
@@ -50,10 +50,13 @@ msgid ""
5050
"interpolated (in curly brackets) parts of a string *before* they are "
5151
"combined."
5252
msgstr ""
53+
"템플릿 문자열은 커스텀 문자열 처리를 위한 메커니즘입니다. 파이썬 :ref:`f-strings`\\의 유연성을 그대로 가지면서도, "
54+
"문자열의 정적 부분과 (중괄호 안의) 보간된 부분이 결합되기 *전에* 그 부분들에 액세스할 수 있는 :class:`Template`"
55+
" 인스턴스를 반환합니다."
5356

5457
#: ../../library/string.templatelib.rst:30
5558
msgid "To write a t-string, use a ``'t'`` prefix instead of an ``'f'``, like so:"
56-
msgstr ""
59+
msgstr "t-문자열을 작성하려면, 다음과 같이 ``'f'`` 대신 ``'t'`` 접두사를 사용합니다:"
5760

5861
#: ../../library/string.templatelib.rst:32
5962
#, python-brace-format
@@ -74,14 +77,16 @@ msgstr ""
7477

7578
#: ../../library/string.templatelib.rst:42
7679
msgid "Types"
77-
msgstr ""
80+
msgstr "형"
7881

7982
#: ../../library/string.templatelib.rst:46
8083
msgid ""
8184
"The :class:`!Template` class describes the contents of a template string."
8285
" It is immutable, meaning that attributes of a template cannot be "
8386
"reassigned."
8487
msgstr ""
88+
":class:`!Template` 클래스는 템플릿 문자열의 내용을 나타냅니다. 불변이기 때문에 템플릿의 어트리뷰트를 다시 대입할 수"
89+
" 없습니다."
8590

8691
#: ../../library/string.templatelib.rst:49
8792
msgid ""
@@ -90,13 +95,19 @@ msgid ""
9095
"identical to that of :ref:`f-strings <f-strings>`, except that it uses a "
9196
"``t`` prefix in place of an ``f``:"
9297
msgstr ""
98+
":class:`!Template` 인스턴스를 만드는 가장 흔한 방법은 :ref:`템플릿 문자열 리터럴 문법 "
99+
"<t-strings>`\\을 사용하는 것입니다. 이 문법은 ``f`` 대신 ``t`` 접두사를 사용한다는 점을 제외하면 "
100+
":ref:`f-문자열 <f-strings>`\\의 문법과 같습니다:"
93101

94102
#: ../../library/string.templatelib.rst:59
95103
msgid ""
96104
"Templates are stored as sequences of literal :attr:`~Template.strings` "
97105
"and dynamic :attr:`~Template.interpolations`. A :attr:`~Template.values` "
98106
"attribute holds the values of the interpolations:"
99107
msgstr ""
108+
"템플릿은 리터럴 :attr:`~Template.strings`\\와 동적 "
109+
":attr:`~Template.interpolations`\\의 시퀀스로 저장됩니다. :attr:`~Template.values` "
110+
"어트리뷰트는 보간의 값들을 담습니다:"
100111

101112
#: ../../library/string.templatelib.rst:72
102113
msgid ""
@@ -105,6 +116,8 @@ msgid ""
105116
"between the strings. This may be easier to understand when tuples are "
106117
"aligned"
107118
msgstr ""
119+
":attr:`!strings` 튜플은 :attr:`!interpolations`\\와 :attr:`!values`\\보다 요소가 "
120+
"하나 더 많습니다; 보간은 문자열들 사이에 “속합니다”. 튜플을 나란히 정렬해 보면 이해하기 쉽습니다"
108121

109122
#: ../../library/string.templatelib.rst:76
110123
msgid ""
@@ -117,54 +130,58 @@ msgstr ""
117130
#: ../../library/string.templatelib.rst:82
118131
#: ../../library/string.templatelib.rst:249
119132
msgid "Attributes"
120-
msgstr ""
133+
msgstr "어트리뷰트"
121134

122135
#: ../../library/string.templatelib.rst:86
123136
msgid "A :class:`tuple` of the static strings in the template."
124-
msgstr ""
137+
msgstr "템플릿에 있는 정적 문자열들의 :class:`tuple`."
125138

126139
#: ../../library/string.templatelib.rst:93
127140
msgid "Empty strings *are* included in the tuple:"
128-
msgstr ""
141+
msgstr "빈 문자열도 튜플에 *포함됩니다*:"
129142

130143
#: ../../library/string.templatelib.rst:101
131144
msgid ""
132145
"The ``strings`` tuple is never empty, and always contains one more string"
133146
" than the ``interpolations`` and ``values`` tuples:"
134147
msgstr ""
148+
"``strings`` 튜플은 절대 비어 있지 않으며, 항상 ``interpolations``\\와 ``values`` 튜플보다 "
149+
"문자열이 하나 더 많습니다:"
135150

136151
#: ../../library/string.templatelib.rst:116
137152
msgid "A :class:`tuple` of the interpolations in the template."
138-
msgstr ""
153+
msgstr "템플릿에 있는 보간들의 :class:`tuple`."
139154

140155
#: ../../library/string.templatelib.rst:123
141156
msgid ""
142157
"The ``interpolations`` tuple may be empty and always contains one fewer "
143158
"values than the ``strings`` tuple:"
144-
msgstr ""
159+
msgstr "``interpolations`` 튜플은 비어 있을 수 있으며, 항상 ``strings`` 튜플보다 값이 하나 적습니다:"
145160

146161
#: ../../library/string.templatelib.rst:132
147162
msgid "A tuple of all interpolated values in the template."
148-
msgstr ""
163+
msgstr "템플릿에 있는 모든 보간된 값들의 튜플."
149164

150165
#: ../../library/string.templatelib.rst:139
151166
msgid ""
152167
"The ``values`` tuple always has the same length as the ``interpolations``"
153168
" tuple. It is always equivalent to ``tuple(i.value for i in "
154169
"template.interpolations)``."
155170
msgstr ""
171+
"``values`` 튜플은 항상 ``interpolations`` 튜플과 길이가 같습니다. 항상 ``tuple(i.value for"
172+
" i in template.interpolations)``\\와 동등합니다."
156173

157174
#: ../../library/string.templatelib.rst:144
158175
#: ../../library/string.templatelib.rst:317
159176
msgid "Methods"
160-
msgstr ""
177+
msgstr "메서드"
161178

162179
#: ../../library/string.templatelib.rst:147
163180
msgid ""
164181
"While literal syntax is the most common way to create a "
165182
":class:`!Template`, it is also possible to create them directly using the"
166183
" constructor:"
167-
msgstr ""
184+
msgstr ":class:`!Template`\\을 만드는 가장 흔한 방법은 리터럴 문법이지만, 생성자를 사용해서 직접 만들 수도 있습니다:"
168185

169186
#: ../../library/string.templatelib.rst:158
170187
msgid ""
@@ -173,6 +190,8 @@ msgid ""
173190
"example, the following code creates a :class:`Template` with a single "
174191
"final string:"
175192
msgstr ""
193+
"여러 문자열이 연속으로 전달되면, :attr:`~Template.strings` 어트리뷰트에서 하나의 값으로 이어붙여집니다. 예를 "
194+
"들어, 다음 코드는 최종 문자열이 하나인 :class:`Template`\\을 만듭니다:"
176195

177196
#: ../../library/string.templatelib.rst:167
178197
msgid ""
@@ -181,22 +200,24 @@ msgid ""
181200
"them. For example, the following code creates a template with empty "
182201
"placeholders in the :attr:`~Template.strings` attribute:"
183202
msgstr ""
203+
"여러 보간이 연속으로 전달되면, 각각 별도의 보간으로 취급되고 그 사이에 빈 문자열이 삽입됩니다. 예를 들어, 다음 코드는 "
204+
":attr:`~Template.strings` 어트리뷰트에 빈 자리 표시자가 있는 템플릿을 만듭니다:"
184205

185206
#: ../../library/string.templatelib.rst:182
186207
msgid ""
187208
"Iterate over the template, yielding each non-empty string and "
188209
":class:`Interpolation` in the correct order:"
189-
msgstr ""
210+
msgstr "템플릿을 이터레이트하면서, 비어 있지 않은 각 문자열과 :class:`Interpolation`\\을 올바른 순서로 산출합니다:"
190211

191212
#: ../../library/string.templatelib.rst:191
192213
msgid "Empty strings are **not** included in the iteration:"
193-
msgstr ""
214+
msgstr "빈 문자열은 이터레이션에 포함되지 **않습니다**:"
194215

195216
#: ../../library/string.templatelib.rst:204
196217
msgid ""
197218
"Concatenate this template with another, returning a new "
198219
":class:`!Template` instance:"
199-
msgstr ""
220+
msgstr "이 템플릿을 다른 템플릿과 이어붙여, 새 :class:`!Template` 인스턴스를 반환합니다:"
200221

201222
#: ../../library/string.templatelib.rst:211
202223
msgid ""
@@ -207,23 +228,29 @@ msgid ""
207228
"directly in a :class:`!Template` (to treat it as a static string) or use "
208229
"an :class:`!Interpolation` (to treat it as dynamic):"
209230
msgstr ""
231+
":class:`!Template`\\과 ``str``\\을 이어붙이는 것은 지원되지 **않습니다**. 문자열을 정적 문자열로 "
232+
"취급해야 할지 보간으로 취급해야 할지 분명하지 않기 때문입니다. :class:`!Template`\\을 문자열과 이어붙이려면, "
233+
"문자열을 :class:`!Template`\\으로 직접 감싸거나 (정적 문자열로 취급) "
234+
":class:`!Interpolation`\\을 사용해야 합니다 (동적으로 취급):"
210235

211236
#: ../../library/string.templatelib.rst:232
212237
msgid ""
213238
"The :class:`!Interpolation` type represents an expression inside a "
214239
"template string. It is immutable, meaning that attributes of an "
215240
"interpolation cannot be reassigned."
216241
msgstr ""
242+
":class:`!Interpolation` 형은 템플릿 문자열 안의 표현식을 나타냅니다. 불변이기 때문에 보간의 어트리뷰트를 다시 "
243+
"대입할 수 없습니다."
217244

218245
#: ../../library/string.templatelib.rst:235
219246
msgid ""
220247
"Interpolations support pattern matching, allowing you to match against "
221248
"their attributes with the :ref:`match statement <match>`:"
222-
msgstr ""
249+
msgstr "보간은 패턴 매칭을 지원하므로, :ref:`match 문 <match>`\\으로 어트리뷰트에 대해 매칭할 수 있습니다:"
223250

224251
#: ../../library/string.templatelib.rst:253
225252
msgid "The evaluated value of the interpolation."
226-
msgstr ""
253+
msgstr "보간의 평가된 값."
227254

228255
#: ../../library/string.templatelib.rst:261
229256
#, python-brace-format
@@ -235,21 +262,27 @@ msgid ""
235262
"manually created interpolations, :attr:`!expression` is the arbitrary "
236263
"string provided when constructing the interpolation instance."
237264
msgstr ""
265+
"t-문자열 리터럴로 만들어진 보간의 경우, :attr:`!expression`\\은 중괄호 (``{``\\와 ``}``) 안에 있는"
266+
" 표현식 텍스트입니다. 공백은 포함하고 중괄호 자체는 제외하며, ``!``, ``:``, ``=``\\가 있으면 그중 첫 번째 것 "
267+
"앞에서 끝납니다. 직접 만든 보간의 경우, :attr:`!expression`\\은 보간 인스턴스를 생성할 때 제공한 임의의 "
268+
"문자열입니다."
238269

239270
#: ../../library/string.templatelib.rst:268
240271
msgid ""
241272
"We recommend using valid Python expressions or the empty string for the "
242273
"``expression`` field of manually created :class:`!Interpolation` "
243274
"instances, although this is not enforced at runtime."
244275
msgstr ""
276+
"실행 시간에 강제되지는 않지만, 직접 만드는 :class:`!Interpolation` 인스턴스의 ``expression`` "
277+
"필드에는 올바른 파이썬 표현식이나 빈 문자열을 사용할 것을 권장합니다."
245278

246279
#: ../../library/string.templatelib.rst:278
247280
msgid "The conversion to apply to the value, or ``None``."
248-
msgstr ""
281+
msgstr "값에 적용할 변환, 또는 ``None``."
249282

250283
#: ../../library/string.templatelib.rst:280
251284
msgid "The :attr:`!conversion` is the optional conversion to apply to the value:"
252-
msgstr ""
285+
msgstr ":attr:`!conversion`\\은 값에 적용할 선택적 변환입니다:"
253286

254287
#: ../../library/string.templatelib.rst:288
255288
msgid ""
@@ -259,16 +292,19 @@ msgid ""
259292
":attr:`!conversion`. For convenience, the :func:`convert` function can be"
260293
" used to mimic f-string conversion semantics."
261294
msgstr ""
295+
"변환이 자동으로 적용되는 f-문자열과 달리, t-문자열에서는 :class:`!Template`\\을 *처리하는* 코드가 "
296+
":attr:`!conversion`\\을 어떻게 해석할지, 그리고 적용할지를 결정하도록 기대됩니다. 편의를 위해, f-문자열의 변환"
297+
" 의미를 흉내 내는 데 :func:`convert` 함수를 사용할 수 있습니다."
262298

263299
#: ../../library/string.templatelib.rst:298
264300
msgid "The format specification to apply to the value."
265-
msgstr ""
301+
msgstr "값에 적용할 포맷 명세."
266302

267303
#: ../../library/string.templatelib.rst:300
268304
msgid ""
269305
"The :attr:`!format_spec` is an optional, arbitrary string used as the "
270306
"format specification to present the value:"
271-
msgstr ""
307+
msgstr ":attr:`!format_spec`\\은 값을 표시하는 데 포맷 명세로 사용되는 선택적인 임의의 문자열입니다:"
272308

273309
#: ../../library/string.templatelib.rst:308
274310
msgid ""
@@ -279,63 +315,71 @@ msgid ""
279315
":attr:`!format_spec` values in interpolations can be arbitrary strings, "
280316
"including those that do not conform to the :func:`format` protocol."
281317
msgstr ""
318+
"포맷 명세가 :func:`format` 프로토콜을 통해 자동으로 적용되는 f-문자열과 달리, t-문자열에서는 보간을 *처리하는* "
319+
"코드가 포맷 명세를 어떻게 해석할지, 그리고 적용할지를 결정하도록 기대됩니다. 그 결과, 보간의 "
320+
":attr:`!format_spec` 값은 :func:`format` 프로토콜을 따르지 않는 것을 포함해 임의의 문자열일 수 "
321+
"있습니다."
282322

283323
#: ../../library/string.templatelib.rst:323
284324
msgid "Create a new :class:`!Interpolation` object from component parts."
285-
msgstr ""
325+
msgstr "구성 요소들로부터 새 :class:`!Interpolation` 객체를 만듭니다."
286326

287327
#: ../../library/string.templatelib.rst
288328
msgid "Parameters"
289-
msgstr ""
329+
msgstr "매개 변수"
290330

291331
#: ../../library/string.templatelib.rst:325
292332
msgid "The evaluated, in-scope result of the interpolation."
293-
msgstr ""
333+
msgstr "보간을 스코프 안에서 평가한 결과."
294334

295335
#: ../../library/string.templatelib.rst:326
296336
msgid "The text of a valid Python expression, or an empty string."
297-
msgstr ""
337+
msgstr "올바른 파이썬 표현식의 텍스트, 또는 빈 문자열."
298338

299339
#: ../../library/string.templatelib.rst:328
300340
msgid ""
301341
"The :ref:`conversion <formatstrings>` to be used, one of ``None``, "
302342
"``'a'``, ``'r'``, or ``'s'``."
303343
msgstr ""
344+
"사용할 :ref:`변환 <formatstrings>`. ``None``, ``'a'``, ``'r'``, ``'s'`` 중 "
345+
"하나입니다."
304346

305347
#: ../../library/string.templatelib.rst:330
306348
msgid ""
307349
"An optional, arbitrary string used as the :ref:`format specification "
308350
"<formatspec>` to present the value."
309-
msgstr ""
351+
msgstr "값을 표시하는 데 :ref:`포맷 명세 <formatspec>`\\로 사용되는 선택적인 임의의 문자열."
310352

311353
#: ../../library/string.templatelib.rst:335
312354
msgid "Helper functions"
313-
msgstr ""
355+
msgstr "도움 함수"
314356

315357
#: ../../library/string.templatelib.rst:339
316358
msgid ""
317359
"Applies formatted string literal :ref:`conversion <formatstrings-"
318360
"conversion>` semantics to the given object *obj*. This is frequently "
319361
"useful for custom template string processing logic."
320362
msgstr ""
363+
"주어진 객체 *obj*\\에 포맷 문자열 리터럴의 :ref:`변환 <formatstrings-conversion>` 의미를 "
364+
"적용합니다. 커스텀 템플릿 문자열 처리 로직에서 자주 유용하게 쓰입니다."
321365

322366
#: ../../library/string.templatelib.rst:343
323367
msgid "Three conversion flags are currently supported:"
324-
msgstr ""
368+
msgstr "현재 세 가지 변환 플래그가 지원됩니다:"
325369

326370
#: ../../library/string.templatelib.rst:345
327371
msgid "``'s'`` which calls :func:`str` on the value (like ``!s``),"
328-
msgstr ""
372+
msgstr "``'s'``: 값에 :func:`str`\\을 호출합니다 (``!s``\\처럼),"
329373

330374
#: ../../library/string.templatelib.rst:346
331375
msgid "``'r'`` which calls :func:`repr` (like ``!r``), and"
332-
msgstr ""
376+
msgstr "``'r'``: :func:`repr`\\을 호출합니다 (``!r``\\처럼),"
333377

334378
#: ../../library/string.templatelib.rst:347
335379
msgid "``'a'`` which calls :func:`ascii` (like ``!a``)."
336-
msgstr ""
380+
msgstr "``'a'``: :func:`ascii`\\를 호출합니다 (``!a``\\처럼)."
337381

338382
#: ../../library/string.templatelib.rst:349
339383
msgid "If the conversion flag is ``None``, *obj* is returned unchanged."
340-
msgstr ""
384+
msgstr "변환 플래그가 ``None``\\이면, *obj*\\를 변경 없이 반환합니다."
341385

0 commit comments

Comments
 (0)