mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-29 16:10:07 +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.
53 lines
4.5 KiB
TypeScript
53 lines
4.5 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.points.one': '{count} точка маршрута',
|
||
'tours.collection.points.few': '{count} точки маршрута',
|
||
'tours.collection.points.many': '{count} точек маршрута',
|
||
'tours.collection.savedFrom': 'Сохранён из',
|
||
'tours.collection.source': 'Сохранён из «{tour}» в «{trip}»',
|
||
'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.withPoints.one': 'С {count} точкой маршрута',
|
||
'tours.collection.withPoints.few': 'С {count} точками маршрута',
|
||
'tours.collection.withPoints.many': 'С {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;
|