summaryrefslogtreecommitdiff
path: root/locale
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-16 20:57:42 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-16 20:57:42 +0800
commit4ed3b03136e4cc4028c07a43fe82507875d0c172 (patch)
tree35f6c1680cc5fa948f144174c1d6002f7413528c /locale
parentce7c78af623ed45f4f897a4610de8b04aec3d4a4 (diff)
downloadlua-language-server-4ed3b03136e4cc4028c07a43fe82507875d0c172.zip
update locale
Diffstat (limited to 'locale')
-rw-r--r--locale/en-us/script.lua8
-rw-r--r--locale/pt-br/meta.lua24
-rw-r--r--locale/pt-br/script.lua26
-rw-r--r--locale/zh-cn/meta.lua24
-rw-r--r--locale/zh-cn/script.lua26
-rw-r--r--locale/zh-tw/script.lua2
6 files changed, 51 insertions, 59 deletions
diff --git a/locale/en-us/script.lua b/locale/en-us/script.lua
index d7e883ae..a166cf47 100644
--- a/locale/en-us/script.lua
+++ b/locale/en-us/script.lua
@@ -315,8 +315,8 @@ HOVER_TABLE_TIME_UP =
'Partial type inference has been disabled for performance reasons.'
HOVER_WS_LOADING =
'Workspace loading: {} / {}'
-HOVER_AWAIT_TOOLTIP = -- TODO: need translate!
-'正在调用异步函数,可能会让出当前协程'
+HOVER_AWAIT_TOOLTIP =
+'Calling async function, current thread may be yielded.'
ACTION_DISABLE_DIAG =
'Disable diagnostics in the workspace ({}).'
@@ -432,9 +432,7 @@ WINDOW_PROCESSING_SEMANTIC_FULL =
'Processing full semantic tokens...'
WINDOW_PROCESSING_SEMANTIC_RANGE =
'Processing incremental semantic tokens...'
-WINDOW_PROCESSING_HINT = -- TODO: need translate!
-'正在处理内联提示...'
-WINDOW_PROCESSING_TYPE_HINT =
+WINDOW_PROCESSING_HINT =
'Processing inline hint...'
WINDOW_INCREASE_UPPER_LIMIT =
'Increase upper limit'
diff --git a/locale/pt-br/meta.lua b/locale/pt-br/meta.lua
index aa530354..36b08c70 100644
--- a/locale/pt-br/meta.lua
+++ b/locale/pt-br/meta.lua
@@ -333,19 +333,19 @@ infowhat.n =
'`name` e `namewhat`'
infowhat.S =
'`source`, `short_src`, `linedefined`, `lastlinedefined` e `what`'
-infowhat.l = -- TODO: need translate!
+infowhat.l =
'`currentline`'
-infowhat.t = -- TODO: need translate!
+infowhat.t =
'`istailcall`'
-infowhat.u['<5.1'] = -- TODO: need translate!
+infowhat.u['<5.1'] =
'`nups`'
infowhat.u['>5.2'] =
'`nups`, `nparams` e `isvararg`'
-infowhat.f = -- TODO: need translate!
+infowhat.f =
'`func`'
infowhat.r =
'`ftransfer` e `ntransfer`'
-infowhat.L = -- TODO: need translate!
+infowhat.L =
'`activelines`'
hookmask.c =
@@ -361,7 +361,7 @@ file[':close'] =
'Fecha o arquivo `file`.'
file[':flush'] =
'Salva qualquer dado de entrada no arquivo `file`.'
-file[':lines'] = -- TODO: need translate!
+file[':lines'] =
[[
------
```lua
@@ -416,7 +416,7 @@ io.flush =
'Salva todos os dados gravados no arquivo de saída padrão.'
io.input =
'Define o arquivo de entrada padrão.'
-io.lines = -- TODO: need translate!
+io.lines =
[[
------
```lua
@@ -593,15 +593,15 @@ os.tmpname =
osdate.year =
'Quatro dígitos.'
-osdate.month = -- TODO: need translate!
+osdate.month =
'1-12'
-osdate.day = -- TODO: need translate!
+osdate.day =
'1-31'
-osdate.hour = -- TODO: need translate!
+osdate.hour =
'0-23'
-osdate.min = -- TODO: need translate!
+osdate.min =
'0-59'
-osdate.sec = -- TODO: need translate!
+osdate.sec =
'0-61'
osdate.wday =
'Dia da semana, 1–7, Domingo é 1'
diff --git a/locale/pt-br/script.lua b/locale/pt-br/script.lua
index 47df6210..4076c223 100644
--- a/locale/pt-br/script.lua
+++ b/locale/pt-br/script.lua
@@ -277,25 +277,25 @@ SYMBOL_ANONYMOUS = -- TODO: need translate!
HOVER_VIEW_DOCUMENTS =
'Visualizar documentos'
-HOVER_DOCUMENT_LUA51 = -- TODO: need translate!
+HOVER_DOCUMENT_LUA51 =
'http://www.lua.org/manual/5.1/manual.html#{}'
-HOVER_DOCUMENT_LUA52 = -- TODO: need translate!
+HOVER_DOCUMENT_LUA52 =
'http://www.lua.org/manual/5.2/manual.html#{}'
-HOVER_DOCUMENT_LUA53 = -- TODO: need translate!
+HOVER_DOCUMENT_LUA53 =
'http://www.lua.org/manual/5.3/manual.html#{}'
-HOVER_DOCUMENT_LUA54 = -- TODO: need translate!
+HOVER_DOCUMENT_LUA54 =
'http://www.lua.org/manual/5.4/manual.html#{}'
-HOVER_DOCUMENT_LUAJIT = -- TODO: need translate!
+HOVER_DOCUMENT_LUAJIT =
'http://www.lua.org/manual/5.1/manual.html#{}'
-HOVER_NATIVE_DOCUMENT_LUA51 = -- TODO: need translate!
+HOVER_NATIVE_DOCUMENT_LUA51 =
'command:extension.lua.doc?["en-us/51/manual.html/{}"]'
-HOVER_NATIVE_DOCUMENT_LUA52 = -- TODO: need translate!
+HOVER_NATIVE_DOCUMENT_LUA52 =
'command:extension.lua.doc?["en-us/52/manual.html/{}"]'
-HOVER_NATIVE_DOCUMENT_LUA53 = -- TODO: need translate!
+HOVER_NATIVE_DOCUMENT_LUA53 =
'command:extension.lua.doc?["en-us/53/manual.html/{}"]'
-HOVER_NATIVE_DOCUMENT_LUA54 = -- TODO: need translate!
+HOVER_NATIVE_DOCUMENT_LUA54 =
'command:extension.lua.doc?["en-us/54/manual.html/{}"]'
-HOVER_NATIVE_DOCUMENT_LUAJIT = -- TODO: need translate!
+HOVER_NATIVE_DOCUMENT_LUAJIT =
'command:extension.lua.doc?["en-us/51/manual.html/{}"]'
HOVER_MULTI_PROTOTYPE =
'({} protótipos)'
@@ -316,7 +316,7 @@ HOVER_TABLE_TIME_UP =
HOVER_WS_LOADING =
'Carregando espaço de trabalho: {} / {}'
HOVER_AWAIT_TOOLTIP = -- TODO: need translate!
-'正在调用异步函数,可能会让出当前协程'
+'Calling async function, current thread may be yielded.'
ACTION_DISABLE_DIAG =
'Desativar diagnósticos no espaço de trabalho ({}).'
@@ -432,9 +432,7 @@ WINDOW_PROCESSING_SEMANTIC_FULL =
'Processando tokens semânticas completos...'
WINDOW_PROCESSING_SEMANTIC_RANGE =
'Processando tokens semânticas incrementais...'
-WINDOW_PROCESSING_HINT = -- TODO: need translate!
-'正在处理内联提示...'
-WINDOW_PROCESSING_TYPE_HINT =
+WINDOW_PROCESSING_HINT =
'Processando dicas de lina...'
WINDOW_INCREASE_UPPER_LIMIT =
'Aumente o limite superior'
diff --git a/locale/zh-cn/meta.lua b/locale/zh-cn/meta.lua
index c00aaf85..a192ff72 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 = -- TODO: need translate!
+infowhat.l =
'`currentline`'
-infowhat.t = -- TODO: need translate!
+infowhat.t =
'`istailcall`'
-infowhat.u['<5.1'] = -- TODO: need translate!
+infowhat.u['<5.1'] =
'`nups`'
infowhat.u['>5.2'] =
'`nups`、`nparams` 和 `isvararg`'
-infowhat.f = -- TODO: need translate!
+infowhat.f =
'`func`'
infowhat.r =
'`ftransfer` 和 `ntransfer`'
-infowhat.L = -- TODO: need translate!
+infowhat.L =
'`activelines`'
hookmask.c =
@@ -339,7 +339,7 @@ file[':close'] =
'关闭 `file`。'
file[':flush'] =
'将写入的数据保存到 `file` 中。'
-file[':lines'] = -- TODO: need translate!
+file[':lines'] =
[[
------
```lua
@@ -394,7 +394,7 @@ io.flush =
'将写入的数据保存到默认输出文件中。'
io.input =
'设置 `file` 为默认输入文件。'
-io.lines = -- TODO: need translate!
+io.lines =
[[
------
```lua
@@ -571,15 +571,15 @@ os.tmpname =
osdate.year =
'四位数字'
-osdate.month = -- TODO: need translate!
+osdate.month =
'1-12'
-osdate.day = -- TODO: need translate!
+osdate.day =
'1-31'
-osdate.hour = -- TODO: need translate!
+osdate.hour =
'0-23'
-osdate.min = -- TODO: need translate!
+osdate.min =
'0-59'
-osdate.sec = -- TODO: need translate!
+osdate.sec =
'0-61'
osdate.wday =
'星期几,1-7,星期天为 1'
diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua
index d99b788e..9c5b5ec7 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 = -- TODO: need translate!
+HOVER_DOCUMENT_LUA51 =
'http://www.lua.org/manual/5.1/manual.html#{}'
-HOVER_DOCUMENT_LUA52 = -- TODO: need translate!
+HOVER_DOCUMENT_LUA52 =
'http://www.lua.org/manual/5.2/manual.html#{}'
HOVER_DOCUMENT_LUA53 =
'http://cloudwu.github.io/lua53doc/manual.html#{}'
-HOVER_DOCUMENT_LUA54 = -- TODO: need translate!
+HOVER_DOCUMENT_LUA54 =
'http://www.lua.org/manual/5.4/manual.html#{}'
-HOVER_DOCUMENT_LUAJIT = -- TODO: need translate!
+HOVER_DOCUMENT_LUAJIT =
'http://www.lua.org/manual/5.1/manual.html#{}'
-HOVER_NATIVE_DOCUMENT_LUA51 = -- TODO: need translate!
+HOVER_NATIVE_DOCUMENT_LUA51 =
'command:extension.lua.doc?["en-us/51/manual.html/{}"]'
-HOVER_NATIVE_DOCUMENT_LUA52 = -- TODO: need translate!
+HOVER_NATIVE_DOCUMENT_LUA52 =
'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 = -- TODO: need translate!
+HOVER_NATIVE_DOCUMENT_LUA54 =
'command:extension.lua.doc?["en-us/54/manual.html/{}"]'
-HOVER_NATIVE_DOCUMENT_LUAJIT = -- TODO: need translate!
+HOVER_NATIVE_DOCUMENT_LUAJIT =
'command:extension.lua.doc?["en-us/51/manual.html/{}"]'
HOVER_MULTI_PROTOTYPE =
'({} 个原型)'
@@ -434,8 +434,6 @@ WINDOW_PROCESSING_SEMANTIC_RANGE =
'正在处理差量语义着色...'
WINDOW_PROCESSING_HINT =
'正在处理内联提示...'
-WINDOW_PROCESSING_TYPE_HINT = -- TODO: need translate!
-'Processing inline hint...'
WINDOW_INCREASE_UPPER_LIMIT =
'增加上限'
WINDOW_CLOSE =
@@ -461,10 +459,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_LUA_STATUS_DIAGNOSIS_TITLE=
+'进行工作区诊断'
+WINDOW_LUA_STATUS_DIAGNOSIS_MSG =
+'是否进行工作区诊断?'
WINDOW_APPLY_SETTING =
'应用设置'
WINDOW_CHECK_SEMANTIC =
diff --git a/locale/zh-tw/script.lua b/locale/zh-tw/script.lua
index b6c83bb6..5cbc2b26 100644
--- a/locale/zh-tw/script.lua
+++ b/locale/zh-tw/script.lua
@@ -434,8 +434,6 @@ WINDOW_PROCESSING_SEMANTIC_RANGE =
'正在處理差量語義著色...'
WINDOW_PROCESSING_HINT =
'正在處理內嵌提示...'
-WINDOW_PROCESSING_TYPE_HINT = -- TODO: need translate!
-'Processing inline hint...'
WINDOW_INCREASE_UPPER_LIMIT =
'增加上限'
WINDOW_CLOSE =