diff options
Diffstat (limited to 'locale')
-rw-r--r-- | locale/en-us/script.lua | 44 | ||||
-rw-r--r-- | locale/en-us/setting.lua | 4 | ||||
-rw-r--r-- | locale/pt-br/script.lua | 44 | ||||
-rw-r--r-- | locale/pt-br/setting.lua | 4 | ||||
-rw-r--r-- | locale/zh-cn/script.lua | 44 | ||||
-rw-r--r-- | locale/zh-cn/setting.lua | 6 | ||||
-rw-r--r-- | locale/zh-tw/script.lua | 44 | ||||
-rw-r--r-- | locale/zh-tw/setting.lua | 6 |
8 files changed, 98 insertions, 98 deletions
diff --git a/locale/en-us/script.lua b/locale/en-us/script.lua index 060c7c45..dd8c3fa9 100644 --- a/locale/en-us/script.lua +++ b/locale/en-us/script.lua @@ -197,9 +197,9 @@ WORKSPACE_DIAGNOSTIC = WORKSPACE_SKIP_HUGE_FILE = 'For performance reasons, the parsing of this file has been stopped: {}' WORKSPACE_NOT_ALLOWED = -'Your workspace is set to `{}`. Lua language server refused to load this directory. Please check your configuration.[learn more here](https://github.com/LuaLS/lua-language-server/wiki/FAQ#why-is-the-server-scanning-the-wrong-folder)' +'Your workspace is set to `{}`. Lua language server refused to load this directory. Please check your configuration.[learn more here](https://luals.github.io/wiki/faq#why-is-the-server-scanning-the-wrong-folder)' WORKSPACE_SCAN_TOO_MUCH = -'More than {} files have been scanned. The current scanned directory is `{}`. Please see the [FAQ](https://github.com/LuaLS/lua-language-server/wiki/FAQ#how-can-i-improve-startup-speeds) to see how you can include fewer files. It is also possible that your [configuration is incorrect](https://github.com/LuaLS/lua-language-server/wiki/FAQ#why-is-the-server-scanning-the-wrong-folder).' +'More than {} files have been scanned. The current scanned directory is `{}`. Please see the [FAQ](https://luals.github.io/wiki/faq/#how-can-i-improve-startup-speeds) to see how you can include fewer files. It is also possible that your [configuration is incorrect](https://luals.github.io/wiki/faq#why-is-the-server-scanning-the-wrong-folder).' PARSER_CRASH = 'Parser crashed! Last words:{}' @@ -552,7 +552,7 @@ WINDOW_APPLY_SETTING = WINDOW_CHECK_SEMANTIC = 'If you are using the color theme in the market, you may need to modify `editor.semanticHighlighting.enabled` to `true` to make semantic tokens take effect.' WINDOW_TELEMETRY_HINT = -'Please allow sending anonymous usage data and error reports to help us further improve this extension. Read our privacy policy [here](https://github.com/LuaLS/lua-language-server/wiki/Home#privacy) .' +'Please allow sending anonymous usage data and error reports to help us further improve this extension. Read our privacy policy [here](https://luals.github.io/privacy#language-server) .' WINDOW_TELEMETRY_ENABLE = 'Allow' WINDOW_TELEMETRY_DISABLE = @@ -697,7 +697,7 @@ Defines a class/table structure Manager = {} ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#class) +[View Wiki](https://luals.github.io/wiki/annotations#class) ]=] LUADOC_DESC_TYPE = [=[ @@ -748,7 +748,7 @@ local x --x[""] is true local myFunction ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#types-and-type) +[View Wiki](https://luals.github.io/wiki/annotations#type) ]=] LUADOC_DESC_ALIAS = [=[ @@ -798,7 +798,7 @@ local enums = { ---| `enums.CLOSE` ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#alias) +[View Wiki](https://luals.github.io/wiki/annotations#alias) ]=] LUADOC_DESC_PARAM = [=[ @@ -823,7 +823,7 @@ function get(url, headers, timeout) end function concat(base, ...) end ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#param) +[View Wiki](https://luals.github.io/wiki/annotations#param) ]=] LUADOC_DESC_RETURN = [=[ @@ -861,7 +861,7 @@ function getFirstLast() end function getTags(item) end ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#return) +[View Wiki](https://luals.github.io/wiki/annotations#return) ]=] LUADOC_DESC_FIELD = [=[ @@ -892,7 +892,7 @@ response = get("localhost") statusCode = response.status.code ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#field) +[View Wiki](https://luals.github.io/wiki/annotations#field) ]=] LUADOC_DESC_GENERIC = [=[ @@ -949,7 +949,7 @@ local v = Generic("Foo") -- v is an object of Foo -- we give for key (K) or value (V) ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#generics-and-generic) +[View Wiki](https://luals.github.io/wiki/annotations/#generic) ]=] LUADOC_DESC_VARARG = [=[ @@ -968,7 +968,7 @@ provide typing or allow descriptions. function concat(...) end ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#vararg) +[View Wiki](https://luals.github.io/wiki/annotations/#vararg) ]=] LUADOC_DESC_OVERLOAD = [=[ @@ -983,7 +983,7 @@ Allows defining of multiple function signatures. function table.insert(t, position, value) end ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#overload) +[View Wiki](https://luals.github.io/wiki/annotations#overload) ]=] LUADOC_DESC_DEPRECATED = [=[ @@ -994,7 +994,7 @@ being ~~struck through~~. `---@deprecated` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#deprecated) +[View Wiki](https://luals.github.io/wiki/annotations#deprecated) ]=] LUADOC_DESC_META = [=[ @@ -1009,7 +1009,7 @@ There are 3 main distinctions to note with meta files: `---@meta` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#meta) +[View Wiki](https://luals.github.io/wiki/annotations#meta) ]=] LUADOC_DESC_VERSION = [=[ @@ -1034,7 +1034,7 @@ function onlyWorksInJIT() end function oldLuaOnly() end ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#version) +[View Wiki](https://luals.github.io/wiki/annotations#version) ]=] LUADOC_DESC_SEE = [=[ @@ -1044,7 +1044,7 @@ Define something that can be viewed for more information `---@see <text>` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#see) +[View Wiki](https://luals.github.io/wiki/annotations#see) ]=] LUADOC_DESC_DIAGNOSTIC = [=[ @@ -1070,7 +1070,7 @@ local unused = "hello world" ---@diagnostic enable: unused-local ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#diagnostic) +[View Wiki](https://luals.github.io/wiki/annotations#diagnostic) ]=] LUADOC_DESC_MODULE = [=[ @@ -1087,7 +1087,7 @@ local stringUtils local module = require('string.utils') ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#module) +[View Wiki](https://luals.github.io/wiki/annotations#module) ]=] LUADOC_DESC_ASYNC = [=[ @@ -1097,7 +1097,7 @@ Marks a function as asynchronous. `---@async` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#async) +[View Wiki](https://luals.github.io/wiki/annotations#async) ]=] LUADOC_DESC_NODISCARD = [=[ @@ -1109,7 +1109,7 @@ be ignored. `---@nodiscard` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#nodiscard) +[View Wiki](https://luals.github.io/wiki/annotations#nodiscard) ]=] LUADOC_DESC_CAST = [=[ @@ -1144,7 +1144,7 @@ local x --> string|table print(x) --> table ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#cast) +[View Wiki](https://luals.github.io/wiki/annotations#cast) ]=] LUADOC_DESC_OPERATOR = [=[ @@ -1179,7 +1179,7 @@ pB = -pA LUADOC_DESC_ENUM = [=[ 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/LuaLS/lua-language-server/wiki/Annotations#alias) +table, take a look at the [`@alias`](https://luals.github.io/wiki/annotations#alias) tag. ## Syntax diff --git a/locale/en-us/setting.lua b/locale/en-us/setting.lua index b15f3659..8a422d06 100644 --- a/locale/en-us/setting.lua +++ b/locale/en-us/setting.lua @@ -27,7 +27,7 @@ config.runtime.unicodeName = config.runtime.nonstandardSymbol = "Supports non-standard symbols. Make sure that your runtime environment supports these symbols." config.runtime.plugin = -"Plugin path. Please read [wiki](https://github.com/LuaLS/lua-language-server/wiki/Plugins) to learn more." +"Plugin path. Please read [wiki](https://luals.github.io/wiki/plugins) to learn more." config.runtime.pluginArgs = "Additional arguments for the plugin." config.runtime.fileEncoding = @@ -273,7 +273,7 @@ config.nameStyle.config = 'Set name style config' config.telemetry.enable = [[ -Enable telemetry to send your editor information and error logs over the network. Read our privacy policy [here](https://github.com/LuaLS/lua-language-server/wiki/Home#privacy). +Enable telemetry to send your editor information and error logs over the network. Read our privacy policy [here](https://luals.github.io/privacy/#language-server). ]] config.misc.parameters = '[Command line parameters](https://github.com/LuaLS/lua-telemetry-server/tree/master/method) when starting the language server in VSCode.' diff --git a/locale/pt-br/script.lua b/locale/pt-br/script.lua index 4c4e5d2b..22f42820 100644 --- a/locale/pt-br/script.lua +++ b/locale/pt-br/script.lua @@ -197,9 +197,9 @@ WORKSPACE_DIAGNOSTIC = WORKSPACE_SKIP_HUGE_FILE = 'Por motivos de desempenho, a análise deste arquivo foi interrompida: {}' WORKSPACE_NOT_ALLOWED = -'Seu espaço de trabalho foi definido para `{}`. Servidor da linguagem Lua recusou o carregamneto neste diretório. Por favor, cheque sua configuração. [aprenda mais aqui](https://github.com/LuaLS/lua-language-server/wiki/FAQ#why-is-the-server-scanning-the-wrong-folder)' +'Seu espaço de trabalho foi definido para `{}`. Servidor da linguagem Lua recusou o carregamneto neste diretório. Por favor, cheque sua configuração. [aprenda mais aqui](https://luals.github.io/wiki/faq#why-is-the-server-scanning-the-wrong-folder)' WORKSPACE_SCAN_TOO_MUCH = -- TODO: need translate! -'Mais do que {} arquivos foram escaneados. O diretório atual escaneado é `{}`. Please see the [FAQ](https://github.com/LuaLS/lua-language-server/wiki/FAQ#how-can-i-improve-startup-speeds) to see how you can include fewer files. It is also possible that your [configuration is incorrect](https://github.com/LuaLS/lua-language-server/wiki/FAQ#why-is-the-server-scanning-the-wrong-folder).' +'Mais do que {} arquivos foram escaneados. O diretório atual escaneado é `{}`. Please see the [FAQ](https://luals.github.io/wiki/faq#how-can-i-improve-startup-speeds) to see how you can include fewer files. It is also possible that your [configuration is incorrect](https://luals.github.io/wiki/faq#why-is-the-server-scanning-the-wrong-folder).' PARSER_CRASH = 'Parser quebrou! Últimas palavras: {}' @@ -552,7 +552,7 @@ WINDOW_APPLY_SETTING = WINDOW_CHECK_SEMANTIC = 'Se você estiver usando o tema de cores do market, talvez seja necessário modificar `editor.semanticHighlighting.enabled` para `true` para fazer com tokens semânticas sejam habilitados.' WINDOW_TELEMETRY_HINT = -'Por favor, permita o envio de dados de uso e relatórios de erro anônimos para nos ajudar a melhorar ainda mais essa extensão. Leia nossa política de privacidade [aqui](https://github.com/LuaLS/lua-language-server/wiki/Home#privacy) .' +'Por favor, permita o envio de dados de uso e relatórios de erro anônimos para nos ajudar a melhorar ainda mais essa extensão. Leia nossa política de privacidade [aqui](https://luals.github.io/privacy/#language-server) .' WINDOW_TELEMETRY_ENABLE = 'Permitir' WINDOW_TELEMETRY_DISABLE = @@ -697,7 +697,7 @@ Defines a class/table structure Manager = {} ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#class) +[View Wiki](https://luals.github.io/wiki/annotations#class) ]=] LUADOC_DESC_TYPE = -- TODO: need translate! [=[ @@ -748,7 +748,7 @@ local x --x[""] is true local myFunction ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#types-and-type) +[View Wiki](https://luals.github.io/wiki/annotations#type) ]=] LUADOC_DESC_ALIAS = -- TODO: need translate! [=[ @@ -798,7 +798,7 @@ local enums = { ---| `enums.CLOSE` ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#alias) +[View Wiki](https://luals.github.io/wiki/annotations#alias) ]=] LUADOC_DESC_PARAM = -- TODO: need translate! [=[ @@ -823,7 +823,7 @@ function get(url, headers, timeout) end function concat(base, ...) end ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#param) +[View Wiki](https://luals.github.io/wiki/annotations#param) ]=] LUADOC_DESC_RETURN = -- TODO: need translate! [=[ @@ -861,7 +861,7 @@ function getFirstLast() end function getTags(item) end ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#return) +[View Wiki](https://luals.github.io/wiki/annotations#return) ]=] LUADOC_DESC_FIELD = -- TODO: need translate! [=[ @@ -892,7 +892,7 @@ response = get("localhost") statusCode = response.status.code ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#field) +[View Wiki](https://luals.github.io/wiki/annotations#field) ]=] LUADOC_DESC_GENERIC = -- TODO: need translate! [=[ @@ -949,7 +949,7 @@ local v = Generic("Foo") -- v is an object of Foo -- we give for key (K) or value (V) ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#generics-and-generic) +[View Wiki](https://luals.github.io/wiki/annotations/#generic) ]=] LUADOC_DESC_VARARG = -- TODO: need translate! [=[ @@ -968,7 +968,7 @@ provide typing or allow descriptions. function concat(...) end ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#vararg) +[View Wiki](https://luals.github.io/wiki/annotations#vararg) ]=] LUADOC_DESC_OVERLOAD = -- TODO: need translate! [=[ @@ -983,7 +983,7 @@ Allows defining of multiple function signatures. function table.insert(t, position, value) end ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#overload) +[View Wiki](https://luals.github.io/wiki/annotations#overload) ]=] LUADOC_DESC_DEPRECATED = -- TODO: need translate! [=[ @@ -994,7 +994,7 @@ being ~~struck through~~. `---@deprecated` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#deprecated) +[View Wiki](https://luals.github.io/wiki/annotations#deprecated) ]=] LUADOC_DESC_META = -- TODO: need translate! [=[ @@ -1009,7 +1009,7 @@ There are 3 main distinctions to note with meta files: `---@meta` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#meta) +[View Wiki](https://luals.github.io/wiki/annotations#meta) ]=] LUADOC_DESC_VERSION = -- TODO: need translate! [=[ @@ -1034,7 +1034,7 @@ function onlyWorksInJIT() end function oldLuaOnly() end ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#version) +[View Wiki](https://luals.github.io/wiki/annotations#version) ]=] LUADOC_DESC_SEE = -- TODO: need translate! [=[ @@ -1044,7 +1044,7 @@ Define something that can be viewed for more information `---@see <text>` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#see) +[View Wiki](https://luals.github.io/wiki/annotations#see) ]=] LUADOC_DESC_DIAGNOSTIC = -- TODO: need translate! [=[ @@ -1070,7 +1070,7 @@ local unused = "hello world" ---@diagnostic enable: unused-local ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#diagnostic) +[View Wiki](https://luals.github.io/wiki/annotations#diagnostic) ]=] LUADOC_DESC_MODULE = -- TODO: need translate! [=[ @@ -1087,7 +1087,7 @@ local stringUtils local module = require('string.utils') ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#module) +[View Wiki](https://luals.github.io/wiki/annotations#module) ]=] LUADOC_DESC_ASYNC = -- TODO: need translate! [=[ @@ -1097,7 +1097,7 @@ Marks a function as asynchronous. `---@async` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#async) +[View Wiki](https://luals.github.io/wiki/annotations#async) ]=] LUADOC_DESC_NODISCARD = -- TODO: need translate! [=[ @@ -1109,7 +1109,7 @@ be ignored. `---@nodiscard` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#nodiscard) +[View Wiki](https://luals.github.io/wiki/annotations#nodiscard) ]=] LUADOC_DESC_CAST = -- TODO: need translate! [=[ @@ -1144,7 +1144,7 @@ local x --> string|table print(x) --> table ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#cast) +[View Wiki](https://luals.github.io/wiki/annotations#cast) ]=] LUADOC_DESC_OPERATOR = -- TODO: need translate! [=[ @@ -1179,7 +1179,7 @@ pB = -pA 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/LuaLS/lua-language-server/wiki/Annotations#alias) +table, take a look at the [`@alias`](https://luals.github.io/wiki/annotations#alias) tag. ## Syntax diff --git a/locale/pt-br/setting.lua b/locale/pt-br/setting.lua index 5297bddd..2229cef5 100644 --- a/locale/pt-br/setting.lua +++ b/locale/pt-br/setting.lua @@ -27,7 +27,7 @@ config.runtime.unicodeName = -- TODO: need translate! config.runtime.nonstandardSymbol = -- TODO: need translate! "Supports non-standard symbols. Make sure that your runtime environment supports these symbols." config.runtime.plugin = -- TODO: need translate! -"Plugin path. Please read [wiki](https://github.com/LuaLS/lua-language-server/wiki/Plugins) to learn more." +"Plugin path. Please read [wiki](https://luals.github.io/wiki/plugins) to learn more." config.runtime.pluginArgs = -- TODO: need translate! "Additional arguments for the plugin." config.runtime.fileEncoding = -- TODO: need translate! @@ -273,7 +273,7 @@ config.nameStyle.config = -- TODO: need translate! 'Set name style config' config.telemetry.enable = -- TODO: need translate! [[ -Enable telemetry to send your editor information and error logs over the network. Read our privacy policy [here](https://github.com/LuaLS/lua-language-server/wiki/Home#privacy). +Enable telemetry to send your editor information and error logs over the network. Read our privacy policy [here](https://luals.github.io/privacy/#language-server). ]] config.misc.parameters = -- TODO: need translate! '[Command line parameters](https://github.com/LuaLS/lua-telemetry-server/tree/master/method) when starting the language service in VSCode.' diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua index 40ba7cbc..be0cad3b 100644 --- a/locale/zh-cn/script.lua +++ b/locale/zh-cn/script.lua @@ -197,9 +197,9 @@ WORKSPACE_DIAGNOSTIC = WORKSPACE_SKIP_HUGE_FILE = '出于性能考虑,已停止对此文件解析:{}' WORKSPACE_NOT_ALLOWED = -'你的工作目录被设置为了 `{}`,Lua语言服务拒绝加载此目录,请检查你的配置。[了解更多](https://github.com/LuaLS/lua-language-server/wiki/FAQ#why-is-the-server-scanning-the-wrong-folder)' +'你的工作目录被设置为了 `{}`,Lua语言服务拒绝加载此目录,请检查你的配置。[了解更多](https://luals.github.io/wiki/faq#why-is-the-server-scanning-the-wrong-folder)' WORKSPACE_SCAN_TOO_MUCH = -'已扫描了超过 {} 个文件,当前扫描的目录为 `{}`. 请参阅 [FAQ](https://github.com/LuaLS/lua-language-server/wiki/FAQ#how-can-i-improve-startup-speeds) 了解如何排除多余的文件。也可能是你的 [设置有错误](https://github.com/LuaLS/lua-language-server/wiki/FAQ#why-is-the-server-scanning-the-wrong-folder).' +'已扫描了超过 {} 个文件,当前扫描的目录为 `{}`. 请参阅 [FAQ](https://luals.github.io/wiki/faq#how-can-i-improve-startup-speeds) 了解如何排除多余的文件。也可能是你的 [设置有错误](https://luals.github.io/wiki/faq#why-is-the-server-scanning-the-wrong-folder).' PARSER_CRASH = '语法解析崩溃了!遗言:{}' @@ -552,7 +552,7 @@ WINDOW_APPLY_SETTING = WINDOW_CHECK_SEMANTIC = '如果你正在使用市场中的颜色主题,你可能需要同时修改 `editor.semanticHighlighting.enabled` 选项为 `true` 才会使语义着色生效。' WINDOW_TELEMETRY_HINT = -'请允许发送匿名的使用数据与错误报告,帮助我们进一步完善此插件。在[此处](https://github.com/LuaLS/lua-language-server/wiki/Home#privacy)阅读我们的隐私声明。' +'请允许发送匿名的使用数据与错误报告,帮助我们进一步完善此插件。在[此处](https://luals.github.io/privacy/#language-server)阅读我们的隐私声明。' WINDOW_TELEMETRY_ENABLE = '允许' WINDOW_TELEMETRY_DISABLE = @@ -697,7 +697,7 @@ Defines a class/table structure Manager = {} ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#class) +[View Wiki](https://luals.github.io/wiki/annotations#class) ]=] LUADOC_DESC_TYPE = -- TODO: need translate! [=[ @@ -748,7 +748,7 @@ local x --x[""] is true local myFunction ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#types-and-type) +[View Wiki](https://luals.github.io/wiki/annotations#type) ]=] LUADOC_DESC_ALIAS = -- TODO: need translate! [=[ @@ -798,7 +798,7 @@ local enums = { ---| `enums.CLOSE` ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#alias) +[View Wiki](https://luals.github.io/wiki/annotations#alias) ]=] LUADOC_DESC_PARAM = -- TODO: need translate! [=[ @@ -823,7 +823,7 @@ function get(url, headers, timeout) end function concat(base, ...) end ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#param) +[View Wiki](https://luals.github.io/wiki/annotations#param) ]=] LUADOC_DESC_RETURN = -- TODO: need translate! [=[ @@ -861,7 +861,7 @@ function getFirstLast() end function getTags(item) end ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#return) +[View Wiki](https://luals.github.io/wiki/annotations#return) ]=] LUADOC_DESC_FIELD = -- TODO: need translate! [=[ @@ -892,7 +892,7 @@ response = get("localhost") statusCode = response.status.code ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#field) +[View Wiki](https://luals.github.io/wiki/annotations#field) ]=] LUADOC_DESC_GENERIC = -- TODO: need translate! [=[ @@ -949,7 +949,7 @@ local v = Generic("Foo") -- v is an object of Foo -- we give for key (K) or value (V) ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#generics-and-generic) +[View Wiki](https://luals.github.io/wiki/annotations/#generic) ]=] LUADOC_DESC_VARARG = -- TODO: need translate! [=[ @@ -968,7 +968,7 @@ provide typing or allow descriptions. function concat(...) end ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#vararg) +[View Wiki](https://luals.github.io/wiki/annotations#vararg) ]=] LUADOC_DESC_OVERLOAD = -- TODO: need translate! [=[ @@ -983,7 +983,7 @@ Allows defining of multiple function signatures. function table.insert(t, position, value) end ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#overload) +[View Wiki](https://luals.github.io/wiki/annotations#overload) ]=] LUADOC_DESC_DEPRECATED = -- TODO: need translate! [=[ @@ -994,7 +994,7 @@ being ~~struck through~~. `---@deprecated` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#deprecated) +[View Wiki](https://luals.github.io/wiki/annotations#deprecated) ]=] LUADOC_DESC_META = -- TODO: need translate! [=[ @@ -1009,7 +1009,7 @@ There are 3 main distinctions to note with meta files: `---@meta` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#meta) +[View Wiki](https://luals.github.io/wiki/annotations#meta) ]=] LUADOC_DESC_VERSION = -- TODO: need translate! [=[ @@ -1034,7 +1034,7 @@ function onlyWorksInJIT() end function oldLuaOnly() end ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#version) +[View Wiki](https://luals.github.io/wiki/annotations#version) ]=] LUADOC_DESC_SEE = -- TODO: need translate! [=[ @@ -1044,7 +1044,7 @@ Define something that can be viewed for more information `---@see <text>` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#see) +[View Wiki](https://luals.github.io/wiki/annotations#see) ]=] LUADOC_DESC_DIAGNOSTIC = -- TODO: need translate! [=[ @@ -1070,7 +1070,7 @@ local unused = "hello world" ---@diagnostic enable: unused-local ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#diagnostic) +[View Wiki](https://luals.github.io/wiki/annotations#diagnostic) ]=] LUADOC_DESC_MODULE = -- TODO: need translate! [=[ @@ -1087,7 +1087,7 @@ local stringUtils local module = require('string.utils') ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#module) +[View Wiki](https://luals.github.io/wiki/annotations#module) ]=] LUADOC_DESC_ASYNC = -- TODO: need translate! [=[ @@ -1097,7 +1097,7 @@ Marks a function as asynchronous. `---@async` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#async) +[View Wiki](https://luals.github.io/wiki/annotations#async) ]=] LUADOC_DESC_NODISCARD = -- TODO: need translate! [=[ @@ -1109,7 +1109,7 @@ be ignored. `---@nodiscard` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#nodiscard) +[View Wiki](https://luals.github.io/wiki/annotations#nodiscard) ]=] LUADOC_DESC_CAST = -- TODO: need translate! [=[ @@ -1144,7 +1144,7 @@ local x --> string|table print(x) --> table ``` --- -[View Wiki](https://github.com/LuaLS/lua-language-server/wiki/Annotations#cast) +[View Wiki](https://luals.github.io/wiki/annotations#cast) ]=] LUADOC_DESC_OPERATOR = -- TODO: need translate! [=[ @@ -1179,7 +1179,7 @@ pB = -pA 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/LuaLS/lua-language-server/wiki/Annotations#alias) +table, take a look at the [`@alias`](https://luals.github.io/wiki/annotations#alias) tag. ## Syntax diff --git a/locale/zh-cn/setting.lua b/locale/zh-cn/setting.lua index 72ff9c75..69b073a8 100644 --- a/locale/zh-cn/setting.lua +++ b/locale/zh-cn/setting.lua @@ -27,7 +27,7 @@ config.runtime.unicodeName = config.runtime.nonstandardSymbol = "支持非标准的符号。请务必确认你的运行环境支持这些符号。" config.runtime.plugin = -"插件路径,请查阅[文档](https://github.com/LuaLS/lua-language-server/wiki/Plugins)了解用法。" +"插件路径,请查阅[文档](https://luals.github.io/wiki/plugins)了解用法。" config.runtime.pluginArgs = -- TODO: need translate! "Additional arguments for the plugin." config.runtime.fileEncoding = @@ -272,10 +272,10 @@ config.nameStyle.config = '设定命名风格检查的配置' config.telemetry.enable = [[ -启用遥测,通过网络发送你的编辑器信息与错误日志。在[此处](https://github.com/LuaLS/lua-language-server/wiki/Home#privacy)阅读我们的隐私声明。 +启用遥测,通过网络发送你的编辑器信息与错误日志。在[此处](https://luals.github.io/privacy/#language-server)阅读我们的隐私声明。 ]] config.misc.parameters = -'VSCode中启动语言服务时的[命令行参数](https://github.com/LuaLS/lua-language-server/wiki/Getting-Started#arguments)。' +'VSCode中启动语言服务时的[命令行参数](https://luals.github.io/wiki/usage#arguments)。' config.misc.executablePath = 'VSCode中指定可执行文件路径。' config.IntelliSense.traceLocalSet = diff --git a/locale/zh-tw/script.lua b/locale/zh-tw/script.lua index 1208a840..995ada56 100644 --- a/locale/zh-tw/script.lua +++ b/locale/zh-tw/script.lua @@ -197,9 +197,9 @@ WORKSPACE_DIAGNOSTIC = WORKSPACE_SKIP_HUGE_FILE = '出於效能考慮,已停止對此檔案解析:{}' WORKSPACE_NOT_ALLOWED = -'你的工作目錄被設定為了 `{}` ,Lua語言伺服拒絕載入此目錄,請檢查你的設定檔。[了解更多](https://github.com/LuaLS/lua-language-server/wiki/FAQ#why-is-the-server-scanning-the-wrong-folder)' +'你的工作目錄被設定為了 `{}` ,Lua語言伺服拒絕載入此目錄,請檢查你的設定檔。[了解更多](https://luals.github.io/wiki/faq#why-is-the-server-scanning-the-wrong-folder)' WORKSPACE_SCAN_TOO_MUCH = -- TODO: need translate! -'已掃描了超過 {} 個檔案,目前掃描的目錄為 `{}`. Please see the [FAQ](https://github.com/LuaLS/lua-language-server/wiki/FAQ#how-can-i-improve-startup-speeds) to see how you can include fewer files. It is also possible that your [configuration is incorrect](https://github.com/LuaLS/lua-language-server/wiki/FAQ#why-is-the-server-scanning-the-wrong-folder).' +'已掃描了超過 {} 個檔案,目前掃描的目錄為 `{}`. Please see the [FAQ](https://luals.github.io/wiki/faq#how-can-i-improve-startup-speeds) to see how you can include fewer files. It is also possible that your [configuration is incorrect](https://luals.github.io/wiki/faq#why-is-the-server-scanning-the-wrong-folder).' PARSER_CRASH = '語法解析崩潰了!遺言:{}' @@ -552,7 +552,7 @@ WINDOW_APPLY_SETTING = WINDOW_CHECK_SEMANTIC = '如果你正在使用市場中的顏色主題,你可能需要同時修改 `editor.semanticHighlighting.enabled` 選項為 `true` 才會使語義著色生效。' WINDOW_TELEMETRY_HINT = -'請允許發送匿名的使用資料與錯誤報告,幫助我們進一步完善此延伸模組。在[此處](https://github.com/LuaLS/lua-language-server/wiki/Home#privacy)閱讀我們的隱私聲明。' +'請允許發送匿名的使用資料與錯誤報告,幫助我們進一步完善此延伸模組。在[此處](https://luals.github.io/privacy/#language-server)閱讀我們的隱私聲明。' WINDOW_TELEMETRY_ENABLE = '允許' WINDOW_TELEMETRY_DISABLE = @@ -697,7 +697,7 @@ LUADOC_DESC_CLASS = Manager = {} ``` --- -[檢視文件](https://github.com/LuaLS/lua-language-server/wiki/Annotations#class) +[檢視文件](https://luals.github.io/wiki/annotations#class) ]=] LUADOC_DESC_TYPE = [=[ @@ -748,7 +748,7 @@ local x --x[""] is true local myFunction ``` --- -[檢視文件](https://github.com/LuaLS/lua-language-server/wiki/Annotations#types-and-type) +[檢視文件](https://luals.github.io/wiki/annotations#type) ]=] LUADOC_DESC_ALIAS = [=[ @@ -798,7 +798,7 @@ local enums = { ---| `enums.CLOSE` ``` --- -[檢視文件](https://github.com/LuaLS/lua-language-server/wiki/Annotations#alias) +[檢視文件](https://luals.github.io/wiki/annotations#alias) ]=] LUADOC_DESC_PARAM = [=[ @@ -823,7 +823,7 @@ function get(url, headers, timeout) end function concat(base, ...) end ``` --- -[檢視文件](https://github.com/LuaLS/lua-language-server/wiki/Annotations#param) +[檢視文件](https://luals.github.io/wiki/annotations#param) ]=] LUADOC_DESC_RETURN = [=[ @@ -861,7 +861,7 @@ function getFirstLast() end function getTags(item) end ``` --- -[檢視文件](https://github.com/LuaLS/lua-language-server/wiki/Annotations#return) +[檢視文件](https://luals.github.io/wiki/annotations#return) ]=] LUADOC_DESC_FIELD = [=[ @@ -890,7 +890,7 @@ response = get("localhost") statusCode = response.status.code ``` --- -[檢視文件](https://github.com/LuaLS/lua-language-server/wiki/Annotations#field) +[檢視文件](https://luals.github.io/wiki/annotations#field) ]=] LUADOC_DESC_GENERIC = [=[ @@ -946,7 +946,7 @@ local v = Generic("Foo") -- v is an object of Foo -- we give for key (K) or value (V) ``` --- -[檢視文件](https://github.com/LuaLS/lua-language-server/wiki/Annotations#generics-and-generic) +[檢視文件](https://luals.github.io/wiki/annotations#generic) ]=] LUADOC_DESC_VARARG = [=[ @@ -964,7 +964,7 @@ LUADOC_DESC_VARARG = function concat(...) end ``` --- -[檢視文件](https://github.com/LuaLS/lua-language-server/wiki/Annotations#vararg) +[檢視文件](https://luals.github.io/wiki/annotations#vararg) ]=] LUADOC_DESC_OVERLOAD = [=[ @@ -979,7 +979,7 @@ LUADOC_DESC_OVERLOAD = function table.insert(t, position, value) end ``` --- -[檢視文件](https://github.com/LuaLS/lua-language-server/wiki/Annotations#overload) +[檢視文件](https://luals.github.io/wiki/annotations#overload) ]=] LUADOC_DESC_DEPRECATED = [=[ @@ -989,7 +989,7 @@ LUADOC_DESC_DEPRECATED = `---@deprecated` --- -[檢視文件](https://github.com/LuaLS/lua-language-server/wiki/Annotations#deprecated) +[檢視文件](https://luals.github.io/wiki/annotations#deprecated) ]=] LUADOC_DESC_META = [=[ @@ -1004,7 +1004,7 @@ LUADOC_DESC_META = `---@meta` --- -[檢視文件](https://github.com/LuaLS/lua-language-server/wiki/Annotations#meta) +[檢視文件](https://luals.github.io/wiki/annotations#meta) ]=] LUADOC_DESC_VERSION = [=[ @@ -1029,7 +1029,7 @@ function onlyWorksInJIT() end function oldLuaOnly() end ``` --- -[檢視文件](https://github.com/LuaLS/lua-language-server/wiki/Annotations#version) +[檢視文件](https://luals.github.io/wiki/annotations#version) ]=] LUADOC_DESC_SEE = [=[ @@ -1039,7 +1039,7 @@ LUADOC_DESC_SEE = `---@see <text>` --- -[檢視文件](https://github.com/LuaLS/lua-language-server/wiki/Annotations#see) +[檢視文件](https://luals.github.io/wiki/annotations#see) ]=] LUADOC_DESC_DIAGNOSTIC = [=[ @@ -1065,7 +1065,7 @@ local unused = "hello world" ---@diagnostic enable: unused-local ``` --- -[檢視文件](https://github.com/LuaLS/lua-language-server/wiki/Annotations#diagnostic) +[檢視文件](https://luals.github.io/wiki/annotations#diagnostic) ]=] LUADOC_DESC_MODULE = [=[ @@ -1082,7 +1082,7 @@ local stringUtils local module = require('string.utils') ``` --- -[檢視文件](https://github.com/LuaLS/lua-language-server/wiki/Annotations#module) +[檢視文件](https://luals.github.io/wiki/annotations#module) ]=] LUADOC_DESC_ASYNC = [=[ @@ -1092,7 +1092,7 @@ LUADOC_DESC_ASYNC = `---@async` --- -[檢視文件](https://github.com/LuaLS/lua-language-server/wiki/Annotations#async) +[檢視文件](https://luals.github.io/wiki/annotations#async) ]=] LUADOC_DESC_NODISCARD = [=[ @@ -1103,7 +1103,7 @@ LUADOC_DESC_NODISCARD = `---@nodiscard` --- -[檢視文件](https://github.com/LuaLS/lua-language-server/wiki/Annotations#nodiscard) +[檢視文件](https://luals.github.io/wiki/annotations#nodiscard) ]=] LUADOC_DESC_CAST = [=[ @@ -1138,7 +1138,7 @@ local x --> string|table print(x) --> table ``` --- -[檢視文件](https://github.com/LuaLS/lua-language-server/wiki/Annotations#cast) +[檢視文件](https://luals.github.io/wiki/annotations#cast) ]=] LUADOC_DESC_OPERATOR = -- TODO: need translate! [=[ @@ -1173,7 +1173,7 @@ pB = -pA 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/LuaLS/lua-language-server/wiki/Annotations#alias) +table, take a look at the [`@alias`](https://luals.github.io/wiki/annotations#alias) tag. ## Syntax diff --git a/locale/zh-tw/setting.lua b/locale/zh-tw/setting.lua index 351e6ca0..1b984220 100644 --- a/locale/zh-tw/setting.lua +++ b/locale/zh-tw/setting.lua @@ -27,7 +27,7 @@ config.runtime.unicodeName = config.runtime.nonstandardSymbol = "支援非標準的符號。請務必確認你的執行環境支援這些符號。" config.runtime.plugin = -"延伸模組路徑,請查閱[文件](https://github.com/LuaLS/lua-language-server/wiki/Plugins)瞭解用法。" +"延伸模組路徑,請查閱[文件](https://luals.github.io/wiki/plugins)瞭解用法。" config.runtime.pluginArgs = -- TODO: need translate! "Additional arguments for the plugin." config.runtime.fileEncoding = @@ -272,10 +272,10 @@ config.nameStyle.config = -- TODO: need translate! 'Set name style config' config.telemetry.enable = [[ -啟用遙測,透過網路發送你的編輯器資訊與錯誤日誌。在[此處](https://github.com/LuaLS/lua-language-server/wiki/Home#privacy)閱讀我們的隱私聲明。 +啟用遙測,透過網路發送你的編輯器資訊與錯誤日誌。在[此處](https://luals.github.io/privacy/#language-server)閱讀我們的隱私聲明。 ]] config.misc.parameters = -'VSCode中啟動語言伺服時的[命令列參數](https://github.com/LuaLS/lua-language-server/wiki/Getting-Started#arguments)。' +'VSCode中啟動語言伺服時的[命令列參數](https://luals.github.io/wiki/usage#arguments)。' config.misc.executablePath = -- TODO: need translate! 'Specify the executable path in VSCode.' config.IntelliSense.traceLocalSet = |