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

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-requ...@lists.alioth.debian.org

Reply via email to