summaryrefslogtreecommitdiff
path: root/server/locale
diff options
context:
space:
mode:
Diffstat (limited to 'server/locale')
-rw-r--r--server/locale/en-US/script.lni6
-rw-r--r--server/locale/zh-CN/script.lni6
2 files changed, 12 insertions, 0 deletions
diff --git a/server/locale/en-US/script.lni b/server/locale/en-US/script.lni
index 51f99eb6..d38e34a4 100644
--- a/server/locale/en-US/script.lni
+++ b/server/locale/en-US/script.lni
@@ -60,6 +60,12 @@ PARSER_UNSUPPORT_SYMBOL = '{version} does not support this grammar.'
SYMBOL_ANONYMOUS = '<Anonymous>'
+HOVER_DOCUMENT_LUA51 = '[View documents](http://www.lua.org/manual/5.1/manual.html#pdf-{})'
+HOVER_DOCUMENT_LUA52 = '[View documents](http://www.lua.org/manual/5.2/manual.html#pdf-{})'
+HOVER_DOCUMENT_LUA53 = '[View documents](http://www.lua.org/manual/5.3/manual.html#pdf-{})'
+HOVER_DOCUMENT_LUA54 = '[View documents](http://www.lua.org/work/doc/manual.html#pdf-{})'
+HOVER_DOCUMENT_LUAJIT = '[View documents](http://www.lua.org/manual/5.1/manual.html#pdf-{})'
+
ACTION_DISABLE_DIAG = 'Disable diagnostics ({}).'
ACTION_MARK_GLOBAL = 'Mark `{}` as defined global.'
ACTION_REMOVE_SPACE = 'Clear all postemptive spaces.'
diff --git a/server/locale/zh-CN/script.lni b/server/locale/zh-CN/script.lni
index aa2daf05..5e7a43eb 100644
--- a/server/locale/zh-CN/script.lni
+++ b/server/locale/zh-CN/script.lni
@@ -60,6 +60,12 @@ PARSER_UNSUPPORT_SYMBOL = '{version} 不支持该符号。'
SYMBOL_ANONYMOUS = '<匿名函数>'
+HOVER_DOCUMENT_LUA51 = '[查看文档](http://www.lua.org/manual/5.1/manual.html#pdf-{})'
+HOVER_DOCUMENT_LUA52 = '[查看文档](http://www.lua.org/manual/5.2/manual.html#pdf-{})'
+HOVER_DOCUMENT_LUA53 = '[查看文档](http://cloudwu.github.io/lua53doc/manual.html#pdf-{})'
+HOVER_DOCUMENT_LUA54 = '[查看文档](http://www.lua.org/work/doc/manual.html#pdf-{})'
+HOVER_DOCUMENT_LUAJIT = '[查看文档](http://www.lua.org/manual/5.1/manual.html#pdf-{})'
+
ACTION_DISABLE_DIAG = '禁用诊断({})。'
ACTION_MARK_GLOBAL = '标记 `{}` 为已定义的全局变量。'
ACTION_REMOVE_SPACE = '清除所有后置空格。'