AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2004.07.06 14:40 "[Tiff] Suggested Patch for libtiff to easify translation using gettext", by Bernd Herd
2004.07.10 20:11 "Re: [Tiff] Suggested Patch for libtiff to easify translation using gettext", by Andrey Kiselev
2004.07.11 11:47 "Re: [Tiff] Suggested Patch for libtiff to easify translation using gettext", by Bernd Herd

2004.07.10 20:11 "Re: [Tiff] Suggested Patch for libtiff to easify translation using gettext", by Andrey Kiselev

I've done some translation of libtiff error and warning messages to german.

extraction of libtiff messages can be done using the following command:

xgettext   -kTIFFError:2   -kTIFFWarning:2 *.c

The resulting messages.po conatains the translatable strings.

However some strings in libtiff are used with small differences depending on the occurence. For example:

"%d: Sample out of range, max %d"
"Sample %d out of range, max %u"
"%lu: Sample out of range, max %lu"
"%u: Sample out of range, max %u"

The attached patch unifies these messages so they will only consume a single translation entry.

Bernd,

Thank you, I have fixed that.

The attached file de.po contains the translation strings for german.

Thanks too, but this is haven't too much usage in libtiff, because gettext library is LGPL licensed, but libtiff is under less restrictive terms.

Andrey

Andrey V. Kiselev
Home phone: +7 812 5274898 ICQ# 26871517