[Freeciv-Dev] (PR#2505) Game end messages not translated
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
1.14 BETA CVS 06 DEC 2002
Some game end messages to appear in the client are not properly
i18n'd. But we are lucky, these messages reappear exactly in gamelog,
where they _are_ i18n'd. So they are already localized in *.po, except
of one, which isn't used in normal play.
Patch attached.
Christian
--
Christian Knoke * * * http://www.enter.de/~c.knoke/
* * * * * * * * * Ceterum censeo Microsoft esse dividendum.
--- server/srv_main.c.orig Fri Dec 6 21:33:20 2002
+++ server/srv_main.c Fri Dec 6 21:37:08 2002
@@ -199,7 +199,7 @@
/* quit if we are past the year limit */
if (game.year > game.end_year) {
notify_conn(&game.est_connections,
- "Game ended in a draw as end year exceeded");
+ _("Game ended in a draw as end year exceeded"));
gamelog(GAMELOG_NORMAL, _("Game ended in a draw as end year exceeded"));
return TRUE;
}
@@ -228,7 +228,7 @@
team_iterate(pteam) {
if (team_count_members_alive(pteam->id) == alive) {
notify_conn(&game.est_connections,
- "Team victory to %s", pteam->name);
+ _("Team victory to %s"), pteam->name);
gamelog(GAMELOG_NORMAL, _("Team victory to %s"), pteam->name);
gamelog(GAMELOG_TEAM, "TEAMVICTORY %s", pteam->name);
return TRUE;
@@ -238,13 +238,13 @@
/* quit if only one player is left alive */
if (alive == 1) {
notify_conn(&game.est_connections,
- "Game ended in victory for %s", victor->name);
+ _("Game ended in victory for %s"), victor->name);
gamelog(GAMELOG_NORMAL, _("Game ended in victory for %s"),
victor->name);
gamelog(GAMELOG_TEAM, "SINGLEWINNER %s", victor->name);
return TRUE;
} else if (alive == 0) {
- notify_conn(&game.est_connections, "Game ended in a draw");
+ notify_conn(&game.est_connections, _("Game ended in a draw"));
gamelog(GAMELOG_NORMAL, _("Game ended in a draw"));
gamelog(GAMELOG_TEAM, "NOWINNER");
return TRUE;
@@ -637,7 +637,7 @@
break;
case REPORT_SERVER_OPTIONS: /* obsolete */
default:
- notify_conn(dest, "Game: request for unknown report (type %d)", type);
+ notify_conn(dest, _("Game: request for unknown report (type %d)"), type);
}
}
@@ -1171,7 +1171,7 @@
*/
show_players(pconn);
- /* notify_conn(dest, "Waiting for the server to start the game."); */
+ /* notify_conn(dest, _("Waiting for the server to start the game.")); */
/* I would put this here, but then would need another message when
the game is started. --dwp */
}
- [Freeciv-Dev] (PR#2505) Game end messages not translated,
ChrisK@xxxxxxxx via RT <=
- Message not available
- [Freeciv-Dev] Re: (PR#2505) Game end messages not translated, Jason Short via RT, 2002/12/07
- Message not available
- [Freeciv-Dev] Re: (PR#2505) Game end messages not translated, ChrisK@xxxxxxxx via RT, 2002/12/07
- Message not available
- [Freeciv-Dev] Re: (PR#2505) Game end messages not translated, Jason Short via RT, 2002/12/08
- Message not available
- [Freeciv-Dev] Re: (PR#2505) Game end messages not translated, ChrisK@xxxxxxxx via RT, 2002/12/08
- Message not available
- [Freeciv-Dev] Re: (PR#2505) Game end messages not translated, Reinier Post via RT, 2002/12/08
- Message not available
- [Freeciv-Dev] Re: (PR#2505) Game end messages not translated, ChrisK@xxxxxxxx via RT, 2002/12/08
- Message not available
- [Freeciv-Dev] Re: (PR#2505) Game end messages not translated, Jason Short via RT, 2002/12/08
- Message not available
- [Freeciv-Dev] Re: (PR#2505) Game end messages not translated, ChrisK@xxxxxxxx via RT, 2002/12/09
- Message not available
- [Freeciv-Dev] Re: (PR#2505) Game end messages not translated, Jason Short via RT, 2002/12/09
|
|