feat(shop): 商店「属性」区独立子面板 UI + 4 语言 i18n 键

主商店面板已无空间容纳四行属性(面板 y=200~540,既有控件已占到 y≈522,仅剩约 18px),
经确认后改为独立子面板方案(参照 _setup_settings_ui 既有模式),不改动主面板任何既有控件坐标。

按 get_sellable_attrs() 动态生成行,加可售属性无需改 UI 代码。
禁用态显示具体原因(金币不足/已达上限)而非只灰掉按钮。
can_buy_attribute 注释补 i18n 债务说明(禁用原因暂未 tr(),见路线图 E7-③)。

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-03 11:46:05 +08:00
co-authored by Claude Opus 5
parent cc57980e63
commit ad98f916e9
6 changed files with 145 additions and 0 deletions
+15
View File
@@ -51,6 +51,21 @@ msgstr "🎒 バッグ"
msgid "SHOP_SOLD"
msgstr "(売却済)"
msgid "SHOP_ATTR_BTN"
msgstr "📊 属性"
msgid "SHOP_ATTR_TITLE"
msgstr "📊 属性購入"
msgid "SHOP_ATTR_ROW"
msgstr "%s 現在 %s 購入回数 %d"
msgid "SHOP_ATTR_BUY"
msgstr "購入 %dG"
msgid "SHOP_ATTR_CLOSE"
msgstr "閉じる"
msgid "INV_TITLE"
msgstr "🎒 バッグ — [%s] %d スロット (%s)"