Skip to content

Commit

Permalink
feat: 提供 Agent 包管理后台基础接口 (closed #1683)
Browse files Browse the repository at this point in the history
  • Loading branch information
ping15 committed Oct 30, 2024
1 parent bc827dd commit 53ed77e
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
1 change: 1 addition & 0 deletions apps/node_man/handlers/gse_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ def split_tags_into_builtin_and_custom(
built_in_tags, custom_tags = [], []
for tag in tags:
if tag["name"] in BUILT_IN_TAG_NAMES:
tag["description"] = _(tag["description"])
built_in_tags.append(tag)
else:
custom_tags.append(tag)
Expand Down
Binary file modified locale/en/LC_MESSAGES/django.mo
Binary file not shown.
28 changes: 26 additions & 2 deletions locale/en/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -1029,12 +1029,12 @@ msgstr ""
#: apps/backend/components/collections/plugin.py:1503
#: apps/backend/constants.py:137
msgid "启用"
msgstr "Enable"
msgstr "enabled"

#: apps/backend/components/collections/plugin.py:1488
#: apps/backend/components/collections/plugin.py:1503
msgid "停用"
msgstr "Deactivate"
msgstr "disabled"

#: apps/backend/components/collections/plugin.py:1499
#, python-brace-format
Expand Down Expand Up @@ -6642,6 +6642,30 @@ msgstr "Variable available or not"
msgid "Variable变量"
msgstr "Variable variable"

msgid "内置标签"
msgstr "built-in tag"

msgid "自定义标签"
msgstr "custom tag"

msgid "稳定版本"
msgstr "stable version"

msgid "最新版本"
msgstr "latest version"

msgid "测试版本"
msgstr "test version"

msgid "操作系统/架构"
msgstr "System/Arch"

msgid "标签信息"
msgstr "Tag information"

msgid "上传用户"
msgstr "Upload user"

#~ msgid "用户名"
#~ msgstr "Username"

Expand Down

0 comments on commit 53ed77e

Please sign in to comment.