Main's new wording (PEP-123 «Продакт» words) kept and wrapped in t()/m();
wording(mode, locale) gives English words for {task}/{runner} placeholders;
glossary check (pnpm lint) passes; English for all new keys (en/merge-*.ts).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
20 lines
690 B
TypeScript
20 lines
690 B
TypeScript
import type { MetadataRoute } from "next";
|
|
import { PRODUCT_NAME } from "@peppa/shared/i18n";
|
|
import { getT } from "@/lib/i18n";
|
|
|
|
/** Installable as an app (PEP-55): Chrome «Установить Пеппу», badge on the app icon. */
|
|
export default async function manifest(): Promise<MetadataRoute.Manifest> {
|
|
const t = await getT();
|
|
return {
|
|
name: PRODUCT_NAME,
|
|
short_name: PRODUCT_NAME,
|
|
description: t("Проекты, задачи и агенты"),
|
|
start_url: "/",
|
|
scope: "/",
|
|
display: "standalone",
|
|
background_color: "#0a0a0a",
|
|
theme_color: "#0a0a0a",
|
|
icons: [{ src: "/icon.svg", sizes: "any", type: "image/svg+xml", purpose: "any" }],
|
|
};
|
|
}
|