complete Complete User Request Submission section RAD-1

This commit is contained in:
2026-01-03 19:14:30 +03:30
commit 7137ec5792
393 changed files with 152602 additions and 0 deletions
+50
View File
@@ -0,0 +1,50 @@
import { createI18n } from 'vue-i18n'
import enAuth from './locales/en/auth.json'
import enDashboard from './locales/en/dashboard.json'
import enHome from './locales/en/home.json'
import enValidation from './locales/en/validation.json'
import enErrors from './locales/en/errors.json'
import enEnums from './locales/en/enums.json'
import enCommon from './locales/en/common.json'
import faAuth from './locales/fa/auth.json'
import faDashboard from './locales/fa/dashboard.json'
import faHome from './locales/fa/home.json'
import faValidation from './locales/fa/validation.json'
import faErrors from './locales/fa/errors.json'
import faEnums from './locales/fa/enums.json'
import faCommon from './locales/fa/common.json'
const en = {
auth: enAuth,
dashboard: enDashboard,
home: enHome,
validation: enValidation,
errors: enErrors,
enums: enEnums,
common: enCommon
}
const fa = {
auth: faAuth,
dashboard: faDashboard,
home: faHome,
validation: faValidation,
errors: faErrors,
enums: faEnums,
common: faCommon
}
const messages = {
en,
fa
}
const i18n = createI18n({
legacy: false,
locale: 'fa',
fallbackLocale: 'en',
messages,
})
export default i18n
@@ -0,0 +1,31 @@
{
"name": "Name",
"email": "Email",
"password": "Password",
"password_confirmation": "Confirm Password",
"login": {
"title": "Sign in to your account",
"subtitle": "Enter your credentials to access your account",
"remember_me": "Remember me",
"forgot_password": "Forgot your password?",
"sign_in": "Sign in",
"no_account": "Don't have an account?",
"sign_up": "Sign up"
},
"register": {
"title": "Create your account",
"subtitle": "Join us and start your journey",
"agree_terms": "I agree to the",
"terms_link": "Terms and Conditions",
"sign_up": "Sign up",
"already_have_account": "Already have an account?",
"sign_in": "Sign in"
},
"forgot_password": {
"title": "Reset your password",
"subtitle": "Enter your email address and we'll send you a link to reset your password",
"send_reset_link": "Send reset link",
"remember_password": "Remember your password?",
"back_to_login": "Back to login"
}
}
@@ -0,0 +1,54 @@
{
"actions": {
"save": "Save",
"cancel": "Cancel",
"delete": "Delete",
"edit": "Edit",
"create": "Create",
"update": "Update",
"submit": "Submit",
"reset": "Reset",
"back": "Back",
"next": "Next",
"previous": "Previous",
"close": "Close",
"open": "Open",
"search": "Search",
"filter": "Filter",
"sort": "Sort",
"export": "Export",
"import": "Import",
"download": "Download",
"upload": "Upload"
},
"status": {
"active": "Active",
"inactive": "Inactive",
"enabled": "Enabled",
"disabled": "Disabled",
"online": "Online",
"offline": "Offline",
"available": "Available",
"unavailable": "Unavailable"
},
"messages": {
"success": "Success",
"error": "Error",
"warning": "Warning",
"info": "Information",
"loading": "Loading...",
"no_data": "No data available",
"no_results": "No results found"
},
"time": {
"today": "Today",
"yesterday": "Yesterday",
"tomorrow": "Tomorrow",
"this_week": "This week",
"last_week": "Last week",
"this_month": "This month",
"last_month": "Last month",
"this_year": "This year",
"last_year": "Last year"
}
}
@@ -0,0 +1,31 @@
{
"doctor": {
"title": "Doctor Dashboard",
"subtitle": "Welcome back! Here's what's happening with your patients today.",
"total_patients": "Total Patients",
"today_appointments": "Today's Appointments",
"pending_reports": "Pending Reports",
"recent_activity": "Recent Activity",
"activity": {
"appointment_completed": "Appointment completed with",
"report_submitted": "Report submitted for"
}
},
"supervisor": {
"title": "Supervisor Dashboard",
"subtitle": "Overview of your medical facility and staff performance.",
"total_doctors": "Total Doctors",
"total_patients": "Total Patients",
"today_appointments": "Today's Appointments",
"pending_reports": "Pending Reports",
"appointments_chart": "Appointments Overview",
"doctor_performance": "Doctor Performance",
"satisfaction": "Satisfaction Rate",
"chart_placeholder": "Chart will be displayed here",
"recent_activity": "Recent Activity",
"activity": {
"new_doctor_joined": "New doctor joined:",
"monthly_report_generated": "Monthly report generated"
}
}
}
@@ -0,0 +1,36 @@
{
"user_roles": {
"admin": "Administrator",
"doctor": "Doctor",
"supervisor": "Supervisor",
"patient": "Patient"
},
"appointment_status": {
"scheduled": "Scheduled",
"confirmed": "Confirmed",
"completed": "Completed",
"cancelled": "Cancelled",
"no_show": "No Show"
},
"report_status": {
"draft": "Draft",
"pending": "Pending",
"approved": "Approved",
"rejected": "Rejected"
},
"gender": {
"male": "Male",
"female": "Female",
"other": "Other"
},
"blood_type": {
"a_positive": "A+",
"a_negative": "A-",
"b_positive": "B+",
"b_negative": "B-",
"ab_positive": "AB+",
"ab_negative": "AB-",
"o_positive": "O+",
"o_negative": "O-"
}
}
@@ -0,0 +1,23 @@
{
"general": {
"something_went_wrong": "Something went wrong",
"try_again": "Please try again",
"not_found": "Not found",
"unauthorized": "Unauthorized",
"forbidden": "Forbidden",
"server_error": "Server error"
},
"auth": {
"invalid_credentials": "Invalid email or password",
"account_locked": "Your account has been locked",
"email_not_verified": "Please verify your email address",
"password_reset_sent": "Password reset link has been sent to your email",
"password_reset_success": "Password has been reset successfully",
"logout_success": "You have been logged out successfully"
},
"form": {
"validation_failed": "Please check the form for errors",
"submission_failed": "Failed to submit form",
"network_error": "Network error, please check your connection"
}
}
@@ -0,0 +1,20 @@
{
"title": "Welcome to Radical Medical System",
"subtitle": "A comprehensive healthcare management platform for doctors and supervisors",
"get_started": "Get Started",
"sign_up": "Sign Up",
"for_doctors": {
"title": "For Doctors",
"description": "Manage your patients, appointments, and medical reports efficiently",
"cta": "Access Doctor Dashboard"
},
"for_supervisors": {
"title": "For Supervisors",
"description": "Monitor facility performance, staff management, and generate reports",
"cta": "Access Supervisor Dashboard"
},
"multi_language": {
"title": "Multi-language Support",
"description": "Available in English and Persian languages"
}
}
@@ -0,0 +1,21 @@
{
"required": "This field is required",
"email": "Please enter a valid email address",
"min": "This field must be at least {min} characters",
"max": "This field must not exceed {max} characters",
"confirmed": "The confirmation does not match",
"unique": "This value has already been taken",
"numeric": "This field must be a number",
"string": "This field must be a string",
"date": "This field must be a valid date",
"between": {
"numeric": "This field must be between {min} and {max}",
"string": "This field must be between {min} and {max} characters"
},
"password": {
"min": "Password must be at least {min} characters",
"mixed": "Password must contain at least one uppercase and one lowercase letter",
"numbers": "Password must contain at least one number",
"symbols": "Password must contain at least one symbol"
}
}
@@ -0,0 +1,38 @@
{
"name": "نام",
"email": "ایمیل",
"password": "رمز عبور",
"password_confirmation": "تکرار رمز عبور",
"phone": {
"title": "ورود و ثبت‌نام",
"subtitle": "جهت ادامه، شماره موبایل خود را وارد نمایید."
},
"ChoosePortal": {
"title": "انتخاب پورتال",
"subtitle": "جهت ورود با شماره %phone% پورتال مورد نظر را انتخاب نمایید."
},
"Password": {
"title": "ورود به پورتال %userType%",
"subtitle": "جهت ادامه، گذرواژه مربوط به پورتال خود را وارد نمایید."
},
"OtpVerification": {
"title": "فرایند بازیابی گذرواژه",
"subtitle": "جهت ادامه، کد ارسال شده به شماره موبایل خود را وارد نمایید."
},
"ResetPassword": {
"title": "تنظیم مجدد گذرواژه",
"subtitle": "گذرواژه جدید خود را با استفاده از حروف و اعداد وارد و تایید نمایید."
},
"RegisterSupervisor": {
"title": "ثبت‌نام به عنوان سرپرست",
"subtitle": "برای ثبت‌نام لطفا اطلاعات زیر رو با دقت وارد نمایید."
},
"RegisterVet": {
"title": "ثبت‌نام به عنوان دامپزشک",
"subtitle": "برای ثبت‌نام لطفا اطلاعات زیر رو با دقت وارد نمایید."
},
"ChooseRegisterType": {
"title": "ثبت نام",
"subtitle": "برای استفاده از سامانه می‌بایست ابتدا ثبت‌نام کنید. برای ادامه نوع حساب کاربری خود را مشخص نمایید."
}
}
@@ -0,0 +1,54 @@
{
"actions": {
"save": "ذخیره",
"cancel": "لغو",
"delete": "حذف",
"edit": "ویرایش",
"create": "ایجاد",
"update": "بروزرسانی",
"submit": "ارسال",
"reset": "بازنشانی",
"back": "بازگشت",
"next": "بعدی",
"previous": "قبلی",
"close": "بستن",
"open": "باز کردن",
"search": "جستجو",
"filter": "فیلتر",
"sort": "مرتب‌سازی",
"export": "خروجی",
"import": "ورودی",
"download": "دانلود",
"upload": "آپلود"
},
"status": {
"active": "فعال",
"inactive": "غیرفعال",
"enabled": "فعال",
"disabled": "غیرفعال",
"online": "آنلاین",
"offline": "آفلاین",
"available": "موجود",
"unavailable": "ناموجود"
},
"messages": {
"success": "موفقیت",
"error": "خطا",
"warning": "هشدار",
"info": "اطلاعات",
"loading": "در حال بارگذاری...",
"no_data": "داده‌ای موجود نیست",
"no_results": "نتیجه‌ای یافت نشد"
},
"time": {
"today": "امروز",
"yesterday": "دیروز",
"tomorrow": "فردا",
"this_week": "این هفته",
"last_week": "هفته گذشته",
"this_month": "این ماه",
"last_month": "ماه گذشته",
"this_year": "امسال",
"last_year": "سال گذشته"
}
}
@@ -0,0 +1,31 @@
{
"doctor": {
"title": "داشبورد پزشک",
"subtitle": "خوش آمدید! اینجا آنچه امروز برای بیماران شما اتفاق می‌افتد را مشاهده می‌کنید.",
"total_patients": "کل بیماران",
"today_appointments": "نوبت‌های امروز",
"pending_reports": "گزارشات در انتظار",
"recent_activity": "فعالیت‌های اخیر",
"activity": {
"appointment_completed": "نوبت با",
"report_submitted": "گزارش ارسال شده برای"
}
},
"supervisor": {
"title": "داشبورد سرپرست",
"subtitle": "نمای کلی از مرکز پزشکی و عملکرد کارکنان.",
"total_doctors": "کل پزشکان",
"total_patients": "کل بیماران",
"today_appointments": "نوبت‌های امروز",
"pending_reports": "گزارشات در انتظار",
"appointments_chart": "نمای کلی نوبت‌ها",
"doctor_performance": "عملکرد پزشکان",
"satisfaction": "نرخ رضایت",
"chart_placeholder": "نمودار اینجا نمایش داده خواهد شد",
"recent_activity": "فعالیت‌های اخیر",
"activity": {
"new_doctor_joined": "پزشک جدید پیوست:",
"monthly_report_generated": "گزارش ماهانه تولید شد"
}
}
}
@@ -0,0 +1,36 @@
{
"user_roles": {
"admin": "مدیر",
"doctor": "پزشک",
"supervisor": "سرپرست",
"patient": "بیمار"
},
"appointment_status": {
"scheduled": "برنامه‌ریزی شده",
"confirmed": "تأیید شده",
"completed": "تکمیل شده",
"cancelled": "لغو شده",
"no_show": "حضور نیافته"
},
"report_status": {
"draft": "پیش‌نویس",
"pending": "در انتظار",
"approved": "تأیید شده",
"rejected": "رد شده"
},
"gender": {
"male": "مرد",
"female": "زن",
"other": "سایر"
},
"blood_type": {
"a_positive": "A+",
"a_negative": "A-",
"b_positive": "B+",
"b_negative": "B-",
"ab_positive": "AB+",
"ab_negative": "AB-",
"o_positive": "O+",
"o_negative": "O-"
}
}
@@ -0,0 +1,23 @@
{
"general": {
"something_went_wrong": "مشکلی پیش آمد",
"try_again": "لطفاً دوباره تلاش کنید",
"not_found": "یافت نشد",
"unauthorized": "غیرمجاز",
"forbidden": "ممنوع",
"server_error": "خطای سرور"
},
"auth": {
"invalid_credentials": "ایمیل یا رمز عبور نامعتبر",
"account_locked": "حساب کاربری شما قفل شده است",
"email_not_verified": "لطفاً آدرس ایمیل خود را تأیید کنید",
"password_reset_sent": "لینک بازنشانی رمز عبور به ایمیل شما ارسال شد",
"password_reset_success": "رمز عبور با موفقیت بازنشانی شد",
"logout_success": "شما با موفقیت خارج شدید"
},
"form": {
"validation_failed": "لطفاً فرم را برای خطاها بررسی کنید",
"submission_failed": "ارسال فرم ناموفق بود",
"network_error": "خطای شبکه، لطفاً اتصال خود را بررسی کنید"
}
}
@@ -0,0 +1,20 @@
{
"title": "به سیستم پزشکی رادیکال خوش آمدید",
"subtitle": "پلتفرم جامع مدیریت مراقبت‌های بهداشتی برای پزشکان و سرپرستان",
"get_started": "شروع کنید",
"sign_up": "ثبت نام",
"for_doctors": {
"title": "برای پزشکان",
"description": "بیماران، نوبت‌ها و گزارشات پزشکی خود را به طور کارآمد مدیریت کنید",
"cta": "دسترسی به داشبورد پزشک"
},
"for_supervisors": {
"title": "برای سرپرستان",
"description": "نظارت بر عملکرد مرکز، مدیریت کارکنان و تولید گزارشات",
"cta": "دسترسی به داشبورد سرپرست"
},
"multi_language": {
"title": "پشتیبانی چند زبانه",
"description": "در دسترس به زبان‌های انگلیسی و فارسی"
}
}
@@ -0,0 +1,21 @@
{
"required": "این فیلد الزامی است",
"email": "لطفاً یک آدرس ایمیل معتبر وارد کنید",
"min": "این فیلد باید حداقل {min} کاراکتر باشد",
"max": "این فیلد نباید بیش از {max} کاراکتر باشد",
"confirmed": "تکرار مطابقت ندارد",
"unique": "این مقدار قبلاً استفاده شده است",
"numeric": "این فیلد باید عدد باشد",
"string": "این فیلد باید متن باشد",
"date": "این فیلد باید تاریخ معتبر باشد",
"between": {
"numeric": "این فیلد باید بین {min} و {max} باشد",
"string": "این فیلد باید بین {min} و {max} کاراکتر باشد"
},
"password": {
"min": "رمز عبور باید حداقل {min} کاراکتر باشد",
"mixed": "رمز عبور باید حداقل یک حرف بزرگ و یک حرف کوچک داشته باشد",
"numbers": "رمز عبور باید حداقل یک عدد داشته باشد",
"symbols": "رمز عبور باید حداقل یک نماد داشته باشد"
}
}