Hi Raphael,

You may not know, but there're many invalid strings included
in the po/gtk-gnutella.pot, it certainly forces a translator
or me to make an useless efforts. I do beg you to remove them.
Here's a suggestion I think it's reasonable:

  Tick `Save Translatable Strings' in the LibGlade Options
  pane (with `File: interface-glade.t').

  Build, then interface-glade.t is generated in the
  src/ui/gtk/gtk1 as well as the others.

  Run script to remove invalid strings.

How do you think? I attach my script which is clearly far
from your quality standards, am not sure whether it should
be included in the build process.

Anyway, if you agree generating a separated file for the
translation at least, I'll remove unnecessary strings from
that file.

Regards,
-- 
Daichi
#!/bin/sh

perl -i -pe 's/gchar \*s \= N_\(\"\[.*//g' interface-glade.t
perl -i -pe 's/gchar \*s \= N_\(\"\#\|.*//g' interface-glade.t
perl -i -pe 's/gchar \*s \= N_\(\"\$Id\:.*//g' interface-glade.t
perl -i -pe 's/gchar \*s \= N_\(\"[0-7]\"\)\;//g' interface-glade.t
perl -i -pe 's/gchar \*s \= N_\(\"8\+\"\)\;//g' interface-glade.t
perl -i -pe 's/gchar \*s \= N_\(\"\%\"\)\;//g' interface-glade.t
perl -i -pe 's/gchar \*s \= N_\(\"\(\"\)\;//g' interface-glade.t
perl -i -pe 's/gchar \*s \= N_\(\"\)\"\)\;//g' interface-glade.t

Attachment: pgpa9iq7dtZs5.pgp
Description: PGP signature

Reply via email to