// T2 Falcon — i18n strings (EN / AR)

const STRINGS = {
  en: {
    // Brand / marketing
    brand: 'T2 Solutions',
    brandSub: 'COMMUNICATION PLATFORM',
    heroEyebrow: 'Falcon Messaging Portal',
    heroTitle1: 'The New Future for ',
    heroTitleAccent: 'Messaging',
    heroTitle2: ' and Communication Services',
    heroBody: 'We offer a flexible solution that connects all communication channels to deliver smooth and personalized experiences.',
    feat1Title: 'Unified Channels',
    feat1Sub: 'SMS, WhatsApp, Email, Push — one inbox.',
    feat2Title: 'Enterprise Grade',
    feat2Sub: '99.99% uptime, SOC 2 compliant.',
    feat3Title: 'Real-time Insights',
    feat3Sub: 'Live dashboards & delivery analytics.',
    footerCopy: '© 2025 – T2 Solutions. All Rights Reserved',
    footerTerms: 'Terms',
    footerPrivacy: 'Privacy',
    footerHelp: 'Help',

    // Support
    needHelp: 'Need help?',
    contactSupport: 'Contact support',

    // Login
    loginEyebrow: 'Get Started',
    loginTitle: 'Welcome back',
    loginSubtitle: 'Enter your credentials to access the portal.',
    username: 'Username',
    password: 'Password',
    usernamePh: 'Enter your username',
    passwordPh: 'Enter your password',
    remember: 'Remember me',
    forgot: 'Forgot password?',
    loginBtn: 'Login',
    signingIn: 'Signing in…',

    // Forgot
    forgotEyebrow: 'Recover Access',
    forgotTitle: 'Forgot your password?',
    forgotSubtitle: 'Enter your username and registered mobile number. We’ll send you a verification code.',
    mobile: 'Mobile Number',
    mobilePh: '5X XXX XXXX',
    next: 'Next',
    backToLogin: 'Back to login',

    // OTP
    otpEyebrow: 'Two-Step Verification',
    otpTitle: 'Enter verification code',
    otpSubtitle: 'We sent a 6-digit code to your registered mobile ending in ••54.',
    otpSent: 'Code sent to +966 5X••••54',
    resendIn: 'Resend code in',
    resend: 'Resend code',
    verify: 'Verify',
    verifying: 'Verifying…',
    invalidOtp: 'Invalid OTP. Please check the code and try again.',

    // Success
    successTitle: 'Verification successful',
    successBody: 'Your identity has been verified. You can now reset your password.',
    continue: 'Continue',

    // Reset
    resetEyebrow: 'Secure Your Account',
    resetTitle: 'Create a new password',
    resetSubtitle: 'Choose a strong password you haven’t used before.',
    newPassword: 'New Password',
    confirmPassword: 'Confirm Password',
    passwordsMatch: 'Passwords match',
    passwordsMismatch: 'Password confirmation doesn’t match',
    resetBtn: 'Reset Password',
    changeBtn: 'Change Password',

    // Errors / statuses (exact wording from PDFs)
    errIncorrect: 'Incorrect username or password',
    errUsernameIncorrect: 'Username is incorrect',
    errRequired: 'Please fill required field',
    errIp: 'Login is not allowed from this IP address',
    errPending: 'You cannot perform this action. The user is in Pending status and must login first.',
    errLocked: 'This user has been Locked, you can not perform this action, please contact your manager.',
    errLockedAttempts: 'This user has been Locked, you can not login, please contact your manager.',
    errSuspended: 'This user has been suspended, you can not perform this action, please contact your manager.',
    errSuspendedAlt: 'This user has been suspended and not authorized to use the portal, please contact your manager.',
    errDeleted: 'This account has been deleted. Please contact your administrator.',
    attemptsWarning: 'Warning: {n} attempt(s) remaining before your account is locked.',
  },
  ar: {
    brand: 'تي تو سوليوشنز',
    brandSub: 'منصة الاتصالات',
    heroEyebrow: 'بوابة فالكون للرسائل',
    heroTitle1: 'المستقبل الجديد لخدمات ',
    heroTitleAccent: 'الرسائل',
    heroTitle2: ' والاتصالات',
    heroBody: 'نقدّم حلاً مرنًا يربط جميع قنوات الاتصال لتقديم تجارب سلسة وشخصية.',
    feat1Title: 'قنوات موحّدة',
    feat1Sub: 'SMS وواتساب وبريد وإشعارات في مكان واحد.',
    feat2Title: 'جودة المؤسسات',
    feat2Sub: 'توافر ٩٩٫٩٩٪ ومتوافق مع SOC 2.',
    feat3Title: 'تحليلات لحظية',
    feat3Sub: 'لوحات مباشرة وتحليلات التسليم.',
    footerCopy: '© 2025 – تي تو سوليوشنز. جميع الحقوق محفوظة',
    footerTerms: 'الشروط',
    footerPrivacy: 'الخصوصية',
    footerHelp: 'المساعدة',

    needHelp: 'تحتاج مساعدة؟',
    contactSupport: 'تواصل مع الدعم',

    loginEyebrow: 'ابدأ الآن',
    loginTitle: 'مرحبًا بعودتك',
    loginSubtitle: 'أدخل بيانات الاعتماد للوصول إلى البوابة.',
    username: 'اسم المستخدم',
    password: 'كلمة المرور',
    usernamePh: 'أدخل اسم المستخدم',
    passwordPh: 'أدخل كلمة المرور',
    remember: 'تذكّرني',
    forgot: 'نسيت كلمة المرور؟',
    loginBtn: 'تسجيل الدخول',
    signingIn: 'جارٍ تسجيل الدخول…',

    forgotEyebrow: 'استعادة الوصول',
    forgotTitle: 'نسيت كلمة المرور؟',
    forgotSubtitle: 'أدخل اسم المستخدم ورقم الجوال المسجّل لإرسال رمز التحقق.',
    mobile: 'رقم الجوال',
    mobilePh: '5X XXX XXXX',
    next: 'التالي',
    backToLogin: 'العودة لتسجيل الدخول',

    otpEyebrow: 'التحقق بخطوتين',
    otpTitle: 'أدخل رمز التحقق',
    otpSubtitle: 'أرسلنا رمزًا مكوّنًا من ٦ أرقام إلى جوالك المنتهي بـ ••٥٤.',
    otpSent: 'أُرسل الرمز إلى +٩٦٦ ٥X••••٥٤',
    resendIn: 'إعادة الإرسال خلال',
    resend: 'إعادة إرسال الرمز',
    verify: 'تحقق',
    verifying: 'جارٍ التحقق…',
    invalidOtp: 'رمز غير صحيح. يرجى التحقق والمحاولة مرة أخرى.',

    successTitle: 'تم التحقق بنجاح',
    successBody: 'تم التحقق من هويتك. يمكنك الآن إعادة تعيين كلمة المرور.',
    continue: 'متابعة',

    resetEyebrow: 'أمّن حسابك',
    resetTitle: 'أنشئ كلمة مرور جديدة',
    resetSubtitle: 'اختر كلمة مرور قوية لم تستخدمها من قبل.',
    newPassword: 'كلمة المرور الجديدة',
    confirmPassword: 'تأكيد كلمة المرور',
    passwordsMatch: 'كلمتا المرور متطابقتان',
    passwordsMismatch: 'تأكيد كلمة المرور غير مطابق',
    resetBtn: 'إعادة تعيين كلمة المرور',
    changeBtn: 'تغيير كلمة المرور',

    errIncorrect: 'اسم المستخدم أو كلمة المرور غير صحيحة',
    errUsernameIncorrect: 'اسم المستخدم غير صحيح',
    errRequired: 'يرجى تعبئة الحقل المطلوب',
    errIp: 'لا يُسمح بتسجيل الدخول من عنوان IP هذا',
    errPending: 'لا يمكنك تنفيذ هذا الإجراء. المستخدم في حالة "قيد الانتظار" ويجب تسجيل الدخول أولاً.',
    errLocked: 'تم قفل هذا المستخدم، لا يمكنك تنفيذ هذا الإجراء، يرجى التواصل مع مديرك.',
    errLockedAttempts: 'تم قفل هذا المستخدم، لا يمكنك تسجيل الدخول، يرجى التواصل مع مديرك.',
    errSuspended: 'تم إيقاف هذا المستخدم، لا يمكنك تنفيذ هذا الإجراء، يرجى التواصل مع مديرك.',
    errSuspendedAlt: 'تم إيقاف هذا المستخدم وغير مصرّح له باستخدام البوابة، يرجى التواصل مع مديرك.',
    errDeleted: 'تم حذف هذا الحساب. يرجى التواصل مع المسؤول.',
    attemptsWarning: 'تحذير: تبقّى {n} محاولة قبل قفل الحساب.',
  }
};

window.STRINGS = STRINGS;
