summaryrefslogtreecommitdiff
path: root/locale/zh-cn/script.lua
AgeCommit message (Collapse)Author
2023-08-03function may not have a name最萌小汐
2023-07-21添加翻译最萌小汐
2023-07-19update submodules最萌小汐
2023-06-24add: description for `@source`carsakiller
2023-05-11Annotation rule for exported local functionsThomas Wetzlmaier
Annotation for the following local function func1 is required. local mod = { } local function func1() end mod.Func1 = func1 return mod;
2023-04-24Merge pull request #2078 from AlWoSp/pr/missing-global-doc最萌小汐
Check for missing @param and @return annotations
2023-04-24Cleanup PRAndreaWalchshoferSCCH
Revert Changes made from unrelated PR
2023-04-22fix: add links to too many files warning (#2080)carsakiller
2023-04-19Warn about missing '---comment', '@return' and '@param' annotations (#3)Thomas Wetzlmaier
All functions that have at least one such annotation should be fully annotated in that respect, because we find that partially annotating something leads to confusion. However, all global functions must always be fully annotated, because they should be avoided in the first place, but if necessary then only with the maximum amount of documentation/support for those who use them! We provide the following keys for the `diagnostics.disable` setting to specifically deactive these checks: _missing-global-doc_: global function definitions which are not fully annotated. _incomplete-signature-doc_: function definitions that have some annotations but are not fully annotated
2023-04-04Add diagnostic to enforce lowercase local element names (#6)AndreaWalchshoferSCCH
- diagnostic `uppercase-local` in group `conventions`, disabled by default - isolated unit tests for diagnostic
2023-03-30Revert "Add diagnostic to enforce lowercase local element names (#2)" (#5)AndreaWalchshoferSCCH
This reverts commit 43794193ef981ffecb477bfce444428ded852aa0.
2023-03-30Add diagnostic to enforce lowercase local element names (#2)AndreaWalchshoferSCCH
2023-03-22Add diagnostic warning about any global (#1)AndreaWalchshoferSCCH
* Add warning for any global variable via diagnostic * Add messages in en-US TODO: add messages in languages other than en-us as well * fallback: enable/disable diagnostics w/ annotation * Add tests for the new diagnostic * Add diagnostic and group to config.md
2023-02-07update locale最萌小汐
#1886
2023-02-03chore: update links to point to organizationcarsakiller
2023-02-02improve checking for modifying config最萌小汐
#1859
2023-01-30command `lua.exportDocument`最萌小汐
finish #1833
2023-01-16Nesting of `[[...]]` is not allowed in Lua 5.1 .最萌小汐
fix #1805
2022-12-18complete code lens最萌小汐
2022-12-01modify config fully supports `.luarc.json`最萌小汐
fix #831
2022-11-29modify `require` after renaming files最萌小汐
2022-11-29convert `config.lua` to `config.json`最萌小汐
2022-11-28add: literal enum example to `@alias` #1685 (#1730)carsakiller
2022-11-11Locale and completion additions for 3.6.0 annotations (#1683)carsakiller
* add: new annotations to completion * add: en-us descriptions for access modifiers * add: en-us descriptions for other locales * add: update @field description for `pt-br` and `zh-cn`
2022-11-08fix locale最萌小汐
2022-11-08cleanup最萌小汐
2022-11-08some improves最萌小汐
2022-11-08update locale (thanks fanyi.baidu.com)最萌小汐
2022-11-08`---@enum` supports runtime values最萌小汐
resolve #1619
2022-10-31add `---@package`最萌小汐
2022-10-25`---@private` and `---@protected`最萌小汐
#1316
2022-10-25diagnostic for invisible fields最萌小汐
#1316
2022-09-06fix #1526最萌小汐
2022-08-08fix #1422最萌小汐
2022-07-27fix: wiki link referencescarsakiller
2022-07-19build locale最萌小汐
2022-07-13add progress for building最萌小汐
2022-07-12unreachable-code最萌小汐
2022-07-06completion and diags for operator最萌小汐
2022-06-28cleanup最萌小汐
2022-06-28new diag `return-type-mismatch`最萌小汐
2022-06-28diag `missing-return`最萌小汐
2022-06-28new diag ``redundant-return-value``最萌小汐
2022-06-28fix diags最萌小汐
2022-06-27diagnostic `missing-return-value`最萌小汐
2022-06-27improve description of `duplicate alias`最萌小汐
2022-06-26update description about `---@cast`最萌小汐
2022-06-25繁體中文翻譯AlexCai2019
1. 翻譯 `zh_tw/script.lua` 內 `DIAG_CAST_LOCAL_TYPE`, `DIAG_CAST_FIELD_TYPE`, `DIAG_ASSIGN_TYPE_MISMATCH`, `DIAG_PARAM_TYPE_MISMATCH`, `DIAG_UNKNOWN_CAST_VARIABLE`, `DIAG_CAST_TYPE_MISMATCH`, `ACTION_ADD_DICT`, `COMMAND_ADD_DICT`, `LUADOC_DESC_CLASS`, `LUADOC_DESC_TYPE`, `LUADOC_DESC_ALIAS`, `LUADOC_DESC_PARAM`, `LUADOC_DESC_RETURN` `LUADOC_DESC_FIELD`, `LUADOC_DESC_GENERIC`, `LUADOC_DESC_VARARG`, `LUADOC_DESC_OVERLOAD`, `LUADOC_DESC_DEPRECATED`, `LUADOC_DESC_META`, `LUADOC_DESC_VERSION`, `LUADOC_DESC_SEE`, `LUADOC_DESC_DIAGNOSTIC`, `LUADOC_DESC_MODULE`, `LUADOC_DESC_ASYNC`, `LUADOC_DESC_NODISCARD`, `LUADOC_DESC_CAST`。 2. 翻譯 `zh_tw/settings.lua` 內 `config.runtime.meta`, `config.diagnostics.severity`, `config.diagnostics.neededFileStatus`, `config.diagnostics.groupSeverity`, `config.diagnostics.groupFileStatus`, `config.hover.expandAlias`, `config.hint.await`, `config.format.defaultConfig`, `config.spell.dict`。 3. `zh_tw/meta.lua` 內 `tonumber` 轉換失敗時的回傳值修正為 `fail` ,與 `en-us/meta.lua` 的描述一致。 4. `zh_tw/meta.lua` 內 `tostring` 有關$string.format的資訊放到最後一行。 5. `zh_tw/meta.lua` 內 `os.clock` 的描述改為 '回傳程式使用的 CPU 時間的近似值,單位為秒。',我個人認為這樣更為通順。 6. `zh_tw/setting.lua` 內 `config.diagnostics.workspaceRate` 的描述改為 "...百分比)。降低該值會減少CPU使用率,但是也...",也是為了通順。 7. 「閲」改成「閱」。 根據教育部《國語辭典簡編本》,「閱」是正字,而「閲」是異體字。 8. "process" 從「程序」改成「處理程序」,因為Windows工作管理員(Task Manager)是這樣翻譯的。 9. "data type" 從「型別」改成「類型」,因為Visual Studio C/C++是這樣翻譯的。 10. "metatable" 從「元表」改成「中繼資料表」,因 "metadata" 在微軟文件(Microsoft Docs)、Adobe官網和Canva說明中心內均被譯為「中繼資料」,取其 "meta" 為「中繼」之意。 11. "hook" 從「鉤子」改成「攔截」,因微軟文件將 "hook function" 譯為「攔截函式」。 12. "language server" 從 「語言服務」改成「語言伺服」,因為 "server" 一詞在繁體中文本來就是「伺服器」。 13. `script.lua` 內 `LUADOC_DESC_FIELD` 拼錯 "Declare" (拼成"Decalare"),已修正所有語言的檔案。 14. `script.lua` 內 `LUADOC_DESC_MODULE` 拼錯 "require" (拼成"reqire"),已修正所有語言的檔案。 15. 其他瑣碎的更改。
2022-06-24update locale最萌小汐
2022-06-22update最萌小汐