mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-28 23:50:08 +00:00
bdd8c08dd4
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
85 lines
3.5 KiB
TypeScript
85 lines
3.5 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
||
|
||
const common: TranslationStrings = {
|
||
'common.save': 'Yadda saxla',
|
||
'common.showMore': 'Daha çox göstər',
|
||
'common.showLess': 'Daha az göstər',
|
||
'common.cancel': 'Ləğv et',
|
||
'common.clear': 'Təmizlə',
|
||
'common.delete': 'Sil',
|
||
'common.remove': 'Sil',
|
||
'common.preview': 'Önizləmə',
|
||
'common.edit': 'Redaktə et',
|
||
'common.add': 'Əlavə et',
|
||
'common.loading': 'Yüklənir...',
|
||
'common.import': 'İdxal et',
|
||
'common.select': 'Seç',
|
||
'common.selectAll': 'Hamısını seç',
|
||
'common.deselectAll': 'Hamısının seçimini ləğv et',
|
||
'common.error': 'Xəta',
|
||
'common.success': 'Uğurlu',
|
||
'common.unknownError': 'Bilinməyən xəta',
|
||
'common.tooManyAttempts': 'Həddindən çox cəhd edildi. Zəhmət olmasa, bir qədər sonra yenidən cəhd edin.',
|
||
'common.back': 'Geri',
|
||
'common.all': 'Hamısı',
|
||
'common.close': 'Bağla',
|
||
'common.open': 'Aç',
|
||
'common.upload': 'Yüklə',
|
||
'common.search': 'Axtar',
|
||
'common.confirm': 'Təsdiqlə',
|
||
'common.ok': 'OK',
|
||
'common.yes': 'Bəli',
|
||
'common.no': 'Xeyr',
|
||
'common.or': 'və ya',
|
||
'common.none': 'Heç biri',
|
||
'common.date': 'Tarix',
|
||
'common.rename': 'Adını dəyiş',
|
||
'common.discardChanges': 'Dəyişiklikləri ləğv et',
|
||
'common.discard': 'İmtina et',
|
||
'common.unsavedTitle': 'Dəyişikliklər ləğv edilsin?',
|
||
'common.unsavedMessage': 'Burada daxil etdikləriniz hələ yadda saxlanmayıb.',
|
||
'common.keepEditing': 'Redaktəyə davam et',
|
||
'common.name': 'Ad',
|
||
'common.email': 'E-poçt',
|
||
'common.password': 'Parol',
|
||
'common.saving': 'Saxlanılır...',
|
||
'common.justNow': 'indicə',
|
||
'common.hoursAgo': '{count}saat əvvəl',
|
||
'common.hoursAgo.one': '{count}saat əvvəl',
|
||
'common.daysAgo': '{count}gün əvvəl',
|
||
'common.daysAgo.one': '{count}gün əvvəl',
|
||
'common.saved': 'Yadda saxlandı',
|
||
'common.update': 'Yenilə',
|
||
'common.change': 'Dəyiş',
|
||
'common.uploading': 'Yüklənir...',
|
||
'common.backToPlanning': 'Planlamaya geri qayıt',
|
||
'common.reset': 'Sıfırla',
|
||
'common.expand': 'Genişləndir',
|
||
'common.collapse': 'Yığcamlaşdır',
|
||
'common.copy': 'Kopyala',
|
||
'common.copied': 'Kopyalandı',
|
||
'common.datepicker.prevMonth': 'Əvvəlki ay',
|
||
'common.datepicker.nextMonth': 'Növbəti ay',
|
||
'common.datepicker.prevYear': 'Əvvəlki il',
|
||
'common.datepicker.nextYear': 'Növbəti il',
|
||
'common.datepicker.prevYears': 'Əvvəlki illər',
|
||
'common.datepicker.nextYears': 'Növbəti illər',
|
||
'common.datepicker.selectMonth': 'Ay seç',
|
||
'common.datepicker.selectYear': 'İl seç',
|
||
'common.datepicker.enterManually': 'Tarixi əl ilə daxil et',
|
||
'common.datepicker.typeDate': 'Tarix daxil et',
|
||
'common.datepicker.dialog': 'Tarix seçimi',
|
||
'common.datepicker.clearDate': 'Tarixi təmizlə',
|
||
'common.errorTitle': 'Xəta baş verdi',
|
||
'common.errorBody': 'Tətbiqin bu hissəsi işləməyi dayandırdı. Məlumatlarınız təhlükəsizdir.',
|
||
'common.errorPanelTitle': 'Bu bölməni göstərmək mümkün olmadı.',
|
||
'common.errorPanelBody': 'Səhifənin qalan hissəsi işləməyə davam edir.',
|
||
'common.errorRetry': 'Yenidən cəhd et',
|
||
'common.errorReload': 'Səhifəni yenilə',
|
||
'common.errorUpdateTitle': 'Yeni versiya mövcuddur',
|
||
'common.errorUpdateBody': 'Bu səhifə açıq olarkən TREK yeniləndi. Yeni versiyanı əldə etmək üçün səhifəni yenilə.',
|
||
'common.errorPluginTitle': 'Bu plagini göstərmək mümkün olmadı',
|
||
'common.needsConnection': 'Bunun üçün bağlantı lazımdır. TREK yenidən onlayn olduqda bir daha cəhd edin.',
|
||
};
|
||
export default common;
|