mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-24 23:04:55 +00:00
5 lines
204 B
TypeScript
5 lines
204 B
TypeScript
export const questionSubtitle = (count: number, t: (key: string) => string) => {
|
|
if (count === 0) return ""
|
|
return `${count} ${t(count > 1 ? "ui.common.question.other" : "ui.common.question.one")}`
|
|
}
|