Skip to content

Commit 2209cbf

Browse files
[po] auto sync
1 parent 2d83ede commit 2209cbf

3 files changed

Lines changed: 10 additions & 1 deletion

File tree

‎.stat.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "1.51%", "updated_at": "2025-12-09T12:48:47Z"}
1+
{"translation": "1.51%", "updated_at": "2025-12-09T13:38:10Z"}

‎tutorial/stdlib2.mo‎

1.33 KB
Binary file not shown.

‎tutorial/stdlib2.po‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,11 @@ msgid ""
184184
"letters with no intervening spaces. Writing ``$$`` creates a single escaped"
185185
" ``$``::"
186186
msgstr ""
187+
"Формат использует имена заполнителей, начинающихся с ``$`` и представляющие "
188+
"допустимые идентификаторы Python (буквы, цифры и подчёркивания). Окружение "
189+
"заполнителя фигурными скобками позволяет использовать алфавитно-цифровые "
190+
"символы сразу после него, без дополнительных пробелов. Написание ``$$`` "
191+
"создает одиночный экранированный ``$``::"
187192

188193
#: ../../tutorial/stdlib2.rst:83
189194
msgid ""
@@ -192,6 +197,10 @@ msgid ""
192197
">>> t.substitute(village='Nottingham', cause='the ditch fund')\n"
193198
"'Nottinghamfolk send $10 to the ditch fund.'"
194199
msgstr ""
200+
">>> from string import Template\n"
201+
">>> t = Template('${village}цы шлют $$10 в $cause.')\n"
202+
">>> t.substitute(village='Ноттингем', cause='фонд канавы')\n"
203+
"'Ноттингемцы шлют $10 в фонд канавы.'"
195204

196205
#: ../../tutorial/stdlib2.rst:88
197206
msgid ""

0 commit comments

Comments
 (0)