admin frontend elkezdése, járművek tisztázása, frontend fejleszts

This commit is contained in:
Roo
2026-06-15 18:52:38 +00:00
parent ef8df9608c
commit 213ba3b0f1
80 changed files with 11615 additions and 2304 deletions

View File

@@ -33,6 +33,10 @@ export default {
close: 'Close',
noCompanies: 'No companies yet',
newCompany: ' New Company',
joinCompany: '🔗 Join Company',
createCompany: ' Create Company',
actions: 'Actions',
garageSelector: 'Garage Selector',
myCompany: '🏢 My Company',
myCompanies: '🏢 My Companies',
personalGarage: '👤 Personal Garage',
@@ -50,6 +54,8 @@ export default {
regionSettings: 'Region Settings',
regionDescription: 'Date, time & currency format',
dashboard: 'Dashboard',
menu: 'Menu',
adminCenter: '🔐 Admin Center',
},
dashboard: {
loading: 'Loading...',
@@ -126,6 +132,20 @@ export default {
registerFailed: 'Registration failed.',
resendFailed: 'Resend failed. Please try again later.',
forgotFailed: 'An error occurred while sending the request. Please try again.',
// Account Restore (30-day)
restoreLink: 'Restore deleted account',
restoreTitle: 'Restore Deleted Account',
restoreStep1: 'Enter your email address to request a restoration code.',
restoreStep2: 'Enter the received code and your new password.',
restoreEmailLabel: 'Email Address',
restoreSendCode: 'Send Restoration Code',
restoreOtpLabel: 'Restoration Code (6 digits)',
restoreNewPassword: 'New Password',
restoreVerifyButton: 'Restore Account',
restoreSuccess: 'Your account has been successfully restored! Auto-logging in...',
restoreError: 'Restoration failed. Please try again.',
restoreNotFound: 'No deleted account found with this email address.',
restoreCodeSent: 'The restoration code has been sent to your email!',
},
profile: {
title: 'Profile Settings',
@@ -205,6 +225,18 @@ export default {
currencyHUF: 'HUF (Ft)',
currencyEUR: 'EUR (€)',
currencyUSD: 'USD ($)',
// Delete Account
deleteAccount: 'Delete Account',
deleteAccountConfirm: 'Are you sure you want to delete your account?',
deleteAccountWarning: 'Are you sure you want to delete your account? This action is permanent and cannot be undone.',
deleteAccountReason: 'Why do you want to delete your account? (optional)',
deleteAccountButton: 'Yes, delete my account',
deleteAccountCancel: 'Cancel',
deleteSuccess: 'Your account has been successfully deleted. Redirecting...',
deleteError: 'An error occurred while deleting your account.',
// Last Admin Warning
lastAdminWarningTitle: '⚠️ Last Admin Warning',
lastAdminWarning: 'Warning! You are the last active administrator of your company. Deleting your account will put company data and fleet into passive (orphan) state!',
// Back
backToGarage: 'Back to Garage',
// Diagnostic
@@ -283,6 +315,23 @@ export default {
quickActionsTitle: 'Quick Actions',
quickNewWaybill: 'New Waybill',
quickReportIssue: 'Report Issue',
// Organization Settings
companyDataTitle: 'Company Data',
companyDataMenu: 'Company Data',
close: 'Close',
settingsTitle: 'Company Settings',
settingsDescription: 'Edit company details',
settingsModalTitle: 'Edit Company Details',
settingsName: 'Company Name (short)',
settingsFullName: 'Full Company Name',
settingsTaxNumber: 'Tax Number',
settingsDisplayName: 'Display Name',
settingsAddressZip: 'ZIP Code',
settingsAddressCity: 'City',
settingsAddressStreet: 'Street',
settingsAddressHouseNumber: 'House Number',
settingsSaveSuccess: 'Company details updated successfully!',
settingsSaveError: 'Error saving company details.',
// CompanyOnboardingView
onboardingTitle: 'Company Registration — 3 simple steps',
stepLegal: 'Company Data',
@@ -341,6 +390,25 @@ export default {
submitError: 'Company creation failed. Please try again.',
// Success
successMessage: 'Company created successfully! Redirecting to garage...',
// Smart Company Claiming / Joining
activeExistsPanel: 'This company is already registered in the system.',
joinRequestButton: 'Send Join Request',
joinRequestSent: 'Your join request has been sent to the company administrator!',
orphanedPanel: 'This company was previously registered but is currently inactive. You can claim it.',
claimRequestButton: 'Request Company Claim',
claimCodeSent: 'The claim code has been sent to the company\'s official email!',
claimVerifyTitle: 'Verify Claim',
claimOtpLabel: 'Claim Code (6 digits)',
claimVerifyButton: 'Confirm Claim',
claimSuccess: 'Company successfully assigned to your account!',
claimError: 'Claim failed. Please try again.',
manualFallbackTitle: '📄 Manual Claim (Upload Documents)',
manualFallbackDescription: 'If none of the above options work, upload documents (e.g., court ruling, signature specimen) for manual admin approval.',
uploadDocumentLabel: 'Upload Document',
uploadDocumentButton: 'Choose File',
manualSubmitButton: 'Submit Claim',
manualSubmitSuccess: 'Your request has been submitted for admin approval!',
domainMismatch: 'Your email domain does not match the company\'s domain. Please use the manual claim option.',
},
organization: {
backToPrivate: '⬅️ Back to Private Garage',
@@ -353,4 +421,139 @@ export default {
hrsz: 'Parcel No.: {value}',
placeholder: '—',
},
admin: {
services: {
title: 'Services',
subtitle: 'Manage service catalog entries, credit costs, and availability',
create_button: 'Create New Service',
refresh: 'Refresh',
loading: 'Loading services...',
empty: 'No services found',
empty_hint: 'Create your first service to get started.',
badge_inactive: 'Inactive',
credit_cost_label: 'Credit Cost',
credit_unit: 'credits',
edit_button: 'Edit',
deactivate_button: 'Deactivate',
activate_button: 'Activate',
// Modal
modal_edit_title: 'Edit Service',
modal_create_title: 'Create New Service',
field_code: 'Service Code',
field_code_placeholder: 'e.g. SRV_DATA_EXPORT',
field_name: 'Service Name',
field_name_placeholder: 'e.g. Data Export',
field_description: 'Description',
field_description_placeholder: 'Describe what this service does...',
field_credit_cost: 'Credit Cost',
cancel: 'Cancel',
saving: 'Saving...',
save_changes: 'Save Changes',
create: 'Create Service',
},
packages: {
title: 'Subscription Packages',
subtitle: 'Manage subscription tiers, pricing, and entitlements',
create_button: 'Create New Package',
show_hidden: 'Show inactive packages',
refresh: 'Refresh',
loading: 'Loading packages...',
empty: 'No packages found',
empty_hint: 'Create your first subscription package to get started.',
badge_inactive: 'Inactive',
badge_custom: 'Custom',
type_private: 'Private',
type_corporate: 'Corporate',
monthly: 'Monthly',
yearly: 'Yearly',
max_vehicles_label: 'Max Vehicles',
max_garages_label: 'Max Garages',
free_credits_label: 'Free Credits / mo',
edit_button: 'Edit',
delete_button: 'Deactivate',
// Modal
modal_edit_title: 'Edit Package',
modal_create_title: 'Create New Package',
field_name: 'Package Name',
field_name_placeholder: 'e.g. private_pro_v2',
field_type: 'Package Type',
field_monthly_price: 'Monthly Price',
field_yearly_price: 'Yearly Price',
field_currency: 'Currency',
field_max_vehicles: 'Max Vehicles',
field_max_garages: 'Max Garages',
field_free_credits: 'Free Credits / Month',
field_commission_rate: 'Commission Rate (%)',
field_referral_bonus: 'Referral Bonus (credits)',
field_credit_price: 'Price (Credits)',
field_is_public: 'Active / Inactive',
field_available_until: 'Expiry Date',
active: 'Active',
inactive: 'Inactive',
date_from_label: 'Date From',
date_until_label: 'Date Until',
field_entitlements: 'Services (Entitlements)',
entitlement_placeholder: 'Select a service to add...',
cancel: 'Cancel',
saving: 'Saving...',
save_changes: 'Save Changes',
create: 'Create Package',
},
users: {
// Search & Filters
search_category_all: 'All',
search_category_email: 'E-mail',
search_category_name: 'Name',
search_category_phone: 'Phone',
search_category_id: 'ID',
search_category_address: 'Address',
search_placeholder: 'Search...',
search_button: 'Search',
clear_search: 'Clear search',
filter_all_roles: 'All Roles',
filter_all_status: 'All Status',
status_active: 'Active',
status_inactive: 'Inactive',
status_deleted: 'Deleted',
refresh: 'Refresh',
// Bulk actions
n_selected: '{count} user(s) selected',
bulk_ban: 'Ban',
bulk_unban: 'Unban',
bulk_soft_delete: 'Soft Delete',
bulk_restore: 'Restore',
bulk_hard_delete: 'Hard Delete',
clear_selection: 'Clear Selection',
loading: 'Loading...',
// Table columns
col_email: 'E-mail',
col_name: 'Name',
col_phone: 'Phone',
col_address: 'Address',
col_role: 'Role',
col_status: 'Status',
col_subscription: 'Subscription',
col_region: 'Region',
col_created: 'Created',
col_actions: 'Actions',
// Individual actions (kebab menu)
actions: 'Actions',
action_edit: 'Edit',
action_password_reset: 'Password Reset E-mail',
action_ban: 'Ban',
action_unban: 'Unban',
action_soft_delete: 'Soft Delete',
action_restore: 'Restore',
action_hard_delete: 'Hard Delete',
// Empty states
empty_search: 'No users match your search',
empty_search_hint: 'Try a different search category or term.',
empty_no_users: 'No users in the database yet.',
// Pagination
showing_of: 'Showing {showing} of {total} users',
pagination_prev: 'Previous',
pagination_next: 'Next',
pagination_page: 'Page {current} of {total}',
},
},
}