Skip to content

Commit df1735f

Browse files
committed
feat(settings): add anchor navigation layout
split a single settings page into multiple component files
1 parent 879233e commit df1735f

14 files changed

Lines changed: 2218 additions & 1897 deletions

src/locales/en-US.json

Lines changed: 29 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@
9696
"importPartialFailed": "{{failed}} games failed to import",
9797
"gamesCount_one": "{{count}} game",
9898
"gamesCount_other": "{{count}} games",
99-
"matchCancelled": "Match task cancelled"
99+
"matchCancelled": "Match task cancelled",
100+
"gamesCount": "{{count}} games"
100101
},
101102
"AlertBox": {
102103
"bgmData": "BGM Data",
@@ -121,7 +122,8 @@
121122
},
122123
"success": {
123124
"categoryGamesUpdated_one": "Category games updated: {{count}} game",
124-
"categoryGamesUpdated_other": "Category games updated: {{count}} games"
125+
"categoryGamesUpdated_other": "Category games updated: {{count}} games",
126+
"categoryGamesUpdated": "Category games updated"
125127
}
126128
},
127129
"FilterModal": {
@@ -292,7 +294,9 @@
292294
"runningExitDialog": {
293295
"exitApp": "Exit Anyway",
294296
"message": "{{count}} game(s) are still running. Exiting the app will not close those games, but the recorded playtime for this session will be lost. Do you still want to exit?",
295-
"title": "Exit Reminder"
297+
"title": "Exit Reminder",
298+
"message_one": "{{count}} game is still running. Exiting the app will not close it, but the recorded playtime for this session will be lost. Do you still want to exit?",
299+
"message_other": "{{count}} games are still running. Exiting the app will not close them, but the recorded playtime for this session will be lost. Do you still want to exit?"
296300
},
297301
"UpdateModal": {
298302
"cancel": "Cancel",
@@ -481,7 +485,6 @@
481485
"docs": "Documentation",
482486
"feedback": "Report an Issue",
483487
"github": "Project Repository",
484-
"title": "About",
485488
"updateFound": "New version found: {{version}}",
486489
"version": "Version"
487490
},
@@ -624,6 +627,21 @@
624627
},
625628
"vndbData": {
626629
"title": "VNDB Data Settings"
630+
},
631+
"navigation": "Settings category navigation",
632+
"sections": {
633+
"account": "Account & Sync",
634+
"accountDescription": "Manage data source account tokens and collection sync behavior.",
635+
"dataSource": "Data Sources",
636+
"dataSourceDescription": "Configure search sources, VNDB data handling, and batch data maintenance.",
637+
"display": "Display & Interaction",
638+
"displayDescription": "Adjust language, content filtering, and game card interactions.",
639+
"system": "System",
640+
"systemDescription": "Manage startup, logs, close behavior, and time tracking mode.",
641+
"storage": "Paths & Backup",
642+
"storageDescription": "Configure local paths, and run database backup or restore.",
643+
"about": "About",
644+
"aboutDescription": "View version, update status, documentation, and feedback links."
627645
}
628646
}
629647
},
@@ -633,7 +651,9 @@
633651
"hours_other": "{{count}} hours",
634652
"hoursAndMinutes": "{{hours}}h {{minutes}}min",
635653
"minutes_one": "{{count}} minute",
636-
"minutes_other": "{{count}} minutes"
654+
"minutes_other": "{{count}} minutes",
655+
"hours": "{{hours}}h",
656+
"minutes": "{{minutes}}m"
637657
},
638658
"handleDirectory": {
639659
"allFiles": "All Files",
@@ -648,7 +668,10 @@
648668
"justNow": "Just now",
649669
"lastWeek": "Last week",
650670
"minutesAgo_one": "{{count}} minute ago",
651-
"minutesAgo_other": "{{count}} minutes ago"
671+
"minutesAgo_other": "{{count}} minutes ago",
672+
"daysAgo": "{{count}} days ago",
673+
"hoursAgo": "{{count}} hours ago",
674+
"minutesAgo": "{{count}} minutes ago"
652675
}
653676
}
654677
}

