Skip to content

Commit bd9d666

Browse files
committed
fix: 同步中英文翻译文案
- FontSize 标题添加 (px) 单位说明 - CustomEndpoint 描述改为通用 API 接口服务 - Temperature/MaxTokens 描述增加参数范围和使用建议 - ReasoningEffort 移除 grok 限定说明
1 parent 7c94a04 commit bd9d666

File tree

2 files changed

+16
-12
lines changed

2 files changed

+16
-12
lines changed

app/locales/cn.ts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ const cn = {
416416
},
417417
Avatar: "头像",
418418
FontSize: {
419-
Title: "本程序应用的字体基准",
419+
Title: "字体基准 (px)",
420420
SubTitle:
421421
"整体程序风格的字体基准(1em), 参考聊天标题的字体大小,如自定义css中有设置则以自定义css为准",
422422
},
@@ -573,8 +573,8 @@ const cn = {
573573
},
574574
CustomEndpoint: {
575575
Title: "自定义接口",
576-
SubTitle: "是否使用自定义 Azure 或 OpenAI 服务",
577-
Advanced: "点击前往高级自定义功能",
576+
SubTitle: "是否使用自定义 API 接口服务",
577+
Advanced: "高级自定义接口",
578578
},
579579
Provider: {
580580
Title: "模型服务商",
@@ -736,15 +736,17 @@ const cn = {
736736
},
737737
Temperature: {
738738
Title: "随机性",
739-
SubTitle: "temperature,值越大,回复越随机",
739+
SubTitle:
740+
"temperature,控制生成文本的随机性 (0-2), 值越大创造性越高, 低温抑制知识幻觉",
740741
},
741742
TopP: {
742743
Title: "核采样",
743744
SubTitle: "top_p,与随机性类似,但不要和随机性一起更改",
744745
},
745746
MaxTokens: {
746747
Title: "单次回复限制",
747-
SubTitle: "max_tokens,单次交互所用的最大 Token 数",
748+
SubTitle:
749+
"max_tokens,生成文本的最大长度, 思考模型、视觉对话、代码生成建议设置高回复限制",
748750
},
749751
PresencePenalty: {
750752
Title: "话题新鲜度",
@@ -757,7 +759,7 @@ const cn = {
757759
ReasoningEffort: {
758760
Title: "推理努力程度",
759761
SubTitle:
760-
"reasoning_effort,约束推理模型的努力程度和思考时间,仅适用于支持该参数的模型和供应商(当前仅grok)",
762+
"reasoning_effort,约束推理模型的努力程度和思考时间,仅适用于支持该参数的模型和供应商",
761763
},
762764
ParameterOverride: {
763765
Title: "参数覆盖",

app/locales/en.ts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ const en: LocaleType = {
440440
},
441441
Avatar: "Avatar",
442442
FontSize: {
443-
Title: "Base Font Size",
443+
Title: "Base Font Size (px)",
444444
SubTitle:
445445
"Adjust base font size (1em) of app, which referenced in the chat title",
446446
},
@@ -598,8 +598,8 @@ const en: LocaleType = {
598598
},
599599
CustomEndpoint: {
600600
Title: "Custom Endpoint",
601-
SubTitle: "Use custom Azure or OpenAI service",
602-
Advanced: "Click to configure advanced settings",
601+
SubTitle: "Use custom API endpoint service",
602+
Advanced: "Advanced Custom Endpoint",
603603
},
604604
Provider: {
605605
Title: "Model Provider",
@@ -773,15 +773,17 @@ const en: LocaleType = {
773773
},
774774
Temperature: {
775775
Title: "Temperature",
776-
SubTitle: "A larger value makes the more random output",
776+
SubTitle:
777+
"Controls the randomness of generated text (0-2). Higher values increase creativity, lower values reduce hallucinations",
777778
},
778779
TopP: {
779780
Title: "Top P",
780781
SubTitle: "Do not alter this value together with temperature",
781782
},
782783
MaxTokens: {
783784
Title: "Max Tokens",
784-
SubTitle: "Maximum length of input tokens and generated tokens",
785+
SubTitle:
786+
"Maximum length of generated text. Higher limits recommended for reasoning, visual dialogue, or code generation",
785787
},
786788
PresencePenalty: {
787789
Title: "Presence Penalty",
@@ -796,7 +798,7 @@ const en: LocaleType = {
796798
ReasoningEffort: {
797799
Title: "Reasoning Effort",
798800
SubTitle:
799-
"Effort and thought time of the constrained inference model, only for models and vendors that support this parameter (currently only grok)",
801+
"Effort and thought time of the constrained inference model, only for models and vendors that support this parameter",
800802
},
801803
ParameterOverride: {
802804
Title: "Parameter Override",

0 commit comments

Comments
 (0)