admin/texts/status.ts
alisaza 82593dc18c refactor(events): update event management components and remove unused files
- Replaced `LIST_PUBLIC_CATEGORIES` with `LIST_ADMIN_CATEGORIES_FLAT` in `ArticleFormModal.tsx`.
- Removed the "Add Event" button from the dashboard page.
- Simplified the `EventsPage` by removing the button and adjusting the layout.
- Cleaned up the `AdminEventEditPage` by removing unnecessary props.
- Deleted unused layout and page files related to event creation.
- Updated `AdminAuthContent` to use `useAdminCitiesQuery` instead of `useDiscoveryCitiesQuery`.
- Refactored `EventGuestListAccessPanel` to remove the `accessMode` prop and adjust API calls accordingly.
- Removed several unused components and tests related to event creation, enhancing project maintainability.
2026-09-07 18:09:55 +03:30

113 lines
2.2 KiB
TypeScript

const pending = 'در انتظار'
const rejected = 'رد‌شده'
const cancelled = 'لغو‌شده'
const processing = 'در حال پردازش'
const failed = 'ناموفق'
const completed = 'تکمیل‌شده'
const pendingReview = 'در انتظار بررسی'
const published = 'منتشر‌شده'
const draft = 'پیش‌نویس'
const deleted = 'حذف‌شده'
const verified = 'تأیید‌شده'
const active = 'فعال'
const inactive = 'غیرفعال'
const approved = 'تأییدشده'
const user = 'کاربر'
const admin = 'مدیر'
export const status = {
empty: '—',
yes: 'بله',
no: 'خیر',
active,
inactive,
featured: 'ویژه',
scheduled: 'زمان‌بندی‌شده',
published,
draft,
pending,
userRole: {
user,
admin,
},
userType: {
guest: 'مهمان',
host: 'میزبان',
admin: 'ادمین',
},
userAccount: {
active,
pending,
suspended: 'معلق',
deleted,
},
identity: {
none: 'بدون احراز',
pending,
verified,
rejected,
},
review: {
published,
hidden: 'مخفی‌شده',
deleted,
},
report: {
pending: pendingReview,
reviewed: 'بررسی‌شده',
dismissed: rejected,
},
event: {
draft,
pending_review: pendingReview,
published,
full: 'تکمیل ظرفیت',
rejected,
cancelled,
completed: 'پایان‌یافته',
},
booking: {
pending_payment: 'در انتظار پرداخت',
confirmed: verified,
cancelled,
expired: 'منقضی‌شده',
refunded: 'بازپرداخت‌شده',
no_show: 'عدم حضور',
},
payment: {
pending,
processing,
succeeded: 'موفق',
failed,
cancelled,
},
withdrawal: {
pending,
processing,
completed,
rejected,
},
paymentMethod: {
gateway: 'درگاه',
wallet: 'کیف‌پول',
mixed: 'ترکیبی',
},
settlement: {
pending,
processing,
completed,
failed,
},
bankAccount: {
pending_review: pendingReview,
approved,
rejected,
},
sms: {
pending,
sent: 'ارسال‌شده',
delivered: 'تحویل داده‌شده',
failed,
},
} as const