mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-03 01:28:55 +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.
48 lines
3.3 KiB
TypeScript
48 lines
3.3 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const tourCollection: TranslationStrings = {
|
|
'tours.collection.save': 'Giữ trong bộ sưu tập',
|
|
'tours.collection.saveHint': 'Giữ một bản sao độc lập của chuyến này trong một bộ sưu tập của bạn',
|
|
'tours.collection.saveFirst': 'Hãy lưu chuyến trước để giữ nó trong bộ sưu tập',
|
|
'tours.collection.saveSub': 'Một bản sao độc lập. Các thay đổi sau này của chuyến không ảnh hưởng đến nó.',
|
|
'tours.collection.list': 'Bộ sưu tập',
|
|
'tours.collection.readOnly': 'Bạn chỉ có thể xem danh sách này',
|
|
'tours.collection.noLists': 'Bạn chưa có bộ sưu tập nào.',
|
|
'tours.collection.openCollections': 'Mở bộ sưu tập',
|
|
'tours.collection.nameThere': 'Tên trong bộ sưu tập',
|
|
'tours.collection.keep': 'Giữ',
|
|
'tours.collection.kept': '“{name}” giờ được giữ trong “{list}”.',
|
|
'tours.collection.keepFailed': 'Không giữ được chuyến.',
|
|
'tours.collection.offline': 'Bộ sưu tập cần kết nối mạng.',
|
|
'tours.collection.listsFailed': 'Không tải được các bộ sưu tập.',
|
|
'tours.collection.toursFailed': 'Không tải được các chuyến của danh sách này.',
|
|
'tours.collection.points': '{count} điểm tham chiếu',
|
|
'tours.collection.savedFrom': 'Giữ từ',
|
|
'tours.collection.source': 'Giữ từ “{tour}” trong “{trip}”',
|
|
'tours.collection.keptBy': 'Do {name} giữ',
|
|
'tours.collection.add': 'Thêm vào chuyến đi',
|
|
'tours.collection.addHint': 'Tạo một chuyến mới riêng trong chuyến đi bạn chọn',
|
|
'tours.collection.remove': 'Bỏ khỏi bộ sưu tập',
|
|
'tours.collection.removeTitle': 'Bỏ chuyến này khỏi bộ sưu tập?',
|
|
'tours.collection.removeBody': 'Các chuyến đã tạo từ nó trong các chuyến đi của bạn vẫn giữ nguyên.',
|
|
'tours.collection.removed': 'Đã bỏ chuyến khỏi bộ sưu tập.',
|
|
'tours.collection.removeFailed': 'Không bỏ được chuyến.',
|
|
'tours.collection.takeEyebrow': 'Từ bộ sưu tập',
|
|
'tours.collection.takeSub':
|
|
'Trở thành một chuyến riêng trong chuyến đi bạn chọn, không có ngày. Bộ sưu tập giữ nguyên.',
|
|
'tours.collection.intoTrip': 'Vào chuyến đi',
|
|
'tours.collection.noPermission': 'Bạn không được thêm chuyến vào chuyến đi này',
|
|
'tours.collection.noTrips': 'Bạn chưa có chuyến đi nào để thêm vào.',
|
|
'tours.collection.withPoints': 'Kèm {count} điểm tham chiếu',
|
|
'tours.collection.withPointsHint': 'Điểm đầu, các điểm dừng và điểm cuối đi theo đúng thứ tự.',
|
|
'tours.collection.lineOnly': 'Chỉ đường nét',
|
|
'tours.collection.lineOnlyHint': 'Đường nét giữ như khi lưu. Không thêm điểm tham chiếu nào.',
|
|
'tours.collection.needsPoints': 'Chuyến này chưa có đường nét, nên các điểm tham chiếu phải đi cùng.',
|
|
'tours.collection.noLine': 'Chưa có tuyến, chỉ có các điểm dừng',
|
|
'tours.collection.nameInTrip': 'Tên trong chuyến đi',
|
|
'tours.collection.taken': '“{name}” giờ là một chuyến của “{trip}”.',
|
|
'tours.collection.takeFailed': 'Không thêm được chuyến vào chuyến đi.',
|
|
'tours.collection.openTrip': 'Mở chuyến đi',
|
|
};
|
|
export default tourCollection;
|