mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-09-24 08:12:19 +07:00
feat(settings): schedule picker, toggle placement, sub-theme docs link
- Replace the Telegram "Notification Time" free-text field with a guided cron builder: @every + number + unit (s/m/h), the @hourly/@daily/@weekly/ @monthly macros, and a Custom option that seeds a valid 6-field crontab (cron runs with seconds enabled) as an escape hatch. - Move "Restart Xray After Auto Disable" from the External Traffic tab to Panel Settings, where it belongs. - Add a "Template guide" link to the Sub Theme Directory setting pointing at docs/custom-subscription-templates.md. - Localize all new strings across every locale.
This commit is contained in:
@@ -1005,7 +1005,18 @@
|
||||
"telegramChatId": "管理者チャットID",
|
||||
"telegramChatIdDesc": "Telegram管理者チャットID(複数の場合はカンマで区切る){'@'}userinfobotで取得するか、ボットで'/id'コマンドを使用して取得する",
|
||||
"telegramNotifyTime": "通知時間",
|
||||
"telegramNotifyTimeDesc": "定期的なTelegramボット通知時間を設定する(crontab時間形式を使用)",
|
||||
"telegramNotifyTimeDesc": "Telegram ボットが定期レポートを送信する頻度です。プリセットの間隔を選ぶか、「カスタム」を選んで crontab 式を入力します。",
|
||||
"notifyTime": {
|
||||
"every": "@every — 一定間隔で繰り返す",
|
||||
"hourly": "@hourly — 1時間ごと",
|
||||
"daily": "@daily — 毎日 00:00",
|
||||
"weekly": "@weekly — 毎週",
|
||||
"monthly": "@monthly — 毎月",
|
||||
"custom": "カスタム (crontab)",
|
||||
"seconds": "秒",
|
||||
"minutes": "分",
|
||||
"hours": "時間"
|
||||
},
|
||||
"tgNotifyBackup": "データベースバックアップ",
|
||||
"tgNotifyBackupDesc": "レポート付きのデータベースバックアップファイルを送信",
|
||||
"tgNotifyLogin": "ログイン通知",
|
||||
@@ -1036,6 +1047,7 @@
|
||||
"subAnnounceDesc": "VPNクライアントに表示されるお知らせのテキスト",
|
||||
"subThemeDir": "サブスクリプションテーマディレクトリ",
|
||||
"subThemeDirDesc": "サブスクリプションページのカスタムテンプレート (index.html/sub.html) を含むフォルダーの絶対パス(例: /etc/3x-ui/sub_templates/my-theme/)。空欄の場合はデフォルトのページを使用します。",
|
||||
"subThemeDirDocs": "テンプレートガイド ↗",
|
||||
"subEnableRouting": "ルーティングを有効化",
|
||||
"subEnableRoutingDesc": "VPNクライアントでルーティングを有効にするためのグローバル設定。(Happのみ)",
|
||||
"subRoutingRules": "ルーティングルール",
|
||||
|
||||
Reference in New Issue
Block a user