diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-07-28 01:11:29 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-28 01:11:29 +0800 |
commit | 7549c48d88a9489a57d6a4e97b978a1441595360 (patch) | |
tree | 63638abafac48dcc65dab590df18e0d418db0e33 | |
parent | 796563cdb7ca57d6780f042c75e1daf9728e0b31 (diff) | |
parent | 0b70144cbf10a84de1ab2f1b3df5a5f1edd62b18 (diff) | |
download | lua-language-server-7549c48d88a9489a57d6a4e97b978a1441595360.zip |
Merge pull request #1397 from carsakiller/wiki-links
fix: wiki link references
-rw-r--r-- | .github/ISSUE_TEMPLATE/bug_report.md | 2 | ||||
-rw-r--r-- | README.md | 8 | ||||
-rw-r--r-- | doc/en-us/config.md | 4 | ||||
-rw-r--r-- | doc/pt-br/config.md | 4 | ||||
-rw-r--r-- | doc/zh-cn/config.md | 6 | ||||
-rw-r--r-- | doc/zh-tw/config.md | 6 | ||||
-rw-r--r-- | locale/en-us/script.lua | 42 | ||||
-rw-r--r-- | locale/en-us/setting.lua | 4 | ||||
-rw-r--r-- | locale/pt-br/script.lua | 42 | ||||
-rw-r--r-- | locale/pt-br/setting.lua | 4 | ||||
-rw-r--r-- | locale/zh-cn/script.lua | 42 | ||||
-rw-r--r-- | locale/zh-cn/setting.lua | 6 | ||||
-rw-r--r-- | locale/zh-tw/script.lua | 42 | ||||
-rw-r--r-- | locale/zh-tw/setting.lua | 6 | ||||
-rw-r--r-- | meta/3rd/example/plugin.lua | 2 |
15 files changed, 110 insertions, 110 deletions
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index b55b160f..3f9543a8 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -32,4 +32,4 @@ If applicable, add screenshots to help explain your problem. Add any other context about the problem here. **Provide logs** -Find the log at https://github.com/sumneko/lua-language-server/wiki/Default-log-path +Find the log at https://github.com/sumneko/lua-language-server/wiki/FAQ#where-can-i-find-the-log-file @@ -65,14 +65,14 @@ Please [help me][en-US] improve the quality of `en-US`. ## Build The extensions in the VSCode market already come with pre-compiled binary files, usually you don't need to compile them. -Other clients can first try to download and use [pre-compiled binary files](https://github.com/sumneko/lua-language-server/wiki/PreCompiled-Binaries). +Other clients can first try to download and use [pre-compiled binary files](https://github.com/sumneko/lua-language-server/wiki/Get-Started#command-line). -If you need to compile by yourself, please refer to [here](https://github.com/sumneko/lua-language-server/wiki/Build-and-Run) +If you need to compile by yourself, please refer to [here](https://github.com/sumneko/lua-language-server/wiki/Getting-Started#build) ## Setting * In VSCode: Just use the setting of VSCode. -* Standalone: See https://github.com/sumneko/lua-language-server/wiki/Setting +* Standalone: See https://github.com/sumneko/lua-language-server/wiki/Settings ## Credit @@ -114,4 +114,4 @@ If you need to compile by yourself, please refer to [here](https://github.com/su ## Telemetry -This language server collects usage data and sends it to the development team to help improve the extension. Read our [privacy policy](https://github.com/sumneko/lua-language-server/wiki/Privacy-Policy) to learn more and how to disable any telemetry. +This language server collects usage data and sends it to the development team to help improve the extension. Read our [privacy policy](https://github.com/sumneko/lua-language-server/wiki/Home#privacy) to learn more and how to disable any telemetry. diff --git a/doc/en-us/config.md b/doc/en-us/config.md index 6ac60483..c02c9440 100644 --- a/doc/en-us/config.md +++ b/doc/en-us/config.md @@ -1397,7 +1397,7 @@ false # runtime.plugin -Plugin path. Please read [wiki](https://github.com/sumneko/lua-language-server/wiki/Plugin) to learn more. +Plugin path. Please read [wiki](https://github.com/sumneko/lua-language-server/wiki/Plugins) to learn more. ## type @@ -1588,7 +1588,7 @@ Array<string> # telemetry.enable -Enable telemetry to send your editor information and error logs over the network. Read our privacy policy [here](https://github.com/sumneko/lua-language-server/wiki/Privacy-Policy). +Enable telemetry to send your editor information and error logs over the network. Read our privacy policy [here](https://github.com/sumneko/lua-language-server/wiki/Home#privacy). ## type diff --git a/doc/pt-br/config.md b/doc/pt-br/config.md index 57b6ccc1..5dcb1237 100644 --- a/doc/pt-br/config.md +++ b/doc/pt-br/config.md @@ -1397,7 +1397,7 @@ false # runtime.plugin -Plugin path. Please read [wiki](https://github.com/sumneko/lua-language-server/wiki/Plugin) to learn more. +Plugin path. Please read [wiki](https://github.com/sumneko/lua-language-server/wiki/Plugins) to learn more. ## type @@ -1588,7 +1588,7 @@ Array<string> # telemetry.enable -Enable telemetry to send your editor information and error logs over the network. Read our privacy policy [here](https://github.com/sumneko/lua-language-server/wiki/Privacy-Policy). +Enable telemetry to send your editor information and error logs over the network. Read our privacy policy [here](https://github.com/sumneko/lua-language-server/wiki/Home#privacy). ## type diff --git a/doc/zh-cn/config.md b/doc/zh-cn/config.md index 5c2edf82..34dc5ec4 100644 --- a/doc/zh-cn/config.md +++ b/doc/zh-cn/config.md @@ -1222,7 +1222,7 @@ integer # misc.parameters -VSCode中启动语言服务时的[命令行参数](https://github.com/sumneko/lua-language-server/wiki/Command-line)。 +VSCode中启动语言服务时的[命令行参数](https://github.com/sumneko/lua-language-server/wiki/Getting-Started#arguments)。 ## type @@ -1396,7 +1396,7 @@ false # runtime.plugin -插件路径,请查阅[文档](https://github.com/sumneko/lua-language-server/wiki/Plugin)了解用法。 +插件路径,请查阅[文档](https://github.com/sumneko/lua-language-server/wiki/Plugins)了解用法。 ## type @@ -1587,7 +1587,7 @@ Array<string> # telemetry.enable -启用遥测,通过网络发送你的编辑器信息与错误日志。在[此处](https://github.com/sumneko/lua-language-server/wiki/%E9%9A%90%E7%A7%81%E5%A3%B0%E6%98%8E)阅读我们的隐私声明。 +启用遥测,通过网络发送你的编辑器信息与错误日志。在[此处](https://github.com/sumneko/lua-language-server/wiki/%E9%9A%90%E7%A7%81)阅读我们的隐私声明。 ## type diff --git a/doc/zh-tw/config.md b/doc/zh-tw/config.md index 16caa386..bd11c761 100644 --- a/doc/zh-tw/config.md +++ b/doc/zh-tw/config.md @@ -1222,7 +1222,7 @@ integer # misc.parameters -VSCode中啟動語言伺服時的[命令列參數](https://github.com/sumneko/lua-language-server/wiki/Command-line)。 +VSCode中啟動語言伺服時的[命令列參數](https://github.com/sumneko/lua-language-server/wiki/Getting-Started#arguments)。 ## type @@ -1396,7 +1396,7 @@ false # runtime.plugin -延伸模組路徑,請查閱[文件](https://github.com/sumneko/lua-language-server/wiki/Plugin)瞭解用法。 +延伸模組路徑,請查閱[文件](https://github.com/sumneko/lua-language-server/wiki/Plugins)瞭解用法。 ## type @@ -1587,7 +1587,7 @@ Array<string> # telemetry.enable -啟用遙測,透過網路發送你的編輯器資訊與錯誤日誌。在[此處](https://github.com/sumneko/lua-language-server/wiki/%E9%9A%B1%E7%A7%81%E8%81%B2%E6%98%8E)閱讀我們的隱私聲明。 +啟用遙測,透過網路發送你的編輯器資訊與錯誤日誌。在[此處](https://github.com/sumneko/lua-language-server/wiki/%E9%9A%B1%E7%A7%81)閱讀我們的隱私聲明。 ## type diff --git a/locale/en-us/script.lua b/locale/en-us/script.lua index d0066129..05a5c0d1 100644 --- a/locale/en-us/script.lua +++ b/locale/en-us/script.lua @@ -171,7 +171,7 @@ 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/sumneko/lua-language-server/wiki/Why-scanning-home-folder)' +'Your workspace is set to `{}`. Lua language server refused to load this directory. Please check your configuration.[learn more here](https://github.com/sumneko/lua-language-server/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 confirm whether the configuration is correct.' @@ -512,7 +512,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/sumneko/lua-language-server/wiki/Privacy-Policy) .' +'Please allow sending anonymous usage data and error reports to help us further improve this extension. Read our privacy policy [here](https://github.com/sumneko/lua-language-server/wiki/Home#privacy) .' WINDOW_TELEMETRY_ENABLE = 'Allow' WINDOW_TELEMETRY_DISABLE = @@ -588,7 +588,7 @@ Defines a class/table structure Manager = {} ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#class) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#class) ]=] LUADOC_DESC_TYPE = [=[ @@ -639,7 +639,7 @@ local x --x[""] is true local myFunction ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#types-and-type) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#types-and-type) ]=] LUADOC_DESC_ALIAS = [=[ @@ -675,7 +675,7 @@ function find(path, pattern) end function setFontStyle(style) end ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#alias) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#alias) ]=] LUADOC_DESC_PARAM = [=[ @@ -700,7 +700,7 @@ function get(url, headers, timeout) end function concat(base, ...) end ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#param) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#param) ]=] LUADOC_DESC_RETURN = [=[ @@ -738,7 +738,7 @@ function getFirstLast() end function getTags(item) end ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#return) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#return) ]=] LUADOC_DESC_FIELD = [=[ @@ -768,7 +768,7 @@ response = get("localhost") statusCode = response.status.code ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#field) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#field) ]=] LUADOC_DESC_GENERIC = [=[ @@ -825,7 +825,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/EmmyLua-Annotations#generics-and-generic) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#generics-and-generic) ]=] LUADOC_DESC_VARARG = [=[ @@ -844,7 +844,7 @@ provide typing or allow descriptions. function concat(...) end ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#vararg) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#vararg) ]=] LUADOC_DESC_OVERLOAD = [=[ @@ -859,7 +859,7 @@ Allows defining of multiple function signatures. function table.insert(t, position, value) end ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#overload) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#overload) ]=] LUADOC_DESC_DEPRECATED = [=[ @@ -870,7 +870,7 @@ being ~~struck through~~. `---@deprecated` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#deprecated) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#deprecated) ]=] LUADOC_DESC_META = [=[ @@ -885,7 +885,7 @@ There are 3 main distinctions to note with meta files: `---@meta` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#meta) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#meta) ]=] LUADOC_DESC_VERSION = [=[ @@ -910,7 +910,7 @@ function onlyWorksInJIT() end function oldLuaOnly() end ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#version) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#version) ]=] LUADOC_DESC_SEE = [=[ @@ -920,7 +920,7 @@ Define something that can be viewed for more information `---@see <text>` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#see) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#see) ]=] LUADOC_DESC_DIAGNOSTIC = [=[ @@ -946,7 +946,7 @@ local unused = "hello world" ---@diagnostic enable: unused-local ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#diagnostic) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#diagnostic) ]=] LUADOC_DESC_MODULE = [=[ @@ -963,7 +963,7 @@ local stringUtils local module = require('string.utils') ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#module) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#module) ]=] LUADOC_DESC_ASYNC = [=[ @@ -973,7 +973,7 @@ Marks a function as asynchronous. `---@async` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#async) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#async) ]=] LUADOC_DESC_NODISCARD = [=[ @@ -985,7 +985,7 @@ be ignored. `---@nodiscard` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#nodiscard) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#nodiscard) ]=] LUADOC_DESC_CAST = [=[ @@ -1020,7 +1020,7 @@ local x --> string|table print(x) --> table ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#cast) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#cast) ]=] LUADOC_DESC_OPERATOR = [=[ @@ -1055,7 +1055,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/sumneko/lua-language-server/wiki/EmmyLua-Annotations#alias) +table, take a look at the [`@alias`](https://github.com/sumneko/lua-language-server/wiki/Annotations#alias) tag. ## Syntax diff --git a/locale/en-us/setting.lua b/locale/en-us/setting.lua index 49c79b1c..99b027b8 100644 --- a/locale/en-us/setting.lua +++ b/locale/en-us/setting.lua @@ -25,7 +25,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/sumneko/lua-language-server/wiki/Plugin) to learn more." +"Plugin path. Please read [wiki](https://github.com/sumneko/lua-language-server/wiki/Plugins) to learn more." config.runtime.pluginArgs = "Additional arguments for the plugin." config.runtime.fileEncoding = @@ -259,7 +259,7 @@ config.spell.dict = -- TODO: need translate! 'Custom words for spell checking.' config.telemetry.enable = [[ -Enable telemetry to send your editor information and error logs over the network. Read our privacy policy [here](https://github.com/sumneko/lua-language-server/wiki/Privacy-Policy). +Enable telemetry to send your editor information and error logs over the network. Read our privacy policy [here](https://github.com/sumneko/lua-language-server/wiki/Home#privacy). ]] config.misc.parameters = '[Command line parameters](https://github.com/sumneko/lua-telemetry-server/tree/master/method) when starting the language service in VSCode.' diff --git a/locale/pt-br/script.lua b/locale/pt-br/script.lua index 4804a646..5e954d06 100644 --- a/locale/pt-br/script.lua +++ b/locale/pt-br/script.lua @@ -171,7 +171,7 @@ 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/sumneko/lua-language-server/wiki/Why-scanning-home-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://github.com/sumneko/lua-language-server/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 é `{}`. Por favor, confirmar se a configuração está correta' @@ -512,7 +512,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/sumneko/lua-language-server/wiki/Privacy-Policy) .' +'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/sumneko/lua-language-server/wiki/Home#privacy) .' WINDOW_TELEMETRY_ENABLE = 'Permitir' WINDOW_TELEMETRY_DISABLE = @@ -588,7 +588,7 @@ Defines a class/table structure Manager = {} ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#class) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#class) ]=] LUADOC_DESC_TYPE = -- TODO: need translate! [=[ @@ -639,7 +639,7 @@ local x --x[""] is true local myFunction ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#types-and-type) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#types-and-type) ]=] LUADOC_DESC_ALIAS = -- TODO: need translate! [=[ @@ -675,7 +675,7 @@ function find(path, pattern) end function setFontStyle(style) end ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#alias) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#alias) ]=] LUADOC_DESC_PARAM = -- TODO: need translate! [=[ @@ -700,7 +700,7 @@ function get(url, headers, timeout) end function concat(base, ...) end ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#param) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#param) ]=] LUADOC_DESC_RETURN = -- TODO: need translate! [=[ @@ -738,7 +738,7 @@ function getFirstLast() end function getTags(item) end ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#return) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#return) ]=] LUADOC_DESC_FIELD = -- TODO: need translate! [=[ @@ -768,7 +768,7 @@ response = get("localhost") statusCode = response.status.code ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#field) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#field) ]=] LUADOC_DESC_GENERIC = -- TODO: need translate! [=[ @@ -825,7 +825,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/EmmyLua-Annotations#generics-and-generic) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#generics-and-generic) ]=] LUADOC_DESC_VARARG = -- TODO: need translate! [=[ @@ -844,7 +844,7 @@ provide typing or allow descriptions. function concat(...) end ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#vararg) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#vararg) ]=] LUADOC_DESC_OVERLOAD = -- TODO: need translate! [=[ @@ -859,7 +859,7 @@ Allows defining of multiple function signatures. function table.insert(t, position, value) end ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#overload) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#overload) ]=] LUADOC_DESC_DEPRECATED = -- TODO: need translate! [=[ @@ -870,7 +870,7 @@ being ~~struck through~~. `---@deprecated` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#deprecated) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#deprecated) ]=] LUADOC_DESC_META = -- TODO: need translate! [=[ @@ -885,7 +885,7 @@ There are 3 main distinctions to note with meta files: `---@meta` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#meta) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#meta) ]=] LUADOC_DESC_VERSION = -- TODO: need translate! [=[ @@ -910,7 +910,7 @@ function onlyWorksInJIT() end function oldLuaOnly() end ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#version) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#version) ]=] LUADOC_DESC_SEE = -- TODO: need translate! [=[ @@ -920,7 +920,7 @@ Define something that can be viewed for more information `---@see <text>` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#see) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#see) ]=] LUADOC_DESC_DIAGNOSTIC = -- TODO: need translate! [=[ @@ -946,7 +946,7 @@ local unused = "hello world" ---@diagnostic enable: unused-local ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#diagnostic) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#diagnostic) ]=] LUADOC_DESC_MODULE = -- TODO: need translate! [=[ @@ -963,7 +963,7 @@ local stringUtils local module = require('string.utils') ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#module) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#module) ]=] LUADOC_DESC_ASYNC = -- TODO: need translate! [=[ @@ -973,7 +973,7 @@ Marks a function as asynchronous. `---@async` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#async) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#async) ]=] LUADOC_DESC_NODISCARD = -- TODO: need translate! [=[ @@ -985,7 +985,7 @@ be ignored. `---@nodiscard` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#nodiscard) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#nodiscard) ]=] LUADOC_DESC_CAST = -- TODO: need translate! [=[ @@ -1020,7 +1020,7 @@ local x --> string|table print(x) --> table ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#cast) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#cast) ]=] LUADOC_DESC_OPERATOR = -- TODO: need translate! [=[ @@ -1055,7 +1055,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/sumneko/lua-language-server/wiki/EmmyLua-Annotations#alias) +table, take a look at the [`@alias`](https://github.com/sumneko/lua-language-server/wiki/Annotations#alias) tag. ## Syntax diff --git a/locale/pt-br/setting.lua b/locale/pt-br/setting.lua index 71eb57e2..79c3770b 100644 --- a/locale/pt-br/setting.lua +++ b/locale/pt-br/setting.lua @@ -25,7 +25,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/sumneko/lua-language-server/wiki/Plugin) to learn more." +"Plugin path. Please read [wiki](https://github.com/sumneko/lua-language-server/wiki/Plugins) to learn more." config.runtime.pluginArgs = -- TODO: need translate! "Additional arguments for the plugin." config.runtime.fileEncoding = -- TODO: need translate! @@ -259,7 +259,7 @@ config.spell.dict = -- TODO: need translate! 'Custom words for spell checking.' 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/sumneko/lua-language-server/wiki/Privacy-Policy). +Enable telemetry to send your editor information and error logs over the network. Read our privacy policy [here](https://github.com/sumneko/lua-language-server/wiki/Home#privacy). ]] config.misc.parameters = -- TODO: need translate! '[Command line parameters](https://github.com/sumneko/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 72c0d5bf..e839e92c 100644 --- a/locale/zh-cn/script.lua +++ b/locale/zh-cn/script.lua @@ -171,7 +171,7 @@ WORKSPACE_DIAGNOSTIC = WORKSPACE_SKIP_HUGE_FILE = '出于性能考虑,已停止对此文件解析:{}' WORKSPACE_NOT_ALLOWED = -'你的工作目录被设置为了 `{}`,Lua语言服务拒绝加载此目录,请检查你的配置。[了解更多](https://github.com/sumneko/lua-language-server/wiki/Why-scanning-home-folder)' +'你的工作目录被设置为了 `{}`,Lua语言服务拒绝加载此目录,请检查你的配置。[了解更多](https://github.com/sumneko/lua-language-server/wiki/FAQ#why-is-the-server-scanning-the-wrong-folder)' WORKSPACE_SCAN_TOO_MUCH = '已扫描了超过 {} 个文件,当前扫描的目录为 `{}`,请确认配置是否正确。' @@ -512,7 +512,7 @@ WINDOW_APPLY_SETTING = WINDOW_CHECK_SEMANTIC = '如果你正在使用市场中的颜色主题,你可能需要同时修改 `editor.semanticHighlighting.enabled` 选项为 `true` 才会使语义着色生效。' WINDOW_TELEMETRY_HINT = -'请允许发送匿名的使用数据与错误报告,帮助我们进一步完善此插件。在[此处](https://github.com/sumneko/lua-language-server/wiki/%E9%9A%90%E7%A7%81%E5%A3%B0%E6%98%8E)阅读我们的隐私声明。' +'请允许发送匿名的使用数据与错误报告,帮助我们进一步完善此插件。在[此处](https://github.com/sumneko/lua-language-server/wiki/Home#privacy)阅读我们的隐私声明。' WINDOW_TELEMETRY_ENABLE = '允许' WINDOW_TELEMETRY_DISABLE = @@ -588,7 +588,7 @@ Defines a class/table structure Manager = {} ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#class) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#class) ]=] LUADOC_DESC_TYPE = -- TODO: need translate! [=[ @@ -639,7 +639,7 @@ local x --x[""] is true local myFunction ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#types-and-type) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#types-and-type) ]=] LUADOC_DESC_ALIAS = -- TODO: need translate! [=[ @@ -675,7 +675,7 @@ function find(path, pattern) end function setFontStyle(style) end ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#alias) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#alias) ]=] LUADOC_DESC_PARAM = -- TODO: need translate! [=[ @@ -700,7 +700,7 @@ function get(url, headers, timeout) end function concat(base, ...) end ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#param) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#param) ]=] LUADOC_DESC_RETURN = -- TODO: need translate! [=[ @@ -738,7 +738,7 @@ function getFirstLast() end function getTags(item) end ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#return) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#return) ]=] LUADOC_DESC_FIELD = -- TODO: need translate! [=[ @@ -768,7 +768,7 @@ response = get("localhost") statusCode = response.status.code ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#field) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#field) ]=] LUADOC_DESC_GENERIC = -- TODO: need translate! [=[ @@ -825,7 +825,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/EmmyLua-Annotations#generics-and-generic) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#generics-and-generic) ]=] LUADOC_DESC_VARARG = -- TODO: need translate! [=[ @@ -844,7 +844,7 @@ provide typing or allow descriptions. function concat(...) end ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#vararg) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#vararg) ]=] LUADOC_DESC_OVERLOAD = -- TODO: need translate! [=[ @@ -859,7 +859,7 @@ Allows defining of multiple function signatures. function table.insert(t, position, value) end ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#overload) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#overload) ]=] LUADOC_DESC_DEPRECATED = -- TODO: need translate! [=[ @@ -870,7 +870,7 @@ being ~~struck through~~. `---@deprecated` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#deprecated) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#deprecated) ]=] LUADOC_DESC_META = -- TODO: need translate! [=[ @@ -885,7 +885,7 @@ There are 3 main distinctions to note with meta files: `---@meta` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#meta) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#meta) ]=] LUADOC_DESC_VERSION = -- TODO: need translate! [=[ @@ -910,7 +910,7 @@ function onlyWorksInJIT() end function oldLuaOnly() end ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#version) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#version) ]=] LUADOC_DESC_SEE = -- TODO: need translate! [=[ @@ -920,7 +920,7 @@ Define something that can be viewed for more information `---@see <text>` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#see) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#see) ]=] LUADOC_DESC_DIAGNOSTIC = -- TODO: need translate! [=[ @@ -946,7 +946,7 @@ local unused = "hello world" ---@diagnostic enable: unused-local ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#diagnostic) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#diagnostic) ]=] LUADOC_DESC_MODULE = -- TODO: need translate! [=[ @@ -963,7 +963,7 @@ local stringUtils local module = require('string.utils') ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#module) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#module) ]=] LUADOC_DESC_ASYNC = -- TODO: need translate! [=[ @@ -973,7 +973,7 @@ Marks a function as asynchronous. `---@async` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#async) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#async) ]=] LUADOC_DESC_NODISCARD = -- TODO: need translate! [=[ @@ -985,7 +985,7 @@ be ignored. `---@nodiscard` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#nodiscard) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#nodiscard) ]=] LUADOC_DESC_CAST = -- TODO: need translate! [=[ @@ -1020,7 +1020,7 @@ local x --> string|table print(x) --> table ``` --- -[View Wiki](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#cast) +[View Wiki](https://github.com/sumneko/lua-language-server/wiki/Annotations#cast) ]=] LUADOC_DESC_OPERATOR = -- TODO: need translate! [=[ @@ -1055,7 +1055,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/sumneko/lua-language-server/wiki/EmmyLua-Annotations#alias) +table, take a look at the [`@alias`](https://github.com/sumneko/lua-language-server/wiki/Annotations#alias) tag. ## Syntax diff --git a/locale/zh-cn/setting.lua b/locale/zh-cn/setting.lua index ea83567a..baa3a92f 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/Plugin)了解用法。" +"插件路径,请查阅[文档](https://github.com/sumneko/lua-language-server/wiki/Plugins)了解用法。" config.runtime.pluginArgs = -- TODO: need translate! "Additional arguments for the plugin." config.runtime.fileEncoding = @@ -258,10 +258,10 @@ config.spell.dict = '拼写检查的自定义单词。' config.telemetry.enable = [[ -启用遥测,通过网络发送你的编辑器信息与错误日志。在[此处](https://github.com/sumneko/lua-language-server/wiki/%E9%9A%90%E7%A7%81%E5%A3%B0%E6%98%8E)阅读我们的隐私声明。 +启用遥测,通过网络发送你的编辑器信息与错误日志。在[此处](https://github.com/sumneko/lua-language-server/wiki/Home#privacy)阅读我们的隐私声明。 ]] config.misc.parameters = -'VSCode中启动语言服务时的[命令行参数](https://github.com/sumneko/lua-language-server/wiki/Command-line)。' +'VSCode中启动语言服务时的[命令行参数](https://github.com/sumneko/lua-language-server/wiki/Getting-Started#arguments)。' config.IntelliSense.traceLocalSet = '请查阅[文档](https://github.com/sumneko/lua-language-server/wiki/IntelliSense-optional-features)了解用法。' config.IntelliSense.traceReturn = diff --git a/locale/zh-tw/script.lua b/locale/zh-tw/script.lua index fea37bed..bb6ab94e 100644 --- a/locale/zh-tw/script.lua +++ b/locale/zh-tw/script.lua @@ -171,7 +171,7 @@ WORKSPACE_DIAGNOSTIC = WORKSPACE_SKIP_HUGE_FILE = '出於效能考慮,已停止對此檔案解析:{}' WORKSPACE_NOT_ALLOWED = -'你的工作目錄被設定為了 `{}` ,Lua語言伺服拒絕載入此目錄,請檢查你的設定檔。[了解更多](https://github.com/sumneko/lua-language-server/wiki/Why-scanning-home-folder)' +'你的工作目錄被設定為了 `{}` ,Lua語言伺服拒絕載入此目錄,請檢查你的設定檔。[了解更多](https://github.com/sumneko/lua-language-server/wiki/FAQ#why-is-the-server-scanning-the-wrong-folder)' WORKSPACE_SCAN_TOO_MUCH = '已掃描了超過 {} 個檔案,目前掃描的目錄為 `{}`,請確認設定檔是否正確。' @@ -512,7 +512,7 @@ WINDOW_APPLY_SETTING = WINDOW_CHECK_SEMANTIC = '如果你正在使用市場中的顏色主題,你可能需要同時修改 `editor.semanticHighlighting.enabled` 選項為 `true` 才會使語義著色生效。' WINDOW_TELEMETRY_HINT = -'請允許發送匿名的使用資料與錯誤報告,幫助我們進一步完善此延伸模組。在[此處](https://github.com/sumneko/lua-language-server/wiki/%E9%9A%B1%E7%A7%81%E8%81%B2%E6%98%8E)閱讀我們的隱私聲明。' +'請允許發送匿名的使用資料與錯誤報告,幫助我們進一步完善此延伸模組。在[此處](https://github.com/sumneko/lua-language-server/wiki/Home#privacy)閱讀我們的隱私聲明。' WINDOW_TELEMETRY_ENABLE = '允許' WINDOW_TELEMETRY_DISABLE = @@ -588,7 +588,7 @@ LUADOC_DESC_CLASS = Manager = {} ``` --- -[檢視文件](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#class) +[檢視文件](https://github.com/sumneko/lua-language-server/wiki/Annotations#class) ]=] LUADOC_DESC_TYPE = [=[ @@ -639,7 +639,7 @@ local x --x[""] is true local myFunction ``` --- -[檢視文件](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#types-and-type) +[檢視文件](https://github.com/sumneko/lua-language-server/wiki/Annotations#types-and-type) ]=] LUADOC_DESC_ALIAS = [=[ @@ -675,7 +675,7 @@ function find(path, pattern) end function setFontStyle(style) end ``` --- -[檢視文件](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#alias) +[檢視文件](https://github.com/sumneko/lua-language-server/wiki/Annotations#alias) ]=] LUADOC_DESC_PARAM = [=[ @@ -700,7 +700,7 @@ function get(url, headers, timeout) end function concat(base, ...) end ``` --- -[檢視文件](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#param) +[檢視文件](https://github.com/sumneko/lua-language-server/wiki/Annotations#param) ]=] LUADOC_DESC_RETURN = [=[ @@ -738,7 +738,7 @@ function getFirstLast() end function getTags(item) end ``` --- -[檢視文件](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#return) +[檢視文件](https://github.com/sumneko/lua-language-server/wiki/Annotations#return) ]=] LUADOC_DESC_FIELD = [=[ @@ -767,7 +767,7 @@ response = get("localhost") statusCode = response.status.code ``` --- -[檢視文件](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#field) +[檢視文件](https://github.com/sumneko/lua-language-server/wiki/Annotations#field) ]=] LUADOC_DESC_GENERIC = [=[ @@ -823,7 +823,7 @@ local v = Generic("Foo") -- v is an object of Foo -- we give for key (K) or value (V) ``` --- -[檢視文件](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#generics-and-generic) +[檢視文件](https://github.com/sumneko/lua-language-server/wiki/Annotations#generics-and-generic) ]=] LUADOC_DESC_VARARG = [=[ @@ -841,7 +841,7 @@ LUADOC_DESC_VARARG = function concat(...) end ``` --- -[檢視文件](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#vararg) +[檢視文件](https://github.com/sumneko/lua-language-server/wiki/Annotations#vararg) ]=] LUADOC_DESC_OVERLOAD = [=[ @@ -856,7 +856,7 @@ LUADOC_DESC_OVERLOAD = function table.insert(t, position, value) end ``` --- -[檢視文件](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#overload) +[檢視文件](https://github.com/sumneko/lua-language-server/wiki/Annotations#overload) ]=] LUADOC_DESC_DEPRECATED = [=[ @@ -866,7 +866,7 @@ LUADOC_DESC_DEPRECATED = `---@deprecated` --- -[檢視文件](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#deprecated) +[檢視文件](https://github.com/sumneko/lua-language-server/wiki/Annotations#deprecated) ]=] LUADOC_DESC_META = [=[ @@ -881,7 +881,7 @@ LUADOC_DESC_META = `---@meta` --- -[檢視文件](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#meta) +[檢視文件](https://github.com/sumneko/lua-language-server/wiki/Annotations#meta) ]=] LUADOC_DESC_VERSION = [=[ @@ -906,7 +906,7 @@ function onlyWorksInJIT() end function oldLuaOnly() end ``` --- -[檢視文件](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#version) +[檢視文件](https://github.com/sumneko/lua-language-server/wiki/Annotations#version) ]=] LUADOC_DESC_SEE = [=[ @@ -916,7 +916,7 @@ LUADOC_DESC_SEE = `---@see <text>` --- -[檢視文件](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#see) +[檢視文件](https://github.com/sumneko/lua-language-server/wiki/Annotations#see) ]=] LUADOC_DESC_DIAGNOSTIC = [=[ @@ -942,7 +942,7 @@ local unused = "hello world" ---@diagnostic enable: unused-local ``` --- -[檢視文件](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#diagnostic) +[檢視文件](https://github.com/sumneko/lua-language-server/wiki/Annotations#diagnostic) ]=] LUADOC_DESC_MODULE = [=[ @@ -959,7 +959,7 @@ local stringUtils local module = require('string.utils') ``` --- -[檢視文件](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#module) +[檢視文件](https://github.com/sumneko/lua-language-server/wiki/Annotations#module) ]=] LUADOC_DESC_ASYNC = [=[ @@ -969,7 +969,7 @@ LUADOC_DESC_ASYNC = `---@async` --- -[檢視文件](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#async) +[檢視文件](https://github.com/sumneko/lua-language-server/wiki/Annotations#async) ]=] LUADOC_DESC_NODISCARD = [=[ @@ -980,7 +980,7 @@ LUADOC_DESC_NODISCARD = `---@nodiscard` --- -[檢視文件](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#nodiscard) +[檢視文件](https://github.com/sumneko/lua-language-server/wiki/Annotations#nodiscard) ]=] LUADOC_DESC_CAST = [=[ @@ -1015,7 +1015,7 @@ local x --> string|table print(x) --> table ``` --- -[檢視文件](https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Annotations#cast) +[檢視文件](https://github.com/sumneko/lua-language-server/wiki/Annotations#cast) ]=] LUADOC_DESC_OPERATOR = -- TODO: need translate! [=[ @@ -1050,7 +1050,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/sumneko/lua-language-server/wiki/EmmyLua-Annotations#alias) +table, take a look at the [`@alias`](https://github.com/sumneko/lua-language-server/wiki/Annotations#alias) tag. ## Syntax diff --git a/locale/zh-tw/setting.lua b/locale/zh-tw/setting.lua index 60bf52b5..37269484 100644 --- a/locale/zh-tw/setting.lua +++ b/locale/zh-tw/setting.lua @@ -25,7 +25,7 @@ config.runtime.unicodeName = config.runtime.nonstandardSymbol = "支援非標準的符號。請務必確認你的執行環境支援這些符號。" config.runtime.plugin = -"延伸模組路徑,請查閱[文件](https://github.com/sumneko/lua-language-server/wiki/Plugin)瞭解用法。" +"延伸模組路徑,請查閱[文件](https://github.com/sumneko/lua-language-server/wiki/Plugins)瞭解用法。" config.runtime.pluginArgs = -- TODO: need translate! "Additional arguments for the plugin." config.runtime.fileEncoding = @@ -258,10 +258,10 @@ config.spell.dict = '拼寫檢查的自訂單詞。' config.telemetry.enable = [[ -啟用遙測,透過網路發送你的編輯器資訊與錯誤日誌。在[此處](https://github.com/sumneko/lua-language-server/wiki/%E9%9A%B1%E7%A7%81%E8%81%B2%E6%98%8E)閱讀我們的隱私聲明。 +啟用遙測,透過網路發送你的編輯器資訊與錯誤日誌。在[此處](https://github.com/sumneko/lua-language-server/wiki/Home#privacy)閱讀我們的隱私聲明。 ]] config.misc.parameters = -'VSCode中啟動語言伺服時的[命令列參數](https://github.com/sumneko/lua-language-server/wiki/Command-line)。' +'VSCode中啟動語言伺服時的[命令列參數](https://github.com/sumneko/lua-language-server/wiki/Getting-Started#arguments)。' config.IntelliSense.traceLocalSet = '請查閱[文件](https://github.com/sumneko/lua-language-server/wiki/IntelliSense-optional-features)瞭解用法。' config.IntelliSense.traceReturn = diff --git a/meta/3rd/example/plugin.lua b/meta/3rd/example/plugin.lua index e25d487a..01162042 100644 --- a/meta/3rd/example/plugin.lua +++ b/meta/3rd/example/plugin.lua @@ -1,5 +1,5 @@ -- if this file exists, then change setting `Lua.runtime.plugin` --- see https://github.com/sumneko/lua-language-server/wiki/Plugin +-- see https://github.com/sumneko/lua-language-server/wiki/Plugins function OnSetText(uri, text) local diffs = {} |