<?php

return [
    'sessions' => '會話',
    'visitors' => '訪客',
    'pageviews' => '網頁瀏覽量',
    'bounce_rate' => '跳出率',
    'page_session' => '網頁/會話',
    'avg_duration' => '平均持續時間',
    'percent_new_session' => '新會話百分比',
    'new_users' => '新訪客',
    'visits' => '訪問',
    'views' => '瀏覽量',
    'start_date_can_not_before_end_date' => '開始日期 :start_date 不能晚於結束日期 :end_date',
    'not_set_up' => '小部件未設置',
    'settings' => [
        'title' => 'Google Analytics',
        'description' => '配置 Google Analytics 憑據',
        'analytics_property_id' => 'GA4 的資源 ID',
        'analytics_property_id_description' => 'Google Analytics 資源 ID (GA4)',
        'json_credential' => '服務帳戶憑據',
        'json_credential_description' => '服務帳戶憑據',
        'credential_is_not_valid' => 'Analytics 憑據無效。請參閱此處的文檔：:url',
        'property_id_is_invalid' => '資源 ID 無效。請檢查此鏈接：https://developers.google.com/analytics/devguides/reporting/data/v1/property-id',
        'wrong_configuration' => '要查看分析，您需要獲取 Google Analytics 客戶端 ID 並將其添加到您的設置中。<br />您還需要 JSON 憑據。<br />請參閱此處的文檔：:url',
        'google_analytics_information' => '要添加 Google Analytics 標籤 ID 以追蹤您的網站流量，請訪問 管理員 → 設置 → 網站追蹤。',
        'enable_dashboard_widgets' => '啟用儀表板小部件',

        'status' => '狀態和測試',
        'property_id_status' => '資源 ID',
        'credentials_status' => '憑據',
        'dashboard_widgets_status' => '儀表板小部件',
        'configured' => '已配置',
        'not_configured' => '未配置',
        'enabled' => '已啟用',
        'disabled' => '已禁用',

        'test_connection' => '測試連接',
        'testing' => '測試中...',
        'connection_success' => '連接成功！憑據有效。',
        'connection_failed' => '連接失敗',
        'credentials_or_property_missing' => '資源 ID 或憑據未配置。',
        'permission_denied' => '權限被拒絕。請確保服務帳戶有權訪問 Analytics 資源。',
        'authentication_failed' => '身份驗證失敗。請檢查您的服務帳戶憑據。',
        'property_not_found' => '未找到資源。請驗證您的資源 ID 是否正確。',
        'api_not_enabled' => 'Google Analytics Data API 未啟用。請在 Google Cloud Console 中啟用它。',

        'current_property_id' => '當前資源 ID',
        'service_account_email' => '服務帳戶電子郵件',

        'setup_instructions' => '設置說明',
        'setup_steps' => '按照以下步驟配置 Google Analytics',
        'step_1' => '前往 Google Cloud Console 並創建服務帳戶',
        'step_2' => '下載服務帳戶的 JSON 密鑰文件',
        'step_3' => '在您的項目中啟用 Google Analytics Data API',
        'step_4' => '前往 Google Analytics 並將服務帳戶電子郵件添加為查看者',
        'step_5' => '輸入您的 GA4 資源 ID 並在上方粘貼 JSON 憑據',

        'open_cloud_console' => 'Google Cloud Console',
        'open_analytics' => 'Google Analytics',
        'enable_analytics_api' => '啟用 Analytics API',
        'api_info' => 'Analytics Data API 用於儀表板小部件',
    ],
    'widget_analytics_page' => '最常訪問的網頁',
    'widget_analytics_browser' => '頂級瀏覽器',
    'widget_analytics_referrer' => '頂級推薦者',
    'widget_analytics_general' => '網站分析',
    'missing_library_warning' => 'Analytics 插件錯誤：缺少第三方庫。請運行 "composer update" 以安裝它們。',
    'browser' => '瀏覽器',
    'url' => '網址',
    'credential_invalid' => 'This credential is invalid Google Analytics credentials.',
    'file_not_valid_json' => 'This file is not a valid JSON file.',
    'no_results_found' => 'No results found',
    'upload_service_account_json' => 'Upload Service Account JSON File',
];
