mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-04 09:54:14 +00:00
1bc82f97fd
Paddle tours are planned on the water by TREK's own router: a water network per paddle region, built from the same Geofabrik extract as the obstacles and searched in a worker thread of the server (no sidecar). Rivers, canals and lakes (direct or along the shore), portages round weirs, locks by policy, whitewater by boat, gaps marked. Found portages and locks become points of their own; an unplannable leg says why and offers a way out. - Shaping points: a click on the line sets a point that steers the route without being a stop (hikes and paddle tours); recompute a single leg. - Lake style direct/shore, suggested from the wind forecast. - Regions load by themselves where a paddler plans (admin setting: automatic, on request, off; size cap and a daily count), with requests for the admins, a notification, and the load followed on the leg. - Portage from the last point, portages follow footways via the walking router (or stay straight), "put in here" on slipways and put-ins. - MCP plan_paddle_route with the REST route's rules.
57 lines
4.1 KiB
TypeScript
57 lines
4.1 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
||
|
||
const notif: TranslationStrings = {
|
||
'notif.test.title': '[Тест] Сповіщення',
|
||
'notif.test.simple.text': 'Це просте тестове сповіщення.',
|
||
'notif.test.boolean.text': 'Ви приймаєте це тестове сповіщення?',
|
||
'notif.test.navigate.text': 'Натисніть нижче, щоб перейти на панель управління.',
|
||
'notif.trip_invite.title': 'Запрошення до поїздки',
|
||
'notif.trip_invite.text': '{actor} запросив вас до {trip}',
|
||
'notif.booking_change.title': 'Бронювання оновлено',
|
||
'notif.booking_change.text': '{actor} оновив бронювання в {trip}',
|
||
'notif.trip_reminder.title': 'Нагадування про поїздку',
|
||
'notif.trip_reminder.text': 'Ваша поїздка {trip} скоро почнеться!',
|
||
'notif.todo_due.title': 'Завдання до терміну',
|
||
'notif.todo_due.text': '{todo} у {trip} — термін {due}',
|
||
'notif.vacay_invite.title': 'Запрошення Vacay Fusion',
|
||
'notif.vacay_invite.text': '{actor} запрошує вас об’єднати плани відпустки',
|
||
'notif.vacay_share.title': 'Календар Vacay надано',
|
||
'notif.vacay_share.text': '{actor} поділився з вами своїм календарем відпусток',
|
||
'notif.collection_invite.title': 'Запрошення до колекції',
|
||
'notif.collection_invite.text': '{actor} запрошує вас до колекції',
|
||
'notif.photos_shared.title': 'Фото опубліковано',
|
||
'notif.photos_shared.text': '{actor} поділився {count} фото у {trip}',
|
||
'notif.photos_shared.text.one': '{actor} поділився {count} фото у {trip}',
|
||
'notif.photos_shared.text.few': '{actor} поділився {count} фото у {trip}',
|
||
'notif.photos_shared.text.many': '{actor} поділився {count} фото у {trip}',
|
||
'notif.collab_message.title': 'Нове повідомлення',
|
||
'notif.collab_message.text': '{actor} надіслав повідомлення в {trip}',
|
||
'notif.packing_tagged.title': 'Завдання для пакування',
|
||
'notif.packing_tagged.text': '{actor} призначив вас у {category} у {trip}',
|
||
'notif.version_available.title': 'Доступна нова версія',
|
||
'notif.version_available.text': 'TREK {version} тепер доступний',
|
||
'notif.replica_failure.title': 'Збій репліки сховища',
|
||
'notif.replica_failure.text': "Помилка запису в репліку '{backend}': {op} для {key} — {error}",
|
||
'notif.replica_failure.textSuppressed':
|
||
"Помилка запису в репліку '{backend}': {op} для {key} — {error}. Із моменту останнього сповіщення приховано ще {suppressed} помилок.",
|
||
'notif.paddle_region_requested.title': 'Запитано регіон для сплаву',
|
||
'notif.paddle_region_requested.text': '{actor} планує сплав у регіоні {region}',
|
||
'notif.action.view_trip': 'Відкрити поїздку',
|
||
'notif.action.view_collab': 'Відкрити повідомлення',
|
||
'notif.action.view_packing': 'Відкрити пакування',
|
||
'notif.action.view_photos': 'Відкрити фото',
|
||
'notif.action.view_vacay': 'Відкрити Vacay',
|
||
'notif.action.view_collection': 'Переглянути колекцію',
|
||
'notif.action.view_admin': 'Перейти в адмін',
|
||
'notif.action.view': 'Відкрити',
|
||
'notif.action.accept': 'Прийняти',
|
||
'notif.action.decline': 'Відхилити',
|
||
'notif.plugin.title': '{title}',
|
||
'notif.plugin.text': '{body}',
|
||
'notif.generic.title': 'Сповіщення',
|
||
'notif.generic.text': 'У вас нове сповіщення',
|
||
'notif.dev.unknown_event.title': '[DEV] Невідома подія',
|
||
'notif.dev.unknown_event.text': 'Тип події "{event}" не зареєстровано в EVENT_NOTIFICATION_CONFIG',
|
||
};
|
||
export default notif;
|