Layout: card now fills its container (3/2/1 columns) with no horizontal scrollbar.
i18n: every modal/showcase/console string follows the selected language, named fallbacks for th/en plus English fallback for other locales, localized character names and light-cone passive text.
Showcase stats use the official in-game property icons (same set as the overview tab) instead of emoji, including the element DMG icon.
Export: fixed 1200px clone with poster metrics, cover-cropped splash art (html2canvas ignores object-fit), transparent background so the rounded corners have no dark wedges, and a two-pass measurement inside the capture iframe so the PNG is never cropped.
GaCy
merged commit 3da3ea0dcd into Main2026-11-01 14:57:18 +07:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
ปรับ Showcase Card ให้ยืดหยุ่นตามพื้นที่จริง, แปลครบทุกภาษา, ใช้ไอคอน stat จากเกม และแก้ปัญหา export PNG ตกกรอบ/ภาพ splash art ถูกบีบ
Branch:
test-gay→ commit76986eeChanges
Layout / Responsive
.showcase-card-layoutเปลี่ยนเป็นwidth: 100%,max-width: 1200px,min-width: 0,overflow: visible.showcase-export-modeที่ pin ขนาดโปสเตอร์คงที่ (1200px, padding1.5rem, gap1.25rem, 3 คอลัมน์) เพื่อให้ export ได้องค์ประกอบเดิมทุกขนาดหน้าต่างLocalization
js/i18n.jsสำหรับ modal ทุกแท็บ, showcase, console, command assistant, copy-text, camerat()→ ไม่มีข้อความไทยหลงเหลือเมื่อสลับภาษา (ตรวจ fr/ko/de/ru/ja)names[lang] || names.en || names.thTRAILBLAZER_DEFAULT_NAMESรองรับ{NICKNAME}ตามภาษาsetCommandLanguage()/ ข้อความ EN สำหรับ metadata คำสั่ง./i18n.js?v=2.16) กัน duplicate module instanceShowcase icons
(
IconMaxHP,IconAttack,IconDefence,IconSpeed,IconCriticalChance,IconCriticalDamage,IconBreakUp,IconStatusResistance,IconEnergyRecovery,IconStatusProbability,IconHealRatio,Icon*AddedRatioโดย Lightning →IconThunderAddedRatio)Export PNG
prepareExportSplashCover()pre-render splash art แบบ cover-crop ลง canvas 2× (html2canvas 1.4.1 ไม่รองรับobject-fit→ ภาพเดิมถูกยืดให้เต็มกรอบ)backgroundColor: null+ holder โปร่งใส → มุมโค้งของการ์ดไม่มีลิ่มสีเข้ม (alpha = 0)onclone) แล้ว re-render ถ้าขนาดต่างเกิน 1px → การ์ดไม่ถูกตัดขอบล่างhtml/bodyใน clone และรอdocument.fonts.ready\p{L}\p{N}Testing
node --check js/app.js/js/i18n.jsผ่านnode --test tests/damage-order.test.cjs tests/item-catalog.test.cjs→ 7/7 passNotes
README.mdและdocs/(การแก้เดิมที่ไม่เกี่ยวกับ PR นี้)?v=ของapp.js(3.14) และstyles.css(2.21) เพื่อกัน cache