summaryrefslogtreecommitdiffstats
path: root/gen_defs
AgeCommit message (Collapse)Author
2021-02-21Scan OPS files directly for gettext translation strings.Kevin McCarthy
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.
2020-08-25refactor: update shell scripts for shellcheck warningsWilliam Yardley
This updates shell scripts in the project to resolve shellcheck lint warnings. A couple of warnings are ignored instead, at least for now.
2020-08-25gen_defs: switch from $(()) to exprWilliam Yardley
For greater compatibility with Solaris's Bourne shell, switch to "expr" for numeric evaluation
2020-05-07Fix sed invocation in gen_defs to work with non-GNU sed.Kevin McCarthy
\n isn't supported on FreeBSD's version, so instead directly embed the newline.
2020-05-05L10N: add more helpful comments on OPS entries.Tamotsu TAKAHASHI
Now translators can see exactly where the entries came from. Also, OPS.* can have L10N comments. Add "/* L10N: blabla */" to OPS files. This commit would help translators a lot. For example, the msgid "delete the current account" once surprised me. I said, "What? Can mutt delete my account???" With this commit, I can see that "the account" is clearly the "autocrypt" account. ```  #. L10N: Help screen description for OP_AUTOCRYPT_DELETE_ACCT  #. #: ../OPS:8  #: ../keymap_alldefs.h:29  msgid "delete the current account" ```
2017-09-04Add L10N comment to generated keymap_defs.h files.Kevin McCarthy
Make it clearer to translators that the strings are for the help screen.
2000-05-12Sam Roberts reports that some shells do strange things with exitThomas Roessler
states.
1998-10-13Introducing a us-dist target to create a USG-friendly version ofThomas Roessler
mutt. Additionally, the NEWS file is prepared for 0.95.
1998-10-13Add RCS $Id$ strings to (hopefully) all source files.Thomas Roessler
1998-10-01Adding gettext support, based on the patch by Marco d'Itri.Thomas Roessler
1998-06-08Initial revisionThomas Roessler