chore: rebrand product as 省心推 and lock UI to zh-CN
Update server titles, web/desktop window/tray/document titles, login copy, and electron build metadata to use the Chinese product name 省心推. Drop the runtime locale switcher and en-US import — the app now ships zh-CN only. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -340,7 +340,7 @@ async function createAppWindow(mode: WindowMode): Promise<ElectronBrowserWindow>
|
||||
minWidth: initial.minWidth,
|
||||
minHeight: initial.minHeight,
|
||||
show: false,
|
||||
title: "GEO Rankly Desktop",
|
||||
title: "省心推",
|
||||
icon: createDesktopHealthIcon("normal"),
|
||||
titleBarStyle: "hiddenInset",
|
||||
trafficLightPosition: { x: 12, y: 14 },
|
||||
@@ -414,7 +414,7 @@ async function createSettingsWindow(): Promise<ElectronBrowserWindow> {
|
||||
minWidth: initial.minWidth,
|
||||
minHeight: initial.minHeight,
|
||||
show: false,
|
||||
title: "GEO Rankly Desktop 设置",
|
||||
title: "省心推设置",
|
||||
icon: createDesktopHealthIcon("normal"),
|
||||
titleBarStyle: "hiddenInset",
|
||||
trafficLightPosition: { x: 14, y: 15 },
|
||||
|
||||
@@ -25,7 +25,7 @@ describe("playwright cdp target pruning", () => {
|
||||
expect(isReclaimableHiddenPlaywrightTarget({
|
||||
id: "renderer",
|
||||
type: "page",
|
||||
title: "GEO Rankly Desktop",
|
||||
title: "省心推 - 账号健康监控与内容发布平台",
|
||||
url: "http://localhost:5173/",
|
||||
})).toBe(false);
|
||||
});
|
||||
|
||||
@@ -165,7 +165,7 @@ function createLiveRuntimeSnapshot(controller: RuntimeControllerSnapshot) {
|
||||
return {
|
||||
generatedAt: now,
|
||||
app: {
|
||||
name: "GEO Rankly Desktop",
|
||||
name: "省心推",
|
||||
version: app.getVersion(),
|
||||
channel: process.env.NODE_ENV === "development" ? "dev" : "release",
|
||||
platform: process.platform,
|
||||
|
||||
@@ -57,7 +57,7 @@ export function updateTrayIssueIndicator(issueCount: number): void {
|
||||
|
||||
tray.setImage(createTrayIcon(hasIssues ? "danger" : "normal"));
|
||||
tray.setTitle(hasIssues ? formatIssueCount(safeCount) : "", { fontType: "monospacedDigit" });
|
||||
tray.setToolTip(hasIssues ? `GEO Rankly Desktop · ${safeCount} 个账号健康问题` : "GEO Rankly Desktop");
|
||||
tray.setToolTip(hasIssues ? `省心推 · ${safeCount} 个账号健康问题` : "省心推");
|
||||
}
|
||||
|
||||
export function initTray(onOpen: () => void): ElectronTray {
|
||||
|
||||
Reference in New Issue
Block a user