mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-17 15:42:24 +00:00
fix(i18n): say what the Coach reads of older lab results when the lookback has no limit
The no-limit option promised every lab result, and the German detail sentence ended on a dangling clause. The Coach keeps the latest value of the most recently measured markers and, for a marker asked about, its five previous results with older ones summarised per year for ten years; years before that are only counted. Every language now says that in complete sentences, with the two numbers pinned to the lab history constants.
This commit is contained in:
1 parent
3354631a85
commit
e78d5f86a6
12 files changed
+73
-24
No files matched your search
@@ -151,7 +151,7 @@ describe("<SourcesRail>", () => {
|
||||
// `allTime` is the default: the sentence carries the numbers the
|
||||
// readers use (`history-reach.ts`).
|
||||
expect(html).toContain(
|
||||
"Everything you recorded: 12 months in daily detail, older readings as monthly values up to 10 years back, and every lab result, older ones summarised per year.",
|
||||
"Without a limit, the Coach reads 12 months of readings in daily detail and older readings as monthly values up to 10 years back. For lab results it reads the latest value of the most recently measured markers and, for a marker you ask about, its 5 previous results, with older ones summarised per year up to 10 years back; earlier years are only counted.",
|
||||
);
|
||||
expect(html).not.toContain("stay visible");
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user