]> granicus.if.org Git - mutt/commitdiff
Add L10N comment to generated keymap_defs.h files.
authorKevin McCarthy <kevin@8t8.us>
Mon, 4 Sep 2017 22:34:32 +0000 (15:34 -0700)
committerKevin McCarthy <kevin@8t8.us>
Mon, 4 Sep 2017 22:34:32 +0000 (15:34 -0700)
Make it clearer to translators that the strings are for the help
screen.

gen_defs

index 839d646333699352215fb17a8052cc444839e2df..7a3d9a0c2d350e7488fbc9f428c7e7cec2cfd900 100755 (executable)
--- 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 {"