diff options
-rw-r--r-- | i18n/zho/package.i18n.json | 11 | ||||
-rw-r--r-- | locale/en.json | 16 | ||||
-rw-r--r-- | locale/zh-cn.json | 16 | ||||
-rw-r--r-- | package.json | 24 | ||||
-rw-r--r-- | package.nls.json | 11 |
5 files changed, 22 insertions, 56 deletions
diff --git a/i18n/zho/package.i18n.json b/i18n/zho/package.i18n.json new file mode 100644 index 00000000..2aa69695 --- /dev/null +++ b/i18n/zho/package.i18n.json @@ -0,0 +1,11 @@ +{ + "config.runtime.version": "Lua运行版本。", + "config.runtime.path": "package.path", + "config.diagnostics.disable": "禁用的诊断(使用浮框括号内的代码)。", + "config.diagnostics.globals": "已定义的全局变量。", + "config.workspace.ignoreDir": "忽略的目录。", + "config.workspace.ignoreSubmodules": "忽略子模块。", + "config.workspace.useGitIgnore": "忽略 \".gitignore\" 中列举的文件。", + "config.workspace.maxPreload": "最大预加载文件数。", + "config.workspace.preloadFileSize": "预加载时跳过大小大于该值(KB)的文件。" +} diff --git a/locale/en.json b/locale/en.json deleted file mode 100644 index 921e5ba3..00000000 --- a/locale/en.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "version": "1.0.0", - "contents": { - "package": { - "config.runtime.version": "Lua runtime version.", - "config.runtime.path": "package.path", - "config.diagnostics.disable": "Disabled diagnostic (Use code in hover brackets).", - "config.diagnostics.globals": "Defined global variables.", - "config.workspace.ignoreDir": "Ignored directories.", - "config.workspace.ignoreSubmodules": "Ignore submodules.", - "config.workspace.useGitIgnore": "Ignore files list in \".gitignore\" .", - "config.workspace.maxPreload": "Max preloaded files.", - "config.workspace.preloadFileSize": "Skip files larger than this value (KB) when preloading." - } - } -} diff --git a/locale/zh-cn.json b/locale/zh-cn.json deleted file mode 100644 index d80ab846..00000000 --- a/locale/zh-cn.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "version": "1.0.0", - "contents": { - "package": { - "config.runtime.version": "Lua运行版本。", - "config.runtime.path": "package.path", - "config.diagnostics.disable": "禁用的诊断(使用浮框括号内的代码)。", - "config.diagnostics.globals": "已定义的全局变量。", - "config.workspace.ignoreDir": "忽略的目录。", - "config.workspace.ignoreSubmodules": "忽略子模块。", - "config.workspace.useGitIgnore": "忽略 \".gitignore\" 中列举的文件。", - "config.workspace.maxPreload": "最大预加载文件数。", - "config.workspace.preloadFileSize": "预加载时跳过大小大于该值(KB)的文件。" - } - } -} diff --git a/package.json b/package.json index 918bc2f1..253686db 100644 --- a/package.json +++ b/package.json @@ -108,30 +108,6 @@ "scopeName": "source.lua", "path": "syntaxes/lua.tmLanguage.json" } - ], - "localizations": [ - { - "languageId": "en", - "languageName": "", - "localizedLanguageName": "", - "translations": [ - { - "id": "sumneko.lua", - "path": "locale/en.json" - } - ] - }, - { - "languageId": "zh-cn", - "languageName": "", - "localizedLanguageName": "", - "translations": [ - { - "id": "sumneko.lua", - "path": "locale/zh-cn.json" - } - ] - } ] }, "scripts": { diff --git a/package.nls.json b/package.nls.json new file mode 100644 index 00000000..d8869f08 --- /dev/null +++ b/package.nls.json @@ -0,0 +1,11 @@ +{ + "config.runtime.version": "Lua runtime version.", + "config.runtime.path": "package.path", + "config.diagnostics.disable": "Disabled diagnostic (Use code in hover brackets).", + "config.diagnostics.globals": "Defined global variables.", + "config.workspace.ignoreDir": "Ignored directories.", + "config.workspace.ignoreSubmodules": "Ignore submodules.", + "config.workspace.useGitIgnore": "Ignore files list in \".gitignore\" .", + "config.workspace.maxPreload": "Max preloaded files.", + "config.workspace.preloadFileSize": "Skip files larger than this value (KB) when preloading." +} |