Files
ia-fit/app/ui/labels.js

21 lines
752 B
JavaScript

// Libellés français des valeurs fermées du domaine (app/domain/vocabulary.js).
/** @type {Record<import("../domain/vocabulary.js").TrackingMode, string>} */
export const TRACKING_LABELS = {
load: "Charge",
time: "Durée",
"time+load": "Durée et charge",
none: "Rien à saisir",
};
/**
* Ressenti d'une série. Glossaire : docs/glossaire/ressenti.md
* @type {Record<import("../domain/vocabulary.js").Effort, {label: string, hint: string}>}
*/
export const EFFORT_LABELS = {
easy: { label: "Facile", hint: "3 répétitions ou plus en réserve" },
ok: { label: "Correct", hint: "1 ou 2 répétitions en réserve" },
hard: { label: "Dur", hint: "Rien en réserve" },
failure: { label: "Échec", hint: "Série non terminée" },
};