comparison src/main.c @ 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 01b7a627d403
children aab5947be7c5
comparison
equal deleted inserted replaced
14170:9d021144571c 14171:ddf160d82971
937 qnx_init(); /* PhAttach() for clipboard, (and gui) */ 937 qnx_init(); /* PhAttach() for clipboard, (and gui) */
938 #endif 938 #endif
939 939
940 /* Init the table of Normal mode commands. */ 940 /* Init the table of Normal mode commands. */
941 init_normal_cmds(); 941 init_normal_cmds();
942
943 #if defined(HAVE_DATE_TIME) && defined(VMS) && defined(VAXC)
944 make_version(); /* Construct the long version string. */
945 #endif
946 942
947 /* 943 /*
948 * Allocate space for the generic buffers (needed for set_init_1() and 944 * Allocate space for the generic buffers (needed for set_init_1() and
949 * EMSG2()). 945 * EMSG2()).
950 */ 946 */
3213 { 3209 {
3214 #if defined(UNIX) || defined(VMS) 3210 #if defined(UNIX) || defined(VMS)
3215 reset_signals(); /* kill us with CTRL-C here, if you like */ 3211 reset_signals(); /* kill us with CTRL-C here, if you like */
3216 #endif 3212 #endif
3217 3213
3214 init_longVersion();
3218 mch_errmsg(longVersion); 3215 mch_errmsg(longVersion);
3219 mch_errmsg("\n"); 3216 mch_errmsg("\n");
3220 mch_errmsg(_(main_errors[n])); 3217 mch_errmsg(_(main_errors[n]));
3221 if (str != NULL) 3218 if (str != NULL)
3222 { 3219 {
3266 3263
3267 #if defined(UNIX) || defined(VMS) 3264 #if defined(UNIX) || defined(VMS)
3268 reset_signals(); /* kill us with CTRL-C here, if you like */ 3265 reset_signals(); /* kill us with CTRL-C here, if you like */
3269 #endif 3266 #endif
3270 3267
3268 init_longVersion();
3271 mch_msg(longVersion); 3269 mch_msg(longVersion);
3272 mch_msg(_("\n\nUsage:")); 3270 mch_msg(_("\n\nUsage:"));
3273 for (i = 0; ; ++i) 3271 for (i = 0; ; ++i)
3274 { 3272 {
3275 mch_msg(_(" vim [arguments] ")); 3273 mch_msg(_(" vim [arguments] "));