Skip to content

Commit 5cf5108

Browse files
author
lhy
committed
Merge branch 'master' of github.com:Paw-SQL/pawsql-vscode-plguin
2 parents 6aa4b55 + 8d5df1e commit 5cf5108

8 files changed

Lines changed: 56 additions & 27 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Change Log
22

3-
All notable changes to the "pawsql" extension will be documented in this file.
3+
All notable changes to the "PawSQL Client" extension will be documented in this file.
44

55
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
66

LICENSE.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023 - present PawSQL
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

PRIVACY.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Data Collection
2+
3+
The software may collect information about you and your use of the software. PawSQL may use this information to provide services and improve our products and services. You may turn off the telemetry as described in the repository. There are also some features in the software that may enable you and PawSQL to collect data from users of your applications. If you use these features, you must comply with applicable law, including providing appropriate notices to users of your applications together with a copy of PawSQL's privacy statement. Our privacy statement is located at <https://pawsql.com/privacy>. You can learn more about data collection and use in the help documentation and our privacy statement. Your use of the software operates as your consent to these practices.

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: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
12
{
2-
"name": "pawsql.client",
3-
"displayName": "%extension.display name%",
3+
"name": "pawsqlClient",
4+
"displayName": "%extension.display.name%",
45
"description": "%extension.description%",
5-
"publisher": "PawSQL Team",
6+
"publisher": "pawsql",
67
"version": "0.0.1",
78
"engines": {
89
"vscode": "^1.80.0"
@@ -165,9 +166,6 @@
165166
},
166167
"pawsql.fileWorkspaceMappings": {
167168
"type": "object",
168-
"title": "%config.workspace.fileMapping.title%",
169-
"description": "%config.workspace.fileMapping.description%",
170-
"markdownDescription": "%config.workspace.fileMapping.markdownDescription%",
171169
"default": {}
172170
}
173171
}
@@ -226,7 +224,7 @@
226224
"@types/node": "^16.0.0",
227225
"@types/react": "^18.2.0",
228226
"@types/react-dom": "^18.2.0",
229-
"@types/vscode": "^1.95.0",
227+
"@types/vscode": "~1.80.0",
230228
"@typescript-eslint/eslint-plugin": "^5.0.0",
231229
"@typescript-eslint/parser": "^5.0.0",
232230
"css-loader": "^7.1.2",
@@ -249,5 +247,12 @@
249247
"react-intl": "^6.8.7",
250248
"supports-color": "^9.4.0",
251249
"vscode-nls": "^5.2.0"
250+
},
251+
"repository": {
252+
"type": "git",
253+
"url": "https://github.com/Paw-SQL/pawsql-vscode-plugin.git"
254+
},
255+
"bugs": {
256+
"url": "https://github.com/Paw-SQL/pawsql-vscode-plugin/issues"
252257
}
253258
}

package.nls.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extension.display name": "PawSQL Client",
2+
"extension.display.name": "PawSQL Client",
33
"extension.description": "SQL Optimizer, Index Advisor for MySQL/PostgreSQL/Oracle/openGauss and more, Tune SQL by Clicks",
44
"commands.openSettings": "修改",
55
"commands.refreshTree": "刷新",

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)