bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Errors in the coreutils-6.9 PO file


From: Clytie Siddall
Subject: Errors in the coreutils-6.9 PO file
Date: Wed, 24 Oct 2007 18:07:16 +0930

Hi :)

I recently reviewed our translation of coreutils for the Translation Project. I noticed the following errors, which I thought you might like to fix in an upcoming release:
___
1. This is a fatal error for msgfmt:

#: src/expr.c:133
#, c-format
msgid ""
"\n"
"  ARG1 * ARG2       arithmetic product of ARG1 and ARG2\n"
"  ARG1 / ARG2       arithmetic quotient of ARG1 divided by ARG2\n"
"  ARG1 % ARG2       arithmetic remainder of ARG1 divided by ARG2\n"

A bare percentage sign in a c-format string will be reported as an error in the translation. We can workaround this by making the string non-c-format, if that's appropriate in the code context.

If you don't have a full set of translations for coreutils, it may well be due to this error. Translators can't submit their files unless those files pass "msgfmt -cv", and any translation of this string won't.

Please advise developers not to use bare percentage signs in c-format strings. Escaping (as %%) is required.


2.

#: lib/gai_strerror.c:52
msgid "Servname not supported for ai_socktype"

"Servname" is ambiguous: "Service name" or "Server name"? You may well get inaccurate translations.


3.

#: src/df.c:943
#, c-format
msgid "%scannot read table of mounted file systems"

- %scannot
+ %s cannot

?

Placeholders not delimited from text can also cause fatal msgfmt errors.

___

I hope this is useful. :)

from Clytie

Vietnamese Free Software Translation Team
http://vnoss.net/dokuwiki/doku.php?id=projects:l10n



Attachment: PGP.sig
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]