[opensuse-translation] Problem with zypp
heya, i am trying to commit zypp.el.po and i get the following: Log message unchanged or not specified a)bort, c)ontinue, e)dit c Sending po/zypp.el.po Transmitting file data .svn: Commit failed (details follow): svn: MERGE request failed on '/svn/suse-i18n/trunk/lcn/el/po' svn: 'pre-commit' hook failed with error output: <stdin>:3500: number of format specifications in 'msgid' and 'msgstr' does not match /usr/bin/msgfmt: found 1 fatal error PO format check failed for 'trunk/lcn/el/po/zypp.el.po' anyone knows why? thanks -- ********************************************************* *«Συμβαίνει έτσι στη ζωή, κάποιοι άνθρωποι να*** *ανήκουν στην υπηρεσία της φήμης και άλλοι του* *πλούτου, αλλά η καλύτερη επιλογή είναι των***** *μερικών που προτιμούν να ξοδεύουν το χρόνο**** *τους ως παρατηρητές της φύσης και εραστές της* *σοφίας» Πυθαγόρας (570 - 490 π.Χ.)*************** ********************************************************** *"It happens to life like this, where some people*** *belong to the service of the fame and other of***** *the wealth, but the best choice is of those the**** *few where they spend their time as watchers of*** *the nature and as lovers of the wishdom"********** *Pithagoras (570 - 490 b.C.) Father of Philosophy* (Philo=friend,lover), (sophy=wishdom)*************** **********************************************************
"Vasileios Giannakopoulos" <billg@billg.gr> writes:
heya, i am trying to commit zypp.el.po and i get the following:
Log message unchanged or not specified a)bort, c)ontinue, e)dit c Sending po/zypp.el.po Transmitting file data .svn: Commit failed (details follow): svn: MERGE request failed on '/svn/suse-i18n/trunk/lcn/el/po' svn: 'pre-commit' hook failed with error output: <stdin>:3500: number of format specifications in 'msgid' and 'msgstr' does not match /usr/bin/msgfmt: found 1 fatal error PO format check failed for 'trunk/lcn/el/po/zypp.el.po'
anyone knows why?
Without seeing the file - no :-( We do check that the file is valid and it looks like msgfmt found an error. Karl, what's the way to run msgfmt manually to check for errors? Andreas -- Andreas Jaeger, Director Platform/openSUSE, aj@suse.de SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
Op zondag 12 augustus 2007, schreef Andreas Jaeger:
what's the way to run msgfmt manually to check for errors?
I always use this one: msgfmt --check filename.po if it returns nothing, the file is correct. You can also use this one: msgfmt --statistics filename.po It wil show the statistics when the file is correct, or an error message when the file is corrupted. Regards, Rinse --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-translation+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-translation+help@opensuse.org
Hello all, Last weekend I got an error when commiting the add-on-creator po file, probably due to the fact that the file was merged on the server when I was working on it and there were added some new strings. I tried to resolve the conflicts locally after updating, but the result I got (I'm using RapidSVN) is unusable. Unfortunately I don't have the exact text of the error message any more, but it was about my version being older than the one on the server. Is there any specific time/date when merging occurs? Thanks, Daiana ____________________________________________________________________________________ Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=list&sid=396545433 --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-translation+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-translation+help@opensuse.org
daiana heinrich <xdaiana@yahoo.com> writes:
Is there any specific time/date when merging occurs?
Unfortunately, this can happen at any time. Whenever such conflict trouble occurs, do not try to resolve it manually. It's often to cumbersome in the case of .po files. Instead, copy your version with the new translations that svn always preserves as xxx.ll.po.mine (note the .mine suffix) to the original file name, apply the resolve command and submit it to the SVN server. Here are the plain svn commands: cd ll/po svn ci -m"xxx" xxx.ll.po Then SVN complains as follows: ==> svn: Commit failed (details follow): svn: Your file or directory 'xxx.ll.po' is probably out-of-date svn: The version resource does not correspond to the resource within the transaction. Either the requested version resource is out of date (needs to be updated), or the requested version resource is newer than the transaction root (restart the commit). svn up xxx.ll.po ==> C xxx.ll.po Now resolve the conflict as follows and commit the file: cp xxx.ll.po.mine xxx.ll.po svn resolved xxx.ll.po svn ci -m"xxx" xxx.ll.po Finally, either ask me, to merge it again, or just wait, or merge on your own: msgmerge -U xxx.ll.po ../../50-pot/xxx.pot [I hope, I got all file name right; the assumption is, you cd into your po directory first.] -- Karl Eichwalder R&D / Documentation SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-translation+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-translation+help@opensuse.org
You can use kbabel and it's syntax check capabilities. Just open the .po file and press CTRL-T to perform the check. Regards, Alberto --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-translation+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-translation+help@opensuse.org
participants (6)
-
Alberto Passalacqua
-
Andreas Jaeger
-
daiana heinrich
-
Karl Eichwalder
-
Rinse de Vries
-
Vasileios Giannakopoulos