mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-09-19 08:37:14 +00:00
feat(sub): redesign the subscription page around usage, tabs and app imports
The info page was a long key/value table followed by every link and two app dropdowns, and it rendered left-to-right even for Persian and Arabic. It now leads with a usage ring, the remaining quota and a stats grid, and splits the rest into Subscription / Apps / Configs tabs. - Status tells expired, data-used-up and disabled apart instead of one "Inactive", replacing the hard-coded English expiry chip. - The Apps tab keeps every Android and iOS app with its existing deep link, preselects the visitor's platform and adds Windows: Hiddify and Clash Verge Rev import directly, v2rayN copies the link. - fa-IR and ar-EG render right-to-left; URLs, IDs and sizes stay LTR. - The footer shows the support link and the client refresh interval, so subPageContext now carries subUpdates (also in ?format=info). - Status, days-left and app deep-link logic lives in subPageModel.ts, with unit tests pinning the deep links the page already shipped.
This commit is contained in:
@@ -80,7 +80,6 @@
|
||||
"somethingWentWrong": "エラーが発生しました",
|
||||
"subscription": {
|
||||
"title": "サブスクリプション情報",
|
||||
"subId": "サブスクリプションID",
|
||||
"status": "ステータス",
|
||||
"downloaded": "ダウンロード",
|
||||
"uploaded": "アップロード",
|
||||
@@ -93,7 +92,20 @@
|
||||
"noExpiry": "期限なし",
|
||||
"copyAllConfigs": "すべての設定をコピー",
|
||||
"copyAllConfigsCopied": "すべての設定をコピーしました",
|
||||
"email": "メール"
|
||||
"daysLeft": "残り日数",
|
||||
"expired": "期限切れ",
|
||||
"depleted": "データ上限到達",
|
||||
"ofTotal": "/ {total}",
|
||||
"tabLinks": "サブスクリプション",
|
||||
"tabApps": "アプリ",
|
||||
"tabConfigs": "設定",
|
||||
"scanTitle": "スマートフォンでスキャン",
|
||||
"scanHint": "VPN アプリでこのコードをスキャンすると、リンクをコピーせずにサブスクリプションを追加できます。",
|
||||
"updateInterval": "{hours} 時間ごとに自動更新",
|
||||
"support": "サポート",
|
||||
"qrTitle": "スキャン。インポート。接続。",
|
||||
"qrHint": "クライアントアプリでスキャンしてください。このコードは他人に見せないでください。",
|
||||
"saveQr": "QR を保存"
|
||||
},
|
||||
"menu": {
|
||||
"theme": "テーマ",
|
||||
|
||||
Reference in New Issue
Block a user