Files
TREK/shared/src/i18n/sv/tourCollection.ts
T
Maurice 65fe8cd6e5 fix(tours): explain a kept tour without a line, and say the take-over once
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.
2026-10-20 15:34:09 +02:00

49 lines
3.0 KiB
TypeScript

import type { TranslationStrings } from '../types';
const tourCollection: TranslationStrings = {
'tours.collection.save': 'Spara i en samling',
'tours.collection.saveHint': 'Sparar en fristående kopia av den här turen i en av dina samlingar',
'tours.collection.saveFirst': 'Spara turen först för att lägga den i en samling',
'tours.collection.saveSub': 'En fristående kopia. Senare ändringar av turen når den inte.',
'tours.collection.list': 'Samling',
'tours.collection.readOnly': 'Du kan bara läsa den här listan',
'tours.collection.noLists': 'Du har ingen samling än.',
'tours.collection.openCollections': 'Öppna samlingar',
'tours.collection.nameThere': 'Namn i samlingen',
'tours.collection.keep': 'Spara',
'tours.collection.kept': '”{name}” finns nu i ”{list}”.',
'tours.collection.keepFailed': 'Turen kunde inte sparas.',
'tours.collection.offline': 'Samlingar behöver en anslutning.',
'tours.collection.listsFailed': 'Samlingarna kunde inte läsas in.',
'tours.collection.toursFailed': 'Turerna i den här listan kunde inte läsas in.',
'tours.collection.points': '{count} vägpunkter',
'tours.collection.points.one': '{count} vägpunkt',
'tours.collection.savedFrom': 'Sparad från',
'tours.collection.source': 'Sparad från ”{tour}” i ”{trip}”',
'tours.collection.keptBy': 'Sparad av {name}',
'tours.collection.add': 'Lägg till i en resa',
'tours.collection.addHint': 'Skapar en egen ny tur i en resa du väljer',
'tours.collection.remove': 'Ta bort från samlingen',
'tours.collection.removeTitle': 'Ta bort den här turen från samlingen?',
'tours.collection.removeBody': 'Turer som redan gjorts av den i dina resor blir kvar som de är.',
'tours.collection.removed': 'Turen togs bort från samlingen.',
'tours.collection.removeFailed': 'Turen kunde inte tas bort.',
'tours.collection.takeEyebrow': 'Från samlingen',
'tours.collection.takeSub': 'Blir en egen tur i resan du väljer, utan dagar. Samlingen förblir som den är.',
'tours.collection.intoTrip': 'Till resan',
'tours.collection.noPermission': 'Du får inte lägga till turer i den här resan',
'tours.collection.noTrips': 'Du har ingen resa att lägga den i än.',
'tours.collection.withPoints': 'Med {count} vägpunkter',
'tours.collection.withPoints.one': 'Med {count} vägpunkt',
'tours.collection.withPointsHint': 'Start, stopp och mål följer med i sin ordning.',
'tours.collection.lineOnly': 'Bara linjen',
'tours.collection.lineOnlyHint': 'Linjen blir kvar som den sparades. Inga vägpunkter läggs till.',
'tours.collection.needsPoints': 'Turen har ingen linje än, så dess vägpunkter måste följa med.',
'tours.collection.noLine': 'Ingen linje ännu, bara vägpunkterna',
'tours.collection.nameInTrip': 'Namn i resan',
'tours.collection.taken': '”{name}” är nu en tur i ”{trip}”.',
'tours.collection.takeFailed': 'Turen kunde inte läggas till i resan.',
'tours.collection.openTrip': 'Öppna resan',
};
export default tourCollection;