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:
2026-05-01 11:03:55 +08:00
parent dca36ed1f6
commit 5a613abc33
16 changed files with 25 additions and 128 deletions
+2 -2
View File
@@ -123,7 +123,7 @@ func BuildOpenAPI(routes gin.RoutesInfo, cfg Config) map[string]any {
func withDefaults(cfg Config) Config {
if strings.TrimSpace(cfg.Title) == "" {
cfg.Title = "Geo Rankly Tenant API"
cfg.Title = "省心推 客户 API"
}
if strings.TrimSpace(cfg.Version) == "" {
cfg.Version = "dev"
@@ -557,7 +557,7 @@ const swaggerIndexHTML = `<!doctype html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Geo Rankly API Swagger</title>
<title>省心推 API Swagger</title>
<link rel="stylesheet" href="https://unpkg.com/swagger-ui-dist@5/swagger-ui.css" />
<style>
body {