···11111111 "p1": "If you encounter an accessibility barrier on {app}, please let us know by opening an issue on our {link}. We take these reports seriously and will do our best to address them.",
11121112 "link": "GitHub repository"
11131113 }
11141114- },
11151115- "vacations": {
11161116- "title": "on vacation",
11171117- "meta_description": "The npmx team is recharging. Discord reopens in a week.",
11181118- "heading": "recharging",
11191119- "subtitle": "we've been building npmx at a pace that has cost {some} of us sleep. we don't want that to be the norm! so we are taking a week off. together.",
11201120- "illustration_alt": "a single row of cosy icons",
11211121- "poke_log": "Poke the campfire",
11221122- "what": {
11231123- "title": "what's happening",
11241124- "p1": "discord is closed {dates}.",
11251125- "dates": "February 14 – 21",
11261126- "p2": "all invite links are gone and channels are locked – except {garden}, which stays open for folks who want to keep hanging out.",
11271127- "garden": "#garden"
11281128- },
11291129- "meantime": {
11301130- "title": "in the meantime",
11311131- "p1": "{site} and {repo} stay open – dig in, file issues, open PRs. we'll get to everything when we're back. just don't expect a fast review. we'll be somewhere near a cosy fireplace.",
11321132- "repo_link": "the repo"
11331133- },
11341134- "return": {
11351135- "title": "see you soon",
11361136- "p1": "we'll come back recharged and ready for the final push to March 3rd. {social} for updates.",
11371137- "social_link": "follow us on Bluesky",
11381138- "add_to_calendar": "remind me when Discord reopens"
11391139- },
11401140- "stats": {
11411141- "contributors": "Contributors",
11421142- "commits": "Commits",
11431143- "pr": "PRs Merged",
11441144- "subtitle": {
11451145- "some": "some",
11461146- "all": "all"
11471147- }
11481148- }
11491114 }
11501115}
-35
lunaria/files/en-US.json
···11111111 "p1": "If you encounter an accessibility barrier on {app}, please let us know by opening an issue on our {link}. We take these reports seriously and will do our best to address them.",
11121112 "link": "GitHub repository"
11131113 }
11141114- },
11151115- "vacations": {
11161116- "title": "on vacation",
11171117- "meta_description": "The npmx team is recharging. Discord reopens in a week.",
11181118- "heading": "recharging",
11191119- "subtitle": "we've been building npmx at a pace that has cost {some} of us sleep. we don't want that to be the norm! so we are taking a week off. together.",
11201120- "illustration_alt": "a single row of cosy icons",
11211121- "poke_log": "Poke the campfire",
11221122- "what": {
11231123- "title": "what's happening",
11241124- "p1": "discord is closed {dates}.",
11251125- "dates": "February 14 – 21",
11261126- "p2": "all invite links are gone and channels are locked – except {garden}, which stays open for folks who want to keep hanging out.",
11271127- "garden": "#garden"
11281128- },
11291129- "meantime": {
11301130- "title": "in the meantime",
11311131- "p1": "{site} and {repo} stay open – dig in, file issues, open PRs. we'll get to everything when we're back. just don't expect a fast review. we'll be somewhere near a cosy fireplace.",
11321132- "repo_link": "the repo"
11331133- },
11341134- "return": {
11351135- "title": "see you soon",
11361136- "p1": "we'll come back recharged and ready for the final push to March 3rd. {social} for updates.",
11371137- "social_link": "follow us on Bluesky",
11381138- "add_to_calendar": "remind me when Discord reopens"
11391139- },
11401140- "stats": {
11411141- "contributors": "Contributors",
11421142- "commits": "Commits",
11431143- "pr": "PRs Merged",
11441144- "subtitle": {
11451145- "some": "some",
11461146- "all": "all"
11471147- }
11481148- }
11491114 }
11501115}
+4-2
lunaria/prepare-json-files.ts
···66666767async function loadLocaleSourceJson<T = unknown>(name: string): Promise<T> {
6868 const rawJson = JSON.parse(await fs.readFile(path.resolve(`${localesFolder}/${name}`), 'utf8'))
6969- // Exclude $schema since it isn't useful in generated files and the relative path
6969+ // Exclude $schema since it isn't useful in generated files and the relative
7070+7171+ // TODO: removing vacations entry key for temporal recharging page
7072 // would be wrong anyway
7171- const { $schema: _, ...rest } = rawJson
7373+ const { $schema: _, vacations: __, ...rest } = rawJson
7274 return rest
7375}
7476
+3
scripts/compare-translations.ts
···385385 lang: 'en',
386386 })
387387388388+ // TODO: removing vacations entry key for temporal recharging page
389389+ delete referenceContent.vacations
390390+388391 // $schema is a JSON Schema reference, not a translation key
389392 delete referenceContent.$schema
390393