[sane-devel] Supported languages?

Jeff jffry at posteo.net
Sun Oct 1 07:15:15 UTC 2017


On 01/10/17 06:18, Yury Tarasievich wrote:
> Does scanimage actually contain the l10n functionality?

Indirectly. scanimage pulls in the option title and description from the
backend. Therefore, if the backend has translations, then scanimage will
pass them on. e.g. fujitsu:

https://anonscm.debian.org/cgit/sane/sane-backends.git/tree/backend/fujitsu.c

  if(option==OPT_GAMMA){
    opt->name = "gamma";
    opt->title = SANE_I18N ("Gamma function exponent");
    opt->desc = SANE_I18N ("Changes intensity of midtones");

SANE_I18N is the C macro that fetches the translations.

Regards

Jeff

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20171001/e60fedf4/attachment.sig>


More information about the sane-devel mailing list