kopia lustrzana https://gitlab.com/sane-project/backends
2001-04-27 Henning Meier-Geinitz <henning@meier-geinitz.de>
* backend/agfafogus.c: Moved PATH_MAX after sanei_backend.h include to avoid warning. Changed printf to DBG. * backend/mustek.c backend/mustek.CHANGES backend/mustek.desc: Added support for translating options. Used only PACKAGE_VERSION for output. Updated email address. New version: 1.0-107. * include/sane/sanei_backend.h include/sane/saneopts.h: Added macro SANE_I18N. It's used to mark strings that can be translated and used by a frontend. Usually these are option titles and descriptions as well as the contents of string lists. Used this macro to mark the translatable strings in saneopts.h. More translation support will follow.DEVEL_2_0_BRANCH-1
rodzic
703c9c00c2
commit
51a8d7994e
|
@ -110,3 +110,11 @@ extern void ENTRY(exit) (void);
|
||||||
#define sane_close(a) ENTRY(close) (a)
|
#define sane_close(a) ENTRY(close) (a)
|
||||||
#define sane_exit(a) ENTRY(exit) (a)
|
#define sane_exit(a) ENTRY(exit) (a)
|
||||||
#endif /* STUBS */
|
#endif /* STUBS */
|
||||||
|
|
||||||
|
/* Internationalization for SANE backends
|
||||||
|
Add SANE_I18N() to all texts that can be translated.
|
||||||
|
E.g. out_txt = SANE_I18N("Hello"); */
|
||||||
|
|
||||||
|
#ifndef SANE_I18N
|
||||||
|
#define SANE_I18N(text) text
|
||||||
|
#endif
|
||||||
|
|
Ładowanie…
Reference in New Issue