Skip to content

Commit 1fb9a4e

Browse files
committed
fix: update babel_extractors and localization files for consistency
- Changed the extractor path for hooks in `babel_extractors.csv` to ensure correct extraction. - Updated timestamps in `main.pot` and `ru.po` files for accurate localization. - Adjusted message IDs in localization files to improve consistency and accuracy across translations.
1 parent 954205e commit 1fb9a4e

3 files changed

Lines changed: 57 additions & 85 deletions

File tree

babel_extractors.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
**/hooks.py,frappe.gettext.extractors.navbar.extract
1+
**/hooks.py,frappe.gettext.extractors.python.extract
22
**/doctype/*/*.json,frappe.gettext.extractors.doctype.extract
33
**/workspace/*/*.json,frappe.gettext.extractors.workspace.extract
44
**/onboarding_step/*/*.json,frappe.gettext.extractors.onboarding_step.extract

frappe/locale/main.pot

Lines changed: 28 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Framework VERSION\n"
99
"Report-Msgid-Bugs-To: developers@frappe.io\n"
10-
"POT-Creation-Date: 2025-08-02 07:43+0000\n"
11-
"PO-Revision-Date: 2025-08-02 07:43+0000\n"
10+
"POT-Creation-Date: 2025-08-02 09:59+0000\n"
11+
"PO-Revision-Date: 2025-08-02 09:59+0000\n"
1212
"Last-Translator: developers@frappe.io\n"
1313
"Language-Team: developers@frappe.io\n"
1414
"MIME-Version: 1.0\n"
@@ -772,9 +772,7 @@ msgstr ""
772772
msgid "ASC"
773773
msgstr ""
774774

775-
#. Label of a standard help item
776-
#. Type: Action
777-
#: frappe/hooks.py
775+
#: frappe/hooks.py:524
778776
msgid "About"
779777
msgstr ""
780778

@@ -2353,9 +2351,7 @@ msgstr ""
23532351
msgid "Approval Required"
23542352
msgstr ""
23552353

2356-
#. Label of a standard navbar item
2357-
#. Type: Route
2358-
#: frappe/hooks.py frappe/templates/includes/navbar/navbar_login.html:18
2354+
#: frappe/hooks.py:492 frappe/templates/includes/navbar/navbar_login.html:18
23592355
#: frappe/website/js/website.js:619 frappe/www/me.html:80
23602356
msgid "Apps"
23612357
msgstr ""
@@ -11075,6 +11071,10 @@ msgstr ""
1107511071
msgid "Fraction Units"
1107611072
msgstr ""
1107711073

11074+
#: frappe/hooks.py:6
11075+
msgid "Framework"
11076+
msgstr ""
11077+
1107811078
#. Option for the 'Social Login Provider' (Select) field in DocType 'Social
1107911079
#. Login Key'
1108011080
#: frappe/integrations/doctype/social_login_key/social_login_key.json
@@ -11113,12 +11113,14 @@ msgstr ""
1111311113
msgid "Frappe Mail Site"
1111411114
msgstr ""
1111511115

11116-
#. Label of a standard help item
11117-
#. Type: Route
11118-
#: frappe/hooks.py
11116+
#: frappe/hooks.py:542
1111911117
msgid "Frappe Support"
1112011118
msgstr ""
1112111119

11120+
#: frappe/hooks.py:7
11121+
msgid "Frappe Technologies"
11122+
msgstr ""
11123+
1112211124
#: frappe/website/doctype/web_page/web_page.js:92
1112311125
msgid "Frappe page builder using components"
1112411126
msgstr ""
@@ -11232,6 +11234,10 @@ msgstr ""
1123211234
msgid "Full Width"
1123311235
msgstr ""
1123411236

11237+
#: frappe/hooks.py:8
11238+
msgid "Full stack web framework with Python, Javascript, MariaDB, Redis, Node"
11239+
msgstr ""
11240+
1123511241
#. Label of the function (Select) field in DocType 'Number Card'
1123611242
#. Label of the report_function (Select) field in DocType 'Number Card'
1123711243
#: frappe/desk/doctype/number_card/number_card.json
@@ -14247,9 +14253,7 @@ msgstr ""
1424714253
msgid "Key"
1424814254
msgstr ""
1424914255

14250-
#. Label of a standard help item
14251-
#. Type: Action
14252-
#: frappe/hooks.py frappe/public/js/frappe/ui/keyboard.js:130
14256+
#: frappe/hooks.py:530 frappe/public/js/frappe/ui/keyboard.js:130
1425314257
msgid "Keyboard Shortcuts"
1425414258
msgstr ""
1425514259

@@ -15305,9 +15309,7 @@ msgstr ""
1530515309
msgid "Log in to access this page."
1530615310
msgstr ""
1530715311

15308-
#. Label of a standard navbar item
15309-
#. Type: Action
15310-
#: frappe/hooks.py
15312+
#: frappe/hooks.py:515
1531115313
#: frappe/website/doctype/website_settings/website_settings.py:182
1531215314
msgid "Log out"
1531315315
msgstr ""
@@ -21522,10 +21524,8 @@ msgstr ""
2152221524
msgid "Relinked"
2152321525
msgstr ""
2152421526

21525-
#. Label of a standard navbar item
21526-
#. Type: Action
21527-
#: frappe/custom/doctype/customize_form/customize_form.js:120 frappe/hooks.py
21528-
#: frappe/public/js/frappe/form/toolbar.js:447
21527+
#: frappe/custom/doctype/customize_form/customize_form.js:120
21528+
#: frappe/hooks.py:480 frappe/public/js/frappe/form/toolbar.js:447
2152921529
msgid "Reload"
2153021530
msgstr ""
2153121531

@@ -24044,12 +24044,10 @@ msgstr ""
2404424044
msgid "Session Default Settings"
2404524045
msgstr ""
2404624046

24047-
#. Label of a standard navbar item
24048-
#. Type: Action
2404924047
#. Label of the session_defaults (Table) field in DocType 'Session Default
2405024048
#. Settings'
2405124049
#: frappe/core/doctype/session_default_settings/session_default_settings.json
24052-
#: frappe/hooks.py frappe/public/js/frappe/ui/toolbar/toolbar.js:363
24050+
#: frappe/hooks.py:474 frappe/public/js/frappe/ui/toolbar/toolbar.js:363
2405324051
msgid "Session Defaults"
2405424052
msgstr ""
2405524053

@@ -25994,9 +25992,7 @@ msgstr ""
2599425992
msgid "System Generated Fields can not be renamed"
2599525993
msgstr ""
2599625994

25997-
#. Label of a standard help item
25998-
#. Type: Route
25999-
#: frappe/hooks.py
25995+
#: frappe/hooks.py:536
2600025996
msgid "System Health"
2600125997
msgstr ""
2600225998

@@ -27567,9 +27563,7 @@ msgstr ""
2756727563
msgid "Toggle Chart"
2756827564
msgstr ""
2756927565

27570-
#. Label of a standard navbar item
27571-
#. Type: Action
27572-
#: frappe/hooks.py
27566+
#: frappe/hooks.py:498
2757327567
msgid "Toggle Full Width"
2757427568
msgstr ""
2757527569

@@ -27588,9 +27582,7 @@ msgctxt "Button in list view menu"
2758827582
msgid "Toggle Sidebar"
2758927583
msgstr ""
2759027584

27591-
#. Label of a standard navbar item
27592-
#. Type: Action
27593-
#: frappe/hooks.py
27585+
#: frappe/hooks.py:504
2759427586
msgid "Toggle Theme"
2759527587
msgstr ""
2759627588

@@ -28962,9 +28954,7 @@ msgstr ""
2896228954
msgid "User Select Document Type"
2896328955
msgstr ""
2896428956

28965-
#. Label of a standard navbar item
28966-
#. Type: Action
28967-
#: frappe/hooks.py
28957+
#: frappe/hooks.py:462
2896828958
msgid "User Settings"
2896928959
msgstr ""
2897028960

@@ -29424,9 +29414,7 @@ msgstr ""
2942429414
msgid "View Switcher"
2942529415
msgstr ""
2942629416

29427-
#. Label of a standard navbar item
29428-
#. Type: Action
29429-
#: frappe/hooks.py
29417+
#: frappe/hooks.py:486
2943029418
#: frappe/website/doctype/website_settings/website_settings.js:16
2943129419
msgid "View Website"
2943229420
msgstr ""
@@ -30211,11 +30199,9 @@ msgstr ""
3021130199
msgid "Workspace Quick List"
3021230200
msgstr ""
3021330201

30214-
#. Label of a standard navbar item
30215-
#. Type: Action
3021630202
#. Name of a DocType
3021730203
#: frappe/desk/doctype/workspace_settings/workspace_settings.json
30218-
#: frappe/hooks.py
30204+
#: frappe/hooks.py:468
3021930205
msgid "Workspace Settings"
3022030206
msgstr ""
3022130207

frappe/locale/ru.po

Lines changed: 28 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Frappe Framework VERSION\n"
99
"Report-Msgid-Bugs-To: developers@frappe.io\n"
10-
"POT-Creation-Date: 2025-08-02 07:43+0000\n"
11-
"PO-Revision-Date: 2025-08-02 11:48+0400\n"
10+
"POT-Creation-Date: 2025-08-02 09:59+0000\n"
11+
"PO-Revision-Date: 2025-08-02 13:59+0400\n"
1212
"Last-Translator: AlexKuzin <dev@olimpicfresh.ru>\n"
1313
"Language-Team: developers@frappe.io\n"
1414
"Language: ru\n"
@@ -880,9 +880,7 @@ msgstr "Секрет API"
880880
msgid "ASC"
881881
msgstr "По возрастанию"
882882

883-
#. Label of a standard help item
884-
#. Type: Action
885-
#: frappe/hooks.py
883+
#: frappe/hooks.py:524
886884
msgid "About"
887885
msgstr "О нас"
888886

@@ -2463,9 +2461,7 @@ msgstr "Применяется: {0}"
24632461
msgid "Approval Required"
24642462
msgstr "Требуется одобрение"
24652463

2466-
#. Label of a standard navbar item
2467-
#. Type: Route
2468-
#: frappe/hooks.py frappe/templates/includes/navbar/navbar_login.html:18
2464+
#: frappe/hooks.py:492 frappe/templates/includes/navbar/navbar_login.html:18
24692465
#: frappe/website/js/website.js:619 frappe/www/me.html:80
24702466
msgid "Apps"
24712467
msgstr "Приложения"
@@ -11195,6 +11191,10 @@ msgstr "Фракция"
1119511191
msgid "Fraction Units"
1119611192
msgstr "Дробные единицы"
1119711193

11194+
#: frappe/hooks.py:6
11195+
msgid "Framework"
11196+
msgstr "Фреймворк"
11197+
1119811198
#. Option for the 'Social Login Provider' (Select) field in DocType 'Social
1119911199
#. Login Key'
1120011200
#: frappe/integrations/doctype/social_login_key/social_login_key.json
@@ -11233,12 +11233,14 @@ msgstr "Ошибка Frappe Mail OAuth"
1123311233
msgid "Frappe Mail Site"
1123411234
msgstr "Почтовый сайт Frappe"
1123511235

11236-
#. Label of a standard help item
11237-
#. Type: Route
11238-
#: frappe/hooks.py
11236+
#: frappe/hooks.py:542
1123911237
msgid "Frappe Support"
1124011238
msgstr "Поддержка"
1124111239

11240+
#: frappe/hooks.py:7
11241+
msgid "Frappe Technologies"
11242+
msgstr "Frappe Technologies"
11243+
1124211244
#: frappe/website/doctype/web_page/web_page.js:92
1124311245
msgid "Frappe page builder using components"
1124411246
msgstr "Конструктор страниц с использованием компонентов"
@@ -11352,6 +11354,10 @@ msgstr "На ширину страницы"
1135211354
msgid "Full Width"
1135311355
msgstr "На всю ширину"
1135411356

11357+
#: frappe/hooks.py:8
11358+
msgid "Full stack web framework with Python, Javascript, MariaDB, Redis, Node"
11359+
msgstr "Веб-фреймворк полного стека с Python, Javascript, MariaDB, Redis, Node"
11360+
1135511361
#. Label of the function (Select) field in DocType 'Number Card'
1135611362
#. Label of the report_function (Select) field in DocType 'Number Card'
1135711363
#: frappe/desk/doctype/number_card/number_card.json
@@ -14364,9 +14370,7 @@ msgstr "Отслеживает все сообщения"
1436414370
msgid "Key"
1436514371
msgstr "Ключ"
1436614372

14367-
#. Label of a standard help item
14368-
#. Type: Action
14369-
#: frappe/hooks.py frappe/public/js/frappe/ui/keyboard.js:130
14373+
#: frappe/hooks.py:530 frappe/public/js/frappe/ui/keyboard.js:130
1437014374
msgid "Keyboard Shortcuts"
1437114375
msgstr "Горячие клавиши"
1437214376

@@ -15422,9 +15426,7 @@ msgstr "Настройки журнала"
1542215426
msgid "Log in to access this page."
1542315427
msgstr "Войдите, чтобы открыть эту страницу."
1542415428

15425-
#. Label of a standard navbar item
15426-
#. Type: Action
15427-
#: frappe/hooks.py
15429+
#: frappe/hooks.py:515
1542815430
#: frappe/website/doctype/website_settings/website_settings.py:182
1542915431
msgid "Log out"
1543015432
msgstr "Выйти из системы"
@@ -21644,10 +21646,8 @@ msgstr "Перепривязка коммуникации"
2164421646
msgid "Relinked"
2164521647
msgstr "Перепривязано"
2164621648

21647-
#. Label of a standard navbar item
21648-
#. Type: Action
21649-
#: frappe/custom/doctype/customize_form/customize_form.js:120 frappe/hooks.py
21650-
#: frappe/public/js/frappe/form/toolbar.js:447
21649+
#: frappe/custom/doctype/customize_form/customize_form.js:120
21650+
#: frappe/hooks.py:480 frappe/public/js/frappe/form/toolbar.js:447
2165121651
msgid "Reload"
2165221652
msgstr "Перезагрузить"
2165321653

@@ -24164,12 +24164,10 @@ msgstr "Сессия - По-умолчанию"
2416424164
msgid "Session Default Settings"
2416524165
msgstr "Сессия - Настройки по-умолчанию"
2416624166

24167-
#. Label of a standard navbar item
24168-
#. Type: Action
2416924167
#. Label of the session_defaults (Table) field in DocType 'Session Default
2417024168
#. Settings'
2417124169
#: frappe/core/doctype/session_default_settings/session_default_settings.json
24172-
#: frappe/hooks.py frappe/public/js/frappe/ui/toolbar/toolbar.js:363
24170+
#: frappe/hooks.py:474 frappe/public/js/frappe/ui/toolbar/toolbar.js:363
2417324171
msgid "Session Defaults"
2417424172
msgstr "Установки сессии"
2417524173

@@ -26139,9 +26137,7 @@ msgstr "Системная консоль"
2613926137
msgid "System Generated Fields can not be renamed"
2614026138
msgstr "Сгенерированные системой поля не могут быть переименованы"
2614126139

26142-
#. Label of a standard help item
26143-
#. Type: Route
26144-
#: frappe/hooks.py
26140+
#: frappe/hooks.py:536
2614526141
msgid "System Health"
2614626142
msgstr "Здоровье системы"
2614726143

@@ -27745,9 +27741,7 @@ msgstr "Сегодня"
2774527741
msgid "Toggle Chart"
2774627742
msgstr "Переключить диаграмму"
2774727743

27748-
#. Label of a standard navbar item
27749-
#. Type: Action
27750-
#: frappe/hooks.py
27744+
#: frappe/hooks.py:498
2775127745
msgid "Toggle Full Width"
2775227746
msgstr "Переключить ширину"
2775327747

@@ -27766,9 +27760,7 @@ msgctxt "Button in list view menu"
2776627760
msgid "Toggle Sidebar"
2776727761
msgstr "Переключить боковую панель"
2776827762

27769-
#. Label of a standard navbar item
27770-
#. Type: Action
27771-
#: frappe/hooks.py
27763+
#: frappe/hooks.py:504
2777227764
msgid "Toggle Theme"
2777327765
msgstr "Переключить тему"
2777427766

@@ -29148,9 +29140,7 @@ msgstr "Профиль роли пользователя"
2914829140
msgid "User Select Document Type"
2914929141
msgstr "Выбор пользователем типа документа"
2915029142

29151-
#. Label of a standard navbar item
29152-
#. Type: Action
29153-
#: frappe/hooks.py
29143+
#: frappe/hooks.py:462
2915429144
msgid "User Settings"
2915529145
msgstr "Настройки пользователя"
2915629146

@@ -29608,9 +29598,7 @@ msgstr "Настройки просмотра"
2960829598
msgid "View Switcher"
2960929599
msgstr "Переключатель просмотра"
2961029600

29611-
#. Label of a standard navbar item
29612-
#. Type: Action
29613-
#: frappe/hooks.py
29601+
#: frappe/hooks.py:486
2961429602
#: frappe/website/doctype/website_settings/website_settings.js:16
2961529603
msgid "View Website"
2961629604
msgstr "Посмотреть сайт"
@@ -30394,11 +30382,9 @@ msgstr "Числовые блоки рабочего пространства"
3039430382
msgid "Workspace Quick List"
3039530383
msgstr "Быстрые списки рабочего пространства"
3039630384

30397-
#. Label of a standard navbar item
30398-
#. Type: Action
3039930385
#. Name of a DocType
3040030386
#: frappe/desk/doctype/workspace_settings/workspace_settings.json
30401-
#: frappe/hooks.py
30387+
#: frappe/hooks.py:468
3040230388
msgid "Workspace Settings"
3040330389
msgstr "Настройки рабочей области"
3040430390

0 commit comments

Comments
 (0)