i18n: localize provider preset names and sorting logic

- Replace hardcoded Chinese preset names with English versions (Claude Official, Zhipu GLM, Qwen Coder, ModelScope, Codex Official, KAT-Coder)
- Update ProviderList sorting to use locale-aware comparison based on current language (zh-CN for Chinese, en-US for English)
- Reorder presets: move KAT-Coder before PackyCode for better grouping
This commit is contained in:
Jason
2025-10-08 11:02:09 +08:00
parent 01da9a1eac
commit 3f3905fda0
3 changed files with 31 additions and 29 deletions

View File

@@ -54,7 +54,7 @@ wire_api = "responses"`;
export const codexProviderPresets: CodexProviderPreset[] = [
{
name: "Codex官方",
name: "Codex Official",
websiteUrl: "https://chatgpt.com/codex",
isOfficial: true,
category: "official",