Skip to content

Commit 9f54935

Browse files
committed
update doc and locale
1 parent 3a666c7 commit 9f54935

File tree

5 files changed

+32
-12
lines changed

5 files changed

+32
-12
lines changed

doc/en-us/config.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ Array<string>
258258
* ``"global-in-nil-env"``
259259
* ``"incomplete-signature-doc"``
260260
* ``"index-in-func-name"``
261+
* ``"inject-field"``
261262
* ``"invisible"``
262263
* ``"jump-local-scope"``
263264
* ``"keyword"``
@@ -505,6 +506,7 @@ object<string, string>
505506
* assign-type-mismatch
506507
* cast-local-type
507508
* cast-type-mismatch
509+
* inject-field
508510
* need-check-nil
509511
* param-type-mismatch
510512
* return-type-mismatch
@@ -633,6 +635,7 @@ object<string, string>
633635
* assign-type-mismatch
634636
* cast-local-type
635637
* cast-type-mismatch
638+
* inject-field
636639
* need-check-nil
637640
* param-type-mismatch
638641
* return-type-mismatch
@@ -826,6 +829,7 @@ object<string, string>
826829
Incomplete @param or @return annotations for functions.
827830
*/
828831
"incomplete-signature-doc": "None",
832+
"inject-field": "Opened",
829833
/*
830834
Enable diagnostics for accesses to fields which are invisible.
831835
*/
@@ -1095,6 +1099,7 @@ object<string, string>
10951099
Incomplete @param or @return annotations for functions.
10961100
*/
10971101
"incomplete-signature-doc": "Warning",
1102+
"inject-field": "Warning",
10981103
/*
10991104
Enable diagnostics for accesses to fields which are invisible.
11001105
*/
@@ -1853,7 +1858,7 @@ false
18531858

18541859
# runtime.plugin
18551860

