From 6a98374238c7e6d1da8458beecc67aa1e08db029 Mon Sep 17 00:00:00 2001 From: Lesly Kinzel Date: Tue, 9 Sep 2025 11:34:24 +1000 Subject: [PATCH 1/2] Fix typo: dose -> does --- locale/en-us/script.lua | 2 +- locale/pt-br/script.lua | 2 +- script/client.lua | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/locale/en-us/script.lua b/locale/en-us/script.lua index 82ac431bc..ea38d0026 100644 --- a/locale/en-us/script.lua +++ b/locale/en-us/script.lua @@ -604,7 +604,7 @@ CONFIG_MODIFY_FAIL_NO_WORKSPACE = [[ Failed to modify settings: * The current mode is single-file mode, server cannot create `.luarc.json` without workspace. -* The language client dose not support modifying settings from the server side. +* The language client does not support modifying settings from the server side. Please modify following settings manually: {} diff --git a/locale/pt-br/script.lua b/locale/pt-br/script.lua index dd1ea689d..3cd6d2280 100644 --- a/locale/pt-br/script.lua +++ b/locale/pt-br/script.lua @@ -604,7 +604,7 @@ CONFIG_MODIFY_FAIL_NO_WORKSPACE = -- TODO: need translate! [[ Failed to modify settings: * The current mode is single-file mode, server cannot create `.luarc.json` without workspace. -* The language client dose not support modifying settings from the server side. +* The language client does not support modifying settings from the server side. Please modify following settings manually: {} diff --git a/script/client.lua b/script/client.lua index e328dc52a..9c5523dbd 100644 --- a/script/client.lua +++ b/script/client.lua @@ -480,7 +480,7 @@ local function tryModifyClientGlobal(finalChanges) end log.info('tryModifyClientGlobal', inspect(finalChanges)) if not m.getOption 'changeConfiguration' then - log.info('Client dose not support modifying config') + log.info('Client does not support modifying config') return end local changes = {} From fb49f09b5aaa4a26d911156446896380ebf46d98 Mon Sep 17 00:00:00 2001 From: Lesly Kinzel Date: Tue, 9 Sep 2025 11:43:25 +1000 Subject: [PATCH 2/2] Reference 6a9837423 in changelog.md --- changelog.md | 1 + 1 file changed, 1 insertion(+) diff --git a/changelog.md b/changelog.md index 59d4dee24..3ccf12337 100644 --- a/changelog.md +++ b/changelog.md @@ -2,6 +2,7 @@ ## Unreleased +* `FIX` Typos in a few error messages. * `FIX` Incorrect inject-field message for extra table field in exact class * `CHG` Rename configuration option `Lua.diagnostics.disableScheme` to `Lua.diagnostics.validScheme` and improve its description. Now it enables diagnostics for Lua files that use the specified scheme. * `FIX` adds the `|lambda|` operator to the `Lua.runtime.nonstandardSymbol` configuration template, which allows the use of that option. Previously, support for it existed in the parser, but we could not actually use the option because it is not recognised in the configuration.