summaryrefslogtreecommitdiff
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
parentca4b613c692b927c9345dc9e3d6be5de35266be2 (diff)
downloadvim-0c183198727b80fd7e52fb29cc1dcd08d79a281c.zip
patch 8.1.0122: translators don't always understand the maintainer message
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)
-rw-r--r--src/message.c4
-rw-r--r--src/version.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/message.c b/src/message.c
index 4dac5ae04..e46c51401 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));
}
diff --git a/src/version.c b/src/version.c
index 5aacf2f11..eb119ca2a 100644
--- a/src/version.c
+++ b/src/version.c
@@ -790,6 +790,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 122,
+/**/
121,
/**/
120,