<?php

return [
    // 支付类型
    'payment_types' => [
        'wechat' => '微信支付',
        'alipay' => '支付宝',
        'unionpay' => '银联支付',
        'douyin' => '抖音支付',
        'jsbank' => '江苏银行',
        'alipay_global' => '支付宝国际版',
        'paypal' => 'PayPal',
        'stripe' => 'Stripe',
        'google_pay' => 'Google Pay',
        'apple_pay' => 'Apple Pay',
        'order_no' => '订单号',
        'gateway' => '支付方式',
        'gateway_trade_no' => '支付网关订单号',
    ],

    // 支付状态
    'payment_statuses' => [
        'pending' => '待支付',
        'success' => '支付成功',
        'failed' => '支付失败',
        'refunded' => '已退款',
        'closed' => '已关闭',
        'status' => '状态',
    ],

    // 支付操作
    'payment_actions' => [
        'pay' => '支付',
        'query' => '查询',
        'refund' => '退款',
        'close' => '关闭',
        'callback' => '回调',
    ],

    // 错误信息
    'errors' => [
        'payment_failed' => '支付失败',
        'refund_failed' => '退款失败',
        'close_failed' => '关闭订单失败',
        'query_failed' => '查询订单失败',
        'callback_failed' => '处理回调失败',
        'invalid_payment_type' => '不支持的支付类型',
        'invalid_payment_config' => '无效的支付配置',
        'invalid_order_no' => '无效的订单号',
        'payment_record_not_found' => '支付记录不存在',
        'callback_log_not_found' => '回调日志不存在',
        'order_not_found' => '订单不存在',
        'operation_failed' => '操作失败',
    ],

    // 成功信息
    'successes' => [
        'payment_success' => '支付成功',
        'refund_success' => '退款成功',
        'close_success' => '关闭订单成功',
        'query_success' => '查询订单成功',
        'callback_success' => '处理回调成功',
        'payment_record_created' => '支付记录创建成功',
        'callback_log_created' => '回调日志创建成功',
    ],

    // 提示信息
    'messages' => [
        'please_pay' => '请完成支付',
        'payment_expired' => '支付已过期',
        'payment_processing' => '支付处理中',
        'refund_processing' => '退款处理中',
        'close_confirm' => '确定要关闭此订单吗？',
        'refund_confirm' => '确定要退款吗？',
        'all' => '全部',
        'search' => '搜索',
        'reset' => '重置',
        'view' => '查看',
        'close' => '关闭',
        'loading' => '加载中',
        'actions' => '操作',
    ],

    // 统计信息
    'statistics' => [
        'total_count' => '总订单数',
        'success_count' => '成功订单数',
        'failed_count' => '失败订单数',
        'pending_count' => '待支付订单数',
        'refunded_count' => '退款订单数',
        'closed_count' => '关闭订单数',
        'total_amount' => '总金额',
        'success_amount' => '成功金额',
        'refunded_amount' => '退款金额',
        'success_rate' => '成功率',
        'refund_rate' => '退款率',
        'payment_trend' => '支付趋势',
        'refund_statistics' => '退款统计',
        'success_rate_ranking' => '成功率排名',
        'payment_records' => '支付记录',
        'callback_logs' => '回调日志',
        'dashboard' => '仪表盘',
        'date' => '日期',
        'amount' => '金额',
        'client_ip' => '客户端IP',
        'created_at' => '创建时间',
        'updated_at' => '更新时间',
        'method' => '请求方法',
        'url' => '请求URL',
        'ip' => 'IP地址',
        'headers' => '请求头',
        'body' => '请求体',
        'response' => '响应内容',
        'callback_detail' => '回调详情',
        'payment_by_status' => '按状态统计',
        'payment_by_method' => '按支付方式统计',
        'payment_by_date' => '按日期统计',
        'total_payments' => '总支付数',
    ],
];

