-
- Downloads
Scan OPS files directly for gettext translation strings.
Previously, gettext's po/Makefile.in.in was modified to separately scan and merge a generated file: keymap_alldefs.h. Gettext doesn't recommend nor provide support for scanning generated files. However, there is no reason we have to scan the generated file. Instead move the N_() markers and L10N comments into the OPS files. Then simply add the OPS files to po/POTFILES.in. Add a '--language=C' option to xgettext to avoid a warning about the OPS files not have any known language suffix. Modify gen_defs and doc/gen-map-doc to deal with the new format of the OPS files.
Showing
- OPS 1193 additions, 213 deletionsOPS
- OPS.CRYPT 41 additions, 4 deletionsOPS.CRYPT
- OPS.MIX 49 additions, 7 deletionsOPS.MIX
- OPS.PGP 49 additions, 6 deletionsOPS.PGP
- OPS.SIDEBAR 74 additions, 10 deletionsOPS.SIDEBAR
- OPS.SMIME 19 additions, 1 deletionOPS.SMIME
- doc/gen-map-doc 2 additions, 2 deletionsdoc/gen-map-doc
- gen_defs 11 additions, 14 deletionsgen_defs
- po/Makevars 1 addition, 1 deletionpo/Makevars
- po/POTFILES.in 6 additions, 0 deletionspo/POTFILES.in
Loading
Please register or sign in to comment