frontend 2026-06-10 bontva a 2 felület

This commit is contained in:
Roo
2026-06-10 08:06:07 +00:00
parent b84b1bab41
commit 90e3173fbc
59 changed files with 8616 additions and 1412 deletions

View File

@@ -1,4 +1,20 @@
export default {
landing: {
openGarage: 'Open Garage',
heroTitle: 'Digital Fleet',
heroTitleAccent: 'Management',
heroSubtitle: 'Real-time cost tracking, automatic notifications and gamified point system all in one place.',
cardStats: 'Statistics',
cardStatsLabel: 'Managed Vehicles',
cardStatsValue: '1,245+',
cardGamification: 'Gamification',
cardGamificationLabel: 'Monthly Score',
cardCosts: 'Costs',
cardCostsFuel: 'Fuel',
cardCostsService: 'Service',
cardCostsTotal: 'Total',
cardCostsUnit: 'HUF',
},
menu: {
features: 'Features',
garage: 'Vehicles',
@@ -14,6 +30,26 @@ export default {
logout: 'Logout',
subtitle: 'Your dashboard and vehicle overview',
switchLanguage: 'Switch language',
close: 'Close',
noCompanies: 'No companies yet',
newCompany: ' New Company',
myCompany: '🏢 My Company',
myCompanies: '🏢 My Companies',
personalGarage: '👤 Personal Garage',
privateGarage: '👤 Private Garage',
company: '🏢 Company',
companyGarage: 'My Company Garage',
companyGarageLabel: '{name}_garage',
companyGarageFallback: 'Company_garage',
personalGarageLabel: '{name}_garage',
personalGarageFallback: 'User_garage',
companyPrefix: 'Company',
user: 'User',
welcomeCard: 'Welcome, {name}!',
language: 'Language',
regionSettings: 'Region Settings',
regionDescription: 'Date, time & currency format',
dashboard: 'Dashboard',
},
dashboard: {
loading: 'Loading...',
@@ -22,6 +58,27 @@ export default {
statusUnknown: 'Unknown',
condition: 'Condition',
mileage: 'km',
subtitle: 'Your dashboard and vehicle overview',
guest: 'Guest',
// Bento Box layout
myVehicles: 'My Vehicles',
vehicles: 'vehicles',
noVehicles: 'No vehicles yet. Add your first one!',
activeProcesses: 'Active Processes / Notifications',
noNotifications: 'All clear — no notifications',
totalVehicles: 'Total Vehicles',
addVehicle: '+ Add Vehicle',
refresh: 'Refresh',
statsAndPoints: 'Statistics & Points',
live: 'LIVE',
monthlyScore: 'Monthly Score',
totalKm: 'Total Distance',
fuelCost: 'Fuel Cost',
serviceCost: 'Service Cost',
co2Savings: 'CO₂ Savings',
achievements: 'Achievements',
detailedView: 'Detailed View',
modalPlaceholder: 'Content for this section will be available soon.',
},
zen: {
hide: 'Hide UI (Zen mode)',
@@ -70,4 +127,230 @@ export default {
resendFailed: 'Resend failed. Please try again later.',
forgotFailed: 'An error occurred while sending the request. Please try again.',
},
profile: {
title: 'Profile Settings',
loading: 'Loading profile data...',
completion: 'Profile Completion',
accountInfo: 'Account Info',
email: 'Email',
phone: 'Phone Number',
edit: 'Edit',
cancel: 'Cancel',
save: 'Save',
changePassword: 'Change Password',
// Tabs
tabPersonal: 'Personal & Address',
tabDocs: 'Documents & Emergency',
// Personal data
personalData: 'Personal Data (KYC)',
lastName: 'Last Name',
firstName: 'First Name',
birthPlace: 'Place of Birth',
birthDate: 'Date of Birth',
mothersLastName: 'Mother\'s Last Name',
mothersFirstName: 'Mother\'s First Name',
// Address
addressTitle: 'Address Data',
zipCode: 'ZIP Code',
city: 'City',
street: 'Street',
streetType: 'Street Type',
houseNumber: 'House Number',
stairwell: 'Stairwell',
floor: 'Floor',
door: 'Door',
parcelId: 'Parcel ID',
hrsz: 'Parcel No.',
selectPlaceholder: 'Select...',
// Identity docs
identityDocs: 'Documents (Identity Docs)',
idCard: 'ID Card (ID_CARD)',
drivingLicense: 'Driving License (LICENSE)',
docNumber: 'Number',
docExpiry: 'Expiry',
categories: 'Categories',
number: 'Number:',
expiry: 'Expiry:',
categoriesLabel: 'Categories:',
// ICE contact
iceTitle: 'Emergency Contact (ICE)',
iceName: 'Name',
iceRelation: 'Relation',
icePhone: 'Phone Number',
iceEmail: 'Email Address',
iceNameLabel: 'Name:',
iceRelationLabel: 'Relation:',
icePhoneLabel: 'Phone:',
iceEmailLabel: 'Email:',
// Password modal
passwordTitle: 'Change Password',
currentPassword: 'Current Password',
newPassword: 'New Password',
confirmPassword: 'Confirm New Password',
passwordRequired: 'All fields are required.',
passwordMismatch: 'The new password and confirmation do not match.',
passwordMinLength: 'The new password must be at least 6 characters long.',
passwordChanged: 'Password successfully changed!',
passwordChangeFailed: 'Password change failed.',
// Save messages
saveSuccess: 'Profile data and documents updated successfully!',
saveError: 'An error occurred while saving.',
// Regional settings tab
tabRegional: 'Regional Settings',
regionalLanguage: 'Language',
regionalDateFormat: 'Date Format',
regionalCurrency: 'Currency',
dateFormatHU: 'YYYY. MM. DD.',
dateFormatISO: 'YYYY-MM-DD',
currencyHUF: 'HUF (Ft)',
currencyEUR: 'EUR (€)',
currencyUSD: 'USD ($)',
// Back
backToGarage: 'Back to Garage',
// Diagnostic
xray: '🩻 X-RAY: person (address_* fields)',
},
kyc: {
title: 'Garage Activation — Complete Your Account',
stepAddress: 'Address',
stepExtras: 'Extras',
// Step 1
addressTitle: '📍 Address Data',
addressDescription: 'ZIP code and city are required to activate your account.',
softKyc: '(Soft KYC)',
country: 'Country',
zipCode: 'ZIP Code',
city: 'City',
optionalAddress: '📝 Additional Address Details (optional)',
streetName: 'Street Name',
streetType: 'Type',
houseNumber: 'House Number',
// Step 2
extrasTitle: '🔧 Additional Data',
extrasDescription: 'You can provide these details later in your profile.',
extrasOptional: '(All optional)',
phoneNumber: '📞 Phone Number',
documentsTitle: '🪪 Document Details (optional)',
idCard: 'ID Card',
drivingLicense: 'Driving License',
docNumber: 'Document Number',
docExpiry: 'Expiry',
language: '🌐 Language',
currency: '💰 Currency',
// Navigation
back: 'Back',
next: 'Next',
submitting: 'Processing...',
submit: 'Activate Garage 🚀',
skip: 'Skip, I\'ll fill it in later in my profile →',
// Validation
zipRequired: 'Please enter the ZIP code.',
cityRequired: 'Please enter the city.',
addressRequired: 'Address is required to activate your garage.',
// Errors
submitError: 'Garage activation failed. Please try again.',
},
verifyEmail: {
verifying: 'Activating account...',
verifyingDesc: 'Please wait while we verify the confirmation link.',
success: 'Successful activation and login!',
successDesc: 'Your account is now active and you are automatically logged in.',
redirectCountdown: 'Redirecting in {seconds} seconds...',
redirectNow: 'Redirecting...',
goToProfile: 'Go to Profile',
checkEmail: '📧 Check your email inbox',
checkEmailDesc: 'We have sent you a confirmation email. Please <strong>check your inbox and spam folder</strong>.<br><br>If the email <strong>does not arrive within 10 minutes</strong>, you can request a new one by clicking the button below.',
emailLabel: 'Email Address',
emailPlaceholder: 'example@email.com',
resendButton: 'I didn\'t receive the email, resend it',
resending: 'Sending...',
resendSuccess: 'The new confirmation email has been sent!',
resendFailed: 'Resend failed. Please try again later.',
backToLogin: '← Back to Login',
tokenExpired: 'The link has expired or is invalid.',
},
company: {
// CompanyGarageView
garageTitle: 'Company Garage',
user: 'User',
// Dashboard cards
fleetTitle: 'Fleet Overview',
fleetVehicles: 'Managed vehicles: {count}',
fleetActive: 'Active',
fleetInactive: 'Inactive',
gamificationTitle: 'Gamification',
gamificationScore: 'Monthly Score: {score}',
quickActionsTitle: 'Quick Actions',
quickNewWaybill: 'New Waybill',
quickReportIssue: 'Report Issue',
// CompanyOnboardingView
onboardingTitle: 'Company Registration — 3 simple steps',
stepLegal: 'Company Data',
stepAddress: 'Address',
stepContact: 'Contact',
// Step 1
legalTitle: '⚖️ Legal Data',
legalDescription: 'Enter your company\'s tax number, then click <strong>Load Company Data</strong> for automatic filling.',
taxNumber: 'Tax Number',
taxLookup: 'Load Company Data',
taxLookupTitle: 'Load company data by tax number',
fullName: 'Full Company Name',
shortName: 'Short Name',
displayName: 'Display Name',
regNumber: 'Registration Number',
// Step 2
addressTitle: '📍 Address & Finance',
addressDescription: 'Company headquarters address and default financial settings.',
country: 'Country',
language: 'Language',
currency: 'Currency',
zipCode: 'ZIP Code',
city: 'City',
streetName: 'Street Name',
streetType: 'Type',
houseNumber: 'House Number',
stairwell: 'Stairwell',
floor: 'Floor',
door: 'Door',
parcelId: 'Parcel ID',
// Step 3
contactTitle: '📞 Contact',
contactDescription: 'Primary contact details (the logged-in user) cannot be modified.',
contactName: 'Contact Name',
contactEmail: 'Email Address',
contactPhone: 'Phone Number',
// Navigation
cancel: 'Cancel',
back: 'Back',
next: 'Next',
submitting: 'Creating...',
submit: 'Create Company 🚀',
// Validation
taxRequired: 'Please enter the tax number.',
fullNameRequired: 'Please enter the full company name.',
shortNameRequired: 'Please enter the short name.',
displayNameRequired: 'Please enter the display name.',
regNumberRequired: 'Please enter the registration number.',
zipRequired: 'Please enter the ZIP code.',
cityRequired: 'Please enter the city.',
emailRequired: 'Please enter the primary email address.',
phoneRequired: 'Please enter the primary phone number.',
// Errors
lookupError: 'Failed to load company data. Please check the tax number.',
duplicateCompany: 'This company is already registered in the system.',
submitError: 'Company creation failed. Please try again.',
// Success
successMessage: 'Company created successfully! Redirecting to garage...',
},
organization: {
backToPrivate: '⬅️ Back to Private Garage',
fallbackName: 'Company Garage',
},
address: {
stairwell: 'Stairwell: {value}',
floor: 'Floor: {value}',
door: 'Door: {value}',
hrsz: 'Parcel No.: {value}',
placeholder: '—',
},
}