kopia lustrzana https://gitlab.com/sane-project/backends
Update developer docs about translations
rodzic
b9b8d9ec33
commit
0cc0b31f86
|
@ -370,7 +370,8 @@ PROGRAMMING
|
|||
techniques generating warnings on gcc may lead to errors on other systems.
|
||||
|
||||
* To support translation of SANE options, please mark the descriptions (desc)
|
||||
and title of options with SANE_I18N(). See po/README for details.
|
||||
and title of options with SANE_I18N() and add all files using SANE_I18N() to
|
||||
po/POTFILES. See po/README for details.
|
||||
|
||||
* Please check for TL_X < BR_X and TL_Y < BR_Y to avoid segfaults or even
|
||||
scanner damage. This should NOT be done in sane_control_option, it should
|
||||
|
@ -481,6 +482,9 @@ In sane-backends/doc/
|
|||
check the html pages result with a browser.
|
||||
* Check that the backend version is the same in the source and in the
|
||||
description file.
|
||||
|
||||
In sane-backends/po/
|
||||
* Add all files using SANE_I18N() to po/POTFILES
|
||||
|
||||
|
||||
INCLUDING INTO git
|
||||
|
|
|
@ -45,8 +45,8 @@ Backend developers: I want to add internationalization support for my backend
|
|||
already done in saneopts.h.
|
||||
Examples: s->opt[5].title = SANE_I18N("Enhancement");
|
||||
#define STANDARD_FORMAT SANE_I18N("a4 Paper")
|
||||
* Edit po/Makefile.in. Add all source code files that contain strings marked
|
||||
by SANE_I18N() to SRC_FILES.
|
||||
* Edit po/POTFILES. Add all source code files that contain strings marked
|
||||
by SANE_I18N() to that file.
|
||||
* If you want to also add a new language, see above.
|
||||
* ./configure
|
||||
* See "Update existing translations" or "Add a new language".
|
||||
|
|
Ładowanie…
Reference in New Issue