0.9.5
What's new
Version 0.9.5 fixes the options panel's language and font-size initialisation, and adds Traditional Chinese. Counting is unchanged.
Fixed
- The options panel now follows your saved language. Its title, hint line, checkbox and slider text used to be bound while the addon files were still loading - before SavedVariables exist - so a language override (
/st en,/st zh,/st tw) could never reach them and the panel stayed in the client language. The panel and its settings category are now built once the saved variables are ready. - The font-size slider starts at your saved value. Previously it always started at "Follow game" even when a custom size was stored, until you moved it once.
/st en,/st zh,/st twand/st autorelabel the panel instantly - no/reloadneeded. The switch used to write the saved variable directly, bypassing the config-change event, so the tooltip changed while the panel did not; the character-list section is now part of the relabel too. (The sidebar category name still follows on the next reload - a limitation of Blizzard's settings framework.)
Added
- Traditional Chinese. The addon now ships three languages: Simplified Chinese, Traditional Chinese and English. The Traditional table is written for the Traditional Chinese client rather than converted character-by-character (設定 / 字型 / 戰隊銀行 / 列 / 登入 / 紀錄 / 記憶體 / 快取 / 預設 / 指令). It is picked automatically on a Traditional client, and
/st twpreviews it anywhere. The TOC now carriesTitle-zhTWandNotes-zhTW. - Documentation in three languages:
README.md,README.zhTW.mdandREADME.en.md; changelogs likewise (CHANGELOG.md,CHANGELOG.zhTW.md,CHANGELOG.en.md).
Nothing else changed: counting logic, data format and SavedVariables are identical to 0.9.4, so upgrading needs no migration.
版本 0.9.5 修复设置面板的语言与字号初值,并新增繁体中文。计数逻辑无变化。
修复
- 设置面板的语言与左侧分类名现在取自存档。 面板的标题、提示行、复选框与滑条文字原先在插件文件加载期就绑定好了,而 SavedVariables 要到
ADDON_LOADED才可用——于是语言覆盖读不到,面板永远停在客户端语言。现在存档就绪后才构建面板并注册分类。 - 滑条初值不再永远是「跟随游戏」。 此前即使存档里存着字号(例如 20),登录后滑条也只显示默认值 0,要手动拖一下才生效;现在直接显示存档值。
/st en、/st zh、/st tw、/st auto即时重贴标签,无需/reload。 此前切换命令直写存档(SL2_DB.options.locale = value),绕过SL:Set→ 不派发CONFIG_CHANGED→ 存档值与提示框都变了、唯独面板文字不动;现在改走SL:Set。角色筛选区(标题「显示哪些角色」与「(当前角色,始终显示)」后缀)此前也不在重贴范围内,现已一并登记。左侧分类名仍随下次重载同步(暴雪设置框架的限制)。
新增
- 繁体中文。 插件现在内置三种语言:简体中文、繁体中文、英文。繁体词条不是简繁直转,而是按繁体客户端的习惯用词撰写(設定/字型/戰隊銀行/列/登入/紀錄/記憶體/快取/預設/指令),繁体客户端自动启用,任何客户端都能用
/st tw预览;toc 补上Title-zhTW与Notes-zhTW。 - 三语说明文档:
README.md(简)、README.zhTW.md(繁)、README.en.md(英);更新日志同样三份(CHANGELOG.md、CHANGELOG.zhTW.md、CHANGELOG.en.md)。
除上述外没有别的改动:计数逻辑、数据格式与 SavedVariables 都与 0.9.4 一致,升级无需迁移。
版本 0.9.5 修正設定面板的語言與字型大小初值,並新增繁體中文。計數邏輯不變。
修正
- 設定面板的語言與左側分類名稱現在取自存檔。 面板的標題、提示列、勾選框與滑桿文字原先在插件檔案載入期就綁好了,而 SavedVariables 要到
ADDON_LOADED才可用——於是語言覆寫讀不到,面板永遠停在客戶端語言。現在存檔就緒後才建置面板並註冊分類。 - 滑桿初值不再永遠是「跟隨遊戲」。 先前即使存檔裡存著字型大小(例如 20),登入後滑桿也只顯示預設值 0,要手動拖一下才生效;現在直接顯示存檔值。
/st en、/st zh、/st tw、/st auto即時重貼標籤,不需要/reload。 先前切換指令直接寫入存檔(SL2_DB.options.locale = value),繞過SL:Set→ 不派發CONFIG_CHANGED→ 存檔值與提示資訊都變了、唯獨面板文字不動;現在改走SL:Set。角色篩選區(標題「顯示哪些角色」與「(目前角色,一律顯示)」後綴)先前也不在重貼範圍內,現已一併登記。左側分類名稱仍隨下次重新載入同步(暴雪設定框架的限制)。
新增
- 繁體中文。 插件現在內建三種語言:簡體中文、繁體中文、英文。繁體詞條不是簡繁直轉,而是照繁體客戶端的慣用詞撰寫(設定/字型/戰隊銀行/列/登入/紀錄/記憶體/快取/預設/指令),繁體客戶端自動啟用,任何客戶端都能用
/st tw預覽;toc 補上Title-zhTW與Notes-zhTW。 - 三語說明文件:
README.md(簡)、README.zhTW.md(繁)、README.en.md(英);更新紀錄同樣三份(CHANGELOG.md、CHANGELOG.zhTW.md、CHANGELOG.en.md)。
除上述外沒有其他改動:計數邏輯、資料格式與 SavedVariables 都與 0.9.4 一致,升級不需遷移。
This mod has no additional files

