[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Fix for Danish translation, but which?

From: Jan Normann Nielsen <lists_at_dubbekarl.dk>
Date: 2007-07-30 15:53:38 CEST

Lübbe Onken skrev:
> Hi Jan Normann,
>
> Looks like I didn't get a few messages to the list again.
> You wrote:
>
>> I don't assume a big change, in fact I asked you what exactly was
>> changed because I cannot work with the file where everything changed
>> because it was reformatted by poEdit. I need to revert the
>> reformatting and reapply Lübbes changes by only changing the few
>> lines that needed change. Therefore, I need to know what Lübbe
>> changed in r9973.
>>
>
> Nonono, much too complicated. Just look at my commit message. I normally only edit other people's translations when they show up as broken in the status report. I fixed the text in the image info boxes, because the number of parameters in the danish translation and some line breaks were incorrect.
>
> If you 'show log' on the danish translation, 'save the revision before my fix as...' (tortoise_da-9962.po) and either run 'msgfmt --check' on the file or open and save it in poEdit, you will seee the error.
>
> If you save the file with poEdit, you can get an exact diff of what I did, because the formatting is consistent. Why don't you use poEdit? It's a nice tool.
>
> If you don't want to work with poEdit, you should ad least run 'msgfmt --check' on your translation before you commit, to catch some easy faults.
>
> Do you run msgmerge manually on your .po file? With the proper command line parameters you should get the same formatting as poEdit, because poEdit is just running msgmerge externally.
>
Now I've tried using "msgfmt --check" on my old, defective Danish
translation and it reports three errors of which I've fixed the two. The
third one is:

Tortoise_da.po:5682: number of format specifications in `msgid' and
`msgstr' does not match
found 1 fatal errors

My Tortoise_da.po around line 5682 contains:

#: ID:17,
#, c-format
msgid "webviewer:pathrevision\nURL pointing to the web viewer for the
repository for a specific file and revision.\nThe string %REVISION% in
the URL is replaced with the revision number,\nthe string %PATH% is
replaced with the path to the file relative to the repository root."
msgstr "webviewer:pathrevision\nURL, der peger pċ en web-visning af en
bestemt fil og revision i versionsarkivet.\nStrengen %REVISION% i denne
URL bliver erstattet med revisionsnummeret,\nog strengen %PATH% bliver
erstattet af den relative sti til filen i forhold til versionsarkivets rod."

I don't understand why this error occurs. Can anyone help?

Best wishes,
Jan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Mon Jul 30 15:52:20 2007

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.