summaryrefslogtreecommitdiff
path: root/locale/zh-cn
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-16 20:46:48 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-16 20:46:59 +0800
commitce7c78af623ed45f4f897a4610de8b04aec3d4a4 (patch)
tree9f78575e44ef0112005d11b6475b1137e188b1c7 /locale/zh-cn
parent68d88b39691ad7aae0ee1380567c7d40f87ba8d3 (diff)
downloadlua-language-server-ce7c78af623ed45f4f897a4610de8b04aec3d4a4.zip
updata locale
Diffstat (limited to 'locale/zh-cn')
-rw-r--r--locale/zh-cn/meta.lua55
-rw-r--r--locale/zh-cn/script.lua22
2 files changed, 56 insertions, 21 deletions
diff --git a/locale/zh-cn/meta.lua b/locale/zh-cn/meta.lua
index f9e39cb2..c00aaf85 100644
--- a/locale/zh-cn/meta.lua
+++ b/locale/zh-cn/meta.lua
@@ -311,19 +311,19 @@ infowhat.n =
'`name` 和 `namewhat`'
infowhat.S =
'`source`,`short_src`,`linedefined`,`lalinedefined`,和 `what`'
-infowhat.l =
+infowhat.l = -- TODO: need translate!
'`currentline`'
-infowhat.t =
+infowhat.t = -- TODO: need translate!
'`istailcall`'
-infowhat.u['<5.1'] =
+infowhat.u['<5.1'] = -- TODO: need translate!
'`nups`'
infowhat.u['>5.2'] =
'`nups`、`nparams` 和 `isvararg`'
-infowhat.f =
+infowhat.f = -- TODO: need translate!
'`func`'
infowhat.r =
'`ftransfer` 和 `ntransfer`'
-infowhat.L =
+infowhat.L = -- TODO: need translate!
'`activelines`'
hookmask.c =
@@ -339,7 +339,7 @@ file[':close'] =
'关闭 `file`。'
file[':flush'] =
'将写入的数据保存到 `file` 中。'
-file[':lines'] =
+file[':lines'] = -- TODO: need translate!
[[
------
```lua
@@ -394,7 +394,7 @@ io.flush =
'将写入的数据保存到默认输出文件中。'
io.input =
'设置 `file` 为默认输入文件。'
-io.lines =
+io.lines = -- TODO: need translate!
[[
------
```lua
@@ -571,15 +571,15 @@ os.tmpname =
osdate.year =
'四位数字'
-osdate.month =
+osdate.month = -- TODO: need translate!
'1-12'
-osdate.day =
+osdate.day = -- TODO: need translate!
'1-31'
-osdate.hour =
+osdate.hour = -- TODO: need translate!
'0-23'
-osdate.min =
+osdate.min = -- TODO: need translate!
'0-59'
-osdate.sec =
+osdate.sec = -- TODO: need translate!
'0-61'
osdate.wday =
'星期几,1-7,星期天为 1'
@@ -684,7 +684,36 @@ a1[f],···,a1[e]
return a2
```
]]
-
+string.rep['>5.2'] = -- TODO: need translate!
+'Returns a string that is the concatenation of `n` copies of the string `s` separated by the string `sep`.'
+string.rep['<5.1'] = -- TODO: need translate!
+'Returns a string that is the concatenation of `n` copies of the string `s` .'
+string.reverse = -- TODO: need translate!
+'Returns a string that is the string `s` reversed.'
+string.sub = -- TODO: need translate!
+'Returns the substring of the string that starts at `i` and continues until `j`.'
+string.unpack = -- TODO: need translate!
+'Returns the values packed in string according to the format string `fmt` (see §6.4.2) .'
+string.upper = -- TODO: need translate!
+'Returns a copy of this string with all lowercase letters changed to uppercase.'
+
+table = -- TODO: need translate!
+''
+table.concat = -- TODO: need translate!
+'Given a list where all elements are strings or numbers, returns the string `list[i]..sep..list[i+1] ··· sep..list[j]`.'
+table.insert = -- TODO: need translate!
+'Inserts element `value` at position `pos` in `list`.'
+table.maxn = -- TODO: need translate!
+'Returns the largest positive numerical index of the given table, or zero if the table has no positive numerical indices.'
+table.move = -- TODO: need translate!
+[[
+Moves elements from table `a1` to table `a2`.
+```lua
+a2[t],··· =
+a1[f],···,a1[e]
+return a2
+```
+]]
table.pack =
'返回用所有参数以键 `1`,`2`, 等填充的新表, 并将 `"n"` 这个域设为参数的总数。'
table.remove =
diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua
index 79ae4c54..d99b788e 100644
--- a/locale/zh-cn/script.lua
+++ b/locale/zh-cn/script.lua
@@ -277,25 +277,25 @@ SYMBOL_ANONYMOUS =
HOVER_VIEW_DOCUMENTS =
'查看文档'
-HOVER_DOCUMENT_LUA51 =
+HOVER_DOCUMENT_LUA51 = -- TODO: need translate!
'http://www.lua.org/manual/5.1/manual.html#{}'
-HOVER_DOCUMENT_LUA52 =
+HOVER_DOCUMENT_LUA52 = -- TODO: need translate!
'http://www.lua.org/manual/5.2/manual.html#{}'
HOVER_DOCUMENT_LUA53 =
'http://cloudwu.github.io/lua53doc/manual.html#{}'
-HOVER_DOCUMENT_LUA54 =
+HOVER_DOCUMENT_LUA54 = -- TODO: need translate!
'http://www.lua.org/manual/5.4/manual.html#{}'
-HOVER_DOCUMENT_LUAJIT =
+HOVER_DOCUMENT_LUAJIT = -- TODO: need translate!
'http://www.lua.org/manual/5.1/manual.html#{}'
-HOVER_NATIVE_DOCUMENT_LUA51 =
+HOVER_NATIVE_DOCUMENT_LUA51 = -- TODO: need translate!
'command:extension.lua.doc?["en-us/51/manual.html/{}"]'
-HOVER_NATIVE_DOCUMENT_LUA52 =
+HOVER_NATIVE_DOCUMENT_LUA52 = -- TODO: need translate!
'command:extension.lua.doc?["en-us/52/manual.html/{}"]'
HOVER_NATIVE_DOCUMENT_LUA53 =
'command:extension.lua.doc?["zh-cn/53/manual.html/{}"]'
-HOVER_NATIVE_DOCUMENT_LUA54 =
+HOVER_NATIVE_DOCUMENT_LUA54 = -- TODO: need translate!
'command:extension.lua.doc?["en-us/54/manual.html/{}"]'
-HOVER_NATIVE_DOCUMENT_LUAJIT =
+HOVER_NATIVE_DOCUMENT_LUAJIT = -- TODO: need translate!
'command:extension.lua.doc?["en-us/51/manual.html/{}"]'
HOVER_MULTI_PROTOTYPE =
'({} 个原型)'
@@ -434,6 +434,8 @@ WINDOW_PROCESSING_SEMANTIC_RANGE =
'正在处理差量语义着色...'
WINDOW_PROCESSING_HINT =
'正在处理内联提示...'
+WINDOW_PROCESSING_TYPE_HINT = -- TODO: need translate!
+'Processing inline hint...'
WINDOW_INCREASE_UPPER_LIMIT =
'增加上限'
WINDOW_CLOSE =
@@ -459,6 +461,10 @@ WINDOW_LUA_STATUS_TIP =
不是狗也不是狐狸!
↓↓↓
]]
+WINDOW_LUA_STATUS_DIAGNOSIS_TITLE= -- TODO: need translate!
+'Perform workspace diagnosis'
+WINDOW_LUA_STATUS_DIAGNOSIS_MSG = -- TODO: need translate!
+'Do you want to perform workspace diagnosis?'
WINDOW_APPLY_SETTING =
'应用设置'
WINDOW_CHECK_SEMANTIC =