fix: improve modal scroll lock and e2e script workflow (#156)

This commit is contained in:
Daniel Volz
2026-02-12 21:43:28 +01:00
committed by GitHub
parent 6072d8eb2e
commit 4275dca838
5 changed files with 13 additions and 16 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ function getBlisterStock(totalPills: number, pillsPerBlister: number, _looseTabl
// Helper to format full blisters
function formatFullBlisters(count: number, t: (key: string) => string): string {
return `${count} ${t("common.blisters")}`;
return `${count} ${count === 1 ? t("common.blister") : t("common.blisters")}`;
}
// Helper to format open blister and loose pills