Files
server/opt/psa/admin/plib/modules/firewall/resources/locales/zh-CN.php
2026-01-07 20:52:11 +01:00

323 lines
18 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
// Copyright 1999-2025. Plesk International GmbH. All rights reserved.
$messages = [
'title' => '防火墙',
'backendNotAvailable' => '从操作系统供应商安装iptables包以使用防火墙模块。',
'protocolsNotSupported' => "The iptables binaries do not support all required protocols (e.g., TCP, UDP, ICMP, ICMPv6), and the system failed to load the corresponding kernel modules. You may need to reboot with a newer kernel or manually install the missing modules.",
'permissionDenied' => '拒绝访问',
'noConfiguration' => '无法生成要应用您的配置的shell脚本。',
'unknownAction' => '未知操作',
'execError' => '执行错误',
'notConfirmed' => '无法确认防火墙规则。可能正在运行意外的“Activate firewall configuration激活防火墙配置”任务。您可以在任务管理器中查看是否存在此类任务。',
'actionLog' => [
'enabled' => '防火墙已启用/已禁用',
'activated' => '防火墙规则已激活',
],
'button' => [
'title' => '防火墙',
'description' => '设置防火墙。',
],
'permissionManageFirewall' => '防火墙',
'swapRules' => [
'sameRules' => '交换需要两个不同的规则',
'notCustom' => '只有自定义规则可以被交换',
'notEditable' => '一个或两个规则都不属于可编辑的配置',
'differentChains' => '不能交换属于不同链的规则',
],
'copyConfiguration' => [
'invalidConfiguration' => '指定的配置号码无效。',
],
'addRule' => [
'missingProperty' => '缺少一个或多个必需的防火墙规则属性。',
'unknownDirection' => '未知方向:%%direction%%',
'unknownAction' => '未知操作:%%action%%',
],
'ruleNotFound' => '未找到规则。',
'ruleNotEditable' => '规则不属于可编辑的配置。',
'remoteAccessRule' => "[SET][%%time%%] 允许客户 '%%customerName%%' 的数据库用户 '%%userName%%' 远程访问",
'notification' => [
'title' => '规则正在等待您的批准',
'subject' => '针对数据库用户的远程访问规则已被修改,并且正在等待您的批准。',
'message' => '请转到防火墙设置以查看和确认规则。',
'action' => '打开防火墙'
],
'app' => [
'enable' => '防火墙保护',
'rules' => '防火墙规则',
'editServiceRule' => '服务: %%name%%',
'columnAction' => '操作',
'columnName' => '名称',
'columnDescription' => '描述',
'service' => [
'dns' => '域名服务器',
'ftp' => 'FTP服务器',
'imap' => 'IMAP (邮件检索)服务器',
'mysql' => 'MySQL服务器',
'ping' => 'Ping服务',
'neighbor_disc' => 'IPv6 邻居发现',
'plesk' => 'Plesk管理界面',
'plesk_http3' => '使用 HTTP/3 的 Plesk 管理界面',
'autoinstaller' => 'Plesk Installer',
'pop3' => 'POP3(邮件检索)服务器',
'poppassd' => '邮件密码变更服务',
'postgresql' => 'PostgreSQL服务器',
'samba' => 'Samba (Windows网络中的文件共享)',
'smtp' => 'SMTP(邮件发送)服务器',
'smtp_submission' => 'SMTP(提交端口)服务器',
'ssh' => 'SSH(安全外壳)服务器',
'www' => 'WWW服务器',
'www_http3' => '使用 HTTP/3 的 WWW 服务器',
'ftp_passive' => 'FTP服务器被动端口',
'dhcp' => 'DHCP 客户端',
'custom' => '自定义服务',
],
'catchall' => [
'forward' => '流量转发的系统策略',
'input' => '接收流量的系统策略',
'output' => '发送流量的系统策略',
],
'unknownRule' => '未知',
'hint' => [
'catchall' => '此系统策略控制上述规则允许或拒绝的所有连线。',
'custom' => '此自定义规则控制访问用户定义设置相关连线。',
'service' => [
'dns' => '此规则控制访问此主机上的域名服务器。',
'ftp' => '此规则控制访问此主机上的FTP服务器。',
'imap' => '此规则控制访问主机上的IMAP(邮件检索)服务器。',
'mysql' => '此规则控制访问此主机上的MySQL服务器。',
'samba' => '此规则控制访问服务器上的共享资源。',
'ping' => '此规则控制哪些其它电脑会ping此主机。',
'plesk' => '此规则控制访问此主机上的Plesk管理界面。',
'plesk_http3' => '此规则控制在此主机上使用 HTTP/3 访问 Plesk 管理界面。',
'pop3' => '此规则控制访问此主机上的POP3(邮件检索)服务器。',
'poppassd' => '此规则控制访问此主机上的邮件密码变更服务。',
'postgresql' => '此规则控制访问此主机上的PostgreSQL服务器。',
'smtp' => '此规则控制访问此主机上的SMTP(邮件发送)服务器。',
'smtp_submission' => '此规则控制访问主机上的SMTP提交。',
'ssh' => '此规则控制访问此主机上的SSH(安全外壳)服务器。',
'www' => '此规则控制访问此主机上的WWW服务器。',
'www_http3' => '此规则控制在此主机上使用 HTTP/3 访问 WWW 服务器。',
'neighbor_disc' => '此规则控制访问此主机上的 IPv6 Neighbor Discovery。',
'autoinstaller' => '此规则控制访问此主机上的Plesk Installer。',
'ftp_passive' => '此规则控制访问此主机上的FTP服务器被动端口。',
'dhcp' => '此规则控制访问此主机上的 DHCP 客户端。',
'custom' => '此规则控制访问此主机上的自定义服务。',
]
],
'description' => [
'custom' => [
'forward' => '%%action%% 在 %%ports%% 上从 %%from%% 转发至 %%to%%',
'input' => '%%action%% 在 %%ports%% 上接收自 %%from%%',
'output' => '%%action%% 在 %%ports%% 上传出至 %%to%%',
],
'service' => [
'forward' => '%%action%% 从 %%from%% 转发至 %%to%%',
'input' => '%%action%% 接收自 %%from%%',
'output' => '%%action%% 传出至 %%to%%',
],
'catchall' => [
'forward' => '%%action%% 转发所有其他流量',
'input' => '%%action%% 所有其他接收流量',
'output' => '%%action%% 所有其他传出流量',
],
],
'fromAll' => '所有',
'toAll' => '全部',
'port' => '端口 %%ports%%',
'ports' => '端口 %%ports%%',
'allPorts' => '所有端口',
'denyFromOther' => '拒绝接收来自所有其它的',
'action' => [
'allow' => '允许',
'deny' => '拒绝',
'custom' => '允许',
],
'toolbar' => [
'toolbarGroupActions' => '操作',
'search' => '搜索中...',
'groupAdd' => '添加',
'buttonAdd' => '添加规则',
'buttonAddHint' => '添加防火墙规则',
'groupActions' => '操作',
'buttonRemove' => '删除',
'buttonRemoveHint' => '移除选定的防火墙规则。',
'buttonExport' => '导出',
'buttonExportHint' => '将所有防火墙规则导出为一个 JSON 文件。',
'buttonImport' => '导入',
'buttonImportHint' => '从一个 JSON 文件导入防火墙规则。',
'yesRemove' => '是的,移除',
'cancel' => '取消',
'removeEmptySelection' => '选择一个或多个要移除的防火墙规则。',
'removeConfirmation' => '要移除选定的防火墙规则吗?',
'removeSuccess' => '选定的防火墙规则已被移除。',
'importSuccess' => '已导入防火墙规则。',
],
'showActiveConfiguration' => '这是活动的防火墙配置。%%link%%',
'showActiveConfigurationLink' => '返回到编辑。',
'modifiedRules' => [
'warning' => '防火墙配置有未保存的更改。%%link%%',
'showActive' => '显示活动的配置。',
'buttonApply' => '应用更改',
'buttonDiscard' => '丢弃',
],
'preview' => [
'titleEnable' => '启用防火墙保护和规则管理',
'titleApplyChanges' => '应用修改',
'text' => '生成了一个shell脚本以将规则和策略的当前配置应用到系统中。',
'show' => '预览脚本',
'hide' => '隐藏',
'vzNotice' => '您正在使用 Virtuozzo 容器。请确保防火墙适用于容器已加载了iptabble模块。',
'warningCustomRulesOverwritten' => '任何通过iptabble实用程序直接添加的防火墙规则都将被覆盖。',
'buttonEnable' => '应用',
'buttonCancel' => '取消',
],
'ruleEditForm' => [
'ruleName' => '规则名称',
'ipDescription' => [
'address' => 'IP 地址(例如 192.168.0.1 or fc00::1网络例如 192.168.0.0/16 or fc00::/7或者 %%countryCode%%',
'countryCode' => '两个字母的ISO 3166国家代码例如AF或ZW)',
'dataProvided' => 'IP地理位置数据当前由 %%geoIpProvider%% 提供。',
'learnMore' => '了解如何切换到另一个数据源',
'provider' => [
'dpIpLite' => 'DB-IP',
'maxmind' => 'GeoIP2 来自 MaxMind',
'maxmindLite' => 'GeoLite2 来自 MaxMind',
]
],
'matchDirection' => [
'title' => '匹配说明',
'incoming' => '来件',
'outgoing' => '发件',
'forwarding' => '转发',
],
'actions' => [
'allow' => '允许',
'deny' => '拒绝',
'custom' => '允许所选资源,拒绝其他资源',
],
'ports' => [
'title' => '端口',
'description' => '要筛选的端口例如1000) 或端口范围例如1000-1051)。如果该字段为空,则将筛选所有协议和端口。',
'tcp' => 'TCP',
'udp' => 'UDP',
],
'sources' => '来源',
'destinations' => '目的地',
'validationErrors' => [
'nameIsRequired' => '规则名称必填',
'invalidData' => '无效的数据格式',
'invalidPortFormat' => '无效的端口格式',
'portOutOfRanges' => '端口必须在从1到65535的范围内',
'portsFormat' => '必须用协议逗号分隔指定端口或端口范围例如1000/tcp, 1000-1051/udp。',
'IPAddressFormat' => 'A malformed firewall rule address was specified.',
'oneOfPortsOutOfRanges' => '其中一个端口超出1到65535的范围',
],
'ruleSavedSuccessfully' => '该规则已保存成功',
'newRuleDefaultName' => '新自定义规则',
],
'successEnable' => '防火墙保护已启用。',
'successDisable' => '防火墙保护已禁用。',
'successApplyChanges' => '当前的配置已应用。',
'successDiscardChanges' => '更改已被弃用。',
'FormField' => [
'addMore' => '再添加一个',
],
'Form' => [
'submitButton' => '保存',
'cancelButton' => '取消',
],
'List' => [
'totalRows' => "共计 %%totalRows%% 个项目",
'selectedRows' => "已选定 %%selectedRows%%(共计: %%totalRows%%)个项目",
'selectAll' => "全选",
'deselectAll' => "取消选定",
'all' => "全部",
],
'Pagination' => [
'total' => "%%current%%(共计 %%total%%",
'itemsPerPage' => "每页的项目",
'all' => "全部",
],
],
'tasks' => [
'activate' => [
'running' => '正在应用防火墙配置......',
'done' => '防火墙配置已应用。',
'error' => '应用防火墙配置失败。',
],
],
'cli' => [
'commands' => [
'apply' => 'Apply the current firewall rules and update the active configuration.',
'confirm' => 'Confirm the previously applied configuration.',
'disable' => 'Disable firewall rules management.',
'enable' => 'Enable firewall rules management.',
'is-enabled' => 'Check whether the firewall is enabled.',
'reset' => 'Revert the current firewall rules to the last active configuration.',
'reset-to-default' => 'Revert current firewall rules back to default configuration.',
'set-rule' => 'Create a new or update an existing firewall rule.',
'remove-rules' => 'Remove the specified firewall rules.',
'list-json' => 'List the firewall rules as JSON.',
'export' => 'Export firewall rules to JSON.',
'import' => 'Import firewall rules from JSON.',
],
'options' => [
'id' => 'ID of the firewall rule required for the update operation, which runs using the --set-rule command.',
'ids' => 'IDs of the firewall rules (comma-separated) required for the remove operation, which runs using the --remove-rules command.',
'name' => 'Firewall rule name.',
'direction' => 'Firewall rule direction. Allowed values: input, output, forward.',
'action' => 'Firewall rule action. Allowed values: allow, deny.',
'ports' => 'Firewall rule ports or port ranges with a protocol (comma-separated); for example, 1000/tcp,1000-1051/udp.',
'remote-addresses' => 'The list of the firewall rule addresses (comma-separated). An address can be an IP address (for example, 192.168.0.1 or fc00::1), a network (for example, 192.168.0.0/16 or fc00::/7), or a two-letter ISO 3166 country code (for example, AF or ZW).',
'from' => 'The list of the firewall rule addresses (comma-separated) for forwarding and incoming connections. An address can be an IP address (for example, 192.168.0.1 or fc00::1), a network (for example, 192.168.0.0/16 or fc00::/7), or a two-letter ISO 3166 country code (for example, AF or ZW).',
'to' => 'The list of the firewall rule addresses (comma-separated) for forwarding and outgoing connections. An address can be an IP address (for example, 192.168.0.1 or fc00::1), a network (for example, 192.168.0.0/16 or fc00::/7), or a two-letter ISO 3166 country code (for example, AF or ZW).',
'config' => 'The source from which firewall rules will be imported. Specify \'-\' to import firewall rules from standard input (default, recommended), a file path, or a URL.',
'auto-confirm-this-may-lock-me-out-of-the-server' => 'Use this with the --apply or --enable commands to avoid having to run the --confirm command from a separate SSH session. Use this only in automated deployment scenarios. Misconfigured firewall rules may prevent you from having access to the server.',
],
'errors' => [
'is_disabled' => 'Firewall rules management is disabled.',
'confirm_failed_apply' => 'Apply your changes first.',
'confirm_failed_connection' => 'To apply and confirm changes, run each corresponding command in a separate SSH session.',
'confirm_failed' => 'Unable to confirm the firewall rules.',
'set_rule_failed_id' => 'A firewall rule id must be numeric.',
'set_rule_failed_name' => 'A firewall rule name must be specified.',
'set_rule_failed_ports' => 'A malformed firewall rule port or port range was specified.',
'failed_existing_config' => 'The configuration file does not exist or is not accessible. Try using the \'%%command%%\' command instead.',
'failed_available_url_config' => 'The configuration file URL is not available: %%error%%',
'remove_rules_not_found' => 'No firewall rules were found for removal.',
],
'actions' => [
'apply_success' => 'The firewall rules were activated. To save your changes, run the --confirm command within %%seconds%% second(s).',
'confirm_noop' => 'The firewall rules were already confirmed, or no --apply or --enable command was issued beforehand.',
'confirm_success' => 'The firewall rules were confirmed.',
'confirm_enable_success' => 'Firewall rules management was confirmed.',
'reset_success' => 'Changes to the firewall rules were reverted.',
'reset_to_default_success' => 'The firewall rules were reverted to the default configuration.',
'enable_success' => 'Firewall rules management was enabled. To save your changes, run the --confirm command within %%seconds%% second(s).',
'disable_success' => 'Firewall rules management was disabled',
'set_rule_success_create' => 'The firewall rule was created with the ID: \'%%ruleId%%\'.',
'set_rule_success_update' => 'The firewall rule was updated with the ID: \'%%ruleId%%\'.',
'remove_rules_success' => 'The firewall rules were removed.',
'import_success' => 'The firewall rules were imported. To apply your changes, run the --apply command.',
],
],
];