Show line-ups before kickoff, bind form and table widgets, rewrite the press wording

- Live ticker: the paused live state carries both starting elevens; the ticker lists
  them until the first report. A single match no longer gets an empty strip above the
  score, repeated status lines are gone, whistles carry no club badge, dates are
  written out.
- Desk: "Die letzten Spiele" and the table place curve are fed by the engine
  (desktop-widgets read: recent, rankCurve) and belong to the default layout; the own
  crest widget is bound.
- News: the German press templates are rewritten to one plain sentence each (the
  catalogue accepts a single sentence now); the reference snapshots follow, and the
  catalogue test can rewrite them with --update. Mailbox texts show world spellings
  of clubs and players and the euro sign.
- Small type raised in advertising, lineup, news, toto, transfer and others; the
  transfer market column no longer runs under its scrollbar.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
MichaelandClaude Fable 5.2 committed 2026-11-14 12:36:33 +01:00
1 parent bd20960f90
commit 9708b720b2
33 files changed
+418 -373

No files matched your search

+1 -1
View File
@@ -680,7 +680,7 @@ NewsCatalog::NewsCatalog(Json data) : catalogue_(std::move(data)) {
for (const auto *lang : {"de", "en"}) {
const auto &v = t.at(lang);
(void)text(v.at("headline"), 240);
if (!v.at("sentences").is_array() || v.at("sentences").size() < 2 ||
if (!v.at("sentences").is_array() || v.at("sentences").empty() ||
v.at("sentences").size() > 4)
throw editor::Error("invalid_news_catalogue");
for (const auto &s : v.at("sentences"))