|
1 | 1 | DIAG_LINE_ONLY_SPACE = |
2 | 2 | 'Line with spaces only.' |
3 | 3 | DIAG_LINE_POST_SPACE = |
4 | | -'Line with postspace.' |
| 4 | +'Line with trailing space.' |
5 | 5 | DIAG_UNUSED_LOCAL = |
6 | 6 | 'Unused local `{}`.' |
7 | 7 | DIAG_UNDEF_GLOBAL = |
@@ -174,8 +174,8 @@ DIAG_INJECT_FIELD = |
174 | 174 | 'Fields cannot be injected into the reference of `{class}` for `{field}`. {fix}' |
175 | 175 | DIAG_INJECT_FIELD_FIX_CLASS = |
176 | 176 | 'To do so, use `---@class` for `{node}`.' |
177 | | -DIAG_INJECT_FIELD_FIX_TABLE = -- TODO: need translate! |
178 | | -'如要允许注入,请在定义中添加 `{fix}` 。' |
| 177 | +DIAG_INJECT_FIELD_FIX_TABLE = |
| 178 | +'To allow injection, add `{fix}` to the definition.' |
179 | 179 |
|
180 | 180 | MWS_NOT_SUPPORT = |
181 | 181 | '{} does not support multi workspace for now, I may need to restart to support the new workspace ...' |
@@ -301,9 +301,9 @@ PARSER_INDEX_IN_FUNC_NAME = |
301 | 301 | 'The `[name]` form cannot be used in the name of a named function.' |
302 | 302 | PARSER_UNKNOWN_ATTRIBUTE = |
303 | 303 | 'Local attribute should be `const` or `close`' |
304 | | -PARSER_AMBIGUOUS_SYNTAX = -- TODO: need translate! |
| 304 | +PARSER_AMBIGUOUS_SYNTAX = |
305 | 305 | 'In Lua 5.1, the left brackets called by the function must be in the same line as the function.' |
306 | | -PARSER_NEED_PAREN = -- TODO: need translate! |
| 306 | +PARSER_NEED_PAREN = |
307 | 307 | 'Need to add a pair of parentheses.' |
308 | 308 | PARSER_NESTING_LONG_MARK = |
309 | 309 | 'Nesting of `[[...]]` is not allowed in Lua 5.1 .' |
@@ -454,9 +454,9 @@ ACTION_MARK_ASYNC = |
454 | 454 | 'Mark current function as async.' |
455 | 455 | ACTION_ADD_DICT = |
456 | 456 | 'Add \'{}\' to workspace dict' |
457 | | -ACTION_FIX_ADD_PAREN = -- TODO: need translate! |
| 457 | +ACTION_FIX_ADD_PAREN = |
458 | 458 | 'Add parentheses.' |
459 | | -ACTION_AUTOREQUIRE = -- TODO: need translate! |
| 459 | +ACTION_AUTOREQUIRE = |
460 | 460 | "Import '{}' as {}" |
461 | 461 |
|
462 | 462 | COMMAND_DISABLE_DIAG = |
@@ -1212,7 +1212,7 @@ setColor(colors.green) |
1212 | 1212 | LUADOC_DESC_SOURCE = |
1213 | 1213 | [=[ |
1214 | 1214 | Provide a reference to some source code which lives in another file. When |
1215 | | -searching for the defintion of an item, its `@source` will be used. |
| 1215 | +searching for the definition of an item, its `@source` will be used. |
1216 | 1216 |
|
1217 | 1217 | ## Syntax |
1218 | 1218 | `@source <path>` |
@@ -1260,7 +1260,7 @@ end |
1260 | 1260 | LUADOC_DESC_PRIVATE = |
1261 | 1261 | [=[ |
1262 | 1262 | Mark a function as private to a @class. Private functions can be accessed only |
1263 | | -from within their class and are not accessable from child classes. |
| 1263 | +from within their class and are not accessible from child classes. |
1264 | 1264 |
|
1265 | 1265 | ## Syntax |
1266 | 1266 | `@private` |
|
0 commit comments