mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-21 11:36:05 +00:00
6835fd7bf3
Page transitions: on the phone, pages move like a native navigation stack, built on the View Transitions API (mobile/routeTransition.ts). A page opened from another slides in from the trailing edge, back slides it away, and switching between the dock's sections cross-fades while the dock stands still. Lazy routes do not flash their skeleton: the swap waits, behind the frozen snapshot, until the new page rendered. The edge-swipe back gesture already moves the page and skips the transition. RTL mirrors the motion, reduced motion and desktop get none. Pull-to-refresh on the mobile dashboard: the page follows the finger with resistance, ticks once past the threshold and re-reads trips and notifications quietly, without a loading state. Share: trip share and invite links and the journey link get a share button next to copy, opening the system share sheet (Capacitor Share in the apps, Web Share in browsers that have it). Haptics: a selection click for switches and segmented controls, a tick when a sheet is flung closed, and a firmer bump for the chat's long press. Theme lint: this branch's new screens use the type and z-index tokens, the Vacay company tint is a token, and the baseline is lowered to the new counts.
91 lines
4.6 KiB
TypeScript
91 lines
4.6 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const common: TranslationStrings = {
|
|
'common.save': 'Зберегти',
|
|
'common.showMore': 'Показати більше',
|
|
'common.showLess': 'Показати менше',
|
|
'common.cancel': 'Скасувати',
|
|
'common.clear': 'Очистити',
|
|
'common.delete': 'Видалити',
|
|
'common.remove': 'Видалити',
|
|
'common.preview': 'Перегляд',
|
|
'common.edit': 'Редагувати',
|
|
'common.add': 'Додати',
|
|
'common.loading': 'Завантаження...',
|
|
'common.import': 'Імпорт',
|
|
'common.select': 'Вибрати',
|
|
'common.selectAll': 'Вибрати все',
|
|
'common.deselectAll': 'Зняти виділення з усіх',
|
|
'common.error': 'Помилка',
|
|
'common.success': 'Успішно',
|
|
'common.unknownError': 'Невідома помилка',
|
|
'common.tooManyAttempts': 'Занадто багато спроб. Спробуйте пізніше.',
|
|
'common.back': 'Назад',
|
|
'common.all': 'Все',
|
|
'common.close': 'Закрити',
|
|
'common.open': 'Відкрити',
|
|
'common.upload': 'Завантажити',
|
|
'common.search': 'Пошук',
|
|
'common.confirm': 'Підтвердити',
|
|
'common.ok': 'ОК',
|
|
'common.yes': 'Так',
|
|
'common.no': 'Ні',
|
|
'common.or': 'або',
|
|
'common.none': 'Немає',
|
|
'common.date': 'Дата',
|
|
'common.rename': 'Перейменувати',
|
|
'common.discardChanges': 'Скасувати зміни',
|
|
'common.discard': 'Скасувати',
|
|
'common.unsavedTitle': 'Скасувати зміни?',
|
|
'common.unsavedMessage': 'Введене тут ще не збережено.',
|
|
'common.keepEditing': 'Продовжити редагування',
|
|
'common.name': "Ім'я",
|
|
'common.email': 'Ел. пошта',
|
|
'common.password': 'Пароль',
|
|
'common.saving': 'Збереження...',
|
|
'common.saved': 'Збережено',
|
|
'common.expand': 'Розгорнути',
|
|
'common.collapse': 'Згорнути',
|
|
'common.update': 'Оновити',
|
|
'common.change': 'Змінити',
|
|
'common.uploading': 'Завантаження…',
|
|
'common.backToPlanning': 'Повернутися до планування',
|
|
'common.reset': 'Скинути',
|
|
'common.copy': 'Копіювати',
|
|
'common.copied': 'Скопійовано',
|
|
'common.justNow': 'щойно',
|
|
'common.hoursAgo': '{count} год. тому',
|
|
'common.hoursAgo.one': '{count} год. тому',
|
|
'common.hoursAgo.few': '{count} год. тому',
|
|
'common.hoursAgo.many': '{count} год. тому',
|
|
'common.daysAgo': '{count} дн. тому',
|
|
'common.daysAgo.one': '{count} дн. тому',
|
|
'common.daysAgo.few': '{count} дн. тому',
|
|
'common.daysAgo.many': '{count} дн. тому',
|
|
'common.datepicker.prevMonth': 'Попередній місяць',
|
|
'common.datepicker.nextMonth': 'Наступний місяць',
|
|
'common.datepicker.prevYear': 'Попередній рік',
|
|
'common.datepicker.nextYear': 'Наступний рік',
|
|
'common.datepicker.prevYears': 'Попередні роки',
|
|
'common.datepicker.nextYears': 'Наступні роки',
|
|
'common.datepicker.selectMonth': 'Вибрати місяць',
|
|
'common.datepicker.selectYear': 'Вибрати рік',
|
|
'common.datepicker.enterManually': 'Ввести дату вручну',
|
|
'common.datepicker.typeDate': 'Введи дату',
|
|
'common.datepicker.dialog': 'Вибір дати',
|
|
'common.datepicker.clearDate': 'Очистити дату',
|
|
'common.errorTitle': 'Щось пішло не так',
|
|
'common.errorBody': 'Ця частина застосунку перестала працювати. Ваші дані в безпеці.',
|
|
'common.errorPanelTitle': 'Не вдалося показати цей розділ',
|
|
'common.errorPanelBody': 'Решта сторінки працює.',
|
|
'common.errorRetry': 'Спробувати ще раз',
|
|
'common.errorReload': 'Перезавантажити сторінку',
|
|
'common.errorUpdateTitle': 'Доступна нова версія',
|
|
'common.errorUpdateBody': 'TREK оновився, поки ця вкладка була відкрита. Перезавантажте, щоб отримати нову версію.',
|
|
'common.errorPluginTitle': 'Не вдалося показати цей плагін',
|
|
'common.needsConnection': "Для цього потрібне з'єднання. Спробуйте ще раз, коли TREK знову буде онлайн.",
|
|
'common.errorDetails': 'Подробиці',
|
|
'common.share': 'Поділитися',
|
|
};
|
|
export default common;
|