export interface Locale {
    // 通用文案
    common: {
        mobile: string;
        requestOTP: string;
        verifyAndBind: string;
        reEnterMobile: string;
        processing: string;
        otpSentTo: string; // 需要替换 {mobile}
    };
    // 错误提示
    errors: {
        invalidMobile: string;
        otpRequestFailed: string;
        otpVerifyFailed: string;
        deviceInitFailed: string;
        nativeModuleNotAvailable: string;
    };
    // Mobikwik
    mobikwik: {
        title: string;
        mobilePlaceholder: string;
        otpPlaceholder: string; // 需要替换 {length}
        invalidOtp: string; // 需要替换 {length}
    };
    // Freecharge
    freecharge: {
        title: string;
        mobilePlaceholder: string;
        otpPlaceholder: string; // 需要替换 {length}
        invalidOtp: string; // 需要替换 {length}
    };
    // Paytm Personal
    paytmPersonal: {
        processing: string;
    };
    // GooglePay Business
    googlePayBusiness: {
        processing: string;
    };
    // Paytm Business
    paytmBusiness: {
        processing: string;
    };
    // PhonePe Business
    phonePeBusiness: {
        processing: string;
    };
}

export const defaultLocale: Locale = {
    common: {
        mobile: '手机号',
        requestOTP: '请求 OTP',
        verifyAndBind: '验证并绑定',
        reEnterMobile: '重新输入手机号',
        processing: '处理中...',
        otpSentTo: 'OTP 已发送到 {mobile}',
    },
    errors: {
        invalidMobile: '请输入有效手机号',
        otpRequestFailed: 'OTP 请求失败',
        otpVerifyFailed: 'OTP 验证失败',
        deviceInitFailed: '设备初始化中，请稍候',
        nativeModuleNotAvailable: 'Native module not available',
    },
    mobikwik: {
        title: 'Mobikwik 绑定',
        mobilePlaceholder: '手机号',
        otpPlaceholder: '输入 6 位 OTP',
        invalidOtp: '请输入 6 位 OTP',
    },
    freecharge: {
        title: 'Freecharge 绑定',
        mobilePlaceholder: '手机号',
        otpPlaceholder: '输入 4 位 OTP',
        invalidOtp: '请输入 4 位 OTP',
    },
    paytmPersonal: {
        processing: 'Processing Paytm Personal...',
    },
    googlePayBusiness: {
        processing: 'Processing...',
    },
    paytmBusiness: {
        processing: 'Processing...',
    },
    phonePeBusiness: {
        processing: 'Processing...',
    },
};