src/locales/ja-JP.json

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@
9595
"importSummary": "{{total}} 件中 {{success}} 件のゲームをインポートしました",
9696
"importPartialFailed": "{{failed}} 件のゲームのインポートに失敗しました",
9797
"gamesCount_other": "全 {{count}} 件",
98-
"matchCancelled": "マッチングタスクをキャンセルしました"
98+
"matchCancelled": "マッチングタスクをキャンセルしました",
99+
"gamesCount": "{{count}} 本のゲーム"
99100
},
100101
"AlertBox": {
101102
"bgmData": "BGM データ",
@@ -119,7 +120,8 @@
119120
"updateCategoryGamesFailed": "カテゴリゲームの更新に失敗しました。もう一度お試しください"
120121
},
121122
"success": {
122-
"categoryGamesUpdated_other": "カテゴリゲームを更新しました:{{count}} 個"
123+
"categoryGamesUpdated_other": "カテゴリゲームを更新しました:{{count}} 個",
124+
"categoryGamesUpdated": "カテゴリのゲームを更新しました"
123125
}
124126
},
125127
"FilterModal": {
@@ -290,7 +292,8 @@
290292
"runningExitDialog": {
291293
"exitApp": "そのまま終了",
292294
"message": "現在 {{count}} 件のゲームが実行中です。アプリを終了してもゲーム自体は閉じませんが、このセッションのプレイ時間記録は失われます。それでも終了しますか?",
293-
"title": "終了の確認"
295+
"title": "終了の確認",
296+
"message_other": "現在 {{count}} 件のゲームが実行中です。アプリを終了してもゲーム自体は閉じませんが、このセッションのプレイ時間記録は失われます。それでも終了しますか?"
294297
},
295298
"UpdateModal": {
296299
"cancel": "キャンセル",
@@ -479,7 +482,6 @@
479482
"docs": "ドキュメント",
480483
"feedback": "問題を報告",
481484
"github": "プロジェクトリポジトリ",
482-
"title": "について",
483485
"updateFound": "新しいバージョンを検出しました: {{version}}",
484486
"version": "バージョン"
485487
},
@@ -622,14 +624,31 @@
622624
},
623625
"vndbData": {
624626
"title": "VNDBデータ設定"
627+
},
628+
"navigation": "設定カテゴリナビゲーション",
629+
"sections": {
630+
"account": "アカウントと同期",
631+
"accountDescription": "データソースのアカウントトークンとコレクション同期動作を管理します。",
632+
"dataSource": "データソース",
633+
"dataSourceDescription": "検索ソース、VNDB データ処理、バッチデータ保守を設定します。",
634+
"display": "表示と操作",
635+
"displayDescription": "言語、コンテンツフィルタ、ゲームカードの操作方法を調整します。",
636+
"system": "システム",
637+
"systemDescription": "起動、ログ、終了動作、時間計測モードを管理します。",
638+
"storage": "パスとバックアップ",
639+
"storageDescription": "ローカルパスを設定し、データベースのバックアップと復元を実行します。",
640+
"about": "について",
641+
"aboutDescription": "バージョン、更新状態、ドキュメント、フィードバックリンクを確認します。"
625642
}
626643
}
627644
},
628645
"utils": {
629646
"formatPlayTime": {
630647
"hours_other": "{{count}}時間",
631648
"hoursAndMinutes": "{{hours}}時間{{minutes}}分",
632-
"minutes_other": "{{count}}分"
649+
"minutes_other": "{{count}}分",
650+
"hours": "{{hours}} 時間",
651+
"minutes": "{{minutes}} 分"
633652
},
634653
"handleDirectory": {
635654
"allFiles": "すべてのファイル",
@@ -641,7 +660,10 @@
641660
"hoursAgo_other": "{{count}}時間前",
642661
"justNow": "たった今",
643662
"lastWeek": "先週",
644-
"minutesAgo_other": "{{count}}分前"
663+
"minutesAgo_other": "{{count}}分前",
664+
"daysAgo": "{{count}} 日前",
665+
"hoursAgo": "{{count}} 時間前",
666+
"minutesAgo": "{{count}} 分前"
645667
}
646668
}
647669
}

src/locales/zh-CN.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,6 @@
479479
"docs": "使用文档",
480480
"feedback": "问题反馈",
481481
"github": "项目地址",
482-
"title": "关于",
483482
"updateFound": "发现新版本:{{version}}",
484483
"version": "版本"
485484
},
@@ -622,6 +621,21 @@
622621
},
623622
"vndbData": {
624623
"title": "VNDB 数据设置"
624+
},
625+
"navigation": "设置分类导航",
626+
"sections": {
627+
"account": "账号与同步",
628+
"accountDescription": "管理数据源账号令牌和收藏同步行为。",
629+
"dataSource": "数据源",
630+
"dataSourceDescription": "配置搜索源、VNDB 数据处理和批量数据维护。",
631+
"display": "显示与交互",
632+
"displayDescription": "调整语言、内容过滤和游戏卡片交互方式。",
633+
"system": "系统",
634+
"systemDescription": "管理启动、日志、关闭行为和计时模式。",
635+
"storage": "路径与备份",
636+
"storageDescription": "配置本地路径,执行数据库备份和恢复。",
637+
"about": "关于",
638+
"aboutDescription": "查看版本、更新状态、文档和反馈入口。"
625639
}
626640
}
627641
},

