323 lines
21 KiB
PHP
323 lines
21 KiB
PHP
<?php
|
||
// Copyright 1999-2025. Plesk International GmbH. All rights reserved.
|
||
|
||
$messages = [
|
||
'title' => 'ファイアウォール',
|
||
'backendNotAvailable' => 'ファイアウォールモジュールを使用するには、OS ベンダーの 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' => '構成を適用するためのシェルスクリプトを生成できませんでした。',
|
||
'unknownAction' => '不明なアクション',
|
||
'execError' => '実行エラー',
|
||
'notConfirmed' => 'ファイアウォールを確認できませんでした。予期しない「Activate firewall configuration」タスクが実行される可能性があります。タスクマネージャでそのようなタスクの存在を確認できます。',
|
||
|
||
'actionLog' => [
|
||
'enabled' => 'ファイアウォールが有効/無効',
|
||
'activated' => 'ファイアウォールがアクティブ',
|
||
],
|
||
|
||
'button' => [
|
||
'title' => 'ファイアウォール',
|
||
'description' => 'ファイアウォールをセットアップします。',
|
||
],
|
||
|
||
'permissionManageFirewall' => 'ファイアウォール',
|
||
|
||
'swapRules' => [
|
||
'sameRules' => '入れ替えを行うには 2 つの異なるルールが必要です',
|
||
'notCustom' => '入れ替えが可能なのはカスタムルールのみです',
|
||
'notEditable' => '1 つまたは両方のルールが編集可能な構成に属していません',
|
||
'differentChains' => '異なるチェーンに属するルールを入れ替えることはできません',
|
||
],
|
||
|
||
'copyConfiguration' => [
|
||
'invalidConfiguration' => '無効な構成番号が指定されました。',
|
||
],
|
||
|
||
'addRule' => [
|
||
'missingProperty' => '必要なファイアウォールルールのプロパティのうち、1 つ以上が不足しています。',
|
||
'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 インストーラ',
|
||
'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 近隣探索へのアクセスを制御します。',
|
||
'autoinstaller' => 'このルールは、このホスト上の Plesk インストーラへのアクセスを制御します。',
|
||
'ftp_passive' => 'このルールは、このホスト上の FTP サーバのパッシブポートへのアクセスを制御します。',
|
||
'dhcp' => 'このルールは、このホスト上の DHCP クライアントへのアクセスを制御します。',
|
||
'custom' => 'このルールは、このホスト上のカスタムサービスへのアクセスを制御します。',
|
||
]
|
||
],
|
||
'description' => [
|
||
'custom' => [
|
||
'forward' => '%%ports%% での %%from%% から %%to%% への転送を %%action%%',
|
||
'input' => '%%ports%% での %%from%% からの着信を %%action%%',
|
||
'output' => '%%ports%% での %%to%% への発信を %%action%%',
|
||
],
|
||
'service' => [
|
||
'forward' => '%%from%% から %%to%% への転送を %%action%%',
|
||
'input' => '%%from%% からの着信を %%action%%',
|
||
'output' => '%%to%% への発信を %%action%%',
|
||
],
|
||
'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' => '削除するファイアウォールルールを 1 つ以上選択します。',
|
||
'removeConfirmation' => '選択したファイアウォールルールを削除しますか?',
|
||
'removeSuccess' => '選択されたファイアウォールルールは削除されました。',
|
||
'importSuccess' => 'ファイアウォールルールがインポートされました。',
|
||
],
|
||
'showActiveConfiguration' => 'これはアクティブなファイアウォール構成です。 %%link%%',
|
||
'showActiveConfigurationLink' => '編集に戻る',
|
||
|
||
'modifiedRules' => [
|
||
'warning' => 'ファイアウォール構成に保存されていない変更があります。 %%link%%',
|
||
'showActive' => 'アクティブな構成を表示します。',
|
||
'buttonApply' => '変更を適用',
|
||
'buttonDiscard' => '破棄',
|
||
],
|
||
|
||
'preview' => [
|
||
'titleEnable' => 'ファイアウォール保護とルール管理を有効化',
|
||
'titleApplyChanges' => '変更内容を適用',
|
||
'text' => 'ルールとポリシーの現在の構成をシステムに適用するためのシェルスクリプトが生成されました。',
|
||
'show' => 'スクリプトのプレビュー',
|
||
'hide' => '非表示にする',
|
||
'vzNotice' => 'Virtuozzo Containers を使用しています。コンテナでファイアウォールを使用できる(iptables モジュールが読み込まれている)ことを確認してください。',
|
||
'warningCustomRulesOverwritten' => 'iptables ユーティリティで直接追加されたファイアウォールルールはすべて上書きされます。',
|
||
'buttonEnable' => '適用',
|
||
'buttonCancel' => 'キャンセル',
|
||
],
|
||
|
||
'ruleEditForm' => [
|
||
'ruleName' => 'ルール名',
|
||
'ipDescription' => [
|
||
'address' => 'IP アドレス(例:192.168.0.1、fc00::1)、ネットワーク(例:192.168.0.0/16 または fc00::/7)、または %%countryCode%%',
|
||
'countryCode' => '2 文字の 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' => 'もう 1 つ追加',
|
||
],
|
||
'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.',
|
||
],
|
||
],
|
||
];
|