Skip to content

Commit a303f24

Browse files
committed
refactor: i18n
1 parent fadbd2f commit a303f24

File tree

3 files changed

+85
-202
lines changed

3 files changed

+85
-202
lines changed

apps/locales/en_US/LC_MESSAGES/django.po

Lines changed: 19 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# This file is distributed under the same license as the PACKAGE package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
6-
#, fuzzy
76
msgid ""
87
msgstr ""
98
"Project-Id-Version: PACKAGE VERSION\n"
@@ -294,10 +293,9 @@ msgid "Invalid Slack request"
294293
msgstr ""
295294

296295
#: apps/xpack/serializers/channel/slack.py:335
297-
#, fuzzy, python-brace-format
298296
#| msgid "application name"
299297
msgid "Slack application: {user}"
300-
msgstr "Application Name"
298+
msgstr ""
301299

302300
#: apps/xpack/serializers/channel/slack.py:471
303301
msgid "Stop"
@@ -571,18 +569,16 @@ msgstr "Type"
571569

572570
#: apps/xpack/serializers/dataset_lark_serializer.py:151
573571
#: apps/xpack/serializers/dataset_lark_serializer.py:152
574-
#, fuzzy
575572
#| msgid "id does not exist"
576573
msgid "is exist"
577-
msgstr "ID does not exist"
574+
msgstr ""
578575

579576
#: apps/xpack/serializers/dataset_lark_serializer.py:173
580577
#: apps/xpack/serializers/dataset_lark_serializer.py:230
581578
#: apps/xpack/task/sync.py:120
582-
#, fuzzy
583579
#| msgid "Knowledge base id"
584580
msgid "Knowledge base not found!"
585-
msgstr "Knowledge base ID"
581+
msgstr ""
586582

587583
#: apps/xpack/serializers/dataset_lark_serializer.py:185
588584
#: apps/xpack/serializers/dataset_lark_serializer.py:252
@@ -709,10 +705,9 @@ msgstr ""
709705
#: apps/xpack/serializers/operate_log.py:40
710706
#: apps/xpack/swagger_api/operate_log.py:51
711707
#: apps/xpack/swagger_api/operate_log.py:52
712-
#, fuzzy
713708
#| msgid "user id"
714709
msgid "user"
715-
msgstr "User ID"
710+
msgstr "User"
716711

717712
#: apps/xpack/serializers/operate_log.py:41
718713
#: apps/xpack/swagger_api/operate_log.py:54
@@ -787,16 +782,14 @@ msgid "Client Secret is required"
787782
msgstr ""
788783

789784
#: apps/xpack/serializers/platform_serializer.py:46
790-
#, fuzzy
791785
#| msgid "app_secret is required"
792786
msgid "Signing Secret is required"
793-
msgstr "App Secret is required"
787+
msgstr ""
794788

795789
#: apps/xpack/serializers/platform_serializer.py:47
796-
#, fuzzy
797790
#| msgid "token is required"
798791
msgid "Bot User Token is required"
799-
msgstr "Token is required"
792+
msgstr ""
800793

801794
#: apps/xpack/serializers/platform_serializer.py:68
802795
msgid "Check if the fields are correct"
@@ -1034,16 +1027,14 @@ msgid "Is active"
10341027
msgstr ""
10351028

10361029
#: apps/xpack/swagger_api/auth_api.py:37
1037-
#, fuzzy
10381030
#| msgid "parameter configuration"
10391031
msgid "Wecom configuration"
1040-
msgstr "Parameter configuration"
1032+
msgstr ""
10411033

10421034
#: apps/xpack/swagger_api/auth_api.py:38
1043-
#, fuzzy
10441035
#| msgid "parameter configuration"
10451036
msgid "Wecom configuration details"
1046-
msgstr "Parameter configuration"
1037+
msgstr ""
10471038

10481039
#: apps/xpack/swagger_api/auth_api.py:40 apps/xpack/swagger_api/auth_api.py:53
10491040
msgid "Corp ID"
@@ -1064,10 +1055,9 @@ msgid "Callback URL"
10641055
msgstr ""
10651056

10661057
#: apps/xpack/swagger_api/auth_api.py:50
1067-
#, fuzzy
10681058
#| msgid "parameter configuration"
10691059
msgid "Dingtalk configuration"
1070-
msgstr "Parameter configuration"
1060+
msgstr ""
10711061

10721062
#: apps/xpack/swagger_api/auth_api.py:51
10731063
msgid "Dingtalk configuration details"
@@ -1078,10 +1068,9 @@ msgid "App Key"
10781068
msgstr ""
10791069

10801070
#: apps/xpack/swagger_api/auth_api.py:63
1081-
#, fuzzy
10821071
#| msgid "parameter configuration"
10831072
msgid "Feishu configuration"
1084-
msgstr "Parameter configuration"
1073+
msgstr ""
10851074

