merge design protal and backoffice

This commit is contained in:
mengstabketemaw
2026-06-17 13:50:20 +03:00
parent 36234a2948
commit 85e070db33
25 changed files with 2618 additions and 847 deletions

View File

@@ -18,6 +18,9 @@ export const am: Translations = {
menu: 'ምናሌ',
dashboard: 'ዳሽቦርድ',
userManagement: 'የተጠቃሚ አስተዳደር',
profile: 'መገለጫ',
collapseSidebar: 'ሰብስብ',
expandSidebar: 'ዘርጋ',
},
common: {
@@ -31,6 +34,7 @@ export const am: Translations = {
administrator: 'አስተዳዳሪ',
collapse: 'ሰብስብ',
expand: 'ዘርጋ',
toggleTheme: 'የብርሃን / ጨለማ ሁነታን ይቀይሩ',
},
breadcrumbs: {
@@ -81,4 +85,77 @@ export const am: Translations = {
thisMonth: 'በዚህ ወር',
},
},
profile: {
title: 'የእኔ መገለጫ',
subtitle: 'የመለያ ዝርዝሮችዎን እና ምርጫዎችዎን ያስተዳድሩ።',
personal: 'የግል መረጃ',
contact: 'መገኛ',
preferences: 'ምርጫዎች',
security: 'ደህንነት',
securityHint: 'በሌላ ቦታ የማይጠቀሙትን ጠንካራ የይለፍ ቃል ይምረጡ።',
changePassword: 'የይለፍ ቃል ይቀይሩ',
updatePassword: 'የይለፍ ቃል አዘምን',
updateProfile: 'ለውጦችን አስቀምጥ',
savePreferences: 'ምርጫዎችን አስቀምጥ',
cancel: 'ሰርዝ',
verified: 'የተረጋገጠ',
unverified: 'ያልተረጋገጠ',
tabs: {
profile: 'መገለጫ',
security: 'ደህንነት',
preferences: 'ምርጫዎች',
},
personalHint: 'በኦፊሴላዊ ኢማ ሰነዶች ላይ እንደሚታየው ስምዎ።',
languageTitle: 'ቋንቋ',
languageHint: 'በአስተዳደር ፓነል ውስጥ የሚጠቀሙትን ቋንቋ ይምረጡ።',
appearance: {
title: 'መልክ',
subtitle: 'የአስተዳደር ፓነል በመሣሪያዎ ላይ እንዴት እንደሚታይ ይምረጡ።',
light: 'የቀን',
dark: 'ሌሊት',
system: 'ሲስተም',
},
twoStep: {
title: 'ባለሁለት ደረጃ ማረጋገጫ',
desc: 'በየጊዜው ሲገቡ ከስልክዎ የአንድ ጊዜ ኮድ ያስፈልጋል።',
},
notifications: {
title: 'የኢሜይል ማሳወቂያዎች',
desc: 'ስለ መለያ እንቅስቃሴዎ በኢሜይል ዝማኔዎችን ይቀበሉ።',
},
strength: {
label: 'የይለፍ ቃል ጥንካሬ',
weak: 'ደካማ',
fair: 'መካከለኛ',
good: 'ጥሩ',
strong: 'ጠንካራ',
},
profileUpdated: 'መገለጫ በተሳካ ሁኔታ ዘምኗል',
passwordChanged: 'የይለፍ ቃል በተሳካ ሁኔታ ተቀይሯል',
updateFailed: 'መገለጫውን ማዘመን አልተቻለም። እባክዎ እንደገና ይሞክሩ።',
passwordFailed: 'የይለፍ ቃሉን መቀየር አልተቻለም። የአሁኑን የይለፍ ቃል ያረጋግጡ እና እንደገና ይሞክሩ።',
fields: {
fullNameEn: 'ሙሉ ስም (እንግሊዝኛ)',
fullNameAm: 'ሙሉ ስም (አማርኛ)',
username: 'የተጠቃሚ ስም',
usernameHint: 'የተጠቃሚ ስም መቀየር አይቻልም',
organization: 'ድርጅት',
email: 'የኢሜይል አድራሻ',
phone: 'ስልክ ቁጥር',
address: 'አድራሻ',
language: 'የሚመረጥ ቋንቋ',
currentPassword: 'የአሁኑ የይለፍ ቃል',
newPassword: 'አዲስ የይለፍ ቃል',
confirmPassword: 'አዲስ የይለፍ ቃል ያረጋግጡ',
},
validation: {
nameRequired: 'ስም ያስፈልጋል',
emailInvalid: 'የሚሰራ ኢሜይል ያስገቡ',
usernameRequired: 'የተጠቃሚ ስም ያስፈልጋል',
phoneRequired: 'ስልክ ቁጥር ያስፈልጋል',
passwordMin: 'የይለፍ ቃል ቢያንስ 8 ቁምፊዎች መሆን አለበት',
passwordMismatch: 'የይለፍ ቃላት አይዛመዱም',
},
},
};

