summaryrefslogtreecommitdiff
path: root/locale
diff options
context:
space:
mode:
authorAndreaWalchshoferSCCH <andrea.walchshofer@scch.at>2023-04-24 11:03:18 +0200
committerAndreaWalchshoferSCCH <andrea.walchshofer@scch.at>2023-04-24 11:03:18 +0200
commit171703c12f571d15550aacc40a45cc6a312d8b1d (patch)
treecceb1c66d2406b8e1690274e0da15bd89ac7c762 /locale
parentcff12c89285d5039cb24634b737837e8a94399f5 (diff)
downloadlua-language-server-171703c12f571d15550aacc40a45cc6a312d8b1d.zip
Cleanup PR
Revert Changes made from unrelated PR
Diffstat (limited to 'locale')
-rw-r--r--locale/en-us/script.lua5
-rw-r--r--locale/en-us/setting.lua6
-rw-r--r--locale/pt-br/script.lua4
-rw-r--r--locale/pt-br/setting.lua6
-rw-r--r--locale/zh-cn/script.lua4
-rw-r--r--locale/zh-cn/setting.lua6
-rw-r--r--locale/zh-tw/script.lua4
-rw-r--r--locale/zh-tw/setting.lua6
8 files changed, 12 insertions, 29 deletions
diff --git a/locale/en-us/script.lua b/locale/en-us/script.lua
index 6742b784..c42731b6 100644
--- a/locale/en-us/script.lua
+++ b/locale/en-us/script.lua
@@ -160,11 +160,8 @@ DIAG_INVISIBLE_PROTECTED =
'Field `{field}` is protected, it can only be accessed in class `{class}` and its subclasses.'
DIAG_INVISIBLE_PACKAGE =
'Field `{field}` can only be accessed in same file `{uri}`.'
-DIAG_GLOBAL_ELEMENT =
+DIAG_GLOBAL_ELEMENT =
'Element is global.'
-DIAG_UPPERCASE_LOCAL =
-'Local element `{}` must start with lowercase letter'
-
MWS_NOT_SUPPORT =
'{} does not support multi workspace for now, I may need to restart to support the new workspace ...'
diff --git a/locale/en-us/setting.lua b/locale/en-us/setting.lua
index 4b34042f..a354ff0b 100644
--- a/locale/en-us/setting.lua
+++ b/locale/en-us/setting.lua
@@ -419,10 +419,8 @@ config.diagnostics['unknown-operator'] =
'Enable diagnostics for unknown operators.'
config.diagnostics['unreachable-code'] =
'Enable diagnostics for unreachable code.'
-config.diagnostics['global-element'] =
-'Enable diagnostics to warn about global variables.'
-config.diagnostics['uppercase-local'] =
-'Enable diagnostics to warn about local element names starting with an uppercase letter.'
+config.diagnostics['global-element'] =
+'Enable diagnostics to warn about global elements.'
config.typeFormat.config =
'Configures the formatting behavior while typing Lua code.'
config.typeFormat.config.auto_complete_end =
diff --git a/locale/pt-br/script.lua b/locale/pt-br/script.lua
index be6de9b2..5d4d70b5 100644
--- a/locale/pt-br/script.lua
+++ b/locale/pt-br/script.lua
@@ -160,10 +160,8 @@ DIAG_INVISIBLE_PROTECTED = -- TODO: need translate!
'Field `{field}` is protected, it can only be accessed in class `{class}` and its subclasses.'
DIAG_INVISIBLE_PACKAGE = -- TODO: need translate!
'Field `{field}` can only be accessed in same file `{uri}`.'
-DIAG_GLOBAL_ELEMENT = -- TODO: need translate!
+DIAG_GLOBAL_ELEMENT = -- TODO: need translate!
'Element is global.'
-DIAG_UPPERCASE_LOCAL = -- TODO: need translate!
-'Local element `{}` must start with lowercase letter'
MWS_NOT_SUPPORT =
'{} não é suportado múltiplos espaços de trabalho por enquanto, posso precisar reiniciar para estabelecer um novo espaço de trabalho ...'
diff --git a/locale/pt-br/setting.lua b/locale/pt-br/setting.lua
index 5038a5da..c38f0ff0 100644
--- a/locale/pt-br/setting.lua
+++ b/locale/pt-br/setting.lua
@@ -419,10 +419,8 @@ config.diagnostics['unknown-operator'] = -- TODO: need translate!
'Enable diagnostics for unknown operators.'
config.diagnostics['unreachable-code'] = -- TODO: need translate!
'Enable diagnostics for unreachable code.'
-config.diagnostics['global-element'] = -- TODO: need translate!
-'Enable diagnostics to warn about global variables.'
-config.diagnostics['uppercase-local'] = -- TODO: need translate!
-'Enable diagnostics to warn about local element names starting with an uppercase letter.'
+config.diagnostics['global-element'] = -- TODO: need translate!
+'Enable diagnostics to warn about global elements.'
config.typeFormat.config = -- TODO: need translate!
'Configures the formatting behavior while typing Lua code.'
config.typeFormat.config.auto_complete_end = -- TODO: need translate!
diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua
index 40a8d35d..2944686d 100644
--- a/locale/zh-cn/script.lua
+++ b/locale/zh-cn/script.lua
@@ -160,10 +160,8 @@ DIAG_INVISIBLE_PROTECTED =
'字段 `{field}` 受到保护,只能在 `{class}` 类极其子类中才能访问。'
DIAG_INVISIBLE_PACKAGE =
'字段 `{field}` 只能在相同的文件 `{uri}` 中才能访问。'
-DIAG_GLOBAL_ELEMENT = -- TODO: need translate!
+DIAG_GLOBAL_ELEMENT = -- TODO: need translate!
'Element is global.'
-DIAG_UPPERCASE_LOCAL = -- TODO: need translate!
-'Local element `{}` must start with lowercase letter'
MWS_NOT_SUPPORT =
'{} 目前还不支持多工作目录,我可能需要重启才能支持新的工作目录...'
diff --git a/locale/zh-cn/setting.lua b/locale/zh-cn/setting.lua
index bece9a80..9dbd961d 100644
--- a/locale/zh-cn/setting.lua
+++ b/locale/zh-cn/setting.lua
@@ -418,10 +418,8 @@ config.diagnostics['unknown-operator'] = -- TODO: need translate!
'Enable diagnostics for unknown operators.'
config.diagnostics['unreachable-code'] = -- TODO: need translate!
'Enable diagnostics for unreachable code.'
-config.diagnostics['global-element'] = -- TODO: need translate!
-'Enable diagnostics to warn about global variables.'
-config.diagnostics['uppercase-local'] = -- TODO: need translate!
-'Enable diagnostics to warn about local element names starting with an uppercase letter.'
+config.diagnostics['global-element'] = -- TODO: need translate!
+'Enable diagnostics to warn about global elements.'
config.typeFormat.config = -- TODO: need translate!
'Configures the formatting behavior while typing Lua code.'
config.typeFormat.config.auto_complete_end = -- TODO: need translate!
diff --git a/locale/zh-tw/script.lua b/locale/zh-tw/script.lua
index 7bc9e8a4..e8f17703 100644
--- a/locale/zh-tw/script.lua
+++ b/locale/zh-tw/script.lua
@@ -160,10 +160,8 @@ DIAG_INVISIBLE_PROTECTED = -- TODO: need translate!
'Field `{field}` is protected, it can only be accessed in class `{class}` and its subclasses.'
DIAG_INVISIBLE_PACKAGE = -- TODO: need translate!
'Field `{field}` can only be accessed in same file `{uri}`.'
-DIAG_GLOBAL_ELEMENT = -- TODO: need translate!
+DIAG_GLOBAL_ELEMENT = -- TODO: need translate!
'Element is global.'
-DIAG_UPPERCASE_LOCAL = -- TODO: need translate!
-'Local element `{}` must start with lowercase letter'
MWS_NOT_SUPPORT =
'{} 目前還不支援多工作目錄,我可能需要重新啟動才能支援新的工作目錄...'
diff --git a/locale/zh-tw/setting.lua b/locale/zh-tw/setting.lua
index 26ddc932..7cf93297 100644
--- a/locale/zh-tw/setting.lua
+++ b/locale/zh-tw/setting.lua
@@ -418,10 +418,8 @@ config.diagnostics['unknown-operator'] = -- TODO: need translate!
'Enable diagnostics for unknown operators.'
config.diagnostics['unreachable-code'] = -- TODO: need translate!
'Enable diagnostics for unreachable code.'
-config.diagnostics['global-element'] = -- TODO: need translate!
-'Enable diagnostics to warn about global variables.'
-config.diagnostics['uppercase-local'] = -- TODO: need translate!
-'Enable diagnostics to warn about local element names starting with an uppercase letter.'
+config.diagnostics['global-element'] = -- TODO: need translate!
+'Enable diagnostics to warn about global elements.'
config.typeFormat.config = -- TODO: need translate!
'Configures the formatting behavior while typing Lua code.'
config.typeFormat.config.auto_complete_end = -- TODO: need translate!