summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-07-23 16:09:17 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-07-23 16:09:17 +0800
commit83a23c669a91db748a37e3010cc574c9db47da84 (patch)
treeb6d637bd6ad9397dc5168b38f15d01894182ce65
parent34543892c8548f34e406b28afd02fe1448582245 (diff)
downloadlua-language-server-83a23c669a91db748a37e3010cc574c9db47da84.zip
英文翻译
-rw-r--r--server/locale/en-US/script.lni20
1 files changed, 20 insertions, 0 deletions
diff --git a/server/locale/en-US/script.lni b/server/locale/en-US/script.lni
index 5a008b2d..9e2de80f 100644
--- a/server/locale/en-US/script.lni
+++ b/server/locale/en-US/script.lni
@@ -62,6 +62,15 @@ PARSER_UNEXPECT_DOTS = 'Cannot use `...` outside a vararg function.'
PARSER_UNKNOWN_TAG = 'Unknown tag.'
PARSER_MULTI_TAG = 'Dose not support multi tags.'
PARSER_UNEXPECT_LFUNC_NAME = 'Local function can only use identifiers as name.'
+PARSER_ERR_LCOMMENT_END = 'Multi-line annotations should be closed by `{symbol}` .'
+PARSER_ERR_C_LONG_COMMENT = 'Lua should use `-[[ ]]` for multi-line annotations.'
+PARSER_ERR_LSTRING_END = 'Long string should be closed by `{symbol}` .'
+PARSER_ERR_ASSIGN_AS_EQ = 'Should use `=` for assignment.'
+PARSER_ERR_EQ_AS_ASSIGN = 'Should use `==` for equal.'
+PARSER_ERR_UEQ = 'Should use `~=` for not equal.'
+PARSER_ERR_THEN_AS_DO = 'Should use `then` .'
+PARSER_ERR_DO_AS_THEN = 'Should use `do` .'
+PARSER_MISS_END = 'Miss corresponding `end` .'
SYMBOL_ANONYMOUS = '<Anonymous>'
@@ -80,6 +89,17 @@ ACTION_ADD_BRACKETS = 'Add brackets.'
ACTION_RUNTIME_VERSION = 'Change runtime version to {} .'
ACTION_OPEN_LIBRARY = 'Load globals from {} .'
ACTION_ADD_DO_END = 'Add `do ... end` .'
+ACTION_FIX_LCOMMENT_END = 'Modify to the correct multi-line annotations closing symbol.'
+ACTION_ADD_LCOMMENT_END = 'Close multi-line annotations.'
+ACTION_FIX_C_LONG_COMMENT = 'Modify to Lua multi-line annotations format.'
+ACTION_FIX_LSTRING_END = 'Modify to the correct long string closing symbol.'
+ACTION_ADD_LSTRING_END = 'Close long string.'
+ACTION_FIX_ASSIGN_AS_EQ = 'Modify to `=` .'
+ACTION_FIX_EQ_AS_ASSIGN = 'Modify to `==` .'
+ACTION_FIX_UEQ = 'Modify to `~=` .'
+ACTION_FIX_THEN_AS_DO = 'Modify to `then` .'
+ACTION_FIX_DO_AS_THEN = 'Modify to `do` .'
+ACTION_ADD_DO_END = 'Add `end` (infer the addition location ny indentations).'
COMMAND_DISABLE_DIAG = 'Disable diagnostics'
COMMAND_MARK_GLOBAL = 'Mark defined global'