View File

@@ -16,6 +16,9 @@ export const en = {
menu: 'MENU',
dashboard: 'Dashboard',
userManagement: 'User Management',
profile: 'Profile',
collapseSidebar: 'Collapse',
expandSidebar: 'Expand sidebar',
},
common: {
@@ -29,6 +32,7 @@ export const en = {
administrator: 'Administrator',
collapse: 'Collapse',
expand: 'Expand',
toggleTheme: 'Toggle light / dark mode',
},
breadcrumbs: {
@@ -79,6 +83,80 @@ export const en = {
thisMonth: 'This Month',
},
},
profile: {
title: 'My Profile',
subtitle: 'Manage your account details and preferences.',
personal: 'Personal information',
contact: 'Contact',
preferences: 'Preferences',
security: 'Security',
securityHint: 'Choose a strong password you do not use anywhere else.',
changePassword: 'Change password',
updatePassword: 'Update password',
updateProfile: 'Save changes',
savePreferences: 'Save preferences',
cancel: 'Cancel',
verified: 'Verified',
unverified: 'Unverified',
tabs: {
profile: 'Profile',
security: 'Security',
preferences: 'Preferences',
},
personalHint: 'Your name as it appears on official EMA documents.',
languageTitle: 'Language',
languageHint: 'Choose the language used across the admin panel.',
appearance: {
title: 'Appearance',
subtitle: 'Select how the admin panel looks on your device.',
light: 'Light',
dark: 'Dark',
system: 'System',
},
twoStep: {
title: 'Two-step verification',
desc: 'Require a one-time code from your phone each time you sign in.',
},
notifications: {
title: 'Email notifications',
desc: 'Receive updates about your account activity by email.',
},
strength: {
label: 'Password strength',
weak: 'Weak',
fair: 'Fair',
good: 'Good',
strong: 'Strong',
},
profileUpdated: 'Profile updated successfully',
passwordChanged: 'Password changed successfully',
updateFailed: 'Could not update profile. Please try again.',
passwordFailed:
'Could not change password. Check your current password and try again.',
fields: {
fullNameEn: 'Full name (English)',
fullNameAm: 'Full name (Amharic)',
username: 'Username',
usernameHint: 'Username cannot be changed',
organization: 'Organization',
email: 'Email address',
phone: 'Phone number',
address: 'Address',
language: 'Preferred language',
currentPassword: 'Current password',
newPassword: 'New password',
confirmPassword: 'Confirm new password',
},
validation: {
nameRequired: 'Name is required',
emailInvalid: 'Enter a valid email',
usernameRequired: 'Username is required',
phoneRequired: 'Phone number is required',
passwordMin: 'Password must be at least 8 characters',
passwordMismatch: 'Passwords do not match',
},
},
};
export type Translations = typeof en;