Skip to content

Commit 1afa024

Browse files
authored
fix: add links to too many files warning (#2080)
1 parent e024187 commit 1afa024

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

locale/en-us/script.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ WORKSPACE_SKIP_HUGE_FILE =
181181
WORKSPACE_NOT_ALLOWED =
182182
'Your workspace is set to `{}`. Lua language server refused to load this directory. Please check your configuration.[learn more here](https://github.com/LuaLS/lua-language-server/wiki/FAQ#why-is-the-server-scanning-the-wrong-folder)'
183183
WORKSPACE_SCAN_TOO_MUCH =
184-
'More than {} files have been scanned. The current scanned directory is `{}`. Please confirm whether the configuration is correct.'
184+
'More than {} files have been scanned. The current scanned directory is `{}`. Please see the [FAQ](https://github.com/LuaLS/lua-language-server/wiki/FAQ#how-can-i-improve-startup-speeds) to see how you can include fewer files. It is also possible that your [configuration is incorrect](https://github.com/LuaLS/lua-language-server/wiki/FAQ#why-is-the-server-scanning-the-wrong-folder).'
185185

186186
PARSER_CRASH =
187187
'Parser crashed! Last words:{}'

locale/pt-br/script.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ WORKSPACE_SKIP_HUGE_FILE =
181181
WORKSPACE_NOT_ALLOWED =
182182
'Seu espaço de trabalho foi definido para `{}`. Servidor da linguagem Lua recusou o carregamneto neste diretório. Por favor, cheque sua configuração. [aprenda mais aqui](https://github.com/LuaLS/lua-language-server/wiki/FAQ#why-is-the-server-scanning-the-wrong-folder)'
183183
WORKSPACE_SCAN_TOO_MUCH = -- TODO: need translate!
184-
'Mais do que {} arquivos foram escaneados. O diretório atual escaneado é `{}`. Por favor, confirmar se a configuração está correta'
184+
'Mais do que {} arquivos foram escaneados. O diretório atual escaneado é `{}`. Please see the [FAQ](https://github.com/LuaLS/lua-language-server/wiki/FAQ#how-can-i-improve-startup-speeds) to see how you can include fewer files. It is also possible that your [configuration is incorrect](https://github.com/LuaLS/lua-language-server/wiki/FAQ#why-is-the-server-scanning-the-wrong-folder).'
185185

186186
PARSER_CRASH =
187187
'Parser quebrou! Últimas palavras: {}'

locale/zh-cn/script.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ WORKSPACE_SKIP_HUGE_FILE =
180180
'出于性能考虑,已停止对此文件解析:{}'
181181
WORKSPACE_NOT_ALLOWED =
182182
'你的工作目录被设置为了 `{}`,Lua语言服务拒绝加载此目录,请检查你的配置。[了解更多](https://github.com/LuaLS/lua-language-server/wiki/FAQ#why-is-the-server-scanning-the-wrong-folder)'
183-
WORKSPACE_SCAN_TOO_MUCH =
184-
'已扫描了超过 {} 个文件,当前扫描的目录为 `{}`,请确认配置是否正确。'
183+
WORKSPACE_SCAN_TOO_MUCH = -- TODO: need translate!
184+
'已扫描了超过 {} 个文件,当前扫描的目录为 `{}`. Please see the [FAQ](https://github.com/LuaLS/lua-language-server/wiki/FAQ#how-can-i-improve-startup-speeds) to see how you can include fewer files. It is also possible that your [configuration is incorrect](https://github.com/LuaLS/lua-language-server/wiki/FAQ#why-is-the-server-scanning-the-wrong-folder).'
185185

186186
PARSER_CRASH =
187187
'语法解析崩溃了!遗言:{}'

locale/zh-tw/script.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ WORKSPACE_SKIP_HUGE_FILE =
180180
'出於效能考慮,已停止對此檔案解析:{}'
181181
WORKSPACE_NOT_ALLOWED =
182182
'你的工作目錄被設定為了 `{}` ,Lua語言伺服拒絕載入此目錄,請檢查你的設定檔。[了解更多](https://github.com/LuaLS/lua-language-server/wiki/FAQ#why-is-the-server-scanning-the-wrong-folder)'
183-
WORKSPACE_SCAN_TOO_MUCH =
184-
'已掃描了超過 {} 個檔案,目前掃描的目錄為 `{}`,請確認設定檔是否正確。'
183+
WORKSPACE_SCAN_TOO_MUCH = -- TODO: need translate!
184+
'已掃描了超過 {} 個檔案,目前掃描的目錄為 `{}`. Please see the [FAQ](https://github.com/LuaLS/lua-language-server/wiki/FAQ#how-can-i-improve-startup-speeds) to see how you can include fewer files. It is also possible that your [configuration is incorrect](https://github.com/LuaLS/lua-language-server/wiki/FAQ#why-is-the-server-scanning-the-wrong-folder).'
185185

186186
PARSER_CRASH =
187187
'語法解析崩潰了!遺言:{}'

0 commit comments

Comments
 (0)