Files
OmniRoute/src/app/manifest.ts
QZ 0a7e2934e4 feat(i18n): complete zh-CN localization for compression engines and dashboard UI (#9038)
* feat(i18n): complete zh-CN localization for compression engines and dashboard UI

- Translate all compression engine names and descriptions (Caveman, Lite,
  Aggressive, Ultra, OmniGlyph, Headroom, Session Dedup, RTK, CCR, LLMLingua)
- Translate all __MISSING__ entries (50+ strings) across settings, cache,
  OAuth, compression exclusions, and provider onboarding
- Translate hardcoded dashboard UI strings (analytics tables, playground,
  cliproxy/9Router exposure cards, Qdrant config, OneProxy, forgot-password)
- Localize PWA manifest and A2A agent card (manifest.ts, agent.json route)
- Add missing translation keys (hermes roles, API protocol, embedded services,
  memory/Qdrant, Obsidian, Codex auto-ping, reasoning routing)

* fix(i18n): restore cliCommon.comparison.acp keys dropped in the release merge

The release merge kept only the author's translated `flow` value and dropped
`title`, `desc` and `examples`, which exist on every sibling entry
(code/agent). Restore the three from the release while keeping the author's
`flow` translation.

Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>

---------

Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>
2026-08-11 04:30:19 -03:00

54 lines
1.3 KiB
TypeScript

import type { MetadataRoute } from "next";
export default function manifest(): MetadataRoute.Manifest {
return {
name: "OmniRoute AI 网关",
short_name: "OmniRoute",
description: "OmniRoute 是一个面向多提供者 LLM 的 AI 网关。一个端点连接您所有的 AI 提供者。",
start_url: "/dashboard",
scope: "/",
display: "standalone",
orientation: "any",
background_color: "#0b0f1a",
theme_color: "#0b0f1a",
categories: ["developer-tools", "productivity", "utilities"],
lang: "en",
dir: "ltr",
prefer_related_applications: false,
icons: [
{
src: "/icon-192.png",
sizes: "192x192",
type: "image/png",
purpose: "any",
},
{
src: "/icon-512.png",
sizes: "512x512",
type: "image/png",
purpose: "any maskable",
},
{
src: "/icon-512.png",
sizes: "512x512",
type: "image/png",
purpose: "maskable",
},
{
src: "/apple-touch-icon.png",
sizes: "180x180",
type: "image/png",
},
],
screenshots: [
{
src: "/screenshots/dashboard.png",
sizes: "1280x720",
type: "image/png",
form_factor: "wide",
label: "OmniRoute Dashboard",
},
],
};
}