mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-23 15:36:33 +00:00
65fe8cd6e5
Taking a tour kept in a collection into a trip left the user guessing in two places when the tour had no line. The map box stayed an empty grey square that read as a broken map; it now says that there is no line yet, only the waypoints. Why "Line only" is dimmed was only in the tooltip of a disabled button, which never shows on hover, focus or touch; the reason now stands under the two choices, and a disabled tile sits in a span so its tooltip can show as well. A successful take-over said the same sentence twice, as a toast and as the dialog's last word with "Open trip". The toast is gone. The collection strings move out of tours.ts into a tourCollection.ts per locale, keeping their keys, so no locale's tours file grows past the 1000-line limit. The tours locale spec now holds both files to their own counts.
57 lines
4.2 KiB
TypeScript
57 lines
4.2 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const tourCollection: TranslationStrings = {
|
|
'tours.collection.save': 'الاحتفاظ في مجموعة',
|
|
'tours.collection.saveHint': 'يحتفظ بنسخة مستقلة من هذه الجولة في إحدى مجموعاتك',
|
|
'tours.collection.saveFirst': 'احفظ الجولة أولًا لتحتفظ بها في مجموعة',
|
|
'tours.collection.saveSub': 'نسخة مستقلة. التغييرات اللاحقة على هذه الجولة لا تصل إليها.',
|
|
'tours.collection.list': 'المجموعة',
|
|
'tours.collection.readOnly': 'يمكنك قراءة هذه القائمة فقط',
|
|
'tours.collection.noLists': 'ليست لديك أي مجموعة بعد.',
|
|
'tours.collection.openCollections': 'فتح المجموعات',
|
|
'tours.collection.nameThere': 'الاسم في المجموعة',
|
|
'tours.collection.keep': 'احتفظ',
|
|
'tours.collection.kept': 'أصبحت «{name}» محفوظة في «{list}».',
|
|
'tours.collection.keepFailed': 'تعذّر الاحتفاظ بالجولة.',
|
|
'tours.collection.offline': 'تحتاج المجموعات إلى اتصال.',
|
|
'tours.collection.listsFailed': 'تعذّر تحميل المجموعات.',
|
|
'tours.collection.toursFailed': 'تعذّر تحميل جولات هذه القائمة.',
|
|
'tours.collection.points': 'نقاط الطريق: {count}',
|
|
'tours.collection.points.zero': 'نقاط الطريق: {count}',
|
|
'tours.collection.points.one': 'نقطة طريق واحدة',
|
|
'tours.collection.points.two': 'نقطتا طريق',
|
|
'tours.collection.points.few': '{count} نقاط طريق',
|
|
'tours.collection.points.many': '{count} نقطة طريق',
|
|
'tours.collection.savedFrom': 'محفوظة من',
|
|
'tours.collection.source': 'محفوظة من «{tour}» في «{trip}»',
|
|
'tours.collection.keptBy': 'احتفظ بها {name}',
|
|
'tours.collection.add': 'إضافة إلى رحلة',
|
|
'tours.collection.addHint': 'ينشئ جولة جديدة مستقلة في الرحلة التي تختارها',
|
|
'tours.collection.remove': 'إزالة من المجموعة',
|
|
'tours.collection.removeTitle': 'هل تريد إزالة هذه الجولة من المجموعة؟',
|
|
'tours.collection.removeBody': 'الجولات التي أُنشئت منها في رحلاتك تبقى كما هي.',
|
|
'tours.collection.removed': 'أُزيلت الجولة من المجموعة.',
|
|
'tours.collection.removeFailed': 'تعذّرت إزالة الجولة.',
|
|
'tours.collection.takeEyebrow': 'من المجموعة',
|
|
'tours.collection.takeSub': 'تصبح جولة مستقلة في الرحلة التي تختارها، بلا أيام. وتبقى المجموعة كما هي.',
|
|
'tours.collection.intoTrip': 'إلى الرحلة',
|
|
'tours.collection.noPermission': 'لا يمكنك إضافة جولات إلى هذه الرحلة',
|
|
'tours.collection.noTrips': 'ليست لديك رحلة تضيفها إليها بعد.',
|
|
'tours.collection.withPoints': 'مع نقاط الطريق: {count}',
|
|
'tours.collection.withPoints.zero': 'مع نقاط الطريق: {count}',
|
|
'tours.collection.withPoints.one': 'مع نقطة طريق واحدة',
|
|
'tours.collection.withPoints.two': 'مع نقطتي طريق',
|
|
'tours.collection.withPoints.few': 'مع {count} نقاط طريق',
|
|
'tours.collection.withPoints.many': 'مع {count} نقطة طريق',
|
|
'tours.collection.withPointsHint': 'البداية والتوقفات والنهاية تأتي بترتيبها.',
|
|
'tours.collection.lineOnly': 'الخط فقط',
|
|
'tours.collection.lineOnlyHint': 'يبقى الخط كما حُفظ. لا تُضاف نقاط طريق.',
|
|
'tours.collection.needsPoints': 'ليس لهذه الجولة خط بعد، لذا يجب أن تأتي نقاط طريقها معها.',
|
|
'tours.collection.noLine': 'لا يوجد خط بعد، فقط نقاط الطريق',
|
|
'tours.collection.nameInTrip': 'الاسم في الرحلة',
|
|
'tours.collection.taken': 'أصبحت «{name}» جولة في «{trip}».',
|
|
'tours.collection.takeFailed': 'تعذّرت إضافة الجولة إلى الرحلة.',
|
|
'tours.collection.openTrip': 'فتح الرحلة',
|
|
};
|
|
export default tourCollection;
|