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}`
|
||
|
|
}
|