10861075
#: apps/xpack/swagger_api/auth_api.py:64
10871076
msgid "Feishu configuration details"
@@ -1213,17 +1202,15 @@ msgstr "ID"
12131202

12141203
#: apps/xpack/swagger_api/operate_log.py:60
12151204
#: apps/xpack/swagger_api/operate_log.py:61
1216-
#, fuzzy
12171205
#| msgid "license details"
12181206
msgid "details"
1219-
msgstr "License details"
1207+
msgstr "Details"
12201208

12211209
#: apps/xpack/views/application_setting_views.py:22
12221210
#: apps/xpack/views/application_setting_views.py:23
1223-
#, fuzzy
12241211
#| msgid "Modification time"
12251212
msgid "Modify Application Settings"
1226-
msgstr "Update Time"
1213+
msgstr ""
12271214

12281215
#: apps/xpack/views/application_setting_views.py:24
12291216
#: apps/xpack/views/application_setting_views.py:40
@@ -1232,10 +1219,9 @@ msgstr ""
12321219

12331220
#: apps/xpack/views/application_setting_views.py:37
12341221
#: apps/xpack/views/application_setting_views.py:38
1235-
#, fuzzy
12361222
#| msgid "Application version id"
12371223
msgid "Get Application Settings"
1238-
msgstr "Application Version ID"
1224+
msgstr ""
12391225

12401226
#: apps/xpack/views/auth.py:29
12411227
msgid "Authentication"
@@ -1621,10 +1607,9 @@ msgid "User ID"
16211607
msgstr ""
16221608

16231609
#: community/apps/application/chat_pipeline/step/chat_step/i_chat_step.py:81
1624-
#, fuzzy
16251610
#| msgid "Model id"
16261611
msgid "Model settings"
1627-
msgstr "Model ID"
1612+
msgstr ""
16281613

16291614
#: community/apps/application/chat_pipeline/step/chat_step/i_chat_step.py:84
16301615
#: community/apps/application/flow/step_node/ai_chat_step_node/i_chat_node.py:31
@@ -2928,17 +2913,15 @@ msgstr ""
29282913

29292914
#: community/apps/application/swagger_api/chat_api.py:96
29302915
#: community/apps/application/swagger_api/chat_api.py:97
2931-
#, fuzzy
29322916
#| msgid "Workflow data"
29332917
msgid "Form data"
2934-
msgstr "Workflow Data"
2918+
msgstr ""
29352919

29362920
#: community/apps/application/swagger_api/chat_api.py:101
29372921
#: community/apps/application/swagger_api/chat_api.py:102
2938-
#, fuzzy
29392922
#| msgid "state list"
29402923
msgid "Image list"
2941-
msgstr "State list"
2924+
msgstr ""
29422925

29432926
#: community/apps/application/swagger_api/chat_api.py:107
29442927
msgid "Image name"
@@ -2965,10 +2948,9 @@ msgstr ""
29652948

29662949
#: community/apps/application/swagger_api/chat_api.py:129
29672950
#: community/apps/application/swagger_api/chat_api.py:130
2968-
#, fuzzy
29692951
#| msgid "id list"
29702952
msgid "Audio list"
2971-
msgstr "ID list"
2953+
msgstr ""
29722954

29732955
#: community/apps/application/swagger_api/chat_api.py:135
29742956
msgid "Audio name"
@@ -3048,7 +3030,6 @@ msgid "or|and comparator"
30483030
msgstr ""
30493031

30503032
#: community/apps/application/swagger_api/chat_api.py:266
3051-
#, fuzzy
30523033
#| msgid "Start time"
30533034
msgid "start time"
30543035
msgstr "Start Time"
@@ -4907,7 +4888,6 @@ msgstr ""
49074888

49084889
#: community/apps/function_lib/serializers/function_lib_serializer.py:357
49094890
#: community/apps/function_lib/serializers/function_lib_serializer.py:386
4910-
#, fuzzy
49114891
#| msgid "function"
49124892
msgid "function ID"
49134893
msgstr "Function"
@@ -4988,16 +4968,14 @@ msgid "Get function list by pagination"
49884968
msgstr ""
49894969

49904970
#: community/apps/function_lib/views/function_lib_views.py:129
4991-
#, fuzzy
49924971
#| msgid "function"
49934972
msgid "Import function"
4994-
msgstr "Function"
4973+
msgstr "Import Function"
49954974

49964975
#: community/apps/function_lib/views/function_lib_views.py:143
4997-
#, fuzzy
49984976
#| msgid "Export conversation"
49994977
msgid "Export function"
5000-
msgstr "Export Conversation"
4978+
msgstr "Export function"
50014979

50024980
#: community/apps/function_lib/views/py_lint.py:26
50034981
#: community/apps/function_lib/views/py_lint.py:27

0 commit comments

Comments
 (0)