diff options
Diffstat (limited to 'src/plugins/generate-translations.c')
-rw-r--r-- | src/plugins/generate-translations.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/plugins/generate-translations.c b/src/plugins/generate-translations.c index d3c76eac2..14a3c0a4d 100644 --- a/src/plugins/generate-translations.c +++ b/src/plugins/generate-translations.c @@ -330,9 +330,13 @@ bool msg_config_read_posthook(bool retVal, const char *cfg_name, bool allow_over for (i = 0; i < MAX_MSG; i++) { if (atcommand->msg_table[0][i] == NULL) continue; - fprintf(lang_export_fp, "msgctxt \"messages.conf\"\n" + fprintf(lang_export_fp, "\n#: conf/messages.conf\n" + "# %d: %s\n" + "#, c-format\n" + "msgctxt \"messages.conf\"\n" "msgid \"%s\"\n" "msgstr \"\"\n", + i, atcommand->msg_table[0][i], atcommand->msg_table[0][i] ); lang_export_stringcount_total++; |