summaryrefslogtreecommitdiff
path: root/locale/zh-tw
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-tw
parent68d88b39691ad7aae0ee1380567c7d40f87ba8d3 (diff)
downloadlua-language-server-ce7c78af623ed45f4f897a4610de8b04aec3d4a4.zip
updata locale
Diffstat (limited to 'locale/zh-tw')
-rw-r--r--locale/zh-tw/meta.lua55
-rw-r--r--locale/zh-tw/script.lua24
2 files changed, 58 insertions, 21 deletions
diff --git a/locale/zh-tw/meta.lua b/locale/zh-tw/meta.lua
index 9cb2f460..b7cc18a8 100644
--- a/locale/zh-tw/meta.lua
+++ b/locale/zh-tw/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-tw/script.lua b/locale/zh-tw/script.lua
index 64858686..b6c83bb6 100644
--- a/locale/zh-tw/script.lua
+++ b/locale/zh-tw/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 =
'({} 個原型)'
@@ -315,6 +315,8 @@ HOVER_TABLE_TIME_UP =
'出於效能考慮,已禁用了部分類型推斷。 '
HOVER_WS_LOADING =
'正在載入工作目錄:{} / {}'
+HOVER_AWAIT_TOOLTIP = -- TODO: need translate!
+'正在调用异步函数,可能会让出当前协程'
ACTION_DISABLE_DIAG =
'在工作區禁用診斷({})。 '
@@ -432,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 =
@@ -457,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 =