Index: server/autoattack.c =================================================================== RCS file: /home/freeciv/CVS/freeciv/server/autoattack.c,v retrieving revision 1.28 diff -u -r1.28 autoattack.c --- server/autoattack.c 2001/09/15 15:31:26 1.28 +++ server/autoattack.c 2001/10/30 00:09:28 @@ -26,11 +26,16 @@ */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include "combat.h" #include "events.h" +#include "fcintl.h" #include "game.h" #include "log.h" #include "map.h" @@ -124,7 +129,7 @@ if((unit_type(enemy)->defense_strength) > unit_type(punit)->attack_strength*1.5) { notify_player_ex(pplayer, punit->x, punit->y, E_NOEVENT, - "Game: Auto-Attack: %s's %s found a too tough enemy (%s)", + _("Game: Auto-Attack: %s's %s found a too tough enemy (%s)"), pcity->name, unit_name(punit->type), unit_name(enemy->type)); punit->ai.control=0; @@ -153,7 +158,7 @@ if (debug) freelog(LOG_DEBUG, "launching attack"); notify_player_ex(pplayer, enemy->x, enemy->y, E_NOEVENT, - "Game: Auto-Attack: %s's %s attacking %s's %s", + _("Game: Auto-Attack: %s's %s attacking %s's %s"), pcity->name, unit_name(punit->type), unit_owner(enemy)->name, unit_name(enemy->type)); Index: po/POTFILES.in =================================================================== RCS file: /home/freeciv/CVS/freeciv/po/POTFILES.in,v retrieving revision 1.45 diff -u -r1.45 POTFILES.in --- po/POTFILES.in 2001/10/16 17:30:46 1.45 +++ po/POTFILES.in 2001/10/30 00:09:29 @@ -12,6 +12,7 @@ common/unittype.c common/version.c ai/aicity.c +server/autoattack.c server/barbarian.c server/cityhand.c server/citytools.c