src/locales/zh-TW.json

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@
9595
"importSummary": "成功匯入 {{success}}/{{total}} 個遊戲",
9696
"importPartialFailed": "{{failed}} 個遊戲匯入失敗",
9797
"gamesCount_other": "共 {{count}} 個遊戲",
98-
"matchCancelled": "已取消匹配任務"
98+
"matchCancelled": "已取消匹配任務",
99+
"gamesCount": "{{count}} 個遊戲"
99100
},
100101
"AlertBox": {
101102
"bgmData": "BGM 資料",
@@ -119,7 +120,8 @@
119120
"updateCategoryGamesFailed": "更新分類遊戲失敗,請重試"
120121
},
121122
"success": {
122-
"categoryGamesUpdated_other": "已更新分類遊戲:{{count}} 個"
123+
"categoryGamesUpdated_other": "已更新分類遊戲:{{count}} 個",
124+
"categoryGamesUpdated": "分類遊戲已更新"
123125
}
124126
},
125127
"FilterModal": {
@@ -290,7 +292,8 @@
290292
"runningExitDialog": {
291293
"exitApp": "仍然退出",
292294
"message": "目前仍有 {{count}} 個遊戲正在執行。退出應用後不會關閉這些遊戲,但會遺失遊戲時長記錄。確定要退出應用嗎?",
293-
"title": "退出提醒"
295+
"title": "退出提醒",
296+
"message_other": "目前仍有 {{count}} 個遊戲正在執行。退出應用後不會關閉這些遊戲,但會遺失遊戲時長記錄。確定要退出應用嗎?"
294297
},
295298
"UpdateModal": {
296299
"cancel": "取消",
@@ -479,7 +482,6 @@
479482
"docs": "使用文件",
480483
"feedback": "問題回饋",
481484
"github": "專案倉庫",
482-
"title": "關於",
483485
"updateFound": "發現新版本:{{version}}",
484486
"version": "版本"
485487
},
@@ -622,14 +624,31 @@
622624
},
623625
"vndbData": {
624626
"title": "VNDB資料設定"
627+
},
628+
"navigation": "設定分類導覽",
629+
"sections": {
630+
"account": "帳號與同步",
631+
"accountDescription": "管理資料來源帳號令牌與收藏同步行為。",
632+
"dataSource": "資料來源",
633+
"dataSourceDescription": "設定搜尋來源、VNDB 資料處理與批量資料維護。",
634+
"display": "顯示與互動",
635+
"displayDescription": "調整語言、內容過濾與遊戲卡片互動方式。",
636+
"system": "系統",
637+
"systemDescription": "管理啟動、日誌、關閉行為與計時模式。",
638+
"storage": "路徑與備份",
639+
"storageDescription": "設定本地路徑,執行資料庫備份與還原。",
640+
"about": "關於",
641+
"aboutDescription": "查看版本、更新狀態、文件與回饋入口。"
625642
}
626643
}
627644
},
628645
"utils": {
629646
"formatPlayTime": {
630647
"hours_other": "{{count}}小時",
631648
"hoursAndMinutes": "{{hours}}小時{{minutes}}分鐘",
632-
"minutes_other": "{{count}}分鐘"
649+
"minutes_other": "{{count}}分鐘",
650+
"hours": "{{hours}} 小時",
651+
"minutes": "{{minutes}} 分鐘"
633652
},
634653
"handleDirectory": {
635654
"allFiles": "所有檔案",
@@ -641,7 +660,10 @@
641660
"hoursAgo_other": "{{count}}小時前",
642661
"justNow": "剛剛",
643662
"lastWeek": "上週",
644-
"minutesAgo_other": "{{count}}分鐘前"
663+
"minutesAgo_other": "{{count}}分鐘前",
664+
"daysAgo": "{{count}} 天前",
665+
"hoursAgo": "{{count}} 小時前",
666+
"minutesAgo": "{{count}} 分鐘前"
645667
}
646668
}
647669
}

0 commit comments

Comments
 (0)