0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

updated for version 7.0082

This commit is contained in:
Bram Moolenaar
2005-06-07 21:12:49 +00:00
parent 82cf9b6851
commit 0e4d877ed8
7 changed files with 194 additions and 54 deletions

View File

@@ -2433,7 +2433,7 @@ do_write(eap)
{
/* Overwriting a file that is loaded in another buffer is not a
* good idea. */
EMSG(_("E139: File is loaded in another buffer"));
EMSG(_(e_bufloaded));
goto theend;
}
}
@@ -2591,7 +2591,7 @@ check_overwrite(eap, buf, fname, ffname, other)
{
char_u buff[IOSIZE];
dialog_msg(buff, _("Overwrite existing file \"%.*s\"?"), fname);
dialog_msg(buff, _("Overwrite existing file \"%s\"?"), fname);
if (vim_dialog_yesno(VIM_QUESTION, NULL, buff, 2) != VIM_YES)
return FAIL;
eap->forceit = TRUE;
@@ -2721,7 +2721,7 @@ check_readonly(forceit, buf)
{
char_u buff[IOSIZE];
dialog_msg(buff, _("'readonly' option is set for \"%.*s\".\nDo you wish to write anyway?"),
dialog_msg(buff, _("'readonly' option is set for \"%s\".\nDo you wish to write anyway?"),
buf->b_fname);
if (vim_dialog_yesno(VIM_QUESTION, NULL, buff, 2) == VIM_YES)