summaryrefslogtreecommitdiffstats
path: root/src/message.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-06-28 14:54:43 +0200
committerBram Moolenaar <Bram@vim.org>2018-06-28 14:54:43 +0200
commit0c183198727b80fd7e52fb29cc1dcd08d79a281c (patch)
tree8dbddb6237c934452ecbefaa92900968f7c086c7 /src/message.c
parentca4b613c692b927c9345dc9e3d6be5de35266be2 (diff)
patch 8.1.0122: translators don't always understand the maintainer messagev8.1.0122
Problem: Translators don't always understand the maintainer message. Solution: Add a comment that ends up in the generated po file. (Christian Brabandt, closes #3037)
Diffstat (limited to 'src/message.c')
-rw-r--r--src/message.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/message.c b/src/message.c
index 4dac5ae04d..e46c514010 100644
--- a/src/message.c
+++ b/src/message.c
@@ -982,7 +982,11 @@ ex_messages(exarg_T *eap)
{
s = mch_getenv((char_u *)"LANG");
if (s != NULL && *s != NUL)
+ // The next comment is extracted by xgettext and put in po file for
+ // translators to read.
msg_attr((char_u *)
+ // Translator: Please replace the name and email address
+ // with the appropriate text for your translation.
_("Messages maintainer: Bram Moolenaar <Bram@vim.org>"),
HL_ATTR(HLF_T));
}