Skip to content

Commit 24ca75e

Browse files
committed
fix #1015 en-us translation
1 parent b6e6b84 commit 24ca75e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

locale/en-us/setting.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ config.format.defaultConfig =
255255
The default format configuration. Has a lower priority than `.editorconfig` file in the workspace.
256256
Read [formatter docs](https://github.com/CppCXY/EmmyLuaCodeStyle/tree/master/docs) to learn usage.
257257
]]
258-
config.spell.dict = -- TODO: need translate!
258+
config.spell.dict =
259259
'Custom words for spell checking.'
260260
config.telemetry.enable =
261261
[[
@@ -303,8 +303,8 @@ config.diagnostics['redefined-local'] =
303303
'Enable redefined local variable diagnostics.'
304304
config.diagnostics['newline-call'] =
305305
'Enable newline call diagnostics. Is\'s raised when a line starting with `(` is encountered, which is syntactically parsed as a function call on the previous line.'
306-
config.diagnostics['newfield-call'] = -- TODO: need translate!
307-
'在字面量表中,2行代码之间缺少分隔符,在语法上被解析为了一次索引操作'
306+
config.diagnostics['newfield-call'] =
307+
'Enable newfield call diagnostics. It is raised when the parenthesis of a function call appear on the following line when defining a field in a table.'
308308
config.diagnostics['redundant-parameter'] =
309309
'Enable redundant function parameter diagnostics.'
310310
config.diagnostics['ambiguity-1'] =

0 commit comments

Comments
 (0)