Some checks failed
Test Suite / lint-backend (push) Waiting to run
Test Suite / compose-smoke (push) Waiting to run
Test Suite / k6 /api/health Baseline (push) Blocked by required conditions
Test Suite / playwright-smoke (push) Blocked by required conditions
Deploy Development / deploy (push) Successful in 47s
Test Suite / pytest-backend (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
25 lines
670 B
JavaScript
25 lines
670 B
JavaScript
/**
|
|
* AP1.9d — zentrale UI-Begriffe (Product Language).
|
|
* Spätere UI-Neuimplementierung kann diese Konstanten ersetzen, ohne Pages zu patchen.
|
|
* @see docs/product/Kairo_MVP_Definition_v0.3.md §7
|
|
*/
|
|
|
|
export const PRODUCT_TERMS = {
|
|
action: 'Arbeitspaket',
|
|
actionPlural: 'Arbeitspakete',
|
|
actionPossessive: 'meine Arbeitspakete',
|
|
workCycle: 'Sprint',
|
|
workCyclePlural: 'Sprints',
|
|
productBacklog: 'Product Backlog',
|
|
sprintBacklog: 'Sprint-Backlog',
|
|
intake: 'Eingang',
|
|
}
|
|
|
|
/**
|
|
* @param {number} count
|
|
*/
|
|
export function actionCountLabel(count) {
|
|
if (count === 1) return `1 ${PRODUCT_TERMS.action}`
|
|
return `${count} ${PRODUCT_TERMS.actionPlural}`
|
|
}
|