release: 0.2.0 — CJK font consistency + remove stale upstream references

- Fix CJK font rendering: add PingFang SC, Microsoft YaHei, Noto Sans CJK SC
  fallbacks to all CSS font stacks (headline, body, label, mono)
- Clear docs_link default (was pointing to upstream docs)
- Remove user-facing "NewAPI" text from en/zh i18n strings
- Bump desktop version to 0.2.0

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-17 11:45:51 +08:00
co-authored by Claude Opus 4.6
parent 460bdcc951
commit 838f3717e5
7 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"name": "heicode-desktop", "name": "heicode-desktop",
"private": true, "private": true,
"version": "0.1.10", "version": "0.2.0",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "heicode-desktop" name = "heicode-desktop"
version = "0.1.10" version = "0.2.0"
edition = "2021" edition = "2021"
[lib] [lib]
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"$schema": "https://raw.githubusercontent.com/nicegui/nicegui/main/nicegui/static/tauri-schema-v2.json", "$schema": "https://raw.githubusercontent.com/nicegui/nicegui/main/nicegui/static/tauri-schema-v2.json",
"productName": "HeiCode", "productName": "HeiCode",
"version": "0.1.10", "version": "0.2.0",
"identifier": "com.heicode.desktop", "identifier": "com.heicode.desktop",
"build": { "build": {
"frontendDist": "../dist", "frontendDist": "../dist",
+4 -4
View File
@@ -162,10 +162,10 @@
--color-success: #2EA86E; --color-success: #2EA86E;
--color-warning: #E5A23E; --color-warning: #E5A23E;
--font-headline: 'Manrope', sans-serif; --font-headline: 'Manrope', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
--font-body: 'Inter', sans-serif; --font-body: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
--font-label: 'Inter', sans-serif; --font-label: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
--font-mono: 'JetBrains Mono', monospace; --font-mono: 'JetBrains Mono', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', monospace;
} }
/* ─── Semantic Aliases — DEFAULT IS DARK (Heicode Premium Black) ─── */ /* ─── Semantic Aliases — DEFAULT IS DARK (Heicode Premium Black) ─── */
@@ -24,7 +24,7 @@ type GeneralSetting struct {
// 默认配置 // 默认配置
var generalSetting = GeneralSetting{ var generalSetting = GeneralSetting{
DocsLink: "https://docs.newapi.pro", DocsLink: "",
PingIntervalEnabled: false, PingIntervalEnabled: false,
PingIntervalSeconds: 60, PingIntervalSeconds: 60,
QuotaDisplayType: QuotaDisplayTypeUSD, QuotaDisplayType: QuotaDisplayTypeUSD,
+1 -1
View File
@@ -884,7 +884,7 @@
"Create a new user group to configure ratio overrides for.": "Create a new user group to configure ratio overrides for.", "Create a new user group to configure ratio overrides for.": "Create a new user group to configure ratio overrides for.",
"Create account": "Create account", "Create account": "Create account",
"Create Agnet deployment": "Create Agnet deployment", "Create Agnet deployment": "Create Agnet deployment",
"Create Agnet deployment description": "Send the orchestration plan to Agnet. Model choices here are runtime policy, not NewAPI billing setup.", "Create Agnet deployment description": "Send the orchestration plan to Agnet. Model choices here are runtime policy, not billing setup.",
"Create an account": "Create an account", "Create an account": "Create an account",
"Create and review invite or credit codes.": "Create and review invite or credit codes.", "Create and review invite or credit codes.": "Create and review invite or credit codes.",
"Create API Key": "Create API Key", "Create API Key": "Create API Key",
+1 -1
View File
@@ -884,7 +884,7 @@
"Create a new user group to configure ratio overrides for.": "创建一个新的用户分组来配置比例覆盖。", "Create a new user group to configure ratio overrides for.": "创建一个新的用户分组来配置比例覆盖。",
"Create account": "创建账户", "Create account": "创建账户",
"Create Agnet deployment": "创建 Agnet 部署", "Create Agnet deployment": "创建 Agnet 部署",
"Create Agnet deployment description": "向 Agnet 提交编排计划。这里的模型选择是运行策略,不是 NewAPI 计费配置。", "Create Agnet deployment description": "向 Agnet 提交编排计划。这里的模型选择是运行策略,不是计费配置。",
"Create an account": "创建一个账户", "Create an account": "创建一个账户",
"Create and review invite or credit codes.": "创建和审查邀请或信用代码。", "Create and review invite or credit codes.": "创建和审查邀请或信用代码。",
"Create API Key": "创建 API 密钥", "Create API Key": "创建 API 密钥",