-
Notifications
You must be signed in to change notification settings - Fork 299
[v1.3] monaco editor hints 多国语言化 及 增加 @require-css 提示
#960
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: release/v1.3
Are you sure you want to change the base?
[v1.3] monaco editor hints 多国语言化 及 增加 @require-css 提示
#960
Conversation
7b594a4 to
ff571dd
Compare
@require-css 提示
@require-css 提示@require-css 提示
d782d85 to
7c5597a
Compare
messageQueue.subscribe<TKeyValue<SystemConfigKey>>(SystemConfigChange, ({ key, value }) => {
if (key === "language") {
// @ts-ignore
updateLang(value);
}
});@CodFrm 我不太懂你改过的 SystemConfigChange。有点复杂。 |
我修改了 systemConfig.addListener("language", (lang) => {
updateLang(lang);
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
| title: "Deutsch", | ||
| thisIsAUserScript: "Ein Benutzerskript", | ||
| undefinedPrompt: "Undefinierter Prompt", | ||
| quickfix: "${0}-Problem beheben", |
Copilot
AI
Dec 9, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
德语翻译中的 quickfix 字符串使用了错误的字符串插值语法。应该使用 {0} 而不是 ${0}。这会导致替换逻辑失败,显示 ${0}-Problem beheben 而不是实际的错误代码。
| quickfix: "${0}-Problem beheben", | |
| quickfix: "{0}-Problem beheben", |
| title: "Tiếng Việt", | ||
| thisIsAUserScript: "Một user script", | ||
| undefinedPrompt: "Prompt chưa được định nghĩa", | ||
| quickfix: "Sửa lỗi ${0}", |
Copilot
AI
Dec 9, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
越南语翻译中的 quickfix 字符串使用了错误的字符串插值语法。应该使用 {0} 而不是 ${0}。这会导致替换逻辑失败,显示 Sửa lỗi ${0} 而不是实际的错误代码。
| quickfix: "Sửa lỗi ${0}", | |
| quickfix: "Sửa lỗi {0}", |
概述 Descriptions
@require-css出现错误提示 #953src/pkg/utils/monaco-editor/index.ts#854变更内容 Changes
截图 Screenshots