mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-12 14:16:12 +00:00
fix(i18n): name the period in the forecast style hints
Only the selected style's hint is shown, so "it may start" and "they may fall" had no noun on screen to point back to. Name the period in every locale that left it implied, and put the Korean hints in the same register as the rest of the card.
This commit is contained in:
1 parent
b4a5442fb5
commit
0b3c013af7
10 files changed
+20
-18
No files matched your search
@@ -71,7 +71,7 @@ describe("<CycleCalendarFeedCard>", () => {
|
||||
}
|
||||
expect(html).toContain('aria-describedby="cycle-feed-forecast-hint"');
|
||||
expect(html).toMatch(
|
||||
/data-slot="cycle-feed-forecast-hint"[^>]*>Expected days, with the days it may start earlier or later as separate entries\.</,
|
||||
/data-slot="cycle-feed-forecast-hint"[^>]*>Expected days, with the days the period may start earlier or later as separate entries\.</,
|
||||
);
|
||||
|
||||
const band = render({
|
||||
@@ -79,7 +79,9 @@ describe("<CycleCalendarFeedCard>", () => {
|
||||
projectionState: "OK",
|
||||
fertileAvailable: false,
|
||||
});
|
||||
expect(band).toContain("One entry covering every day it may fall on.");
|
||||
expect(band).toContain(
|
||||
"One entry covering every day the period may fall on.",
|
||||
);
|
||||
expect(band).not.toContain("as separate entries");
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user