diff options
author | carsakiller <carsakiller@gmail.com> | 2023-02-03 10:47:20 -0500 |
---|---|---|
committer | carsakiller <carsakiller@gmail.com> | 2023-02-03 10:47:20 -0500 |
commit | e45e41e730923817435dd1ae1543496ed9302faf (patch) | |
tree | 8e3003acebf235301606e00b96529941e918b131 /locale/zh-cn | |
parent | 514403f34821956dccb483aa957f37d266aa3bc3 (diff) | |
download | lua-language-server-e45e41e730923817435dd1ae1543496ed9302faf.zip |
chore: update links to point to organization
Diffstat (limited to 'locale/zh-cn')
-rw-r--r-- | locale/zh-cn/script.lua | 46 | ||||
-rw-r--r-- | locale/zh-cn/setting.lua | 16 |
2 files changed, 31 insertions, 31 deletions
diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua index 4c3af355..c365cecb 100644 --- a/locale/zh-cn/script.lua +++ b/locale/zh-cn/script.lua @@ -177,7 +177,7 @@ WORKSPACE_DIAGNOSTIC = WORKSPACE_SKIP_HUGE_FILE = '出于性能考虑,已停止对此文件解析:{}' WORKSPACE_NOT_ALLOWED = -'你的工作目录被设置为了 `{}`,Lua语言服务拒绝加载此目录,请检查你的配置。[了解更多](https://github.com/sumneko/lua-language-server/wiki/FAQ#why-is-the-server-scanning-the-wrong-folder)' +'你的工作目录被设置为了 `{}`,Lua语言服务拒绝加载此目录,请检查你的配置。[了解更多](https://github.com/LuaLS/lua-language-server/wiki/FAQ#why-is-the-server-scanning-the-wrong-folder)' WORKSPACE_SCAN_TOO_MUCH = '已扫描了超过 {} 个文件,当前扫描的目录为 `{}`,请确认配置是否正确。' @@ -528,7 +528,7 @@ WINDOW_APPLY_SETTING = WINDOW_CHECK_SEMANTIC = '如果你正在使用市场中的颜色主题,你可能需要同时修改 `editor.semanticHighlighting.enabled` 选项为 `true` 才会使语义着色生效。' WINDOW_TELEMETRY_HINT = -'请允许发送匿名的使用数据与错误报告,帮助我们进一步完善此插件。在[此处](https://github.com/sumneko/lua-language-server/wiki/Home#privacy)阅读我们的隐私声明。' +'请允许发送匿名的使用数据与错误报告,帮助我们进一步完善此插件。在[此处](https://github.com/LuaLS/lua-language-server/wiki/Home#privacy)阅读我们的隐私声明。' WINDOW_TELEMETRY_ENABLE = '允许' WINDOW_TELEMETRY_DISABLE = @@ -673,7 +673,7 @@ Defines a class/table structure Manager = {} ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#class) +[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#class) ]=] LUADOC_DESC_TYPE = -- TODO: need translate! [=[ @@ -724,7 +724,7 @@ local x --x[""] is true local myFunction ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#types-and-type) +[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#types-and-type) ]=] LUADOC_DESC_ALIAS = -- TODO: need translate! [=[ @@ -774,7 +774,7 @@ local enums = { ---| `enums.CLOSE` ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#alias) +[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#alias) ]=] LUADOC_DESC_PARAM = -- TODO: need translate! [=[ @@ -799,7 +799,7 @@ function get(url, headers, timeout) end function concat(base, ...) end ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#param) +[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#param) ]=] LUADOC_DESC_RETURN = -- TODO: need translate! [=[ @@ -837,7 +837,7 @@ function getFirstLast() end function getTags(item) end ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#return) +[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#return) ]=] LUADOC_DESC_FIELD = -- TODO: need translate! [=[ @@ -868,7 +868,7 @@ response = get("localhost") statusCode = response.status.code ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#field) +[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#field) ]=] LUADOC_DESC_GENERIC = -- TODO: need translate! [=[ @@ -925,7 +925,7 @@ local v = Generic("Foo") -- v is an object of Foo -- we give for key (K) or value (V) ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#generics-and-generic) +[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#generics-and-generic) ]=] LUADOC_DESC_VARARG = -- TODO: need translate! [=[ @@ -944,7 +944,7 @@ provide typing or allow descriptions. function concat(...) end ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#vararg) +[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#vararg) ]=] LUADOC_DESC_OVERLOAD = -- TODO: need translate! [=[ @@ -959,7 +959,7 @@ Allows defining of multiple function signatures. function table.insert(t, position, value) end ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#overload) +[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#overload) ]=] LUADOC_DESC_DEPRECATED = -- TODO: need translate! [=[ @@ -970,7 +970,7 @@ being ~~struck through~~. `---@deprecated` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#deprecated) +[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#deprecated) ]=] LUADOC_DESC_META = -- TODO: need translate! [=[ @@ -985,7 +985,7 @@ There are 3 main distinctions to note with meta files: `---@meta` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#meta) +[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#meta) ]=] LUADOC_DESC_VERSION = -- TODO: need translate! [=[ @@ -1010,7 +1010,7 @@ function onlyWorksInJIT() end function oldLuaOnly() end ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#version) +[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#version) ]=] LUADOC_DESC_SEE = -- TODO: need translate! [=[ @@ -1020,7 +1020,7 @@ Define something that can be viewed for more information `---@see <text>` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#see) +[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#see) ]=] LUADOC_DESC_DIAGNOSTIC = -- TODO: need translate! [=[ @@ -1028,7 +1028,7 @@ Enable/disable diagnostics for error/warnings/etc. Actions: `disable`, `enable`, `disable-line`, `disable-next-line` -[Names](https://github.com/sumneko/lua-language-server/blob/cbb6e6224094c4eb874ea192c5f85a6cba099588/script/proto/define.lua#L54) +[Names](https://github.com/LuaLS/lua-language-server/blob/cbb6e6224094c4eb874ea192c5f85a6cba099588/script/proto/define.lua#L54) ## Syntax `---@diagnostic <action>[: <name>]` @@ -1046,7 +1046,7 @@ local unused = "hello world" ---@diagnostic enable: unused-local ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#diagnostic) +[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#diagnostic) ]=] LUADOC_DESC_MODULE = -- TODO: need translate! [=[ @@ -1063,7 +1063,7 @@ local stringUtils local module = require('string.utils') ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#module) +[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#module) ]=] LUADOC_DESC_ASYNC = -- TODO: need translate! [=[ @@ -1073,7 +1073,7 @@ Marks a function as asynchronous. `---@async` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#async) +[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#async) ]=] LUADOC_DESC_NODISCARD = -- TODO: need translate! [=[ @@ -1085,7 +1085,7 @@ be ignored. `---@nodiscard` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#nodiscard) +[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#nodiscard) ]=] LUADOC_DESC_CAST = -- TODO: need translate! [=[ @@ -1120,7 +1120,7 @@ local x --> string|table print(x) --> table ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#cast) +[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#cast) ]=] LUADOC_DESC_OPERATOR = -- TODO: need translate! [=[ @@ -1150,12 +1150,12 @@ pA = Passcode.new(1234) pB = -pA --> integer ``` -[View Request](https://github.com/sumneko/lua-language-server/issues/599) +[View Request](https://github.com/LuaLS/lua-language-server/issues/599) ]=] LUADOC_DESC_ENUM = -- TODO: need translate! [=[ Mark a table as an enum. If you want an enum but can't define it as a Lua -table, take a look at the [`@alias`](https://github.com/sumneko/lua-language-server/wiki/Annotations#alias) +table, take a look at the [`@alias`](https://github.com/LuaLS/lua-language-server/wiki/Annotations#alias) tag. ## Syntax diff --git a/locale/zh-cn/setting.lua b/locale/zh-cn/setting.lua index 1c2e3076..a62b6598 100644 --- a/locale/zh-cn/setting.lua +++ b/locale/zh-cn/setting.lua @@ -25,7 +25,7 @@ config.runtime.unicodeName = config.runtime.nonstandardSymbol = "支持非标准的符号。请务必确认你的运行环境支持这些符号。" config.runtime.plugin = -"插件路径,请查阅[文档](https://github.com/sumneko/lua-language-server/wiki/Plugins)了解用法。" +"插件路径,请查阅[文档](https://github.com/LuaLS/lua-language-server/wiki/Plugins)了解用法。" config.runtime.pluginArgs = -- TODO: need translate! "Additional arguments for the plugin." config.runtime.fileEncoding = @@ -132,7 +132,7 @@ config.workspace.checkThirdParty = * Jass ]] config.workspace.userThirdParty = -'在这里添加私有的第三方库适配文件路径,请参考内置的[配置文件路径](https://github.com/sumneko/lua-language-server/tree/master/meta/3rd)' +'在这里添加私有的第三方库适配文件路径,请参考内置的[配置文件路径](https://github.com/LuaLS/lua-language-server/tree/master/meta/3rd)' config.workspace.supportScheme = '为以下 scheme 的lua文件提供语言服务。' config.completion.enable = @@ -268,20 +268,20 @@ config.spell.dict = '拼写检查的自定义单词。' config.telemetry.enable = [[ -启用遥测,通过网络发送你的编辑器信息与错误日志。在[此处](https://github.com/sumneko/lua-language-server/wiki/Home#privacy)阅读我们的隐私声明。 +启用遥测,通过网络发送你的编辑器信息与错误日志。在[此处](https://github.com/LuaLS/lua-language-server/wiki/Home#privacy)阅读我们的隐私声明。 ]] config.misc.parameters = -'VSCode中启动语言服务时的[命令行参数](https://github.com/sumneko/lua-language-server/wiki/Getting-Started#arguments)。' +'VSCode中启动语言服务时的[命令行参数](https://github.com/LuaLS/lua-language-server/wiki/Getting-Started#arguments)。' config.misc.executablePath = 'VSCode中指定可执行文件路径。' config.IntelliSense.traceLocalSet = -'请查阅[文档](https://github.com/sumneko/lua-language-server/wiki/IntelliSense-optional-features)了解用法。' +'请查阅[文档](https://github.com/LuaLS/lua-language-server/wiki/IntelliSense-optional-features)了解用法。' config.IntelliSense.traceReturn = -'请查阅[文档](https://github.com/sumneko/lua-language-server/wiki/IntelliSense-optional-features)了解用法。' +'请查阅[文档](https://github.com/LuaLS/lua-language-server/wiki/IntelliSense-optional-features)了解用法。' config.IntelliSense.traceBeSetted = -'请查阅[文档](https://github.com/sumneko/lua-language-server/wiki/IntelliSense-optional-features)了解用法。' +'请查阅[文档](https://github.com/LuaLS/lua-language-server/wiki/IntelliSense-optional-features)了解用法。' config.IntelliSense.traceFieldInject = -'请查阅[文档](https://github.com/sumneko/lua-language-server/wiki/IntelliSense-optional-features)了解用法。' +'请查阅[文档](https://github.com/LuaLS/lua-language-server/wiki/IntelliSense-optional-features)了解用法。' config.type.castNumberToInteger = '允许将 `number` 类型赋给 `integer` 类型。' config.type.weakUnionCheck = |