1856-
Plugin path. Please read the [wiki](https://luals.github.io/wiki/plugins) to learn more.
1861+
Plugin path. Please read [wiki](https://luals.github.io/wiki/plugins) to learn more.
18571862

18581863
## type
18591864

@@ -2291,4 +2296,4 @@ Array<string>
22912296

22922297
```jsonc
22932298
[]
2294-
```
2299+
```

doc/pt-br/config.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ Array<string>
258258
* ``"global-in-nil-env"``
259259
* ``"incomplete-signature-doc"``
260260
* ``"index-in-func-name"``
261+
* ``"inject-field"``
261262
* ``"invisible"``
262263
* ``"jump-local-scope"``
263264
* ``"keyword"``
@@ -505,6 +506,7 @@ object<string, string>
505506
* assign-type-mismatch
506507
* cast-local-type
507508
* cast-type-mismatch
509+
* inject-field
508510
* need-check-nil
509511
* param-type-mismatch
510512
* return-type-mismatch
@@ -633,6 +635,7 @@ object<string, string>
633635
* assign-type-mismatch
634636
* cast-local-type
635637
* cast-type-mismatch
638+
* inject-field
636639
* need-check-nil
637640
* param-type-mismatch
638641
* return-type-mismatch
@@ -738,7 +741,7 @@ object<string, string>
738741
```jsonc
739742
{
740743
/*
741-
优先级歧义,如:`num or 0 + 1`,推测用户的实际期望为 `(num or 0) + 1`
744+
优先级歧义,如:`num or 0 + 1`,推测用户的实际期望为 `(num or 0) + 1`
742745
*/
743746
"ambiguity-1": "Any",
744747
/*
@@ -826,6 +829,7 @@ object<string, string>
826829
Incomplete @param or @return annotations for functions.
827830
*/
828831
"incomplete-signature-doc": "None",
832+
"inject-field": "Opened",
829833
/*
830834
Enable diagnostics for accesses to fields which are invisible.
831835
*/
@@ -1007,7 +1011,7 @@ object<string, string>
10071011
```jsonc
10081012
{
10091013
/*
1010-
优先级歧义,如:`num or 0 + 1`,推测用户的实际期望为 `(num or 0) + 1`
1014+
优先级歧义,如:`num or 0 + 1`,推测用户的实际期望为 `(num or 0) + 1`
10111015
*/
10121016
"ambiguity-1": "Warning",
10131017
/*
@@ -1095,6 +1099,7 @@ object<string, string>
10951099
Incomplete @param or @return annotations for functions.
10961100
*/
10971101
"incomplete-signature-doc": "Warning",
1102+
"inject-field": "Warning",
10981103
/*
10991104
Enable diagnostics for accesses to fields which are invisible.
11001105
*/
@@ -1853,7 +1858,7 @@ false
18531858

18541859
# runtime.plugin
18551860

1856-
Plugin path. Please read the [wiki](https://luals.github.io/wiki/plugins) to learn more.
1861+
Plugin path. Please read [wiki](https://luals.github.io/wiki/plugins) to learn more.
18571862

18581863
## type
18591864

@@ -2291,4 +2296,4 @@ Array<string>
22912296

22922297
```jsonc
22932298
[]
2294-
```
2299+
```

doc/zh-cn/config.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ Array<string>
258258
* ``"global-in-nil-env"``
259259
* ``"incomplete-signature-doc"``
260260
* ``"index-in-func-name"``
261+
* ``"inject-field"``
261262
* ``"invisible"``
262263
* ``"jump-local-scope"``
263264
* ``"keyword"``
@@ -505,6 +506,7 @@ object<string, string>
505506
* assign-type-mismatch
506507
* cast-local-type
507508
* cast-type-mismatch
509+
* inject-field
508510
* need-check-nil
509511
* param-type-mismatch
510512
* return-type-mismatch
@@ -633,6 +635,7 @@ object<string, string>
633635
* assign-type-mismatch
634636
* cast-local-type
635637
* cast-type-mismatch
638+
* inject-field
636639
* need-check-nil
637640
* param-type-mismatch
638641
* return-type-mismatch
@@ -738,7 +741,7 @@ object<string, string>
738741
```jsonc
739742
{
740743
/*
741-
优先级歧义,如:`num or 0 + 1`,推测用户的实际期望为 `(num or 0) + 1`
744+
优先级歧义,如:`num or 0 + 1`,推测用户的实际期望为 `(num or 0) + 1`
742745
*/
743746
"ambiguity-1": "Any",
744747
/*
@@ -826,6 +829,7 @@ object<string, string>
826829
Incomplete @param or @return annotations for functions.
827830
*/
828831
"incomplete-signature-doc": "None",
832+
"inject-field": "Opened",
829833
/*
830834
Enable diagnostics for accesses to fields which are invisible.
831835
*/
@@ -1006,7 +1010,7 @@ object<string, string>
10061010
```jsonc
10071011
{
10081012
/*
1009-
优先级歧义,如:`num or 0 + 1`,推测用户的实际期望为 `(num or 0) + 1`
1013+
优先级歧义,如:`num or 0 + 1`,推测用户的实际期望为 `(num or 0) + 1`
10101014
*/
10111015
"ambiguity-1": "Warning",
10121016
/*
@@ -1094,6 +1098,7 @@ object<string, string>
10941098
Incomplete @param or @return annotations for functions.
10951099
*/
10961100
"incomplete-signature-doc": "Warning",
1101+
"inject-field": "Warning",
10971102
/*
10981103
Enable diagnostics for accesses to fields which are invisible.
10991104
*/
@@ -1659,7 +1664,7 @@ string
16591664

16601665
# misc.parameters
16611666

1662-
VSCode中启动语言服务时的[命令行参数](https://luals.github.io/wiki/usage/#arguments)
1667+
VSCode中启动语言服务时的[命令行参数](https://luals.github.io/wiki/usage#arguments)
16631668

16641669
## type
16651670

@@ -2290,4 +2295,4 @@ Array<string>
22902295

22912296
```jsonc
22922297
[]
2293-
```
2298+
```

doc/zh-tw/config.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ Array<string>
258258
* ``"global-in-nil-env"``
259259
* ``"incomplete-signature-doc"``
260260
* ``"index-in-func-name"``
261+
* ``"inject-field"``
261262
* ``"invisible"``
262263
* ``"jump-local-scope"``
263264
* ``"keyword"``
@@ -505,6 +506,7 @@ object<string, string>
505506
* assign-type-mismatch
506507
* cast-local-type
507508
* cast-type-mismatch
509+
* inject-field
508510
* need-check-nil
509511
* param-type-mismatch
510512
* return-type-mismatch
@@ -633,6 +635,7 @@ object<string, string>
633635
* assign-type-mismatch
634636
* cast-local-type
635637
* cast-type-mismatch
638+
* inject-field
636639
* need-check-nil
637640
* param-type-mismatch
638641
* return-type-mismatch
@@ -826,6 +829,7 @@ object<string, string>
826829
Incomplete @param or @return annotations for functions.
827830
*/
828831
"incomplete-signature-doc": "None",
832+
"inject-field": "Opened",
829833
/*
830834
Enable diagnostics for accesses to fields which are invisible.
831835
*/
@@ -1094,6 +1098,7 @@ object<string, string>
10941098
Incomplete @param or @return annotations for functions.
10951099
*/
10961100
"incomplete-signature-doc": "Warning",
1101+
"inject-field": "Warning",
10971102
/*
10981103
Enable diagnostics for accesses to fields which are invisible.
10991104
*/
@@ -2290,4 +2295,4 @@ Array<string>
22902295

22912296
```jsonc
22922297
[]
2293-
```
2298+
```

locale/pt-br/meta.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ math.maxinteger['>5.3'] =
523523
'Retorna o valor máximo para um inteiro.'
524524
math.min =
525525
'Retorna o argumento com o valor mínimo de acordo com o operador `<`.'
526-
math.mixinteger['>5.3'] =
526+
math.mininteger['>5.3'] =
527527
'Retorna o valor mínimo para um inteiro.'
528528
math.modf =
529529
'Retorna a parte inteira e a parte fracionária de `x`.'

0 commit comments

Comments
 (0)