Mercurial > vim
changeset 2703:47a0dcad7216 v7.3.120
updated for version 7.3.120
Problem: The message for an existing swap file is too long to fit in a 25
line terminal.
Solution: Make the message shorter. (Chad Miller)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 15 Feb 2011 11:57:04 +0100 |
parents | 77f3dd990b12 |
children | a14db0b78c59 |
files | src/memline.c src/version.c |
diffstat | 2 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/memline.c +++ b/src/memline.c @@ -4071,9 +4071,9 @@ attention_message(buf, fname) } /* Some of these messages are long to allow translation to * other languages. */ - MSG_PUTS(_("\n(1) Another program may be editing the same file.\n If this is the case, be careful not to end up with two\n different instances of the same file when making changes.\n")); - MSG_PUTS(_(" Quit, or continue with caution.\n")); - MSG_PUTS(_("\n(2) An edit session for this file crashed.\n")); + MSG_PUTS(_("\n(1) Another program may be editing the same file. If this is the case,\n be careful not to end up with two different instances of the same\n file when making changes.")); + MSG_PUTS(_(" Quit, or continue with caution.\n")); + MSG_PUTS(_("(2) An edit session for this file crashed.\n")); MSG_PUTS(_(" If this is the case, use \":recover\" or \"vim -r ")); msg_outtrans(buf->b_fname); MSG_PUTS(_("\"\n to recover the changes (see \":help recovery\").\n"));