Skip to content

fix(tools): agree verb number in the SELF-HOSTED.md not-covered sentence - #435

Merged
msgwing merged 2 commits into
mainfrom
claude/trusting-joliot-ef4d1b
Sep 20, 2026
Merged

msgwing merged 2 commits into
mainfrom
claude/trusting-joliot-ef4d1b

Conversation

@msgwing

@msgwing msgwing commented Sep 10, 2026

Copy link
Copy Markdown
Owner

Problem

przecinki() in tools/build-app-pages.py already collapses a one-element
list to a bare name, but the sentence built around it in
zbuduj_indeks() was hardcoded plural: "... are in the same position and
are not covered yet. They are missing ...". After Wiki.js was added to
data/apps.json (#434), the uncovered list shrank to a single entry
(Portainer), and docs/SELF-HOSTED.md started reading:

Portainer are in the same position and are not covered yet.

Fix

Added zdanie_nieobjete(), which builds that sentence and picks
is/It vs are/They based on len(nieobjete), then regenerated
docs/SELF-HOSTED.md from data/apps.json.

Test plan

  • python tools/build-app-pages.py --check now passes clean (11 application pages match data/apps.json)
  • Diff on docs/SELF-HOSTED.md is exactly the verb/pronoun fix: "Portainer is in the same position and is not covered yet. It is missing ..."

przecinki() already returned a bare name for a one-element list, but the
sentence around it was hardcoded plural ("are in the same position...
They are missing"). Wiki.js landing in data/apps.json (#434) shrank the
uncovered list to one entry (Portainer) and exposed it: "Portainer are
in the same position" instead of "is". zdanie_nieobjete() now agrees
is/It with are/They based on list length.
@msgwing
msgwing enabled auto-merge (squash) September 10, 2026 18:59
@github-actions github-actions Bot added the docs label Sep 10, 2026
@msgwing
msgwing merged commit 5dbe16f into main Sep 20, 2026
40 checks passed
@msgwing
msgwing deleted the claude/trusting-joliot-ef4d1b branch September 20, 2026 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant