From: Kevin McCarthy Date: Mon, 4 Sep 2017 22:34:32 +0000 (-0700) Subject: Add L10N comment to generated keymap_defs.h files. X-Git-Tag: mutt-1-10-rel~139 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=563143f8c7d0a92322fa1d31123f5fe497e2cdbc;p=mutt Add L10N comment to generated keymap_defs.h files. Make it clearer to translators that the strings are for the help screen. --- diff --git a/gen_defs b/gen_defs index 839d6463..7a3d9a0c 100755 --- a/gen_defs +++ b/gen_defs @@ -10,7 +10,10 @@ for mode in help defs; do help) echo "#ifdef HELP_C" echo "const char *HelpStrings[] = {" - expr='s;^[^ ]* *\(.*\); N_(\1),;' + expr='i\ + /* L10N: Help screen function description.\ + Generated from one of the OPS files. */ +s;^[^ ]* *\(.*\); N_(\1),;' ;; *) echo "enum {"