diff --git a/src/exch.c b/src/exch.c index f6a50d3..fe6b266 100644 --- a/src/exch.c +++ b/src/exch.c @@ -599,7 +599,9 @@ void trade_shares (int num, bool *bid_used) box(curwin, 0, 0); center(curwin, 2, 0, attr_normal, attr_highlight, 0, 1, - _("You can purchase up to ^{%'ld^} shares."), maxshares); + ngettext("You can purchase ^{one^} share.", + "You can purchase up to ^{%'ld^} shares.", + maxshares), maxshares); mkchstr(chbuf, BUFSIZE, attr_normal, 0, 0, 1, getmaxx(curwin) - TRADE_INPUT_COLS - 4, &width, 1, @@ -632,7 +634,9 @@ void trade_shares (int num, bool *bid_used) box(curwin, 0, 0); center(curwin, 2, 0, attr_normal, attr_highlight, 0, 1, - _("You can sell up to ^{%'ld^} shares."), maxshares); + ngettext("You can sell ^{one^} share.", + "You can sell up to ^{%'ld^} shares.", + maxshares), maxshares); mkchstr(chbuf, BUFSIZE, attr_normal, 0, 0, 1, getmaxx(curwin) - TRADE_INPUT_COLS - 4, &width, 1, @@ -671,8 +675,9 @@ void trade_shares (int num, bool *bid_used) txdlgbox(MAX_DLG_LINES, 50, 8, WCENTER, attr_normal_window, attr_title, attr_normal, attr_highlight, 0, attr_waitforkey, _(" Shares Issued "), - _("%s has issued\n^{%'ld^} more shares."), - company[num].name, maxshares); + ngettext("%s has issued\none more share.", + "%s has issued\n^{%'ld^} more shares.", + maxshares), company[num].name, maxshares); } break; diff --git a/src/game.c b/src/game.c index 738fa38..3f17f99 100644 --- a/src/game.c +++ b/src/game.c @@ -523,7 +523,9 @@ void end_game (void) txdlgbox(MAX_DLG_LINES, 50, 9, WCENTER, attr_error_window, attr_error_title, attr_error_highlight, 0, 0, attr_error_waitforkey, _(" Game Over "), - _("The game is over after %d turns."), turn_number - 1); + ngettext("The game is over after one turn.", + "The game is over after %d turns.", + turn_number - 1), turn_number - 1); for (int i = 0; i < number_players; i++) { show_status(i);