import type {Locale} from './catalog';

const fa = {
  profile:'پروفایل', wallet:'کیف پول', notifications:'اعلان‌ها', close:'بستن',
  account:'حساب کاربری پلانک', accountDetails:'اطلاعات حساب و تنظیمات',
  email:'ایمیل', phone:'شماره موبایل', username:'نام کاربری', notAdded:'ثبت نشده',
  identity:'احراز هویت', security:'امنیت حساب', banks:'مدیریت حساب بانک و والت', soon:'به‌زودی',
  logout:'خروج از حساب', loggingOut:'در حال خروج…', logoutError:'خروج انجام نشد. دوباره تلاش کنید.',
  addresses:'آدرس‌های والت', assets:'دارایی‌ها', deposit:'واریز', withdraw:'برداشت',
  toman:'تومان', token:'توکن', transactions:'تاریخچه تراکنش‌ها', trades:'تاریخچه معاملات',
  loading:'در حال دریافت آدرس‌ها…', noWallets:'هنوز آدرس والتی ثبت نشده است',
  noWalletsBody:'آدرس‌های متصل به حساب شما در این بخش نمایش داده می‌شوند.',
  walletUnavailable:'سرویس آدرس والت هنوز فعال نشده است', walletUnavailableBody:'آدرس‌ها پس از اتصال سرویس آدرس والت در دسترس قرار می‌گیرند.',
  walletError:'دریافت آدرس‌ها ممکن نشد', walletErrorBody:'دوباره تلاش کنید یا کمی بعد برگردید.',
  sessionExpired:'برای مشاهده کیف پول دوباره وارد حساب شوید.', retry:'تلاش دوباره',
  copy:'کپی آدرس', copied:'کپی شد', copyError:'کپی نشد؛ آدرس را انتخاب و کپی کنید.',
  emptyNotifications:'اعلانی برای نمایش در دسترس نیست',
  notificationsBody:'پیام‌های مربوط به حساب و فعالیت‌های شما در این بخش نمایش داده می‌شوند.',
  messages:'پیام‌ها', showAll:'نمایش همه', unavailable:'این بخش هنوز فعال نیست.',
};
type Copy = {[K in keyof typeof fa]:string};
const en:Copy = {
  profile:'Profile', wallet:'Wallet', notifications:'Notifications', close:'Close',
  account:'Planck account', accountDetails:'Account details & settings', email:'Email', phone:'Mobile', username:'Username', notAdded:'Not added',
  identity:'Identity verification', security:'Account security', banks:'Bank & wallet management', soon:'Coming soon',
  logout:'Sign out', loggingOut:'Signing out…', logoutError:'Could not sign out. Please try again.',
  addresses:'Wallet addresses', assets:'Assets', deposit:'Deposit', withdraw:'Withdraw', toman:'Toman', token:'Token', transactions:'Transaction history', trades:'Trade history',
  loading:'Loading addresses…', noWallets:'No wallet added yet', noWalletsBody:'Wallet addresses linked to your account will appear here.',
  walletUnavailable:'Your wallet is not available yet', walletUnavailableBody:'Addresses will be available when your wallet is activated.',
  walletError:'Could not load addresses', walletErrorBody:'Try again or come back later.', sessionExpired:'Sign in again to view your wallet.', retry:'Try again',
  copy:'Copy address', copied:'Copied', copyError:'Could not copy. Select and copy the address.',
  emptyNotifications:'No notifications available', notificationsBody:'Messages about your account and activity will appear here.',
  messages:'Messages', showAll:'View all', unavailable:'This service is not available yet.',
};
const ar:Copy = {
  profile:'الملف الشخصي', wallet:'المحفظة', notifications:'الإشعارات', close:'إغلاق',
  account:'حساب بلانك', accountDetails:'معلومات الحساب والإعدادات', email:'البريد الإلكتروني', phone:'رقم الجوال', username:'اسم المستخدم', notAdded:'غير مسجل',
  identity:'التحقق من الهوية', security:'أمان الحساب', banks:'إدارة الحسابات المصرفية والمحافظ', soon:'قريباً',
  logout:'تسجيل الخروج', loggingOut:'جارٍ الخروج…', logoutError:'تعذر تسجيل الخروج. حاول مجدداً.',
  addresses:'عناوين المحفظة', assets:'الأصول', deposit:'إيداع', withdraw:'سحب', toman:'تومان', token:'رمز', transactions:'سجل التحويلات', trades:'سجل التداول',
  loading:'جارٍ تحميل العناوين…', noWallets:'لم تتم إضافة محفظة بعد', noWalletsBody:'ستظهر هنا عناوين المحافظ المرتبطة بحسابك.',
  walletUnavailable:'المحفظة غير مفعّلة بعد', walletUnavailableBody:'ستتوفر العناوين عند تفعيل المحفظة.',
  walletError:'تعذر تحميل العناوين', walletErrorBody:'حاول مجدداً أو عد لاحقاً.', sessionExpired:'سجّل الدخول مجدداً لعرض محفظتك.', retry:'حاول مجدداً',
  copy:'نسخ العنوان', copied:'تم النسخ', copyError:'تعذر النسخ. حدد العنوان وانسخه.',
  emptyNotifications:'لا توجد إشعارات متاحة', notificationsBody:'ستظهر هنا الرسائل المتعلقة بحسابك ونشاطك.',
  messages:'الرسائل', showAll:'عرض الكل', unavailable:'هذه الخدمة غير متاحة بعد.',
};
export function accountCopy(locale:Locale):Copy { return ({fa,en,ar})[locale] || fa; }
