bug-ccd2cue
[Top][All Lists]
Advanced

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

[bug-ccd2cue] Some more i18n strings


From: Mario Blättermann
Subject: [bug-ccd2cue] Some more i18n strings
Date: Sat, 07 Mar 2015 00:27:56 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

Hello,

I've just translated the UI into German. But I'm not really happy with it, an
example (from src/ccd2cue.c):

  { "output", 'o', "cue-file", 0, __("write output to 'cue-file'"), 0 },

Because "cue-file" is not marked for translation, I'm actually forced to use the
same in the description. But "cue-file" is not a literally option, it is a
variable, so it should be translatable. This affects some more strings, see the
attachment. The patch is based on the v0.4 tarball, not on the Git content,
sorry for that.

Moreover, the Gettext string "error allocating chunk for obstack" (from
memory.c) needs to be explained. You should add a translator comment, or at
least give me some explanation here in this list what it means.


BTW, help2man has a -L option which produces also localized man pages, as long
as a translation exists for both ccd2cue and help2man. Please consider to use
this option. Then the string "--name="CCD sheet to CUE sheet converter"" in
doc/man/Makefile.am must not be static, it has rather to be fetched from a
translation file. AFAIK Gettext has an option to get such strings from a source
file and fill a variable with them. In doubt, contact the help2man maintainer
Brendan O'Dea <address@hidden>.

Note, the -L switch of help2man works only on Non-Redhat based systems. They
have patched it out. This affects Redhat and all its current and former
derivatives (Fedora, Openmandriva, Mageia, Opensuse etc.). This means, the
creation of the translated man pages *must* happen before releasing the tarball,
otherwise it would be impossible to get them later on the mentioned systems
while installing or packaging ccd2cue.

Best Regards,
Mario

Attachment: ccd2cue-i18n.diff
Description: Text Data


reply via email to

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