summaryrefslogtreecommitdiff
path: root/script-beta/core/hover/description.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-09-29 11:25:16 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-09-29 11:25:16 +0800
commit049eaa1446d8b53cef14ec3a72f315f162ead2bc (patch)
tree81a711fe508573c0f40585063f340ac09b4f9bee /script-beta/core/hover/description.lua
parent5cd2e0110dfe2d1bc8c141af74baa53dab448c66 (diff)
downloadlua-language-server-049eaa1446d8b53cef14ec3a72f315f162ead2bc.zip
增加翻译
Diffstat (limited to 'script-beta/core/hover/description.lua')
-rw-r--r--script-beta/core/hover/description.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script-beta/core/hover/description.lua b/script-beta/core/hover/description.lua
index 9e0066e6..8aa8a625 100644
--- a/script-beta/core/hover/description.lua
+++ b/script-beta/core/hover/description.lua
@@ -41,7 +41,7 @@ local function asString(source)
if searcher then
searcher = searcher:sub(#ws.path + 1)
searcher = ws.normalize(searcher)
- result[i] = ('* [%s](%s) (假设搜索路径包含 `%s`)'):format(path, uri, searcher)
+ result[i] = ('* [%s](%s) %s'):format(path, uri, lang.script('HOVER_USE_LUA_PATH', searcher))
else
result[i] = ('* [%s](%s)'):format(path, uri)
end