Mercurial > vim
comparison src/globals.h @ 14171:ddf160d82971 v8.1.0103
patch 8.1.0103: long version string cannot be translated
commit https://github.com/vim/vim/commit/35fb6fbf727c72eb5987a1556bbba26dca14cc48
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 23 16:12:21 2018 +0200
patch 8.1.0103: long version string cannot be translated
Problem: Long version string cannot be translated.
Solution: Build the string in init_longVersion().
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 23 Jun 2018 16:15:05 +0200 |
parents | 7cac4646c552 |
children | 0a69e6e708f9 |
comparison
equal
deleted
inserted
replaced
14170:9d021144571c | 14171:ddf160d82971 |
---|---|
1129 | 1129 |
1130 #ifdef FEAT_LINEBREAK | 1130 #ifdef FEAT_LINEBREAK |
1131 EXTERN char breakat_flags[256]; /* which characters are in 'breakat' */ | 1131 EXTERN char breakat_flags[256]; /* which characters are in 'breakat' */ |
1132 #endif | 1132 #endif |
1133 | 1133 |
1134 /* these are in version.c */ | 1134 /* These are in version.c, call init_longVersion() before use. */ |
1135 extern char *Version; | 1135 extern char *Version; |
1136 #if defined(HAVE_DATE_TIME) && defined(VMS) && defined(VAXC) | 1136 #if defined(HAVE_DATE_TIME) && defined(VMS) && defined(VAXC) |
1137 extern char longVersion[]; | 1137 extern char longVersion[]; |
1138 #else | 1138 #else |
1139 extern char *longVersion; | 1139 EXTERN char *longVersion; |
1140 #endif | 1140 #endif |
1141 | 1141 |
1142 /* | 1142 /* |
1143 * Some file names are stored in pathdef.c, which is generated from the | 1143 * Some file names are stored in pathdef.c, which is generated from the |
1144 * Makefile to make their value depend on the Makefile. | 1144 * Makefile to make their value depend on the Makefile. |