<?php

return [

    /*
    |--------------------------------------------------------------------------
    | Modules Navigation
    |--------------------------------------------------------------------------
    */
    'navigation' => [
        'group' => '扩展',
        'label' => '模块管理器',
    ],

    /*
    |--------------------------------------------------------------------------
    | Modules Table
    |--------------------------------------------------------------------------
    */
    'table' => [
        'module_name' => '模块名称',
        'version' => '版本',
        'status' => '状态',
        'module_path' => '模块路径',
    ],

    /*
    |--------------------------------------------------------------------------
    | Module Actions
    |--------------------------------------------------------------------------
    */
    'actions' => [
        'view' => '查看',
        'enable' => '启用',
        'disable' => '禁用',
        'install' => '安装',
        'uninstall' => '卸载',
        'refresh' => '刷新',
        'view_module' => '查看模块: :name',
    ],

    /*
    |--------------------------------------------------------------------------
    | Modules Notifications
    |--------------------------------------------------------------------------
    */
    'notifications' => [
        'module_enabled' => '模块":name"已成功启用。',
        'module_disabled' => '模块":name"已成功禁用。',
        'module_not_found' => '未找到模块。',
        'modules_installed' => '模块已安装',
        'modules_installed_body' => '以下模块已成功安装: :names',
        'modules_skipped' => '模块已跳过',
        'modules_skipped_body' => '以下模块已跳过: :names',
        'module_install_error' => '模块安装过程中发生错误。',
        'module_uninstalled' => '模块已卸载',
        'module_uninstalled_body' => '模块":name"已成功卸载。',
        'module_uninstall_error' => '卸载模块时发生错误。',
    ],

    /*
    |--------------------------------------------------------------------------
    | Module Filters
    |--------------------------------------------------------------------------
    */
    'filters' => [
        'status' => '状态',
        'name' => '模块名称',
        'name_placeholder' => '按模块名称搜索...',
    ],

    /*
    |--------------------------------------------------------------------------
    | Module Statuses
    |--------------------------------------------------------------------------
    */
    'status' => [
        'enabled' => '已启用',
        'disabled' => '已禁用',
        'cannot_be_disabled' => '此模块无法禁用。',
    ],

    /*
    |--------------------------------------------------------------------------
    | Module Form Fields
    |--------------------------------------------------------------------------
    */
    'form' => [
        'zip_file' => '模块ZIP文件',
    ],

    /*
    |--------------------------------------------------------------------------
    | Module Overview Stats
    |--------------------------------------------------------------------------
    */
    'overview' => [
        'available' => '可用模块',
        'available_description' => '已安装模块总数',
        'active' => '活动模块',
        'active_description' => '当前已启用',
        'disabled' => '禁用模块',
        'disabled_description' => '当前已禁用',
    ],

    /*
    |--------------------------------------------------------------------------
    | Module Validation
    |--------------------------------------------------------------------------
    */
    'validation' => [
        'name_required' => '模块名称是必需的',
        'alias_required' => '模块别名是必需的',
        'alias_alpha_dash' => '模块别名只能包含字母、数字、破折号和下划线',
        'path_required' => '模块路径是必需的',
        'version_regex' => '版本必须遵循语义版本格式（例如：1.0.0）',
    ],

];
