Files
TREK/shared/src/i18n/ar/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

93 lines
4.3 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.update': 'تحديث',
'common.change': 'تغيير',
'common.uploading': 'جارٍ الرفع...',
'common.backToPlanning': 'العودة إلى التخطيط',
'common.reset': 'إعادة تعيين',
'common.expand': 'توسيع',
'common.collapse': 'طي',
'common.copy': 'نسخ',
'common.copied': 'تم النسخ',
'common.justNow': 'just now', // en-fallback
'common.hoursAgo': 'منذ {count} ساعة',
'common.hoursAgo.zero': 'منذ {count} ساعة',
'common.hoursAgo.one': 'منذ ساعة واحدة',
'common.hoursAgo.two': 'منذ ساعتين',
'common.hoursAgo.few': 'منذ {count} ساعات',
'common.hoursAgo.many': 'منذ {count} ساعة',
'common.daysAgo': 'منذ {count} يوم',
'common.daysAgo.zero': 'منذ {count} يوم',
'common.daysAgo.one': 'منذ يوم واحد',
'common.daysAgo.two': 'منذ يومين',
'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;