Skip to content

Commit aeb9598

Browse files
committed
update locales
1 parent cce1ad4 commit aeb9598

4 files changed

Lines changed: 21 additions & 24 deletions

File tree

package-lock.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"name": "pawsql.client",
2+
"name": "pawsqlClient",
33
"displayName": "%extension.display name%",
44
"description": "%extension.description%",
5-
"publisher": "PawSQL Team",
5+
"publisher": "pawsql",
66
"version": "0.0.1",
77
"engines": {
88
"vscode": "^1.80.0"
@@ -180,9 +180,6 @@
180180
},
181181
"pawsql.fileWorkspaceMappings": {
182182
"type": "object",
183-
"title": "%config.workspace.fileMapping.title%",
184-
"description": "%config.workspace.fileMapping.description%",
185-
"markdownDescription": "%config.workspace.fileMapping.markdownDescription%",
186183
"default": {}
187184
}
188185
}
@@ -241,7 +238,7 @@
241238
"@types/node": "^16.0.0",
242239
"@types/react": "^18.2.0",
243240
"@types/react-dom": "^18.2.0",
244-
"@types/vscode": "^1.95.0",
241+
"@types/vscode": "~1.80.0",
245242
"@typescript-eslint/eslint-plugin": "^5.0.0",
246243
"@typescript-eslint/parser": "^5.0.0",
247244
"css-loader": "^7.1.2",

src/i18n/en.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
"no.active.editor": "No active editor found.",
1111
"api.key.not.configured": "Please input a valid apikey.",
1212
"license.code.not.exist": "License code does not exist. Please contact the administrator to obtain it.",
13-
"beta.analysis.over.limit": "Optimization quota is reached.",
14-
"analysis.over.limit": "Optimization quota is reached.",
15-
"plan.user.exceeded.maximum.opt.times": "The number of optimizations has exceeded the current plan limit. To continue using it, please upgrade your plan.",
13+
"beta.analysis.over.limit": "Opt. quota runs out, please upgrade your plan.",
14+
"analysis.over.limit": "Opt. quota runs out, please upgrade your plan.",
15+
"plan.user.exceeded.maximum.opt.times": "Opt. quota runs out, please upgrade your plan.",
1616
"workspace.not.exist": "Workspace does not exist.",
1717
"workspace.has.no.analysis": "Workspace optimization list is empty",
1818
"analysis.not.exist": "Analysis does not exist.",
@@ -27,9 +27,9 @@
2727
"CONFIG_FILE_DEFAULT_WORKSPACE_PLACEHOLDER": "Setup a default workspace for PawSQL.",
2828
"OPTIMIZING_SQL": "$(sync~spin) Optimizing SQL...",
2929
"error.create.analysis.failed": "Fail to optimize",
30-
"error.login.invalidCredentials": "PawSQL registration email or password is incorrect. Please check your PawSQL configuration to ensure that the information is correct.",
31-
"error.backendUrl.invalid": "The PawSQL engine is not responding.",
32-
"error.frontendUrl.invalid": "The PawSQL website is not responding.",
30+
"error.login.invalidCredentials": "PawSQL Server authentication failed: incorrect email or password, please check your input.",
31+
"error.backendUrl.invalid": "The PawSQL Server is not responding.",
32+
"error.frontendUrl.invalid": "The PawSQL Server is not responding.",
3333
"license.code.not.valid": "The license code is invalid. Please contact the administrator.",
3434
"sidebar.workspace.manager": "Workspace Manager",
3535
"sidebar.show.statement.detail": "Show optimization details",

src/i18n/zh-cn.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@
2727
"CONFIG_FILE_DEFAULT_WORKSPACE_PLACEHOLDER": "请选择一个工作空间作为当前SQL文件的默认工作空间",
2828
"OPTIMIZING_SQL": "$(sync~spin) 正在优化SQL...",
2929
"error.create.analysis.failed": "SQL优化失败",
30-
"error.login.invalidCredentials": "PawSQL注册邮箱或密码错误。请检查您的PawSQL配置,确保信息正确无误",
31-
"error.backendUrl.invalid": "请检查 backendUrl 是否正确配置或服务器是否运行",
30+
"error.login.invalidCredentials": "PawSQL权限验证错误, 请确认你的用户名密码信息输入无误",
31+
"error.backendUrl.invalid": "请检查您的PawSQL服务器地址是否输入正确或服务器是否运行",
3232
"error.frontendUrl.invalid": "请检查 frontendUrl 是否正确配置或服务器是否运行",
33-
"license.code.not.valid": "许可证代码无效,请联系管理员获取",
33+
"license.code.not.valid": "许可证代码无效,请联系PawSQL管理员获取",
3434
"sidebar.workspace.manager": "工作空间管理器",
3535
"sidebar.show.statement.detail": "展示语句优化详情",
3636
"sidebar.apiKey.label": "ApiKey",

0 commit comments

Comments
 (0)