changeset 14210:1681178c4434 v8.1.0122

patch 8.1.0122: translators don't always understand the maintainer message commit https://github.com/vim/vim/commit/0c183198727b80fd7e52fb29cc1dcd08d79a281c Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jun 28 14:54:43 2018 +0200 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)
author Christian Brabandt <cb@256bit.org>
date Thu, 28 Jun 2018 15:00:07 +0200
parents 508f1664bd8d
children 8abf8fd13476
files src/message.c src/version.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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));
     }
--- 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,