add list of cities for car pick drop off locations

This commit is contained in:
root
2026-06-29 20:32:08 -04:00
parent 85d1aad956
commit e1e2f55c93
6 changed files with 10757 additions and 54 deletions
+13 -9
View File
@@ -55,6 +55,7 @@ type FleetDict = {
dropoffLocations: string
dropoffLocationsPlaceholder: string
locationHint: string
addCustomLocation: (location: string) => string
allowDifferentDropoff: string
dropoffLocationsRequired: string
sameDropoffOnly: string
@@ -406,10 +407,11 @@ const dictionaries: Record<DashboardLanguage, DashboardDictionary> = {
automatic: 'Automatic',
fuelType: 'Fuel Type',
pickupLocations: 'Pick-up locations',
pickupLocationsPlaceholder: 'e.g. Casablanca Airport, Casablanca Downtown',
pickupLocationsPlaceholder: 'Type a pick-up city',
dropoffLocations: 'Drop-off locations',
dropoffLocationsPlaceholder: 'e.g. Rabat Downtown, Marrakech Center',
locationHint: 'Separate multiple locations with commas.',
dropoffLocationsPlaceholder: 'Type a drop-off city',
locationHint: 'Start typing and select one or more cities from the suggestions. Press Enter to add a new city.',
addCustomLocation: (location) => `Add "${location}"`,
allowDifferentDropoff: 'Allow different drop-off location',
dropoffLocationsRequired: 'Please add at least one drop-off location when different drop-off is enabled.',
sameDropoffOnly: 'Same drop-off only',
@@ -763,10 +765,11 @@ const dictionaries: Record<DashboardLanguage, DashboardDictionary> = {
automatic: 'Automatique',
fuelType: 'Carburant',
pickupLocations: 'Lieux de départ',
pickupLocationsPlaceholder: 'ex. Aéroport de Casablanca, Centre-ville de Casablanca',
pickupLocationsPlaceholder: 'Tapez une ville de départ',
dropoffLocations: 'Lieux de retour',
dropoffLocationsPlaceholder: 'ex. Centre-ville de Rabat, Centre de Marrakech',
locationHint: 'Séparez plusieurs lieux par des virgules.',
dropoffLocationsPlaceholder: 'Tapez une ville de retour',
locationHint: 'Commencez à taper puis sélectionnez une ou plusieurs villes suggérées. Appuyez sur Entrée pour ajouter une nouvelle ville.',
addCustomLocation: (location) => `Ajouter « ${location} »`,
allowDifferentDropoff: 'Autoriser un lieu de retour différent',
dropoffLocationsRequired: 'Ajoutez au moins un lieu de retour lorsque le retour différent est activé.',
sameDropoffOnly: 'Retour au même lieu uniquement',
@@ -1120,10 +1123,11 @@ const dictionaries: Record<DashboardLanguage, DashboardDictionary> = {
automatic: 'أوتوماتيكي',
fuelType: 'نوع الوقود',
pickupLocations: 'مواقع الاستلام',
pickupLocationsPlaceholder: 'مثال: مطار الدار البيضاء، وسط الدار البيضاء',
pickupLocationsPlaceholder: 'اكتب مدينة الاستلام',
dropoffLocations: 'مواقع الإرجاع',
dropoffLocationsPlaceholder: 'مثال: وسط الرباط، مركز مراكش',
locationHint: 'افصل بين المواقع المتعددة بفواصل.',
dropoffLocationsPlaceholder: 'اكتب مدينة الإرجاع',
locationHint: 'ابدأ بالكتابة ثم اختر مدينة واحدة أو أكثر من الاقتراحات. اضغط Enter لإضافة مدينة جديدة.',
addCustomLocation: (location) => `إضافة "${location}"`,
allowDifferentDropoff: 'السماح بموقع إرجاع مختلف',
dropoffLocationsRequired: 'أضف موقع إرجاع واحداً على الأقل عند تفعيل الإرجاع المختلف.',
sameDropoffOnly: 'الإرجاع في نفس الموقع فقط',