add: finish translation feature

This commit is contained in:
Alexandro Uc Santos
2024-06-08 17:26:02 -06:00
parent b32b2c310c
commit bb30443faa
15 changed files with 269 additions and 133 deletions

View File

@@ -51,6 +51,13 @@ const en = {
writeHere: 'Write here',
create: 'Create',
date: 'Date',
stateBase: 'Load base by state',
cityBase: 'Load base by city',
datePublished: 'Published date',
dateAvailable: 'Available date',
operator: 'Operator',
vehicle: 'Vehicle',
comment: 'Comment',
},
buttons: {
enter: "Enter here",
@@ -76,9 +83,11 @@ const en = {
accepted: 'Accepted',
confirm: 'Confirm',
search: 'Search',
profile: 'View profile'
profile: 'View profile',
send: 'Send'
},
errors: {
required: 'Field is required',
requireds: "All fields required",
email: "Email is not valid",
weakPassword: "Weak password",
@@ -105,7 +114,12 @@ const en = {
zipcode: 'Enter valid zip code',
date: 'Date is required',
weight: 'Weight is required',
notMatchEmails: 'Emails do not match'
notMatchEmails: 'Emails do not match',
driver: 'Select a driver',
destination: 'Enter destination',
map: 'Could not be loaded',
vehicle: 'Select a vehicle',
comment: 'Add comment',
},
messages: {
sendCode: 'We send you a code to the email, entered!',
@@ -277,7 +291,12 @@ const en = {
msgSave: 'Load saved!',
msgNotSave: '"Could not save upload, try later',
msgPost: 'Load posted!',
msgNotPost: 'Could not post load, please try later'
msgNotPost: 'Could not post load, please try later',
loadDetails: 'Load Details',
noInfo: '"No information available',
trackingLoad: 'Load tracking',
searchLoads: 'Search loads',
},
evidence: {
evidence: "Evidence",
@@ -301,10 +320,27 @@ const en = {
msgTitleCancel: 'Offer cancelled!',
msgCancel: 'The offer was successfully withdrawn.',
msgNotCancel: 'Could not withdraw offer, try later',
titleRetireModal: 'Withdraw offer',
textRetireModal: 'Are you sure to withdraw this offer?',
confirmRetire: 'Yes, Remove',
loadingRetired: 'Withdrawing offer',
msgTitleRetire: 'Offer withdrawn!',
title: 'My offers accepted',
retired: 'Retired',
withdraw: 'Withdraw',
modOffer: 'Modify offer',
makeOffer: 'Make offer',
msgOffertDone: 'Offer successfully completed',
msgOffertUpdate: 'Offer updated successfully',
selectVehicle: 'Select vehicle'
},
vehicles: {
title: 'Vehicles',
modalEdit: 'Edit vehicle',
addVehicle: 'Add vehicle',
search: 'Search vehicles',
infoVehicle: 'Vehicle information',
truckPlates: 'Truck Tract Plates',
@@ -317,7 +353,26 @@ const en = {
availableIn: 'Available in',
available: 'Available',
reserved: 'Reserved',
availableDate: 'Available date'
availableDate: 'Available date',
segments: 'Transportation segment',
titleDel: 'Delete vehicle',
textDel: 'Are you sure to delete this vehicle?',
loadingDel: 'Deleting vehicle',
msgTitleDel: 'Vehicle removed!',
msgDel: 'Your vehicle has been successfully deleted.',
msgNotDel: 'Your vehicle could not be deleted, try again later.',
changeDriver: 'Change driver',
assignedDriver: 'Assigned driver',
selectDriver: 'Select driver',
msgAssigedDriver: 'Driver assigned successfully!',
changeStatus: 'Change vehicle status',
statusVehicle: 'Vehicle status',
msgStatusUpdate: 'Vehicle status updated successfully!',
msgVehicleUpdate: '<strong>Vehicle updated successfully!</strong>',
msgVehicleCreated: '<strong>Vehicle added successfully!</strong>',
},
profile: {
profile: 'User data',
@@ -337,6 +392,10 @@ const en = {
searchByCarrier: 'Search by carrier',
empty: 'No records'
},
shippers: {
searchShipper: "Search by shipper",
empty: 'No uploads published'
},
calendar: {
title: 'Calendar',
helpText: 'Load status indicators'