Trim the career's ticker, news, line-up and transfer wording; show world names in contracts

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
MichaelandClaude Fable 5.2 committed 2026-11-14 10:37:49 +01:00
1 parent 46d0341829
commit 46cd93472f
6 files changed
+29 -14

No files matched your search

+2 -2
View File
@@ -432,12 +432,12 @@ std::string App::render_transfer() {
const bool pending_loan = pending && chosen.at("bid").value("loan",false);
out +=
btn("transfer-offer",
mine && listed(chosen.at("id")) ? "Vom Markt nehmen" : "Ver-kaufen",
mine && listed(chosen.at("id")) ? "Vom Markt nehmen" : "Verkaufen",
"",
"id=\"transfer-offer-buy-sell\" data-kind=\"" +
std::string(mine ? "sell" : "buy") + "\" " +
std::string(chosen.is_object() && (!engine_mode_ || !mine || !listed(chosen.at("id"))) && (!pending || !pending_loan) ? "" : "disabled")) +
btn("transfer-offer", "Ver-leihen", "",
btn("transfer-offer", "Verleihen", "",
"id=\"transfer-offer-loan-lend\" data-kind=\"" +
std::string(mine ? "lend" : "loan") + "\" " +
std::string(chosen.is_object() && (!engine_mode_ || !mine || !listed(chosen.at("id"))) && (!pending || pending_loan) && (!engine_mode_ || mine || chosen.value("loan_allowed",false)) ? "" : "disabled")) +