feat(i18n) : add personal languages and compact weapon exports
CI / Verify (push) Successful in 1m18s
CI / Build immutable images and deploy (push) Successful in 1m57s

This commit is contained in:
2026-09-14 16:44:44 +07:00 Unverified
parent f214d330f0
commit e0794822b1
72 changed files with 4199 additions and 1011 deletions
+9 -6
View File
@@ -1,4 +1,5 @@
export type Locale = "th" | "en";
import type { Locale } from "@/lib/i18n/locales";
export type { Locale } from "@/lib/i18n/locales";
const english = {
exportImage: "Export image",
@@ -9,7 +10,7 @@ const english = {
damageDescription: "Choose the damage metric for your weapon comparison image.",
overallDamage: "Overall Damage",
personalDamage: "Personal Damage",
weaponTitle: "{name}’s Weapon Comparison",
weaponTitle: "{name} Weapons",
condition: "Condition {index}",
sectionTitle: "Choose what to export",
sectionDescription: "Select individual sections or choose All sections to export everything.",
@@ -41,7 +42,8 @@ const english = {
constellationTitle: "{name}’s Constellations",
teamDamage: "Team Damage",
rotation: "Rotation duration: {seconds} seconds",
teamCredit: "By YT Genshin Is Not a Mobile Game",
teamCredit: "Genshin isnt Mobile Game",
watermark: "Genshin isnt Mobile Game",
disclaimer: "Results cannot be directly compared with other theorycrafters’ calculations,\nas each uses different stats.\nThe figures shown may change in future updates.",
overviewDownloaded: "Overview image downloaded.",
downloadPng: "Download PNG {width}×{height}",
@@ -60,7 +62,7 @@ const thai: Record<ExportMessageKey, string> = {
damageDescription: "เลือกค่าที่ต้องการใช้สร้างภาพเปรียบเทียบอาวุธ",
overallDamage: "ดาเมจทั้งทีม",
personalDamage: "ดาเมจส่วนตัว",
weaponTitle: "เปรียบเทียบอาวุธของ {name}",
weaponTitle: "อาวุธของ {name}",
condition: "เงื่อนไข {index}",
sectionTitle: "เลือกข้อมูลสำหรับส่งออก",
sectionDescription: "เลือกได้หลายส่วน หรือเลือกทั้งหมดเพื่อส่งออกทุกส่วน",
@@ -78,7 +80,7 @@ const thai: Record<ExportMessageKey, string> = {
goblet: "ถ้วย",
circlet: "หัว",
artifactRecommendation: "อาร์ติแฟกต์และสแตทที่แนะนำ",
artifactTitle: "Artifact & Stats",
artifactTitle: "อาร์ติแฟกต์และค่าสถานะ",
lateGame: "เลทเกม",
earlyGame: "ต้นเกม",
minimumStats: "ค่าสถานะต่ำๆที่ควรจะปั้นไว้",
@@ -92,7 +94,8 @@ const thai: Record<ExportMessageKey, string> = {
constellationTitle: "กลุ่มดาวของ {name}",
teamDamage: "ดาเมจทั้งทีม",
rotation: "ระยะเวลาโรเทชั่น {seconds} วิ",
teamCredit: "By YT เกนชินไม่ใช่เกมมือถือ",
teamCredit: "Genshin isnt Mobile Game",
watermark: "Genshin isnt Mobile Game",
disclaimer: "ไม่สามารถเอาไปเปรียบเทียบกับการคำนวณของ TC ท่านอื่นๆได้\nเพราะแต่ละคนใช้สแตทในการคำนวณที่ไม่เหมือนกัน\nและตารางที่เห็นอาจมีการเปลี่ยนแปลงได้ในอนาคต",
overviewDownloaded: "ดาวน์โหลดภาพ Overview แล้ว",
downloadPng: "ดาวน์โหลด PNG {width}×{height}",