mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-28 07:30:04 +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.
50 lines
3.0 KiB
TypeScript
50 lines
3.0 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const tourCollection: TranslationStrings = {
|
|
'tours.collection.save': 'Keep in a collection',
|
|
'tours.collection.saveHint': 'Keeps an independent copy of this tour in one of your collections',
|
|
'tours.collection.saveFirst': 'Save the tour first to keep it in a collection',
|
|
'tours.collection.saveSub': 'An independent copy. Later changes to this tour do not reach it.',
|
|
'tours.collection.list': 'Collection',
|
|
'tours.collection.readOnly': 'You can only read this list',
|
|
'tours.collection.noLists': 'You have no collection yet.',
|
|
'tours.collection.openCollections': 'Open collections',
|
|
'tours.collection.nameThere': 'Name in the collection',
|
|
'tours.collection.keep': 'Keep',
|
|
'tours.collection.kept': '“{name}” is now kept in “{list}”.',
|
|
'tours.collection.keepFailed': 'The tour could not be kept.',
|
|
'tours.collection.offline': 'Collections need a connection.',
|
|
'tours.collection.listsFailed': 'The collections could not be loaded.',
|
|
'tours.collection.toursFailed': 'The tours of this list could not be loaded.',
|
|
'tours.collection.points': '{count} waypoints',
|
|
'tours.collection.points.one': '{count} waypoint',
|
|
'tours.collection.savedFrom': 'Saved from',
|
|
'tours.collection.source': 'Saved from “{tour}” in “{trip}”',
|
|
'tours.collection.keptBy': 'Kept by {name}',
|
|
'tours.collection.add': 'Add to a trip',
|
|
'tours.collection.addHint': 'Makes a new tour of its own in a trip you choose',
|
|
'tours.collection.remove': 'Remove from the collection',
|
|
'tours.collection.removeTitle': 'Remove this tour from the collection?',
|
|
'tours.collection.removeBody': 'Tours already made from it in your trips stay as they are.',
|
|
'tours.collection.removed': 'The tour was removed from the collection.',
|
|
'tours.collection.removeFailed': 'The tour could not be removed.',
|
|
'tours.collection.takeEyebrow': 'From the collection',
|
|
'tours.collection.takeSub':
|
|
'Becomes a tour of its own in the trip you choose, without days. The collection stays as it is.',
|
|
'tours.collection.intoTrip': 'Into the trip',
|
|
'tours.collection.noPermission': 'You may not add tours to this trip',
|
|
'tours.collection.noTrips': 'You have no trip to add it to yet.',
|
|
'tours.collection.withPoints': 'With {count} waypoints',
|
|
'tours.collection.withPoints.one': 'With {count} waypoint',
|
|
'tours.collection.withPointsHint': 'Start, stops and end come along in their order.',
|
|
'tours.collection.lineOnly': 'Line only',
|
|
'tours.collection.lineOnlyHint': 'The line stays as saved. No waypoints are added.',
|
|
'tours.collection.needsPoints': 'This tour has no line yet, so its waypoints have to come along.',
|
|
'tours.collection.noLine': 'No line yet, only its waypoints',
|
|
'tours.collection.nameInTrip': 'Name in the trip',
|
|
'tours.collection.taken': '“{name}” is now a tour of “{trip}”.',
|
|
'tours.collection.takeFailed': 'The tour could not be added to the trip.',
|
|
'tours.collection.openTrip': 'Open trip',
|
|
};
|
|
export default tourCollection;
|