On 7 Feb 2006 08:15:25 GMT
Raphael Manfredi wrote:

> :Committed to the current repository, if you have objections
> :feel free to revert them. I'll check a style of place holders
> :(only appear in the glade) so that they can be more unified,
> :it allows a simple regex to remove them.
> 
> So, is there anything I should do now?

Assuming you're Perl guru, please give me the most simplest Regex
to match with strings below:

gchar *s = N_(" / ");
gchar *s = N_("$Id: gtk-gnutella.glade,v 1.88 2006/02/05 09:30:35 daichik Exp 
$");
gchar *s = N_("%");
gchar *s = N_("(");
gchar *s = N_(")");
gchar *s = N_(", ");
gchar *s = N_("0");
gchar *s = N_("1");
gchar *s = N_("2");
gchar *s = N_("3");
gchar *s = N_("4");
gchar *s = N_("5");
gchar *s = N_("6");
gchar *s = N_("7");;
gchar *s = N_("8+");
gchar *s = N_("KiB");
gchar *s = N_("[place holder]");
gchar *s = N_("[whatever]");

After removing them with s'/regex//g', remained white-lines should
be removed as well, which I can't do with perl (instead I had it
with vim `:%g/^$/d').

> What's the new rules to adding strings to the GUI so I don't
> break anything you've set up the next time.

If the strings you put are just place holders, please braced them
with "[]" pair so that they're easily removed with regex. If you'll
be kind enough at the generating a interface-glade.c, please update
interface-glade.t (by the way, it's `t' of `translation') with your
preferable method, in other words, if you won't do, please don't
commit `raw' interface-glade.t, I'll update it later, .po files
will be updated with `gmake update-po' in the po directory as well.

It only requires in GTK1, since glade-2 enables to remove those
bogus strings. If you have a plan to have translation GTKG into
French, you may find the more suitable way to handle the strings.

Regards,
-- 
Daichi


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Gtk-gnutella-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to