# msgid "" msgstr "" "Project-Id-Version: Abdal Security Headers 5.6.0\n" "Report-Msgid-Bugs-To: Prof.Shafiei@Gmail.com\n" "POT-Creation-Date: 2026-08-29 10:30+0330\n" "PO-Revision-Date: 2026-08-29 10:30+0330\n" "Last-Translator: Ebrahim Shafiei (EbraSha) \n" "Language-Team: Chinese (Simplified)\n" "Language: zh_CN\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Cursor\n" "X-Poedit-Basepath: ..\n" "X-Poedit-SourceCharset: UTF-8\n" "X-Poedit-WPHeader: abdal-security-headers.php\n" #: includes/class-ash-admin.php msgid "Are you sure you want to save these settings?" msgstr "确定要保存这些设置吗?" #: includes/class-ash-admin.php msgid "Reset unsaved changes and restore the last saved values?" msgstr "放弃未保存的更改并恢复上次保存的值?" #: includes/class-ash-admin.php msgid "Yes" msgstr "是" #: includes/class-ash-admin.php msgid "No" msgstr "否" #: includes/class-ash-admin.php msgid "Settings saved successfully" msgstr "设置已保存" #: includes/class-ash-admin.php msgid "OK" msgstr "确定" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Cancel" msgstr "取消" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgctxt "csp editor confirm" msgid "OK" msgstr "确定" #. translators: %s: CSP directive name such as script-src #: includes/class-ash-admin.php #, php-format msgid "Edit %s" msgstr "编辑 %s" #: includes/class-ash-admin.php msgid "Error" msgstr "错误" #: includes/class-ash-admin.php msgid "An error occurred while saving the settings. Please try again." msgstr "保存设置时出错,请重试。" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Copied" msgstr "已复制" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Copy CSP header" msgstr "复制 CSP 标头" #: includes/class-ash-admin.php msgid "Unable to copy the CSP header." msgstr "无法复制 CSP 标头。" #: includes/class-ash-admin.php msgid "Content-Security-Policy header is enabled but no directives are set." msgstr "已启用 Content-Security-Policy 标头,但尚未设置任何指令。" #: includes/class-ash-admin.php msgid "Content Security Policy is disabled. Enable it to send this header." msgstr "Content Security Policy 已关闭。启用后才会发送该标头。" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgctxt "security status" msgid "Good" msgstr "良好" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgctxt "security status" msgid "Fair" msgstr "一般" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgctxt "security status" msgid "Needs attention" msgstr "需要关注" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Most security controls are enabled." msgstr "大多数安全控制已启用。" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Some recommended security controls are still disabled." msgstr "部分推荐的安全控制仍未启用。" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Enable more security headers and hardening options." msgstr "请启用更多安全标头和加固选项。" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgctxt "CSP status" msgid "Enabled" msgstr "已启用" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgctxt "CSP status" msgid "Disabled" msgstr "已关闭" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Content Security Policy is being sent with responses." msgstr "正在随响应发送 Content Security Policy。" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Content Security Policy is currently turned off." msgstr "Content Security Policy 当前已关闭。" #. translators: 1: number of enabled headers, 2: total headers #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "%1$d of %2$d security headers are enabled" msgstr "已启用 %2$d 个安全标头中的 %1$d 个" #. translators: 1: number of enabled features, 2: total features #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "%1$d of %2$d additional features are enabled" msgstr "已启用 %2$d 项附加功能中的 %1$d 项" #. Plugin Name of the plugin/theme #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Abdal Security Headers" msgstr "Abdal Security Headers" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Security Headers" msgstr "安全标头" #: includes/class-ash-admin.php msgid "Basic Security Headers" msgstr "基本安全标头" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Configure basic security headers for your website." msgstr "为网站配置基本安全标头。" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Additional Security Features" msgstr "附加安全功能" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "" "Enable additional security features to enhance your website protection." msgstr "启用附加功能以加强网站防护。" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Content Security Policy" msgstr "Content Security Policy" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Enable Content Security Policy" msgstr "启用 Content Security Policy" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Configure Content Security Policy (CSP) directives" msgstr "配置 Content Security Policy (CSP) 指令" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "CSP Header Preview" msgstr "CSP 标头预览" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "X-XSS-Protection" msgstr "X-XSS-Protection" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "X-Content-Type-Options" msgstr "X-Content-Type-Options" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Strict-Transport-Security" msgstr "Strict-Transport-Security" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Permissions-Policy" msgstr "Permissions-Policy" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "X-Frame-Options" msgstr "X-Frame-Options" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Referrer-Policy" msgstr "Referrer-Policy" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Remove X-Powered-By Header" msgstr "移除 X-Powered-By 标头" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Hide WordPress Version" msgstr "隐藏 WordPress 版本" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Remove Login Error Messages" msgstr "移除登录错误详情" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Disable XML-RPC" msgstr "禁用 XML-RPC" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Remove X-Pingback Header" msgstr "移除 X-Pingback 标头" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Restrict REST API Access" msgstr "限制 REST API 访问" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Default Source" msgstr "默认来源" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Script Source" msgstr "脚本来源" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Style Source" msgstr "样式来源" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Image Source" msgstr "图片来源" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Connect Source" msgstr "连接来源" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Font Source" msgstr "字体来源" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Object Source" msgstr "对象来源" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Media Source" msgstr "媒体来源" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Frame Source" msgstr "框架来源" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Worker Source" msgstr "Worker 来源" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Form Action" msgstr "表单操作" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Base URI" msgstr "Base URI" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Sandbox" msgstr "Sandbox" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Report URI" msgstr "Report URI" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Report To" msgstr "Report To" #. translators: %s: plugin version number #: includes/class-ash-admin-ui.php msgid "Version %s" msgstr "版本 %s" #: includes/class-ash-admin-ui.php msgctxt "plugin status badge" msgid "Active" msgstr "已启用" #: includes/class-ash-admin-ui.php msgid "" "Configure HTTP security headers, hardening options, and Content Security " "Policy from one dashboard." msgstr "在同一控制台中配置 HTTP 安全标头、加固选项和 Content Security Policy。" #: includes/class-ash-admin-ui.php msgid "Help" msgstr "帮助" #: includes/class-ash-admin-ui.php msgid "Documentation" msgstr "文档" #: includes/class-ash-admin-ui.php msgid "Report an issue" msgstr "报告问题" #: includes/class-ash-admin-ui.php msgid "Contact support" msgstr "联系支持" #: includes/class-ash-admin-ui.php msgid "Security overview" msgstr "安全概览" #: includes/class-ash-admin-ui.php msgid "Security status" msgstr "安全状态" #: includes/class-ash-admin-ui.php msgid "Active headers" msgstr "已启用标头" #: includes/class-ash-admin-ui.php msgid "Additional features" msgstr "附加功能" #: includes/class-ash-admin-ui.php msgid "CSP status" msgstr "CSP 状态" #: includes/class-ash-admin-ui.php msgid "Enable the core HTTP security headers for the site." msgstr "为网站启用核心 HTTP 安全标头。" #: includes/class-ash-admin-ui.php msgid "" "Harden WordPress by reducing information disclosure and attack surface." msgstr "通过减少信息泄露和攻击面来加固 WordPress。" #: includes/class-ash-admin-ui.php msgid "CSP Directives" msgstr "CSP 指令" #: includes/class-ash-admin-ui.php msgid "General settings" msgstr "常规设置" #: includes/class-ash-admin-ui.php msgid "" "When enabled, the generated Content-Security-Policy header is sent with HTTP" " responses." msgstr "启用后,生成的 Content-Security-Policy 标头会随 HTTP 响应发送。" #: includes/class-ash-admin-ui.php msgid "Your changes are not saved automatically." msgstr "更改不会自动保存。" #: includes/class-ash-admin-ui.php msgid "Reset" msgstr "重置" #: includes/class-ash-admin-ui.php msgid "Save Changes" msgstr "保存更改" #: includes/class-ash-admin-ui.php msgid "Enables the legacy browser XSS filter for older clients." msgstr "为旧客户端启用传统 XSS 过滤器。" #: includes/class-ash-admin-ui.php msgid "" "Prevents browsers from MIME-sniffing a response away from the declared " "content type." msgstr "阻止浏览器对已声明的内容类型进行 MIME 嗅探。" #: includes/class-ash-admin-ui.php msgid "Forces browsers to use HTTPS for future requests to this host." msgstr "强制浏览器之后向该主机发起请求时使用 HTTPS。" #: includes/class-ash-admin-ui.php msgid "" "Restricts access to powerful browser features such as camera and " "geolocation." msgstr "限制对摄像头、地理位置等强大浏览器功能的访问。" #: includes/class-ash-admin-ui.php msgid "" "Controls whether the site can be embedded in frames to reduce clickjacking " "risk." msgstr "控制站点是否可被嵌入框架,以降低点击劫持风险。" #: includes/class-ash-admin-ui.php msgid "" "Limits referrer information sent with navigations and resource requests." msgstr "限制在导航和资源请求中发送的 Referrer 信息。" #: includes/class-ash-admin-ui.php msgid "Hides server technology details exposed by the X-Powered-By header." msgstr "隐藏 X-Powered-By 标头暴露的服务器技术信息。" #: includes/class-ash-admin-ui.php msgid "" "Removes the public WordPress version from markup, feeds, scripts, and " "styles." msgstr "从标记、Feed、脚本和样式中移除公开的 WordPress 版本。" #: includes/class-ash-admin-ui.php msgid "" "Replaces detailed login errors with a generic message to reduce user " "enumeration." msgstr "用通用提示替换详细登录错误,以降低用户枚举风险。" #: includes/class-ash-admin-ui.php msgid "Disables XML-RPC methods and blocks direct access to xmlrpc.php." msgstr "禁用 XML-RPC 方法并阻止直接访问 xmlrpc.php。" #: includes/class-ash-admin-ui.php msgid "Removes the X-Pingback response header from WordPress output." msgstr "从 WordPress 输出中移除 X-Pingback 响应标头。" #: includes/class-ash-admin-ui.php msgid "" "Blocks REST API access and removes REST discovery links from the front end." msgstr "阻止 REST API 访问,并从前端移除 REST 发现链接。" #: includes/class-ash-admin-ui.php msgid "Default fallback for other resource types" msgstr "其他资源类型的默认回退" #: includes/class-ash-admin-ui.php msgid "Valid sources for JavaScript files" msgstr "JavaScript 文件的允许来源" #: includes/class-ash-admin-ui.php msgid "Valid sources for CSS files" msgstr "CSS 文件的允许来源" #: includes/class-ash-admin-ui.php msgid "Valid sources for images" msgstr "图片的允许来源" #: includes/class-ash-admin-ui.php msgid "Valid sources for AJAX, WebSocket, or EventSource connections" msgstr "AJAX、WebSocket 或 EventSource 连接的允许来源" #: includes/class-ash-admin-ui.php msgid "Valid sources for fonts" msgstr "字体的允许来源" #: includes/class-ash-admin-ui.php msgid "Valid sources for plugins" msgstr "插件的允许来源" #: includes/class-ash-admin-ui.php msgid "Valid sources for audio and video elements" msgstr "音频和视频元素的允许来源" #: includes/class-ash-admin-ui.php msgid "Valid sources for iframes" msgstr "iframe 的允许来源" #: includes/class-ash-admin-ui.php msgid "Valid sources for web workers" msgstr "Web Worker 的允许来源" #: includes/class-ash-admin-ui.php msgid "Valid targets for form submissions" msgstr "表单提交的允许目标" #: includes/class-ash-admin-ui.php msgid "Valid values for the base element" msgstr "base 元素的允许值" #: includes/class-ash-admin-ui.php msgid "Enables sandbox for the requested resource" msgstr "为所请求的资源启用 sandbox" #: includes/class-ash-admin-ui.php msgid "URI to send violation reports to" msgstr "用于发送违规报告的 URI" #: includes/class-ash-admin-ui.php msgid "Group name for violation reports" msgstr "违规报告的组名" #: includes/class-ash-headers.php msgid "Invalid login credentials." msgstr "登录凭据无效。" #: includes/class-ash-headers.php msgid "REST API is disabled." msgstr "REST API 已禁用。" #. Plugin URI of the plugin/theme msgid "https://github.com/ebrasha/abdal-security-headers" msgstr "https://github.com/ebrasha/abdal-security-headers" #. Description of the plugin/theme msgid "" "WordPress Security Headers Manager plugin, featuring full security headers " "control, advanced security features, and Content Security Policy (CSP)." msgstr "用于管理安全标头的 WordPress 插件,提供完整标头控制、高级防护和 Content Security Policy (CSP)。" #. Author of the plugin/theme msgid "Ebrahim Shafiei (EbraSha)" msgstr "Ebrahim Shafiei (EbraSha)" #. Author URI of the plugin/theme msgid "https://github.com/ebrasha" msgstr "https://github.com/ebrasha" #: includes/class-ash-csp-assistant.php msgid "Unable to ignore this source." msgstr "无法忽略该来源。" #: includes/class-ash-csp-assistant.php msgid "Source not found." msgstr "未找到该来源。" #: includes/class-ash-csp-assistant.php msgid "No eligible sources were selected." msgstr "未选择可应用的来源。" #: includes/class-ash-csp-assistant.php msgid "Dangerous CSP values require explicit confirmation." msgstr "危险的 CSP 值需要明确确认。" #: includes/class-ash-csp-assistant.php msgid "Selected sources were merged into your current CSP directives." msgstr "所选来源已合并到当前 CSP 指令中。" #: includes/class-ash-csp-assistant.php msgid "You are not allowed to manage these settings." msgstr "您无权管理这些设置。" #: includes/class-ash-csp-static-detector.php msgid "Plugin script enqueue" msgstr "插件脚本入队" #: includes/class-ash-csp-static-detector.php msgid "WordPress REST API" msgstr "WordPress REST API" #: includes/class-ash-csp-static-detector.php msgid "WordPress AJAX" msgstr "WordPress AJAX" #: includes/class-ash-csp-static-detector.php msgid "WordPress site URL" msgstr "WordPress 站点 URL" #: includes/class-ash-csp-static-detector.php msgid "WordPress core" msgstr "WordPress 核心" #: includes/class-ash-csp-assistant.php msgid "Smart CSP Assistant" msgstr "智能 CSP 助手" #: includes/class-ash-csp-assistant.php msgid "" "Automatically discover the resources used by your site and generate CSP " "recommendations." msgstr "自动发现站点使用的资源并生成 CSP 建议。" #: includes/class-ash-csp-assistant.php msgid "Hybrid Detection" msgstr "混合检测" #: includes/class-ash-csp-assistant.php msgid "Current Status" msgstr "当前状态" #: includes/class-ash-csp-assistant.php msgid "Not scanned" msgstr "未扫描" #: includes/class-ash-csp-assistant.php msgid "Learning" msgstr "学习中" #: includes/class-ash-csp-assistant.php msgid "Analysis complete" msgstr "分析完成" #: includes/class-ash-csp-assistant.php msgid "Monitoring" msgstr "监控中" #: includes/class-ash-csp-assistant.php msgid "Start Smart Scan" msgstr "开始智能扫描" #: includes/class-ash-csp-assistant.php msgid "Learning Mode Active" msgstr "学习模式已开启" #: includes/class-ash-csp-assistant.php msgid "Stop Learning" msgstr "停止学习" #: includes/class-ash-csp-assistant.php msgid "Learning duration" msgstr "学习时长" #: includes/class-ash-csp-assistant.php msgid "15 Minutes" msgstr "15 分钟" #: includes/class-ash-csp-assistant.php msgid "1 Hour" msgstr "1 小时" #: includes/class-ash-csp-assistant.php msgid "6 Hours" msgstr "6 小时" #: includes/class-ash-csp-assistant.php msgid "24 Hours" msgstr "24 小时" #: includes/class-ash-csp-assistant.php msgid "Manual" msgstr "手动" #: includes/class-ash-csp-assistant.php msgid "sources observed" msgstr "个来源已观察" #: includes/class-ash-csp-assistant.php msgid "Keep watching for new sources after learning completes." msgstr "学习结束后继续监视新来源。" #: includes/class-ash-csp-assistant.php msgid "Watch for new sources" msgstr "监视新来源" #: includes/class-ash-csp-assistant.php msgid "Deep file scan" msgstr "深度文件扫描" #: includes/class-ash-csp-assistant.php msgid "" "Also scan plugin and theme files on disk for CSP origins that are not loaded" " yet. Learning duration switches to Manual so a timer cannot stop this scan." msgstr "还会扫描磁盘上的插件和主题文件,找出尚未加载的 CSP 来源。学习时长会切到手动,以免计时器中断此次扫描。" #: includes/class-ash-csp-assistant.php msgid "Counting plugin and theme files…" msgstr "正在统计插件和主题文件…" #. translators: 1: files processed, 2: total files #: includes/class-ash-csp-assistant.php #, php-format msgid "Scanning files: %1$d of %2$d" msgstr "正在扫描文件:%1$d / %2$d" #. translators: %d: number of sources found on disk #: includes/class-ash-csp-assistant.php #, php-format msgid "%d sources found on disk" msgstr "在磁盘上找到 %d 个来源" #: includes/class-ash-csp-assistant.php msgid "File scan complete" msgstr "文件扫描完成" #: includes/class-ash-csp-assistant.php msgid "File scan cancelled" msgstr "文件扫描已取消" #: includes/class-ash-csp-assistant.php msgid "Cancel file scan" msgstr "取消文件扫描" #: includes/class-ash-csp-assistant.php msgid "File scan failed. Please try again." msgstr "文件扫描失败。请重试。" #: includes/class-ash-csp-assistant.php msgid "No plugin or theme files were found to scan." msgstr "未找到可扫描的插件或主题文件。" #: includes/class-ash-csp-assistant.php msgid "Learning duration is locked to Manual while Deep file scan is on." msgstr "开启深度文件扫描时,学习时长会锁定为手动。" #: includes/class-ash-csp-assistant.php msgid "Deep file scan is turned off." msgstr "深度文件扫描已关闭。" #: includes/class-ash-csp-assistant.php msgid "Excluded paths" msgstr "排除路径" #: includes/class-ash-csp-assistant.php msgid "" "Folder or file names skipped during Deep file scan. Use a name such as " "node_modules or a relative path such as vendor/cache." msgstr "深度文件扫描时跳过的文件夹或文件名。可使用 node_modules 这样的名称,或 vendor/cache 这样的相对路径。" #: includes/class-ash-csp-assistant.php msgid "Restore defaults" msgstr "恢复默认值" #: includes/class-ash-csp-assistant.php msgid "No exclusions. Every plugin and theme file will be scanned." msgstr "没有排除项。将扫描所有插件和主题文件。" #: includes/class-ash-csp-assistant.php msgid "Folder or path to skip" msgstr "要跳过的文件夹或路径" #: includes/class-ash-csp-assistant.php msgid "That path is already in the list." msgstr "该路径已在列表中。" #: includes/class-ash-csp-assistant.php msgid "Enter a folder name or relative path. Do not use .." msgstr "请输入文件夹名或相对路径。不要使用 .." #: includes/class-ash-csp-assistant.php msgid "Remove excluded path" msgstr "移除排除路径" #: includes/class-ash-csp-assistant.php msgid "Excluded paths cannot be changed while a file scan is running." msgstr "文件扫描进行中时无法更改排除路径。" #: includes/class-ash-csp-assistant.php msgid "Scan selected items" msgstr "仅扫描所选项目" #: includes/class-ash-csp-assistant.php msgid "" "When this is on, Deep file scan only covers the plugins and themes you turn " "on below. Leave it off to scan all installed items." msgstr "开启后,深度文件扫描只覆盖你在下方打开的插件和主题。保持关闭则可扫描所有已安装项目。" #: includes/class-ash-csp-assistant.php msgid "Plugins and themes" msgstr "插件和主题" #: includes/class-ash-csp-assistant.php msgid "" "Turn on a plugin or theme to include its files in the disk scan. All " "switches start off." msgstr "打开某个插件或主题,才会把它的文件纳入磁盘扫描。所有开关默认关闭。" #: includes/class-ash-csp-assistant.php msgid "Plugins" msgstr "插件" #: includes/class-ash-csp-assistant.php msgid "Themes" msgstr "主题" #: includes/class-ash-csp-assistant.php msgid "" "Turn on at least one plugin or theme. With none selected, Deep file scan " "skips the disk pass." msgstr "请至少打开一个插件或主题。若未选择任何项,深度文件扫描会跳过磁盘阶段。" #: includes/class-ash-csp-assistant.php msgid "The scan scope cannot be changed while a file scan is running." msgstr "文件扫描进行中时无法更改扫描范围。" #: includes/class-ash-csp-assistant.php msgid "Disk" msgstr "磁盘" #: includes/class-ash-csp-assistant.php msgid "New CSP Source Detected" msgstr "检测到新的 CSP 来源" #: includes/class-ash-csp-assistant.php msgid "Review Suggestions" msgstr "查看建议" #: includes/class-ash-csp-assistant.php msgid "Apply Selected Sources" msgstr "应用所选来源" #: includes/class-ash-csp-assistant.php msgid "Clear Learning Data" msgstr "清除学习数据" #: includes/class-ash-csp-assistant.php msgid "Source" msgstr "来源" #: includes/class-ash-csp-assistant.php msgid "Directive" msgstr "指令" #: includes/class-ash-csp-assistant.php msgid "Detection Method" msgstr "检测方法" #: includes/class-ash-csp-assistant.php msgid "Detected On" msgstr "检测页面" #: includes/class-ash-csp-assistant.php msgid "Confidence" msgstr "可信度" #: includes/class-ash-csp-assistant.php msgid "Status" msgstr "状态" #: includes/class-ash-csp-assistant.php msgid "Action" msgstr "操作" #: includes/class-ash-csp-assistant.php msgid "Add" msgstr "添加" #: includes/class-ash-csp-assistant.php msgid "Ignore" msgstr "忽略" #: includes/class-ash-csp-assistant.php msgid "Details" msgstr "详情" #: includes/class-ash-csp-assistant.php msgid "No sources detected yet. Start a Smart Scan to begin discovery." msgstr "尚未检测到来源。请开始智能扫描。" #: includes/class-ash-csp-assistant.php msgid "Select all sources" msgstr "选择全部来源" #: includes/class-ash-csp-assistant.php msgid "Static" msgstr "静态" #: includes/class-ash-csp-assistant.php msgid "Report-Only" msgstr "Report-Only" #: includes/class-ash-csp-assistant.php msgid "Runtime" msgstr "运行时" #: includes/class-ash-csp-assistant.php msgid "Trusted" msgstr "可信" #: includes/class-ash-csp-assistant.php msgid "Likely Safe" msgstr "可能安全" #: includes/class-ash-csp-assistant.php msgid "Unknown" msgstr "未知" #: includes/class-ash-csp-assistant.php msgid "Potentially Risky" msgstr "可能有风险" #: includes/class-ash-csp-assistant.php msgid "New" msgstr "新建" #: includes/class-ash-csp-assistant.php msgid "Ignored" msgstr "已忽略" #: includes/class-ash-csp-assistant.php msgid "Applied" msgstr "已应用" #: includes/class-ash-csp-assistant.php msgid "Added" msgstr "已添加" #: includes/class-ash-csp-assistant.php msgid "Warning" msgstr "警告" #: includes/class-ash-csp-assistant.php msgid "Origin" msgstr "来源" #: includes/class-ash-csp-assistant.php msgid "Resource Type" msgstr "资源类型" #: includes/class-ash-csp-assistant.php msgid "Detection Methods" msgstr "检测方法" #: includes/class-ash-csp-assistant.php msgid "First Seen" msgstr "首次发现" #: includes/class-ash-csp-assistant.php msgid "Last Seen" msgstr "最近发现" #: includes/class-ash-csp-assistant.php msgid "Detection Count" msgstr "检测次数" #: includes/class-ash-csp-assistant.php msgid "Pages Detected" msgstr "检测到的页面" #: includes/class-ash-csp-assistant.php msgid "Detected from" msgstr "检测来源" #: includes/class-ash-csp-assistant.php msgid "Required Directive" msgstr "所需指令" #: includes/class-ash-csp-assistant.php msgid "Policy Diff" msgstr "策略差异" #: includes/class-ash-csp-assistant.php msgid "Current" msgstr "当前" #: includes/class-ash-csp-assistant.php msgid "Proposed" msgstr "建议" #: includes/class-ash-csp-assistant.php msgid "Apply" msgstr "应用" #: includes/class-ash-csp-assistant.php msgid "" "This value can weaken your Content Security Policy. Confirm only if your " "site requires it." msgstr "此值可能削弱 Content Security Policy。仅在站点确实需要时确认。" #: includes/class-ash-csp-assistant.php msgid "I understand this weakens CSP and I want to add it anyway." msgstr "我了解这会削弱 CSP,但仍要添加。" #: includes/class-ash-csp-assistant.php msgid "Clear all Smart CSP discovery data? This cannot be undone." msgstr "清除全部智能 CSP 发现数据?此操作无法撤销。" #: includes/class-ash-csp-assistant.php msgid "Select at least one source to apply." msgstr "请至少选择一个要应用的来源。" #: includes/class-ash-csp-assistant.php msgid "" "Unknown resource types are kept for review and are not applied " "automatically." msgstr "未知资源类型会保留供审核,不会自动应用。" #: includes/class-ash-csp-assistant.php msgid "The Smart CSP Assistant request failed. Please try again." msgstr "智能 CSP 助手请求失败,请重试。" #. translators: %d: number of detected sources #: includes/class-ash-csp-assistant.php #, php-format msgid "%d Sources Detected" msgstr "检测到 %d 个来源" #. translators: %d: number of script sources #: includes/class-ash-csp-assistant.php #, php-format msgid "%d Script Sources" msgstr "%d 个脚本来源" #. translators: %d: number of style sources #: includes/class-ash-csp-assistant.php #, php-format msgid "%d Style Sources" msgstr "%d 个样式来源" #. translators: %d: number of image sources #: includes/class-ash-csp-assistant.php #, php-format msgid "%d Image Sources" msgstr "%d 个图片来源" #. translators: %d: number of font sources #: includes/class-ash-csp-assistant.php #, php-format msgid "%d Font Sources" msgstr "%d 个字体来源" #. translators: %d: number of connect sources #: includes/class-ash-csp-assistant.php #, php-format msgid "%d Connect Sources" msgstr "%d 个连接来源" #. translators: %d: number of frame sources #: includes/class-ash-csp-assistant.php #, php-format msgid "%d Frame Sources" msgstr "%d 个框架来源" #. translators: %d: number of media sources #: includes/class-ash-csp-assistant.php #, php-format msgid "%d Media Sources" msgstr "%d 个媒体来源" #. translators: %d: number of worker sources #: includes/class-ash-csp-assistant.php #, php-format msgid "%d Worker Sources" msgstr "%d 个 Worker 来源" #. translators: %d: number of form destinations #: includes/class-ash-csp-assistant.php #, php-format msgid "%d Form Destinations" msgstr "%d 个表单目标" #. translators: %d: number of unknown sources #: includes/class-ash-csp-assistant.php #, php-format msgid "%d Unknown Sources" msgstr "%d 个未知来源" #: includes/class-ash-admin-ui.php msgid "Handcrafted with ❤️ Passion by Ebrahim Shafiei (EbraSha)" msgstr "由 Ebrahim Shafiei (EbraSha) 倾注 ❤️ 热情打造" #: includes/class-ash-dashboard-widget.php msgid "Abdal Security Headers mascot" msgstr "Abdal Security Headers 吉祥物" #: includes/class-ash-dashboard-widget.php msgid "Recent Activity" msgstr "最近活动" #: includes/class-ash-dashboard-widget.php msgid "No recent activity yet." msgstr "暂无最近活动。" #: includes/class-ash-dashboard-widget.php msgid "Learning Started" msgstr "已开始学习" #: includes/class-ash-dashboard-widget.php msgid "CSP Scan Completed" msgstr "CSP 扫描已完成" #: includes/class-ash-dashboard-widget.php msgid "Learning Completed" msgstr "学习已完成" #: includes/class-ash-dashboard-widget.php msgid "Deep File Scan Completed" msgstr "深度文件扫描已完成" #: includes/class-ash-dashboard-widget.php msgid "CSP Source Detected" msgstr "检测到 CSP 来源" #: includes/class-ash-dashboard-widget.php msgid "CSP Violation Detected" msgstr "检测到 CSP 违规" #: includes/class-ash-dashboard-widget.php msgid "Statistics" msgstr "统计" #: includes/class-ash-dashboard-widget.php msgid "Detected CSP Sources" msgstr "已检测的 CSP 来源" #: includes/class-ash-dashboard-widget.php msgid "CSP Violations" msgstr "CSP 违规" #: includes/class-ash-dashboard-widget.php msgid "Active Security Headers" msgstr "已启用的安全标头" #: includes/class-ash-dashboard-widget.php msgid "Last CSP Scan" msgstr "上次 CSP 扫描" #: includes/class-ash-dashboard-widget.php msgid "Deep Scan Results" msgstr "深度扫描结果" #: includes/class-ash-dashboard-widget.php msgid "Open Settings" msgstr "打开设置" #: includes/class-ash-dashboard-widget.php msgid "View Full Report" msgstr "查看完整报告" #. translators: %s: human-readable time difference #: includes/class-ash-dashboard-widget.php #, php-format msgid "%s ago" msgstr "%s前" #: includes/class-ash-dashboard-widget.php msgid "Your site is well protected." msgstr "网站已得到良好保护。" #: includes/class-ash-dashboard-widget.php msgid "All security headers are enabled." msgstr "所有安全标头均已启用。" #: includes/class-ash-dashboard-widget.php msgid "Content Security Policy is active." msgstr "Content Security Policy 已启用。" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Dashboard" msgstr "仪表盘" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Settings" msgstr "设置" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Configure how this plugin stores and removes its own data." msgstr "配置本插件如何保存和删除其自身数据。" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Uninstall" msgstr "卸载" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "" "Control what happens to stored plugin data when this plugin is deleted." msgstr "控制删除插件时已存储数据的处理方式。" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "Delete all plugin data on uninstall" msgstr "卸载时删除所有插件数据" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "" "When enabled, deleting this plugin also removes its settings, CSP assistant " "data, custom tables, and related stored files. This cannot be undone." msgstr "启用后,删除插件时会同时移除其设置、CSP 助手数据、自定义数据表及相关文件。此操作无法撤销。" #: includes/class-ash-admin.php includes/class-ash-admin-ui.php msgid "" "Leave this off if you want to keep your configuration after the plugin is " "deleted." msgstr "如果希望在删除插件后保留配置,请保持关闭。"