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>
9 lines
640 B
TypeScript
9 lines
640 B
TypeScript
import { m } from "@peppa/shared/i18n";
|
|
|
|
/** PEP-115: what happens to a comment on a story, by the story's state (shown under the field). */
|
|
export function commentHint(taskStatus: string, hasLive: boolean): string {
|
|
if (hasLive) return m("Агент работает — увидит комментарий сразу.");
|
|
if (taskStatus === "backlog") return m("Агент ещё не начал — аналитик уточнит постановку и ответит здесь.");
|
|
return m("Агент сейчас не работает — увидит комментарий, когда вернётся к задаче.");
|
|
}
|