Add custom theme support, token refresh settings and check account login status.

Now launch log viewer has a new look.

Fix an issue that causes credentials method option not working.

Add log view to settings page.
This commit is contained in:
wei committed 2026-10-14 00:31:37 +08:00
1 parent 6e29fe1d5c
commit 1bafc60d95
25 files changed
+1149 -199

No files matched your search

+5 -2
View File
@@ -19,12 +19,15 @@ QPushButton#manageProfileItem {
}
QLabel#itemVersion {
color: #aeb6c2;
color: palette(placeholder-text);
font-size: 12px;
}
QPushButton#manageProfileItem:hover { background: palette(midlight); }
QPushButton#manageProfileItem:checked { background: #3d6fb4; }
QPushButton#manageProfileItem:checked {
background: palette(highlight);
color: palette(highlighted-text);
}
QLabel#itemName { font-size: 15px; font-weight: 600; }
+5 -4
View File
@@ -9,13 +9,13 @@ QFrame#profileButton:hover {
}
QLabel#profileName, QLabel#itemName {
color: #f4f6f8;
color: palette(text);
font-size: 16px;
font-weight: 600;
}
QLabel#profileVersion, QLabel#itemVersion {
color: #aeb6c2;
color: palette(placeholder-text);
font-size: 12px;
}
@@ -36,7 +36,8 @@ QPushButton#profileItem {
}
QPushButton#profileItem:hover {
background: #3d6fb4;
background: palette(highlight);
color: palette(highlighted-text);
}
QPushButton#launchButton {
@@ -54,4 +55,4 @@ QFrame#profileFrame {
background-color: palette(base);
border: 1px solid palette(mid);
border-radius: 10px;
}
}
+2 -2
View File
@@ -57,7 +57,7 @@ QToolBar QToolButton:hover {
QToolBar QPushButton:focus,
QToolBar QToolButton:focus {
border-bottom: 2px solid #F52761;
border-bottom: 2px solid palette(highlight);
}
QToolBar QPushButton:pressed,
@@ -97,4 +97,4 @@ QToolBar::handle:top, QToolBar::handle:bottom {
QToolBar::handle:right, QToolBar::handle:left {
border-top: 3px solid palette(midlight);
}
}
+28 -1
View File
@@ -131,7 +131,11 @@
"Redownload": "Redownload",
"Refresh": "Refresh",
"Refresh all": "Refresh all",
"Refresh failed": "Refresh failed",
"Refresh token": "Refresh token",
"Refresh versions": "Refresh versions",
"Refreshing…": "Refreshing…",
"Reload accounts": "Reload accounts",
"Requesting a Microsoft sign-in code…": "Requesting a Microsoft sign-in code…",
"Resolution": "Resolution",
"Resource Error": "Resource Error",
@@ -279,5 +283,28 @@
"Log Viewer": "Log Viewer",
"Log output saved to {file_name}": "Log output saved to {file_name}",
"Unable to save log file: {error}": "Unable to save log file: {error}",
"Log truncated at {time}; {count} older lines removed.": "Log truncated at {time}; {count} older lines removed."
"Log truncated at {time}; {count} older lines removed.": "Log truncated at {time}; {count} older lines removed.",
"Add theme folders containing theme.toml and palette.toml to: {path}": "Add theme folders containing theme.toml and palette.toml to: {path}",
"Check failed": "Check failed",
"Checking…": "Checking…",
"Client ID must be a valid UUID.\n\nExample: 12345678-1234-5678-9abc-123456789abc": "Client ID must be a valid UUID.\n\nExample: 12345678-1234-5678-9abc-123456789abc",
"Credential migration failed": "Credential migration failed",
"Credentials save method": "Credentials save method",
"Custom": "Custom",
"Expired": "Expired",
"Invalid Client ID": "Invalid Client ID",
"Launcher log": "Launcher log",
"Log View": "Log View",
"Logger": "Logger",
"Preparing Microsoft sign-in…": "Preparing Microsoft sign-in…",
"Save as a regular file": "Save as a regular file",
"Signed in": "Signed in",
"The credential storage method was restored to its previous value.": "The credential storage method was restored to its previous value.",
"Token refresh check interval": "Token refresh check interval",
"Unable to check login status: {error}": "Unable to check login status: {error}",
"Use system keyring": "Use system keyring",
"Vanilla": "Vanilla",
"minutes": "minutes",
"{account} is currently signed in.": "{account} is currently signed in.",
"{account}'s session has expired.": "{account}'s session has expired."
}
+28 -1
View File
@@ -130,7 +130,11 @@
"Redownload": "重新下載",
"Refresh": "重新整理",
"Refresh all": "全部重新整理",
"Refresh failed": "更新令牌失敗",
"Refresh token": "重新整理",
"Refresh versions": "重新整理版本",
"Refreshing…": "正在更新令牌……",
"Reload accounts": "重新載入列表",
"Requesting a Microsoft sign-in code…": "正在要求 Microsoft 登入代碼……",
"Resolution": "解析度",
"Resource Error": "資源錯誤",
@@ -279,5 +283,28 @@
"Log Viewer": "紀錄檢視器",
"Log output saved to {file_name}": "紀錄已儲存至 {file_name}",
"Unable to save log file: {error}": "無法儲存紀錄檔:{error}",
"Log truncated at {time}; {count} older lines removed.": "紀錄已於 {time} 裁切;已移除較舊的 {count} 行。"
"Log truncated at {time}; {count} older lines removed.": "紀錄已於 {time} 裁切;已移除較舊的 {count} 行。",
"Add theme folders containing theme.toml and palette.toml to: {path}": "請將包含 theme.toml 與 palette.toml 的主題資料夾放到:{path}",
"Check failed": "檢查失敗",
"Checking…": "正在檢查……",
"Client ID must be a valid UUID.\n\nExample: 12345678-1234-5678-9abc-123456789abc": "Client ID 必須是有效的 UUID。\n\n範例:12345678-1234-5678-9abc-123456789abc",
"Credential migration failed": "憑證移轉失敗",
"Credentials save method": "憑證儲存方式",
"Custom": "自訂",
"Expired": "已過期",
"Invalid Client ID": "無效的 Client ID",
"Launcher log": "啟動器紀錄",
"Log View": "紀錄檢視",
"Logger": "紀錄",
"Preparing Microsoft sign-in…": "正在準備 Microsoft 登入……",
"Save as a regular file": "儲存於一般檔案",
"Signed in": "已登入",
"The credential storage method was restored to its previous value.": "已將憑證儲存方式還原為先前的設定。",
"Token refresh check interval": "Token 重新整理檢查間隔",
"Unable to check login status: {error}": "無法檢查登入狀態:{error}",
"Use system keyring": "使用系統金鑰圈",
"Vanilla": "原版",
"minutes": "分鐘",
"{account} is currently signed in.": "{account} 目前已登入。",
"{account}'s session has expired.": "{account} 的工作階段已過期。"
}