Update documentation and code snippets

This commit is contained in:
2026-01-13 22:18:57 +03:00
parent c5dab43c87
commit 4957de95d3
4 changed files with 126 additions and 67 deletions
@@ -137,8 +137,8 @@ msgid ""
"используйте его декоратор ``@command``."
msgstr ""
"You can add your own commands to this router. To do this, use the "
"``.system_router`` attribute of the created ``Orchestrator`` instance "
"and use its ``@command`` decorator."
"``.system_router`` attribute of the created ``Orchestrator`` instance and"
" use its ``@command`` decorator."
#: ../../root/api/router.rst:62
msgid "Возможные исключения"
@@ -194,7 +194,7 @@ msgstr ""
msgid ""
"Возникает, если при регистрации команд в роутере были использованы "
"дублирующиеся триггеры. Каждая команда должна иметь уникальный триггер в "
"рамках одного роутера."
"рамках приложения."
msgstr ""
"Raised if duplicate triggers were used when registering commands in the "
"router. Each command must have a unique trigger within a single router."
@@ -202,7 +202,7 @@ msgstr ""
#: ../../root/api/router.rst:113
msgid ""
"Возникает, если при регистрации команд были использованы дублирующиеся "
"алиасы. Алиасы должны быть уникальны в рамках всего роутера."
"алиасы. Алиасы должны быть уникальны в рамках всего приложения."
msgstr ""
"Raised if duplicate aliases were used when registering commands. Aliases "
"must be unique within the entire router."