Skip to content

Commit c1cbf31

Browse files
committed
fix: command text color of ConnectorModal component in light theme
feat: fill in the missing zh_CN translation
1 parent 64d0bc6 commit c1cbf31

2 files changed

Lines changed: 21 additions & 7 deletions

File tree

app/components/ConnectorModal.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,10 @@ watch(open, isOpen => {
125125
</p>
126126

127127
<div
128-
class="flex items-center p-3 bg-[#0d0d0d] border border-border rounded-lg font-mono text-sm"
128+
class="flex items-center p-3 bg-bg-subtle border border-border rounded-lg font-mono text-sm"
129129
>
130130
<span class="text-fg-subtle">$</span>
131-
<span class="text-fg ml-2">{{ executeNpmxConnectorCommand }}</span>
131+
<span class="text-fg-subtle ml-2">{{ executeNpmxConnectorCommand }}</span>
132132
<button
133133
type="button"
134134
:aria-label="

i18n/locales/zh-CN.json

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,14 @@
2626
"claim_prompt": "在 npm 上声明",
2727
"claim_button": "声明 \"{name}\"",
2828
"want_to_claim": "想要声明这个包名吗?",
29-
"start_typing": "输入以搜索软件包"
29+
"start_typing": "输入以搜索软件包",
30+
"exact_match": "精确匹配",
31+
"suggestion": {
32+
"user": "用户",
33+
"org": "组织",
34+
"view_user_packages": "查看该用户的包",
35+
"view_org_packages": "查看该组织的包"
36+
}
3037
},
3138
"nav": {
3239
"popular_packages": "热门软件包",
@@ -37,7 +44,11 @@
3744
"relative_dates": "相对时间",
3845
"include_types": "在安装时包含 {'@'}types",
3946
"language": "语言",
40-
"help_translate": "帮助翻译 npmx"
47+
"help_translate": "帮助翻译 npmx",
48+
"theme": "主题",
49+
"theme_dark": "深色",
50+
"theme_light": "明亮",
51+
"theme_system": "跟随系统"
4152
},
4253
"common": {
4354
"loading": "加载中...",
@@ -90,7 +101,8 @@
90101
"issues": "议题",
91102
"forks": "复刻",
92103
"jsr": "jsr",
93-
"code": "代码"
104+
"code": "代码",
105+
"docs": "文档"
94106
},
95107
"install": {
96108
"title": "安装",
@@ -109,7 +121,8 @@
109121
"publisher": "发布者",
110122
"updated": "更新",
111123
"weekly_downloads": "每周下载量",
112-
"keywords": "关键词"
124+
"keywords": "关键词",
125+
"license": "许可证"
113126
},
114127
"versions": {
115128
"title": "版本",
@@ -220,7 +233,8 @@
220233
},
221234
"grant_button": "授权",
222235
"cancel_grant": "取消授权",
223-
"grant_access": "+ 授予团队权限"
236+
"grant_access": "+ 授予团队权限",
237+
"caricando_teams": ""
224238
},
225239
"list": {
226240
"filter_label": "筛选包",

0 commit comments

Comments
 (0)