Skip to content

Commit

Permalink
Add missing newline in science_dialog_text()
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
lmoureaux authored and jwrober committed Jul 23, 2023
1 parent 178f7b8 commit f19d6a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/text.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)"))
Expand Down

0 comments on commit f19d6a7

Please sign in to comment.