我在仅使用 de 翻译时遇到以下错误*:
![]()
JS 控制台:
client-error-handler.js:109 [THEME 6 'Quote Callouts'] TypeError: Cannot set properties of undefined (setting 'callout_sample')
at new po (callouts.gjs:30:19)
at callouts.gjs:265:23
at eK (plugin-api.gjs:3582:10)
at Object.initialize (callouts.gjs:264:5)
at i.initialize (app.js:304:28)
at index.js:375:19
at e.each (index.js:183:7)
at e.walk (index.js:112:10)
at e.each (index.js:59:20)
at e.topsort (index.js:65:10)
at ij._runInitializer (index.js:388:11)
at ij.runInstanceInitializers (index.js:373:10)
at l._bootSync (instance.js:111:22)
at ij.didBecomeReady (index.js:780:18)
at invoke (index.js:262:14)
at m.flush (index.js:180:11)
at g.flush (index.js:334:19)
at Y._end (index.js:762:32)
at Y._boundAutorunEnd (index.js:499:12)
h @ client-error-handler.js:109
该错误出现在此引用的最后一行:
class QuoteCallouts {
constructor(owner, api) {
[...]
window.I18n.translations[
window.I18n.fallbackLocale || "en"
].js.composer.callout_sample = ``;
* 将 /u/<用户名>/preferences/interface 中的“界面语言”设置为“德语(Deutsch)”
该错误似乎是在 2026.3.0-latest 到 2026.4.0-latest 之间的某次 Discourse 更新中引入的,但我无法进一步精确定位。目前我使用的是 2026.4.0-latest 4b2c45376d,Quote Callout 插件版本为 v0.0.1 9aa6548。