| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2004.07.10 20:11 "Re: Suggested Patch for libtiff to easify translation using gettext", by Andrey KiselevOn Tue, Jul 06, 2004 at 04:40:57PM +0200, Bernd Herd wrote: > 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 |
|||||||