323 lines
18 KiB
PHP
323 lines
18 KiB
PHP
<?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.',
|
||
],
|
||
],
|
||
];
|