Re: genlang -u
Jonas H wrote: Magnus Holmgren wrote: Every time I run genlang -u (under Cygwin), I get a bunch of error messages like these, seemingly for every existing string in the translated file: Warning: dest before line 8507 lacks quotes! Warning: source before line 8507 lacks quotes! Warning: voice before line 8507 lacks quotes! Am I the only one, or is this genlang quirk? The generated file looks fine, despite that genlang, when run in verbose mode, says this for the failing strings: I've reported this as FS#5437 a while ago. I'm using Linux and Perl 5.8.8. And I've now figured out why this happens. If you don't specify a target with -t, you get the above messages. The problem is in the parsetarget function; if it doesn't find a matching target, it will set the strref to an empty string. As currently implemented, the checks for the strings none and deprecated, as well as the syntax check, isn't useful when doing an update - since they'd only be applied to the specified target - and should be disabled, IMHO. Magnus
Re: genlang -u
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Magnus Holmgren wrote: Every time I run genlang -u (under Cygwin), I get a bunch of error messages like these, seemingly for every existing string in the translated file: Warning: dest before line 8507 lacks quotes! Warning: source before line 8507 lacks quotes! Warning: voice before line 8507 lacks quotes! Am I the only one, or is this genlang quirk? The generated file looks fine, despite that genlang, when run in verbose mode, says this for the failing strings: I've reported this as FS#5437 a while ago. I'm using Linux and Perl 5.8.8. http://www.rockbox.org/tracker/task/5437 - -- Jonas H rasher(at)rasher(dot)dk -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEwjZxwjIPcvP1DCARAsIGAJ4l4Oie+usRzP7/V+1ZmMhrZbzB0QCggM5y Ct7b8s+FrL81r09YA1SSvqI= =6tRu -END PGP SIGNATURE-
Re: genlang -u
On Wed, 19 Jul 2006, Magnus Holmgren wrote: Every time I run genlang -u (under Cygwin), I get a bunch of error messages like these, seemingly for every existing string in the translated file: Warning: dest before line 8507 lacks quotes! Could it be a line-ending related problem or similar? -- Daniel Stenberg -- http://www.rockbox.org/ -- http://daniel.haxx.se/
Re: genlang -u
Daniel Stenberg wrote: Every time I run genlang -u (under Cygwin), I get a bunch of error messages like these, seemingly for every existing string in the translated file: Warning: dest before line 8507 lacks quotes! Could it be a line-ending related problem or similar? Don't think so at least... The files do have Unix linefeeds (and Cygwin is set to not translate linefeeds). Some debugging suggests that the variables $dest, $src and $voice (which are the ones checked for quotes) are all empty... Btw, I have perl 5.8.7 installed. Magnus
genlang -u
Every time I run genlang -u (under Cygwin), I get a bunch of error messages like these, seemingly for every existing string in the translated file: Warning: dest before line 8507 lacks quotes! Warning: source before line 8507 lacks quotes! Warning: voice before line 8507 lacks quotes! Am I the only one, or is this genlang quirk? The generated file looks fine, despite that genlang, when run in verbose mode, says this for the failing strings: id: LANG_REMOTE_SCROLL_SETS (517) source: dest: voice: Magnus
Re: genlang -u
I got those too, but my voicefile worked perfectly.On 19/07/06, Magnus Holmgren [EMAIL PROTECTED] wrote: Every time I run genlang -u (under Cygwin), I get a bunch of errormessages like these, seemingly for every existing string in the translated file:Warning: dest before line 8507 lacks quotes!Warning: source before line 8507 lacks quotes!Warning: voice before line 8507 lacks quotes!Am I the only one, or is this genlang quirk? The generated file looks fine, despite that genlang, when run in verbose mode, says this for thefailing strings:id: LANG_REMOTE_SCROLL_SETS (517)source: dest: voice: Magnus