translations users & directory

This commit is contained in:
Alexandro Uc Santos
2024-05-25 18:14:17 -06:00
parent 264a6c6dfc
commit 8f33177dad
14 changed files with 549 additions and 385 deletions

197
src/i18n/en.js Normal file
View File

@@ -0,0 +1,197 @@
const en = {
labels: {
email: 'Email',
password: 'Password',
password2: 'New password',
password3: 'Confirm Password',
code: 'Enter the code',
questionCompany: 'What is the name of the company?',
questionRfc: "What is the company's RFC?",
questionSegments: 'What segments does the company belong to?',
questionSates: "What are the company's loading locations by state?",
questionCities: "What are the company's loading locations by city?",
questionTrucks: "What type of transport does the company use?",
infoCompanies: 'Additional company information',
questionSignOut: 'Are you sure to sign out?',
selectSegment: 'Search by segment',
selectTruck: 'Search by type of transport',
selectState: 'Search by state',
selectCity: 'Search by city',
names: 'Name(s)',
lastnames: 'Last name',
phone: 'Phone',
phone1: 'Phone 1',
phone2: 'Phone 2',
typeCompany: 'Type of company',
codeId: 'Code',
dateMembership: 'Company member since',
segmentsCompany: 'Company segments',
locationLoadState: 'Load locations by state',
locationLoadCity: 'Load locations by city',
truckUsed: 'Transports used',
infoCompany: 'General company information',
registryNumber: "Registry number",
userRole: "User role",
userInfo: "Additional User Information",
memberSince: "Member since",
createUser: 'Create user',
editUser: 'Edit user',
selectedRol: 'Select Role',
manager: 'Manager',
staff: 'Staff',
driver: 'Driver',
filters: 'Filters',
location: 'Location',
both: 'Both',
load: 'Load',
download: 'Download',
select: 'Select',
additionalInformation: 'Additional information',
writeHere: 'Write here',
},
buttons: {
enter: "Enter here",
signup: "Sign up here",
continue: "Continue",
back: "Go back",
resendCode: "Resend code",
terms: 'Terms and Conditions',
noticePrivacity: 'Privacy notice',
save: 'save',
closeSesion: 'Sign out',
yes: 'Yes',
no: 'No',
close: 'Close',
addUser: "Add user",
edit: "Edit",
delete: "Delete",
cancel: "Cancel",
add: 'Add'
},
errors: {
requireds: "All fields required",
email: "Email is not valid",
weakPassword: "Weak password",
matchPassword: "Passwords do not match",
code: 'Enter valid code',
company: 'Enter valid company name',
rfc: 'Enter valid RFC',
segments: 'Select at least one segment',
states: 'Select at least one state',
cities: 'Select at least one city',
trucks: 'Select at least one type of transport',
name: 'Enter valid name(s)',
lastname: 'Enter valid last name(s)',
phone: 'Enter valid phone number',
generic: "Something went wrong, try again later",
msgTitleNotDel: 'Not removed!'
},
messages: {
sendCode: 'We send you a code to the email, entered!',
changePassword: 'Password has been changed successfully!',
register: "Successful registration, Complete your registration!",
registerCompleted: 'Registration completed successfully, Welcome',
updateCompany: "Updated company",
createdUser: 'User created successfully!',
updatedUser: 'User successfully updated!',
msgCreatedUser: 'When creating a new user, you inform the account beneficiary that they must use their email to set a password in the <span class="font-bold">Forgot my password</span> section so they can log in.',
loading: 'Please wait!'
},
global: {
signIn: "Sign In",
and: "and",
es: "Spanish",
en: "English",
shipper: 'Shipper',
carrier: 'Carrier',
brokerShipper: 'Broker (Shipper)',
brokerCarrier: 'Broker (Carrier)',
fisica: 'Persona fisica',
moral: 'Persona moral',
helpSelected: 'Press to select',
selected: 'Selected',
removeSelected: 'Press to remove selection',
emptyList: 'Empty list',
notFound: 'Oops! No matches found.',
infoUser: 'Personal information',
footer: 'ETA VIAPORTE ALL RIGHTS RESERVED',
company: 'Company',
users: 'Users',
directory: 'Internal directory',
publications: 'Publications',
calendar: 'Calendar',
carriers: 'Carriers',
shippers: 'Shippers',
vehicles: 'Vehicles',
loads: 'Loads',
acceptedOffers: 'Accepted offers',
calculator: 'Calculator',
cities: 'Cities',
states: 'States',
segments: 'Segments',
notification: "Notification"
},
login: {
title: 'Sign in',
recovery: 'Recover password',
register: 'Registration of new users',
completeRegister: 'Complete your registration',
questionTypeCompany: 'How do you want to register?',
questionFiscal: 'How do you work?',
companyData: 'Company data',
helptext: "The Password must be at least 8 characters, at least one uppercase letter, at least one lowercase letter, and one digit.",
helptextCode: "We send you a verification code to the email, enter it to confirm the password recovery. Don't forget to check the spam folder.",
greeting: 'Welcome! Enter your email and password',
notHaveAccount: "You do not have an account?",
forgotPassword: "Forgot your password?",
notice: 'By registering you accept our',
questionAccount: 'Do you already have an account?',
},
dashboard: {
title: 'Administrative Dashboard',
totalLoads: 'Total loads this month',
activeLoads: 'Active loads',
segmentsChart: 'Most used segments',
statesChart: 'Most used states',
citiesChart: 'Most used cities',
trucksChart: 'Most used type of transport'
},
company: {
title: 'My company',
edit: 'Edit company',
},
users: {
titleDel: 'User deletion!',
textDel: 'Are you sure to delete this user?',
loadingDel: 'Deleting user',
msgTitleDel: 'User deleted!',
msgTitleNotDel: '"Not deleted!',
msgDel: 'The user has been successfully deleted.',
msgNotDel: 'The user could not be deleted, try again later.'
},
directory: {
querySearch: 'Search by location name',
directory: 'Directory',
notLocations: 'No locations added',
editLocation: 'Edit location',
createLocation: 'Create Location',
name: 'Location name',
address: 'Address',
state: 'State of the location',
city: 'Municipality of the location',
typeDirectory: 'Type of directory',
zipCode: 'Zip Code',
typeTruck: 'Type of transport',
typeTruckNeed: 'Types of trucks needed',
additionalInfoLocation: 'Additional location information',
titleDel: 'Delete Location!',
textDel: 'Are you sure to delete this location?',
loadingDel: 'Deleting location',
msgTitleDel: 'Location deleted!',
msgDel: 'Your location has been successfully deleted.',
msgNotDel: 'Your location could not be deleted, try again later.'
}
};
export default en;