mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-20 19:16:08 +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.
51 lines
3.1 KiB
TypeScript
51 lines
3.1 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const tourCollection: TranslationStrings = {
|
|
'tours.collection.save': 'Uložit do sbírky',
|
|
'tours.collection.saveHint': 'Uloží nezávislou kopii této túry do jedné z tvých sbírek',
|
|
'tours.collection.saveFirst': 'Nejprve túru ulož, abys ji mohl dát do sbírky',
|
|
'tours.collection.saveSub': 'Nezávislá kopie. Pozdější změny této túry se jí nedotknou.',
|
|
'tours.collection.list': 'Sbírka',
|
|
'tours.collection.readOnly': 'Tento seznam můžeš jen číst',
|
|
'tours.collection.noLists': 'Zatím nemáš žádnou sbírku.',
|
|
'tours.collection.openCollections': 'Otevřít sbírky',
|
|
'tours.collection.nameThere': 'Název ve sbírce',
|
|
'tours.collection.keep': 'Uložit',
|
|
'tours.collection.kept': '„{name}“ je teď ve sbírce „{list}“.',
|
|
'tours.collection.keepFailed': 'Túru se nepodařilo uložit.',
|
|
'tours.collection.offline': 'Sbírky potřebují připojení.',
|
|
'tours.collection.listsFailed': 'Sbírky se nepodařilo načíst.',
|
|
'tours.collection.toursFailed': 'Túry tohoto seznamu se nepodařilo načíst.',
|
|
'tours.collection.points': '{count} bodů trasy',
|
|
'tours.collection.points.one': '{count} bod trasy',
|
|
'tours.collection.points.few': '{count} body trasy',
|
|
'tours.collection.savedFrom': 'Uloženo z',
|
|
'tours.collection.source': 'Uloženo z „{tour}“ v „{trip}“',
|
|
'tours.collection.keptBy': 'Uložil(a) {name}',
|
|
'tours.collection.add': 'Přidat do cesty',
|
|
'tours.collection.addHint': 'Vytvoří vlastní novou túru v cestě, kterou zvolíš',
|
|
'tours.collection.remove': 'Odebrat ze sbírky',
|
|
'tours.collection.removeTitle': 'Odebrat tuto túru ze sbírky?',
|
|
'tours.collection.removeBody': 'Túry, které už z ní ve tvých cestách vznikly, zůstanou, jak jsou.',
|
|
'tours.collection.removed': 'Túra byla odebrána ze sbírky.',
|
|
'tours.collection.removeFailed': 'Túru se nepodařilo odebrat.',
|
|
'tours.collection.takeEyebrow': 'Ze sbírky',
|
|
'tours.collection.takeSub': 'Stane se vlastní túrou zvolené cesty, bez dnů. Sbírka zůstane, jak je.',
|
|
'tours.collection.intoTrip': 'Do cesty',
|
|
'tours.collection.noPermission': 'Do této cesty nemůžeš přidávat túry',
|
|
'tours.collection.noTrips': 'Zatím nemáš žádnou cestu, kam ji přidat.',
|
|
'tours.collection.withPoints': 'S {count} body trasy',
|
|
'tours.collection.withPoints.one': 'S {count} bodem trasy',
|
|
'tours.collection.withPoints.few': 'Se {count} body trasy',
|
|
'tours.collection.withPointsHint': 'Start, zastávky a cíl přejdou ve svém pořadí.',
|
|
'tours.collection.lineOnly': 'Jen linie',
|
|
'tours.collection.lineOnlyHint': 'Linie zůstane, jak byla uložena. Žádné body trasy se nepřidají.',
|
|
'tours.collection.needsPoints': 'Tato túra zatím nemá linii, proto musí její body trasy přejít s ní.',
|
|
'tours.collection.noLine': 'Zatím bez trasy, jen průjezdní body',
|
|
'tours.collection.nameInTrip': 'Název v cestě',
|
|
'tours.collection.taken': '„{name}“ je teď túrou cesty „{trip}“.',
|
|
'tours.collection.takeFailed': 'Túru se nepodařilo přidat do cesty.',
|
|
'tours.collection.openTrip': 'Otevřít cestu',
|
|
};
|
|
export default tourCollection;
|