Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
aelassas committed Dec 7, 2024
1 parent 0bd22b5 commit 7afc1b7
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion api/src/controllers/bookingController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export const confirm = async (user: env.User, supplier: env.User, booking: env.B
}
const pickupLocation = await Location.findById(booking.pickupLocation).populate<{ values: env.LocationValue[] }>('values')
if (!pickupLocation) {
logger.info(`Pickup location ${booking.pickupLocation} not found`)
logger.info(`Pick-up location ${booking.pickupLocation} not found`)
return false
}

Expand Down
2 changes: 1 addition & 1 deletion backend/src/lang/booking-filter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const strings = new LocalizedStrings({
DROP_OFF_LOCATION: 'Lieu de restitution',
},
en: {
PICK_UP_LOCATION: 'Pickup location',
PICK_UP_LOCATION: 'Pick-up location',
DROP_OFF_LOCATION: 'Drop-off location',
},
})
Expand Down
2 changes: 1 addition & 1 deletion backend/src/lang/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ const strings = new LocalizedStrings({
ALL: 'All',
SUPPLIER: 'Supplier',
STATUS: 'Status',
PICK_UP_LOCATION: 'Pickup location',
PICK_UP_LOCATION: 'Pick-up location',
DROP_OFF_LOCATION: 'Drop-off location',
OPTIONS: 'Options',
OF: 'of',
Expand Down
2 changes: 1 addition & 1 deletion backend/src/lang/create-car.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const strings = new LocalizedStrings({
CAR_IMAGE_SIZE_ERROR: `The image must be in the format ${env.CAR_IMAGE_WIDTH}x${env.CAR_IMAGE_HEIGHT}`,
RECOMMENDED_IMAGE_SIZE: `Recommended image size: ${env.CAR_IMAGE_WIDTH}x${env.CAR_IMAGE_HEIGHT}`,
SUPPLIER: 'Supplier',
LOCATIONS: 'Pickup locations',
LOCATIONS: 'Pick-up locations',
AVAILABLE: 'Available for rental',
CAR_TYPE: 'Engine',
DAILY_PRICE: 'Daily Price',
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/lang/booking-filter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const strings = new LocalizedStrings({
DROP_OFF_LOCATION: 'Lieu de restitution',
},
en: {
PICK_UP_LOCATION: 'Pickup location',
PICK_UP_LOCATION: 'Pick-up location',
DROP_OFF_LOCATION: 'Drop-off location',
},
es: {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/lang/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ const strings = new LocalizedStrings({
RESEND_ACTIVATION_LINK: 'Resend account activation link',
ACTIVATION_EMAIL_SENT: 'Activation email sent.',
EMAIL_NOT_VALID: 'Invalid email address',
PICK_UP_LOCATION: 'Pickup location',
PICK_UP_LOCATION: 'Pick-up location',
DROP_OFF_LOCATION: 'Drop-off location',
PHONE_NOT_VALID: 'Invalid phone number',
ALL: 'All',
Expand Down
4 changes: 2 additions & 2 deletions mobile/lang/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const en = {
RESEND_ACTIVATION_LINK: 'Resend account activation link',
ACTIVATION_EMAIL_SENT: 'Activation email sent.',
EMAIL_NOT_VALID: 'Invalid email address',
PICKUP_LOCATION: 'Pickup location',
PICKUP_LOCATION: 'Pick-up location',
DROP_OFF_LOCATION: 'Drop-off location',
PHONE_NOT_VALID: 'Invalid phone number',
ALL: 'All',
Expand All @@ -78,7 +78,7 @@ export const en = {
FROM_TIME: 'Pickup time',
TO_DATE: 'Drop-off date',
TO_TIME: 'Drop-off time',
PICKUP_LOCATION_EMPTY: 'Please enter a pickup location.',
PICKUP_LOCATION_EMPTY: 'Please enter a pick-up location.',
DROP_OFF_LOCATION_EMPTY: 'Please enter a drop-off location.',
HOME: 'Home',
ABOUT: 'About',
Expand Down

0 comments on commit 7afc1b7

Please sign in to comment.