mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-14 00:01:03 +00:00
65fe8cd6e5
Taking a tour kept in a collection into a trip left the user guessing in two places when the tour had no line. The map box stayed an empty grey square that read as a broken map; it now says that there is no line yet, only the waypoints. Why "Line only" is dimmed was only in the tooltip of a disabled button, which never shows on hover, focus or touch; the reason now stands under the two choices, and a disabled tile sits in a span so its tooltip can show as well. A successful take-over said the same sentence twice, as a toast and as the dialog's last word with "Open trip". The toast is gone. The collection strings move out of tours.ts into a tourCollection.ts per locale, keeping their keys, so no locale's tours file grows past the 1000-line limit. The tours locale spec now holds both files to their own counts.
47 lines
4.6 KiB
TypeScript
47 lines
4.6 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const tourCollection: TranslationStrings = {
|
|
'tours.collection.save': 'เก็บไว้ในคอลเลกชัน',
|
|
'tours.collection.saveHint': 'เก็บสำเนาที่แยกเป็นอิสระของทัวร์นี้ไว้ในคอลเลกชันหนึ่งของคุณ',
|
|
'tours.collection.saveFirst': 'บันทึกทัวร์ก่อนเพื่อเก็บไว้ในคอลเลกชัน',
|
|
'tours.collection.saveSub': 'สำเนาที่แยกเป็นอิสระ การเปลี่ยนแปลงทัวร์นี้ภายหลังจะไม่ส่งผลถึงสำเนา',
|
|
'tours.collection.list': 'คอลเลกชัน',
|
|
'tours.collection.readOnly': 'คุณอ่านรายการนี้ได้อย่างเดียว',
|
|
'tours.collection.noLists': 'คุณยังไม่มีคอลเลกชัน',
|
|
'tours.collection.openCollections': 'เปิดคอลเลกชัน',
|
|
'tours.collection.nameThere': 'ชื่อในคอลเลกชัน',
|
|
'tours.collection.keep': 'เก็บ',
|
|
'tours.collection.kept': 'เก็บ “{name}” ไว้ใน “{list}” แล้ว',
|
|
'tours.collection.keepFailed': 'เก็บทัวร์ไม่ได้',
|
|
'tours.collection.offline': 'คอลเลกชันต้องใช้การเชื่อมต่อ',
|
|
'tours.collection.listsFailed': 'โหลดคอลเลกชันไม่ได้',
|
|
'tours.collection.toursFailed': 'โหลดทัวร์ของรายการนี้ไม่ได้',
|
|
'tours.collection.points': 'จุดแวะ {count} จุด',
|
|
'tours.collection.savedFrom': 'เก็บมาจาก',
|
|
'tours.collection.source': 'เก็บมาจาก “{tour}” ใน “{trip}”',
|
|
'tours.collection.keptBy': '{name} เป็นผู้เก็บ',
|
|
'tours.collection.add': 'เพิ่มลงในทริป',
|
|
'tours.collection.addHint': 'สร้างทัวร์ใหม่ของตัวเองในทริปที่คุณเลือก',
|
|
'tours.collection.remove': 'นำออกจากคอลเลกชัน',
|
|
'tours.collection.removeTitle': 'นำทัวร์นี้ออกจากคอลเลกชันหรือไม่',
|
|
'tours.collection.removeBody': 'ทัวร์ที่สร้างจากรายการนี้ในทริปของคุณแล้วจะยังคงเหมือนเดิม',
|
|
'tours.collection.removed': 'นำทัวร์ออกจากคอลเลกชันแล้ว',
|
|
'tours.collection.removeFailed': 'นำทัวร์ออกไม่ได้',
|
|
'tours.collection.takeEyebrow': 'จากคอลเลกชัน',
|
|
'tours.collection.takeSub': 'กลายเป็นทัวร์ของตัวเองในทริปที่คุณเลือก โดยไม่มีวัน คอลเลกชันยังคงเหมือนเดิม',
|
|
'tours.collection.intoTrip': 'ลงในทริป',
|
|
'tours.collection.noPermission': 'คุณเพิ่มทัวร์ลงในทริปนี้ไม่ได้',
|
|
'tours.collection.noTrips': 'คุณยังไม่มีทริปที่จะเพิ่มลงไป',
|
|
'tours.collection.withPoints': 'พร้อมจุดแวะ {count} จุด',
|
|
'tours.collection.withPointsHint': 'จุดเริ่ม จุดพัก และจุดสิ้นสุดมาตามลำดับเดิม',
|
|
'tours.collection.lineOnly': 'เฉพาะเส้นทาง',
|
|
'tours.collection.lineOnlyHint': 'เส้นทางคงเดิมตามที่บันทึกไว้ ไม่มีการเพิ่มจุดแวะ',
|
|
'tours.collection.needsPoints': 'ทัวร์นี้ยังไม่มีเส้นทาง จึงต้องนำจุดแวะมาด้วย',
|
|
'tours.collection.noLine': 'ยังไม่มีเส้นทาง มีเพียงจุดแวะ',
|
|
'tours.collection.nameInTrip': 'ชื่อในทริป',
|
|
'tours.collection.taken': '“{name}” เป็นทัวร์ของ “{trip}” แล้ว',
|
|
'tours.collection.takeFailed': 'เพิ่มทัวร์ลงในทริปไม่ได้',
|
|
'tours.collection.openTrip': 'เปิดทริป',
|
|
};
|
|
export default tourCollection;
|