[ui] DaySentence: Her folded petal, the words and their source; the library bundled after validation

This commit is contained in:
2026-11-02 08:55:06 +01:00
parent 5934523e45
commit 03dc69702a
16 changed files with 525 additions and 19 deletions
+20 -1
View File
@@ -50,6 +50,24 @@ export const en = {
tooFull: 'That was a lot of water. I will be fine by tomorrow.'
},
notKept: 'This device could not keep today’s care, so it lasts only until the garden closes.',
/**
* The day's sentence (day-sentence.md). She offers; she never counts, and never
* mentions a day the petal was not opened.
*/
petal: {
/** Said when she needs nothing else. */
waiting: 'I am keeping a folded petal for you.',
/** Around the real sunset (P4); in polar day and night the same words still hold. */
goodMoment: 'The sun is low now. Would you open my petal?',
/** After opening it at the good moment: the best moments send the player outside. */
lookUp: 'Go and look at the sky. I will be here.',
open: 'Open her petal',
folded: 'A folded petal.',
today: 'Today’s petal',
remember: 'Do you remember this one?',
source: (work: string, author: string | null, translation: string | null): string =>
`${author ? `${author}, ` : ''}${work}${translation ? ` (${translation})` : ''}`
},
/** Keeping her (keep-her-safe.md). True and calm: a browser can clear a site's data. */
safe: {
title: 'Keep her safe',
@@ -62,7 +80,8 @@ export const en = {
save: 'Save her to a file',
fileNote: 'The file holds her care and when it was given. It never holds your town.',
bringBack: 'Bring her back from a file',
broughtBack: (n: number): string => (n === 1 ? 'She is back, with 1 act of care.' : `She is back, with ${n} acts of care.`),
broughtBack: (n: number): string =>
n === 0 ? 'She is back.' : n === 1 ? 'She is back, with 1 act of care.' : `She is back, with ${n} acts of care.`,
alreadyHere: 'Everything in that file is already here.',
notARose: 'That file does not hold a rose.'
}