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

Re: [l10n] Translation status for 1.1.x r10686

From: Lübbe Onken <l.onken_at_rac.de>
Date: 2004-08-23 11:25:42 CEST

Erik Huelsmann wrote:
>>e.huelsmann@gmx.net wrote:
>>
>>>Translation status report for revision 10686 (branches/1.1.x/)
>>>
>>>
>>
> ============================================================================
>
>>>Message counts per status flag for 'de.po'
>>>
>>>Passes GNU msgfmt --check-format
>>>
>>> 868 translated
>>> 0 untranslated
>>> 3 fuzzy
>>> 0 obsolete

> msgfmt --version:
> msgfmt (GNU gettext-tools) 0.13
I'm using 0.12, but that's not the reason.

> Which tools do you use? What do you see if you run exactly the same
> sequence?
I found the same two fuzzy strings as you and fixed them. I'm also quite
sure that I know, why your script reports three fuzzies instead of two.

I wrote a (Dos shell) script that creates the translation status report
for the TortoiseSVN Web page and I noticed, that msgattrib+grep always
returns one too many (if any). The reason is that msgattrib always
reports the first (msgid "") string if it finds something.

So you have to insert something like:
---SNIP (copied from dos script) ---
rem If count is set, then its always one too high
if Defined count (
   SET /A count -= 1
) else (
   SET count=0
)
---SNIP---

into your script.

Cheers
-Lübbe

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Aug 23 11:26:20 2004

This is an archived mail posted to the Subversion Dev mailing list.