Files
TREK/shared/src/i18n/uk/common.ts
T
Maurice bdd8c08dd4 fix(planner): places put on a day, day names, day notes and trip details changed offline wait in the queue and sync once the connection is back
The day plan wrote straight to the API, so offline a place dropped on a day
snapped back with "Error assigning place", a renamed day or a new day note
failed, and a moved stop, a leg's travel mode or who joins a visit were lost.
Visits (put on a day, taken off, reordered, moved, travellers, leg mode), the
day's name, notes text and travel mode, and the day notes (add, edit, delete,
move) now go through assignmentRepo, dayRepo and dayNoteRepo and the mutation
queue: the cached day changes at once, a visit or note made offline gets a
temporary id that the edits after it wait for, and an online write held behind
an older queued one joins the queue, since none of these carry a version
token. A new order of a day that names a visit made offline is sent with its
real id, or without it when its create failed. Desktop, the phone timeline and
note sheet all write through the store, so both are covered.

The replay reads each answer for what it names: the day answer keeps the
cached notes and visits, the participants answer lands on its visit, and a
visit the server refuses with 409 (a Tour already on that day) fails instead
of waiting as a conflict no retry can solve.

The trip's name, description, reminder and the archive flag wait in the queue
too, from the planner, the phone and the dashboard. What only the server can
do says so instead of failing: new dates, a day count, a currency or a cover,
a new trip, a copy or a delete, members, guests, share and invite links, and
a new order of the days, which moves the dates of the bookings.

Refs #2601
2026-10-12 20:17:57 +02:00

89 lines
4.5 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': 'Previous month', // en-fallback
'common.datepicker.nextMonth': 'Next month', // en-fallback
'common.datepicker.prevYear': 'Previous year', // en-fallback
'common.datepicker.nextYear': 'Next year', // en-fallback
'common.datepicker.prevYears': 'Previous years', // en-fallback
'common.datepicker.nextYears': 'Next years', // en-fallback
'common.datepicker.selectMonth': 'Select month', // en-fallback
'common.datepicker.selectYear': 'Select year', // en-fallback
'common.datepicker.enterManually': 'Enter date manually', // en-fallback
'common.datepicker.typeDate': 'Type a date', // en-fallback
'common.datepicker.dialog': 'Date picker', // en-fallback
'common.datepicker.clearDate': 'Clear date', // en-fallback
'common.errorTitle': 'Щось пішло не так',
'common.errorBody': 'Ця частина застосунку перестала працювати. Ваші дані в безпеці.',
'common.errorPanelTitle': 'Не вдалося показати цей розділ',
'common.errorPanelBody': 'Решта сторінки працює.',
'common.errorRetry': 'Спробувати ще раз',
'common.errorReload': 'Перезавантажити сторінку',
'common.errorUpdateTitle': 'Доступна нова версія',
'common.errorUpdateBody': 'TREK оновився, поки ця вкладка була відкрита. Перезавантажте, щоб отримати нову версію.',
'common.errorPluginTitle': 'Не вдалося показати цей плагін',
'common.needsConnection': "Для цього потрібне з'єднання. Спробуйте ще раз, коли TREK знову буде онлайн.",
};
export default common;