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:
1 parent
bd20960f90
commit
9708b720b2
33 files changed
+418
-373
No files matched your search
@@ -50,6 +50,9 @@ cli::Json live_fixture(const ModernState& g, uint32_t after_date, uint32_t until
|
||||
// Modern's eleven of the day per league with a human match in the kickoff (3-4-3), chosen from
|
||||
// the recorded facts of that league's matches; empty when a line is short of players.
|
||||
cli::Json team_of_the_day(const ModernState& g, uint32_t from_date, uint32_t until_date);
|
||||
// The last `count` recorded matches of a club (world club id), oldest first: each
|
||||
// {form: "S"|"U"|"N", score: "own:other", opponent, home}. A shoot-out counts for its winner.
|
||||
cli::Json recent_results(const ModernState& g, const std::string& club_id, size_t count);
|
||||
// The ticker's headline and sentence for one event (kind as AlmanacEventKind); `home`/`away` is the
|
||||
// score after it. Deterministic: the variant follows from the event's facts.
|
||||
std::pair<std::string, std::string> ticker_phrase(int kind, const std::string& team, const std::string& who,
|
||||
|
||||
Reference in new issue
Block a user