mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-29 08:00:06 +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
2.8 KiB
TypeScript
47 lines
2.8 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': '保存自「{trip}」中的「{tour}」',
|
|
'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;
|