feat(home): ปุ่ม "แสดงโรงหนังเพิ่มเติม" + ปุ่ม "แสดงโรงหนังน้อยลง"
- เปลี่ยนข้อความปุ่มจาก "แสดงเพิ่ม" → "แสดงโรงหนังเพิ่มเติม" (en: Show more cinemas) - เมื่อแสดงครบแล้วมีปุ่ม "แสดงโรงหนังน้อยลง" (en: Show fewer cinemas) ย่อกลับเหลือ 4 ใบ แล้วเลื่อนกลับไปที่หัวข้อผลลัพธ์ (เคารพ prefers-reduced-motion) - i18n: เพิ่ม list.showLess ทั้ง TH/EN · ปรับ list.showMore - อัปเดต term override ใน content.json (site.terms) ให้ตรงกัน — term ทับค่าใน messages.ts - DESIGN.md: บันทึกกฎ "term จากหลังบ้าน override messages" (เคสที่ทำให้แก้คำแล้วหน้าไม่เปลี่ยน)
This commit is contained in:
1 parent
42572020d8
commit
2e794cd365
3 files changed
+23
-3
No files matched your search
@@ -99,6 +99,7 @@ export type Messages = {
|
||||
list: {
|
||||
title: string;
|
||||
showMore: string;
|
||||
showLess: string;
|
||||
empty: string;
|
||||
};
|
||||
card: {
|
||||
@@ -232,7 +233,8 @@ const TH: Messages = {
|
||||
},
|
||||
list: {
|
||||
title: "รายชื่อโรงหนังทุกประเภทและกลุ่มคนฉายหนัง",
|
||||
showMore: "แสดงเพิ่ม",
|
||||
showMore: "แสดงโรงหนังเพิ่มเติม",
|
||||
showLess: "แสดงโรงหนังน้อยลง",
|
||||
empty: "ไม่พบโรงหนังที่ตรงกับคำค้น ลองเปลี่ยนคำหรือหมวดหมู่ดู",
|
||||
},
|
||||
card: {
|
||||
@@ -401,7 +403,8 @@ const EN: Messages = {
|
||||
},
|
||||
list: {
|
||||
title: "Local cinemas, indie screens and film collectives",
|
||||
showMore: "Show more",
|
||||
showMore: "Show more cinemas",
|
||||
showLess: "Show fewer cinemas",
|
||||
empty: "No cinema matches that search. Try another word or category.",
|
||||
},
|
||||
card: {
|
||||
|
||||
Reference in new issue
Block a user