mirror of
https://git.zap.org.au/git/trader.git
synced 2024-12-04 14:46:45 -05:00
Mark up strings with xgettext:c-format comments where appropriate
This commit is contained in:
parent
4fecbe6e9d
commit
d953154e5d
@ -532,7 +532,9 @@ void end_game (void)
|
||||
if (number_players == 1) {
|
||||
txdlgbox(MAX_DLG_LINES, 60, 8, WCENTER, attr_normal_window,
|
||||
attr_title, attr_normal, attr_highlight, 0, attr_waitforkey,
|
||||
_(" Total Value "), _("Your total value was ^{%N^}."),
|
||||
_(" Total Value "),
|
||||
/* xgettext:c-format */
|
||||
_("Your total value was ^{%N^}."),
|
||||
total_value(0));
|
||||
} else {
|
||||
// Sort players on the basis of total value
|
||||
@ -546,6 +548,7 @@ void end_game (void)
|
||||
(player[0].sort_value == 0) ?
|
||||
_("The winner is ^{%s^}\n"
|
||||
"who is ^[*** BANKRUPT ***^]") :
|
||||
/* xgettext:c-format */
|
||||
_("The winner is ^{%s^}\n"
|
||||
"with a value of ^{%N^}."),
|
||||
player[0].name, player[0].sort_value);
|
||||
|
@ -1080,6 +1080,7 @@ void adjust_values (void)
|
||||
txdlgbox(MAX_DLG_LINES, 60, 7, WCENTER, attr_error_window,
|
||||
attr_error_title, attr_error_highlight, attr_error_normal,
|
||||
0, attr_error_waitforkey, _(" Interstellar Trading Bank "),
|
||||
/* xgettext:c-format */
|
||||
_("Your debt has amounted to %N!\n"
|
||||
"^{The Bank has impounded ^}%N^{ from your cash.^}"),
|
||||
player[current_player].debt, impounded);
|
||||
|
Loading…
Reference in New Issue
Block a user