diff --git a/docs/SELF-HOSTED.md b/docs/SELF-HOSTED.md index 8233008..f060f24 100644 --- a/docs/SELF-HOSTED.md +++ b/docs/SELF-HOSTED.md @@ -29,7 +29,7 @@ Each page names the exact settings, quotes where they came from, and states the ## What is not here -Portainer are in the same position and are not covered yet. They are missing because nobody has read their documentation carefully enough to name the settings without guessing, not because they do not fit. +Portainer is in the same position and is not covered yet. It is missing because nobody has read their documentation carefully enough to name the settings without guessing, not because they do not fit. [Tell us which one you run](https://github.com/msgwing/ZeroSMTP/issues/new/choose) and it moves up the list. diff --git a/docs/llms-full.txt b/docs/llms-full.txt index 075d592..35413bd 100644 --- a/docs/llms-full.txt +++ b/docs/llms-full.txt @@ -1105,7 +1105,7 @@ Each page names the exact settings, quotes where they came from, and states the ## What is not here -Portainer are in the same position and are not covered yet. They are missing because nobody has read their documentation carefully enough to name the settings without guessing, not because they do not fit. +Portainer is in the same position and is not covered yet. It is missing because nobody has read their documentation carefully enough to name the settings without guessing, not because they do not fit. [Tell us which one you run](https://github.com/msgwing/ZeroSMTP/issues/new/choose) and it moves up the list. diff --git a/tools/build-app-pages.py b/tools/build-app-pages.py index 778310b..3dd332f 100644 --- a/tools/build-app-pages.py +++ b/tools/build-app-pages.py @@ -157,6 +157,23 @@ def przecinki(nazwy): return ", ".join(nazwy[:-1]) + " and " + nazwy[-1] +def zdanie_nieobjete(nieobjete): + """Zdanie o niepokrytych aplikacjach z czasownikiem odmienionym przez liczbe. + + Dla jednego elementu potrzebne jest "is"/"It", nie "are"/"They" - + przecinki() sam zwraca pojedyncza nazwe, ale zdanie wokol niej + zakladalo mnoga liczbe. + """ + nazwy = [n["name"] for n in nieobjete] + byc, zaimek = ("is", "It") if len(nazwy) == 1 else ("are", "They") + return ( + f"{przecinki(nazwy)} {byc} in the same position and {byc} not " + f"covered yet. {zaimek} {byc} missing because nobody has read their " + "documentation carefully enough to name the settings without " + "guessing, not because they do not fit." + ) + + def zbuduj_indeks(wpisy, aktualizacja, nieobjete=()): w = [ "---", @@ -198,11 +215,7 @@ def zbuduj_indeks(wpisy, aktualizacja, nieobjete=()): "", "## What is not here", "", - (przecinki([n["name"] for n in nieobjete]) + - " are in the same position and are not covered yet. They " - "are missing because nobody has read their documentation carefully " - "enough to name the settings without guessing, not because they do " - "not fit.") if nieobjete else + zdanie_nieobjete(nieobjete) if nieobjete else "Every application measured as a candidate now has a page. Tell us " "which one you run and it goes on the list.", "",