Age | Commit message (Collapse) | Author |
|
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.
|
|
This updates shell scripts in the project to resolve shellcheck lint
warnings.
A couple of warnings are ignored instead, at least for now.
|
|
For greater compatibility with Solaris's Bourne shell, switch to "expr" for
numeric evaluation
|
|
\n isn't supported on FreeBSD's version, so instead directly embed the
newline.
|
|
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"
```
|
|
Make it clearer to translators that the strings are for the help
screen.
|
|
states.
|
|
mutt. Additionally, the NEWS file is prepared for 0.95.
|
|
|
|
|
|
|