Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2002:
[Freeciv-Dev] Why not I18N?
Home

[Freeciv-Dev] Why not I18N?

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Why not I18N?
From: Davide Pagnin <nightmare@xxxxxxxxxx>
Date: Fri, 31 May 2002 01:40:07 +0200

        Hi all!
well, the story ins't a surprise. It seems to me that these two files:
po/check-po.pl
po/POTFILES.in
Need to be updated.

As a summary, I can say that the script with mine modification
runs correctly.

Give it a try and let me know, if I got a misconfiguration, or not.
There are more that 30 new files that deserve to go intto the
POTFILES.in.

        Ciao, Davide

P.S. Mine Machine: linux redhat 6.2 - kernel 2.2.19-6.2.16
--- freeciv/po/POTFILES.in      Thu Apr  4 09:11:44 2002
+++ freeciv-work/po/POTFILES.in Fri May 31 00:08:14 2002
@@ -33,11 +33,14 @@
 server/ruleset.c
 server/rulesout.c
 server/savegame.c
+server/sernet.c
 server/spacerace.c
 server/srv_main.c
 server/stdinhand.c
 server/unithand.c
 server/unittools.c
+client/audio.c
+client/audio_esd.c
 client/citydlg_common.c
 client/cityrepdata.c
 client/civclient.c
@@ -50,6 +53,30 @@
 client/tilespec.c
 client/agents/cma_core.c
 client/agents/cma_fec.c
+client/gui-gtk-2.0/chatline.c
+client/gui-gtk-2.0/citydlg.c
+client/gui-gtk-2.0/cityrep.c
+client/gui-gtk-2.0/cma_fe.c
+client/gui-gtk-2.0/connectdlg.c
+client/gui-gtk-2.0/dialogs.c
+client/gui-gtk-2.0/diplodlg.c
+client/gui-gtk-2.0/finddlg.c
+client/gui-gtk-2.0/gamedlgs.c
+client/gui-gtk-2.0/gotodlg.c
+client/gui-gtk-2.0/gui_main.c
+client/gui-gtk-2.0/happiness.c
+client/gui-gtk-2.0/helpdlg.c
+client/gui-gtk-2.0/inputdlg.c
+client/gui-gtk-2.0/inteldlg.c
+client/gui-gtk-2.0/mapctrl.c
+client/gui-gtk-2.0/mapview.c
+client/gui-gtk-2.0/menu.c
+client/gui-gtk-2.0/messagedlg.c
+client/gui-gtk-2.0/messagewin.c
+client/gui-gtk-2.0/plrdlg.c
+client/gui-gtk-2.0/repodlgs.c
+client/gui-gtk-2.0/spaceshipdlg.c
+client/gui-gtk-2.0/wldlg.c
 client/gui-gtk/chatline.c
 client/gui-gtk/citydlg.c
 client/gui-gtk/cityrep.c
@@ -83,6 +110,7 @@
 client/gui-mui/finddlg.c
 client/gui-mui/gamedlgs.c
 client/gui-mui/gotodlg.c
+client/gui-mui/graphics.c
 client/gui-mui/gui_main.c
 client/gui-mui/helpdlg.c
 client/gui-mui/inputdlg.c
@@ -102,9 +130,11 @@
 client/gui-win32/cityrep.c
 client/gui-win32/connectdlg.c
 client/gui-win32/dialogs.c
+client/gui-win32/diplodlg.c
 client/gui-win32/finddlg.c
 client/gui-win32/gotodlg.c
 client/gui-win32/gui_main.c
+client/gui-win32/happiness.c
 client/gui-win32/helpdlg.c
 client/gui-win32/inputdlg.c
 client/gui-win32/inteldlg.c
@@ -118,10 +148,12 @@
 client/gui-win32/ratesdlg.c
 client/gui-win32/repodlgs.c
 client/gui-win32/spaceshipdlg.c
+client/gui-win32/wldlg.c
 client/gui-xaw/chatline.c
 client/gui-xaw/citydlg.c
 client/gui-xaw/cityrep.c
 client/gui-xaw/colors.c
+client/gui-xaw/connectdlg.c
 client/gui-xaw/dialogs.c
 client/gui-xaw/diplodlg.c
 client/gui-xaw/graphics.c
@@ -138,7 +170,6 @@
 client/gui-xaw/plrdlg.c
 client/gui-xaw/ratesdlg.c
 client/gui-xaw/repodlgs.c
-client/gui-xaw/spaceshipdlg.c
 client/gui-xaw/wldlg.c
 data/Freeciv
 data/helpdata.txt
--- freeciv/po/check_po.pl      Thu Aug 24 13:28:54 2000
+++ freeciv-work/po/check_po.pl Wed May 29 02:21:33 2002
@@ -348,7 +348,23 @@
         $state = S_DOING_MSGID;
         next LINE;
     }
+    if ( m(^msgid_plural \"(.*)\"$) ) {
+        $entryline = $.;
+        @amsgid = ($1);
+        $state = S_DOING_MSGID;
+        next LINE;
+    }
     if ( m(^msgstr \"(.*)\"$) ) {
+        @amsgstr = ($1);
+        $state = S_DOING_MSGSTR;
+        next LINE;
+    }
+    if ( m(^msgstr\[0\] \"(.*)\"$) ) {
+        @amsgstr = ($1);
+        $state = S_DOING_MSGSTR;
+        next LINE;
+    }
+    if ( m(^msgstr\[1\] \"(.*)\"$) ) {
         @amsgstr = ($1);
         $state = S_DOING_MSGSTR;
         next LINE;

[Prev in Thread] Current Thread [Next in Thread]