Page 1 of 1

Problem compiling po files in MacOSX. Repeat Elements

Posted: 12 Jun 2011 15:42
by diegofn
Hi

I'm trying to compile the vlc-1.1.10-git version of VLC in MacOSX and I receive the following error with the version number 49 of contrib.

Code: Select all

rm -f tr.gmo && /Users/diegofn/Documents/vlc/vlc-1.1/./extras/contrib/hosts/x86_64-apple-darwin10/bin/msgfmt -c --statistics -o tr.gmo tr.po 5451 translated messages, 11 fuzzy translations, 6 untranslated messages. rm -f uk.gmo && /Users/diegofn/Documents/vlc/vlc-1.1/./extras/contrib/hosts/x86_64-apple-darwin10/bin/msgfmt -c --statistics -o uk.gmo uk.po uk.po:20355: duplicate message definition... uk.po:19907: ...this is the location of the first definition /Users/diegofn/Documents/vlc/vlc-1.1/./extras/contrib/hosts/x86_64-apple-darwin10/bin/msgfmt: found 1 fatal error make[1]: *** [uk.gmo] Error 1 make: *** [stamp-po] Error 2
This is because exist the following repeat element in all .po files:

Code: Select all

msgid "" "This is the relative default size of the fonts that will be rendered on the " "video. If absolute font size is set, relative size will be overridden."
I rewrite all po files with the following Patch and it works fine for me.
http://pastebin.com/tazku3mi

Can you test it on your VLC compilation and commit to git. I don't have git account :$

In vlc.git it has the same problem, but I see that the line say overriden instead of overridden. The correct form is overridden. If you aproved this commit I write one patch to all po.files in vlc.git branch.

Greetings to all!

diegofn
---------