Le Sun, 14 Apr 2013 21:36:00 +0200, Dominique Michel <dominique.mic...@vtxnet.ch> a écrit :
> Is it because my patch is wrong or miss something? Or is it because it > is no spanish translation files in fvwm at that time (I begun to make > some today, but it will take some time)? When I try to open po/fvwm.pot with poedit, it fail with 09:35:38 AM: /tmp/poeditgUBFPw/0ref.pot:321: duplicate message definition... 09:35:38 AM: /tmp/poeditgUBFPw/0ref.pot:36: ...this is the location of the first definition 09:35:38 AM: msgmerge: found 1 fatal error gtranslator warm me about this too, but is able to open the file: In consequence, I am not sure if the resulting translation file is fully usable. And also: # make fvwm.pot-update rm -f fvwmrc.pot; \ rcpotfiles='../fvwm/ConfigFvwmSetup ../modules/FvwmForm/FvwmForm-Setup.in'; \ rm -f duplicate; \ for file in $rcpotfiles; do \ perl -ne 's/\[gt\.((\\.|.)+?)\]/ print \ "\#$ARGV: line $.\n"."msgid \"$1\"\n"."msgstr \"\"\n\n"/ge' \ $file >> duplicate; \ done; \ msguniq duplicate > fvwmrc.pot; duplicate:1: keyword "SCALAR" unknown duplicate:1:7: syntax error duplicate:1: keyword "x250c430" unknown duplicate:4: keyword "SCALAR" unknown duplicate:4:7: syntax error duplicate:4: keyword "x250c460" unknown duplicate:7: keyword "SCALAR" unknown duplicate:7:7: syntax error duplicate:7: keyword "x250c430" unknown duplicate:10: keyword "SCALAR" unknown duplicate:10:7: syntax error duplicate:10: keyword "x250c460" unknown duplicate:13: keyword "SCALAR" unknown duplicate:13:7: syntax error duplicate:13: keyword "x250c430" unknown duplicate:16: keyword "SCALAR" unknown duplicate:16:7: syntax error duplicate:16: keyword "x250c460" unknown duplicate:19: keyword "SCALAR" unknown duplicate:19:7: syntax error msguniq: too many errors, aborting make: *** [fvwm.pot-update] Error 1 > > Dominique > -- "We have the heroes we deserve."