summaryrefslogtreecommitdiff
path: root/locale/pt-br/script.lua
diff options
context:
space:
mode:
authorThomas Wetzlmaier <thomas.wetzlmaier@scch.at>2023-05-11 16:32:53 +0200
committerGitHub <noreply@github.com>2023-05-11 16:32:53 +0200
commitd2a08abb38a413dddd19edb69971d2b0657bff6f (patch)
treebea4d5331e05565216e2adfbd341b280176abdde /locale/pt-br/script.lua
parentd00d9082dfdd49088a6776282471ced6d5d2361e (diff)
downloadlua-language-server-d2a08abb38a413dddd19edb69971d2b0657bff6f.zip
Annotation rule for exported local functions
Annotation for the following local function func1 is required. local mod = { } local function func1() end mod.Func1 = func1 return mod;
Diffstat (limited to 'locale/pt-br/script.lua')
-rw-r--r--locale/pt-br/script.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/locale/pt-br/script.lua b/locale/pt-br/script.lua
index 03e17c15..804779e3 100644
--- a/locale/pt-br/script.lua
+++ b/locale/pt-br/script.lua
@@ -120,6 +120,12 @@ DIAG_MISSING_GLOBAL_DOC_PARAM = -- TODO: need translate!
'Missing @param annotation for parameter `{}` in global function `{}`.'
DIAG_MISSING_GLOBAL_DOC_RETURN = -- TODO: need translate!
'Missing @return annotation at index `{}` in global function `{}`.'
+DIAG_MISSING_LOCAL_EXPORT_DOC_COMMENT = -- TODO: need translate!
+'Missing comment for exported local function `{}`.'
+DIAG_MISSING_LOCAL_EXPORT_DOC_PARAM = -- TODO: need translate!
+'Missing @param annotation for parameter `{}` in exported local function `{}`.'
+DIAG_MISSING_LOCAL_EXPORT_DOC_RETURN = -- TODO: need translate!
+'Missing @return annotation at index `{}` in exported local function `{}`.'
DIAG_INCOMPLETE_SIGNATURE_DOC_PARAM = -- TODO: need translate!
'Incomplete signature. Missing @param annotation for parameter `{}` in function `{}`.'
DIAG_INCOMPLETE_SIGNATURE_DOC_RETURN = -- TODO: need translate!