Render typed bilingual news and preserve historical journal scope (by Codex)

This commit is contained in:
Codex authored and Codex committed 2026-10-27 05:46:07 +01:00
1 parent 1eb5e99847
commit 950d79d529
16 files changed
+6858 -81

No files matched your search

+4 -3
View File
@@ -52,9 +52,10 @@ void App::news_after_render() {
}
void App::news_update_feed() {
const auto s = snap();
const auto data =
demo_news_view(*s.world, s.state, news_view_.value("folder", "inbox"),
news_view_.value("query", ""));
const auto data = demo_news_view(
*s.world, s.state, news_view_.value("folder", "inbox"),
news_view_.value("query", ""),
ui_preferences_.at("display").value("language", std::string("de")));
if (!data.value("ok", false))
return;
if (auto *feed = element("news-feed")) {