diff options
Diffstat (limited to 'locale')
-rw-r--r-- | locale/en-US/script.lni | 13 | ||||
-rw-r--r-- | locale/zh-CN/script.lni | 13 |
2 files changed, 20 insertions, 6 deletions
diff --git a/locale/en-US/script.lni b/locale/en-US/script.lni index 6e6dd9b8..88ad7a85 100644 --- a/locale/en-US/script.lni +++ b/locale/en-US/script.lni @@ -43,6 +43,8 @@ MWS_UCONFIG_FAILED = 'Saving user setting failed.' MWS_UCONFIG_UPDATED = 'User setting updated.' MWS_WCONFIG_UPDATED = 'Workspace setting updated.' +WORKSPACE_SKIP_LARGE_FILE = 'Too large file: {} skipped. The currently set size limit is: {} KB, and the file size is: {} KB.' + PARSER_CRASH = 'Parser crashed! Last words:{}' PARSER_UNKNOWN = 'Unknown syntax error...' PARSER_MISS_NAME = '<name> expected.' @@ -82,6 +84,7 @@ PARSER_ERR_DO_AS_THEN = 'Should use `do` .' PARSER_MISS_END = 'Miss corresponding `end` .' PARSER_ERR_COMMENT_PREFIX = 'Lua should use `--` for annotations.' PARSER_MISS_SEP_IN_TABLE = 'Miss symbol `,` or `;` .' +PARSER_SET_CONST = 'Assignment to const variable.' SYMBOL_ANONYMOUS = '<Anonymous>' @@ -100,9 +103,13 @@ HOVER_NATIVE_DOCUMENT_LUA53 = 'command:extension.lua.doc?["en-us/53/manual.h HOVER_NATIVE_DOCUMENT_LUA54 = 'command:extension.lua.doc?["en-us/54/manual.html/{}"]' HOVER_NATIVE_DOCUMENT_LUAJIT = 'command:extension.lua.doc?["en-us/51/manual.html/{}"]' -HOVER_MULTI_PROTOTYPE = '({} prototypes)' -HOVER_STRING_BYTES = '{} bytes' -HOVER_STRING_CHARACTERS = '{} bytes, {} characters' +HOVER_MULTI_PROTOTYPE = '({} prototypes)' +HOVER_STRING_BYTES = '{} bytes' +HOVER_STRING_CHARACTERS = '{} bytes, {} characters' +HOVER_MULTI_DEF_PROTO = '({} definitions, {} prototypes)' +HOVER_MULTI_PROTO_NOT_FUNC = '({} non functional definition)' + +HOVER_USE_LUA_PATH = '(Suppose the search path contains `{}`)' ACTION_DISABLE_DIAG = 'Disable diagnostics ({}).' ACTION_MARK_GLOBAL = 'Mark `{}` as defined global.' diff --git a/locale/zh-CN/script.lni b/locale/zh-CN/script.lni index 7934f8ff..7c223dd2 100644 --- a/locale/zh-CN/script.lni +++ b/locale/zh-CN/script.lni @@ -43,6 +43,8 @@ MWS_UCONFIG_FAILED = '用户配置保存失败。' MWS_UCONFIG_UPDATED = '用户配置已更新。' MWS_WCONFIG_UPDATED = '工作区配置已更新。' +WORKSPACE_SKIP_LARGE_FILE = '已跳过过大的文件:{}。当前设置的大小限制为:{} KB,该文件大小为:{} KB' + PARSER_CRASH = '语法解析崩溃了!遗言:{}' PARSER_UNKNOWN = '未知语法错误...' PARSER_MISS_NAME = '缺少名称。' @@ -82,6 +84,7 @@ PARSER_ERR_DO_AS_THEN = '应使用`do`。' PARSER_MISS_END = '缺少对应的`end`。' PARSER_ERR_COMMENT_PREFIX = 'Lua应使用`--`来进行注释。' PARSER_MISS_SEP_IN_TABLE = '需要用`,`或`;`进行分割。' +PARSER_SET_CONST = '不能对常量赋值。' SYMBOL_ANONYMOUS = '<匿名函数>' @@ -99,9 +102,13 @@ HOVER_NATIVE_DOCUMENT_LUA53 = 'command:extension.lua.doc?["zh-cn/53/manual.h HOVER_NATIVE_DOCUMENT_LUA54 = 'command:extension.lua.doc?["en-us/54/manual.html/{}"]' HOVER_NATIVE_DOCUMENT_LUAJIT = 'command:extension.lua.doc?["en-us/51/manual.html/{}"]' -HOVER_MULTI_PROTOTYPE = '({} 个原型)' -HOVER_STRING_BYTES = '{} 个字节' -HOVER_STRING_CHARACTERS = '{} 个字节,{} 个字符' +HOVER_MULTI_PROTOTYPE = '({} 个原型)' +HOVER_STRING_BYTES = '{} 个字节' +HOVER_STRING_CHARACTERS = '{} 个字节,{} 个字符' +HOVER_MULTI_DEF_PROTO = '({} 个定义,{} 个原型)' +HOVER_MULTI_PROTO_NOT_FUNC = '({} 个非函数定义)' + +HOVER_USE_LUA_PATH = '(假设搜索路径包含 `{}`)' ACTION_DISABLE_DIAG = '禁用诊断({})。' ACTION_MARK_GLOBAL = '标记 `{}` 为已定义的全局变量。' |