mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.1.0103: long version string cannot be translated
Problem: Long version string cannot be translated. Solution: Build the string in init_longVersion().
This commit is contained in:
@@ -940,10 +940,6 @@ common_init(mparm_T *paramp)
|
||||
/* Init the table of Normal mode commands. */
|
||||
init_normal_cmds();
|
||||
|
||||
#if defined(HAVE_DATE_TIME) && defined(VMS) && defined(VAXC)
|
||||
make_version(); /* Construct the long version string. */
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Allocate space for the generic buffers (needed for set_init_1() and
|
||||
* EMSG2()).
|
||||
@@ -3215,6 +3211,7 @@ mainerr(
|
||||
reset_signals(); /* kill us with CTRL-C here, if you like */
|
||||
#endif
|
||||
|
||||
init_longVersion();
|
||||
mch_errmsg(longVersion);
|
||||
mch_errmsg("\n");
|
||||
mch_errmsg(_(main_errors[n]));
|
||||
@@ -3268,6 +3265,7 @@ usage(void)
|
||||
reset_signals(); /* kill us with CTRL-C here, if you like */
|
||||
#endif
|
||||
|
||||
init_longVersion();
|
||||
mch_msg(longVersion);
|
||||
mch_msg(_("\n\nUsage:"));
|
||||
for (i = 0; ; ++i)
|
||||
|
Reference in New Issue
Block a user