diff --git a/.all-contributorsrc b/.all-contributorsrc
index e653edf6..fcaee850 100644
--- a/.all-contributorsrc
+++ b/.all-contributorsrc
@@ -347,6 +347,24 @@
"contributions": [
"translation"
]
+ },
+ {
+ "login": "salvymc",
+ "name": "Salvatore Forino",
+ "avatar_url": "https://avatars.githubusercontent.com/u/10051897?v=4",
+ "profile": "https://github.com/salvymc",
+ "contributions": [
+ "code"
+ ]
+ },
+ {
+ "login": "JoseGonzalez84",
+ "name": "José González",
+ "avatar_url": "https://avatars.githubusercontent.com/u/16820141?v=4",
+ "profile": "https://gadev.com.es/",
+ "contributions": [
+ "translation"
+ ]
}
],
"contributorsPerLine": 7,
diff --git a/README.md b/README.md
index aff3daeb..dc161320 100644
--- a/README.md
+++ b/README.md
@@ -160,6 +160,8 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
 David Carvalho 📦 |
 r4f4dev 🌍 |
+  Salvatore Forino 💻 |
+  José González 🌍 |
diff --git a/src/renderer/i18n/zh-CN.ts b/src/renderer/i18n/zh-CN.ts
index f33c9d2a..36856c36 100644
--- a/src/renderer/i18n/zh-CN.ts
+++ b/src/renderer/i18n/zh-CN.ts
@@ -117,6 +117,7 @@ export const zhCN = {
insert: '插入',
indexes: '索引',
foreignKeys: '外键',
+ tableChecks: '表检查',
length: '长度',
unsigned: '无符号',
default: '默认',
@@ -131,6 +132,7 @@ export const zhCN = {
total: '总计',
table: '表 | 表',
view: '视图 | 视图',
+ materializedview: '实体化视图 | 实体化视图',
definer: '定义者',
algorithm: '算法',
trigger: '触发器 | 触发器',
@@ -180,12 +182,15 @@ export const zhCN = {
addNewField: '添加新字段',
manageIndexes: '管理索引',
manageForeignKeys: '管理外键',
+ manageTableChecks: '管理表 check 约束',
allowNull: '允许 NULL',
zeroFill: '零填充',
customValue: '自定义值',
onUpdate: '在更新',
deleteField: '删除字段',
createNewIndex: '创建新索引',
+ createNewCheck: '创建新 check 约束',
+ checkClause: 'Check 约束',
addToIndex: '添加到索引',
createNewTable: '创建新表',
emptyTable: '清空表',
@@ -195,6 +200,7 @@ export const zhCN = {
emptyConfirm: '您是否确认清空',
thereAreNoIndexes: '没有索引',
thereAreNoForeign: '没有外键',
+ thereAreNoTableChecks: '没有表 check 约束',
createNewForeign: '创建新外键',
referenceTable: '参考表',
referenceField: '参考字段',
@@ -207,6 +213,7 @@ export const zhCN = {
updateOption: '更新选项',
deleteView: '删除视图',
createNewView: '创建新视图',
+ createNewMaterializedView: '创建新实体化视图',
deleteTrigger: '删除触发器',
createNewTrigger: '创建新触发器',
currentUser: '当前用户',
@@ -239,6 +246,7 @@ export const zhCN = {
thereAreNoTableFields: '没有表的字段',
newTable: '新表',
newView: '新视图',
+ newMaterializedView: '新实体化视图',
newTrigger: '新触发器',
newRoutine: '新例程',
newFunction: '新函数',
@@ -300,6 +308,7 @@ export const zhCN = {
color: '颜色',
label: '标签',
icon: '图标',
+ customIcon: '定制图标',
fileName: '文件名称',
choseFile: '选择文件',
data: '数据',
@@ -324,7 +333,7 @@ export const zhCN = {
wrapLongLines: '将长行换行显示',
markdownSupported: '支持 Markdown',
plantATree: '种植一棵树',
- dataTabPageSize: '数据标签的页面大小',
+ dataTabPageSize: '每页结果',
noOpenTabs: '没有打开的标签, 请在左侧栏上导航或:',
restorePreviousSession: '恢复上一个会话',
closeTab: '关闭标签',
@@ -348,7 +357,6 @@ export const zhCN = {
saveContent: '保存内容',
openAllConnections: '打开所有连接',
openSettings: '打开设置',
- openScratchpad: '打开草稿栏',
runOrReload: '运行或重新加载',
openFilter: '打开过滤器',
nextResultsPage: '下一个结果页',
@@ -356,6 +364,8 @@ export const zhCN = {
editFolder: '编辑文件夹',
folderName: '文件夹名称',
deleteFolder: '删除文件夹',
+ newFolder: '新文件夹',
+ outOfFolder: '',
editConnectionAppearance: '编辑连接的外观',
defaultCopyType: '默认复制类型',
showTableSize: '在侧边栏显示表大小',
@@ -394,7 +404,10 @@ export const zhCN = {
saveFile: '保存文件',
saveFileAs: '将文件另存为',
openFile: '打开文件',
- openNotes: '打开笔记'
+ openNotes: '打开笔记',
+ debugConsole: '调试控制台',
+ executedQueries: '执行的查询',
+ sizeLimitError: '超过 {size} 的最大大小'
},
faker: { // Faker.js 方法,用于随机生成的内容
address: '地址',