updated for version 7.0082
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index bf04185..4e2d29f 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -2433,7 +2433,7 @@
{
/* 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 @@
{
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 @@
{
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)