From f19d6a7d9aa56896c71aff0bb6f4e34c4205c0aa Mon Sep 17 00:00:00 2001 From: Louis Moureaux Date: Sat, 22 Jul 2023 17:34:59 +0200 Subject: [PATCH] Add missing newline in science_dialog_text() With tech upkeep enabled, the text was looking like: Progress: %1 turn/advance (%1 bulb/turn)Bulbs produced per turn: %1 Add a newline after the closing parenthesis. --- client/text.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/text.cpp b/client/text.cpp index cf95703b4f..d3d845e540 100644 --- a/client/text.cpp +++ b/client/text.cpp @@ -849,9 +849,9 @@ const QString science_dialog_text() if (game.info.tech_upkeep_style != TECH_UPKEEP_NONE) { // perturn is defined as: (bulbs produced) - upkeep + str += qendl(); str += QString(_("Bulbs produced per turn: %1")) - .arg(QString::number(perturn + upkeep)) - + qendl(); + .arg(QString::number(perturn + upkeep)); /* TRANS: keep leading space; appended to "Bulbs produced per turn: %d" */ str += QString(_(" (needed for technology upkeep: %1)"))