Re: Translations and Gnumeric



Carlos Perelló Marín wrote:
> They are generated with my home server.
> I have installed gettext 0.12.1 and intltool 0.26
> Is it something that should I fix?

Ah, so I see. It's not your problem. Quoting the daily status pages 
generation log:

---------------------------------------------------------
=== Checking out gnumeric module to gnumeric.HEAD  ===
Regenerating gnumeric.pot...
xgettext: Non-ASCII string at plugins/numtheory/numtheory.c:247.
Please specify the source encoding through --from-code.
WARNING: It seems that none of the files in POTFILES.in contain marked 
strings

** (process:29194): WARNING **: Unable to regenerate the file 
gnumeric.pot at gnumeric.HEAD/po

** (process:29194): WARNING **: Regenerating: We have problems with 
gnumeric.pot at gnumeric.HEAD (module gnumeric), skiped...
---------------------------------------------------------

So you got it :)

However, that string has VALID reason to be non-ascii. So patch should 
go into either gnumeric or intltool so that utf8 string is extracted via 
xgettext. gip and gdm2 HEAD has the same problem as gnumeric do.

But this is not all of the problem. Many other packages, like totem and 
acme, also failed during .pot file generation. It's because intltool 
failed to handle the case where GETTEXT_PACKAGE contains underscore. I 
thought it's very well known, so didn't report it. Really nobody knows?  8-O

Anyway, you may want to try applying the attached patch to 
intltool-update, I guess everything would be fine then.

Abel

>>| I'm now not sure if I should tackle with the big bunch my CVS gives me
>>| or download pt.po from status page, update it and commit it without
>>| running inttool-update (just running msgfmt to check integrity).
>>|
>>| Any tips? Thanks for your time. Be Happy!
>>|
>>| Duarte "HappyGuy" Loreto
>>|
>>| "Don't worry, be happy!"


-- 
Abel Cheung
Linux counter #256983   | http://counter.li.org
GPG Key: (0xC67186FF)   | http://deaddog.org/gpg.asc
Key fingerprint: 671C C7AE EFB5 110C D6D1  41EE 4152 E1F1 C671 86FF
--- /usr/bin/intltool-update	2003-06-04 11:23:22.000000000 +0800
+++ ./intltool-update	2003-06-26 22:25:49.000000000 +0800
@@ -675,7 +675,7 @@
 	}
     }
     
-    if ($str =~ /^(.*)\${?([A-Z]+)}?(.*)$/)
+    if ($str =~ /^(.*)\${?([A-Z_]+)}?(.*)$/)
     {
 	my $rest = $3;
 	my $untouched = $1;

PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]