Skip to content

Commit 2cf9bcb

Browse files
committed
update translate
1 parent ff11fb0 commit 2cf9bcb

File tree

4 files changed

+45
-11
lines changed

4 files changed

+45
-11
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/code_analysis/locales/lint.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,44 @@ Type '%{name}' not found:
99
zh_CN: 类型 '%{name}' 未找到
1010
zh_HK: 類型 '%{name}' 未找到
1111
zh_TW: 類型 '%{name}' 未找到
12+
'%{name} is never used, if this is intentional, prefix it with an underscore: _%{name}':
13+
en: '%{name} is never used, if this is intentional, prefix it with an underscore: _%{name}'
14+
zh_CN: '%{name} 从未被使用,如果这是有意的,请在前面加下划线: _%{name}'
15+
zh_HK: '%{name} 從未被使用,如果這是有意的,請在前面加下劃線: _%{name}'
16+
zh_TW: '%{name} 從未被使用,如果這是有意的,請在前面加下劃線: _%{name}'
17+
The current Lua version %{version} is not accessible; expected %{conds}.:
18+
en: 'The current Lua version %{version} is not accessible; expected %{conds}.'
19+
zh_CN: '当前的 Lua 版本 %{version} 无法访问;预期为 %{conds}。'
20+
zh_HK: '當前的 Lua 版本 %{version} 無法訪問;預期為 %{conds}。'
21+
zh_TW: '當前的 Lua 版本 %{version} 無法訪問;預期為 %{conds}。'
22+
The property is package-private and cannot be accessed outside the package.:
23+
en: 'The property is package-private and cannot be accessed outside the package.'
24+
zh_CN: '该属性为包私有,无法在包外访问。'
25+
zh_HK: '該屬性為包私有,無法在包外訪問。'
26+
zh_TW: '該屬性為包私有,無法在包外訪問。'
27+
The property is private and cannot be accessed outside the class.:
28+
en: 'The property is private and cannot be accessed outside the class.'
29+
zh_CN: '该属性为私有,无法在类外访问。'
30+
zh_HK: '該屬性為私有,無法在類外訪問。'
31+
zh_TW: '該屬性為私有,無法在類外訪問。'
32+
The property is protected and cannot be accessed outside its subclasses.:
33+
en: 'The property is protected and cannot be accessed outside its subclasses.'
34+
zh_CN: '该属性受保护,无法在其子类之外访问。'
35+
zh_HK: '該屬性受保護,無法在其子類之外訪問。'
36+
zh_TW: '該屬性受保護,無法在其子類之外訪問。'
37+
expected %{num} but founded %{found_num}. %{infos}:
38+
en: 'expected %{num} but found %{found_num}. %{infos}'
39+
zh_CN: '期望 %{num} 但找到 %{found_num}。%{infos}'
40+
zh_HK: '期望 %{num} 但找到 %{found_num}。%{infos}'
41+
zh_TW: '期望 %{num} 但找到 %{found_num}。%{infos}'
42+
'missing parameter: %{name}':
43+
en: 'missing parameter: %{name}'
44+
zh_CN: '缺少参数: %{name}'
45+
zh_HK: '缺少參數: %{name}'
46+
zh_TW: '缺少參數: %{name}'
47+
'undefined global variable: %{name}':
48+
en: 'undefined global variable: %{name}'
49+
zh_CN: '未定义的全局变量: %{name}'
50+
zh_HK: '未定義的全局變量: %{name}'
51+
zh_TW: '未定義的全局變量: %{name}'
52+

crates/emmylua_ls/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "emmylua_ls"
3-
version = "0.1.6"
3+
version = "0.1.7"
44
edition = "2021"
55

66
[dependencies]

resources/schema.json

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -227,13 +227,6 @@
227227
"undefined-global"
228228
]
229229
},
230-
{
231-
"description": "Need import",
232-
"type": "string",
233-
"enum": [
234-
"need-import"
235-
]
236-
},
237230
{
238231
"description": "Deprecated",
239232
"type": "string",
@@ -242,10 +235,10 @@
242235
]
243236
},
244237
{
245-
"description": "Access invisible member",
238+
"description": "Access invisible",
246239
"type": "string",
247240
"enum": [
248-
"access-invisible-member"
241+
"access-invisible"
249242
]
250243
},
251244
{

0 commit comments

Comments
 (0)