Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2003:
[Freeciv-Dev] (PR#6149) missing .c files in POTFILES.in
Home

[Freeciv-Dev] (PR#6149) missing .c files in POTFILES.in

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#6149) missing .c files in POTFILES.in
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 12 Sep 2003 06:30:02 -0700
Reply-to: rt@xxxxxxxxxxxxxx

The attached file adds some missing files in POTFILES.in, as detected by 
intltool.  Looks like a lot of strings were being missed...

jason

-------- Original Message --------
Subject: [freeciv-i18n] Files not included in POTFILES.in
Date: Fri, 12 Sep 2003 14:15:45 +0100
From: Duarte Loreto <happyguy_pt@xxxxxxxxxxx>
To: freeciv-i18n@xxxxxxxxxxx

    Hello!

First of all, I'm happy that the Ukranian file is OK :) Sorry for bringing
up the issue. IGNORE MY PREVIOUS MAIL :)

On another note... When doing GNOME translations, we use a tool called
intltool. This is a fine piece of software than can generate an updated po
file without doing ./configure. It has a lot of other functionalities. (get
it at ftp.gnome.org on the source dir, intltool package)

One of these is check for source code files that contain translatable
strings but aren't listed on POTFILES.in (as well as dead files there). 
When
I run intltool-update -m I get this information:

mismatched quotes at line 353 in ../intl/plural.c
The following files contain translations and are currently not in use.
Please
consider adding these to the POTFILES.in file, located in the po/ directory.

client/attribute.c
client/gui-stub/connectdlg.c
client/messagewin_common.c

If some of these files are left out on purpose then please add them to
POTFILES.skip instead of POTFILES.in. A file 'missing' containing this list
of left out files has been written in the current directory.

Any dev wants to look at these? If the files are added to POTFILES.in, 
could
the translators be noticed, as this might represent a string freeze
breakage?

Another thing... This might be some news to some translators... I only
recently found out about this and I think it is a great help. Using msgfmt
(I guess only 0.11.x upwards -> I'm using 0.12.1 for good UTF-8 handling)
you can get missing accelerators:
    msgfmt --check-accelerators=_ pt.po

It will tell me that I have one msgstr with more _ than the msgid. The most
common, though, is that the msgid has a _ and this one is missing on the
msgstr.

Hope this helps someone! Have fun!

Duarte "HappyGuy" Loreto

"Don't worry, be happy!"

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus




? potfiles.diff
Index: po/POTFILES.in
===================================================================
RCS file: /home/freeciv/CVS/freeciv/po/POTFILES.in,v
retrieving revision 1.59
diff -u -r1.59 POTFILES.in
--- po/POTFILES.in      2003/08/13 08:23:51     1.59
+++ po/POTFILES.in      2003/09/12 13:28:20
@@ -13,6 +13,7 @@
 common/unit.c
 common/unittype.c
 common/version.c
+common/aicore/cm.c
 ai/aicity.c
 ai/advdiplomacy.c
 server/autoattack.c
@@ -41,6 +42,7 @@
 server/stdinhand.c
 server/unithand.c
 server/unittools.c
+client/attribute.c
 client/audio.c
 client/audio_esd.c
 client/citydlg_common.c
@@ -50,6 +52,7 @@
 client/clinet.c
 client/control.c
 client/helpdata.c
+client/messagewin_common.c
 client/options.c
 client/packhand.c
 client/plrdlg_common.c
@@ -128,6 +131,31 @@
 client/gui-mui/spaceshipdlg.c
 client/gui-mui/wldlg.c
 client/gui-mui/worklistclass.c
+client/gui-sdl/chatline.c
+client/gui-sdl/citydlg.c
+client/gui-sdl/cityrep.c
+client/gui-sdl/cma_fe.c
+client/gui-sdl/connectdlg.c
+client/gui-sdl/dialogs.c
+client/gui-sdl/diplodlg.c
+client/gui-sdl/finddlg.c
+client/gui-sdl/gotodlg.c
+client/gui-sdl/graphics.c
+client/gui-sdl/gui_main.c
+client/gui-sdl/gui_string.c
+client/gui-sdl/inteldlg.c
+client/gui-sdl/mapctrl.c
+client/gui-sdl/mapview.c
+client/gui-sdl/menu.c
+client/gui-sdl/messagewin.c
+client/gui-sdl/optiondlg.c
+client/gui-sdl/plrdlg.c
+client/gui-sdl/repodlgs.c
+client/gui-sdl/wldlg.c
+client/gui-stub/chatline.c
+client/gui-stub/connectdlg.c
+client/gui-stub/dialogs.c
+client/gui-stub/mapview.c
 client/gui-win32/chatline.c
 client/gui-win32/citydlg.c
 client/gui-win32/cityrep.c
@@ -155,6 +183,7 @@
 client/gui-xaw/chatline.c
 client/gui-xaw/citydlg.c
 client/gui-xaw/cityrep.c
+client/gui-xaw/cma_fe.c
 client/gui-xaw/colors.c
 client/gui-xaw/connectdlg.c
 client/gui-xaw/dialogs.c

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#6149) missing .c files in POTFILES.in, Jason Short <=