mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.3190: error messages are spread out
Problem: Error messages are spread out. Solution: Move error messages to errors.h and give them a clear name.
This commit is contained in:
@@ -1942,7 +1942,7 @@ no_write_message(void)
|
||||
emsg(_("E948: Job still running (add ! to end the job)"));
|
||||
else
|
||||
#endif
|
||||
emsg(_("E37: No write since last change (add ! to override)"));
|
||||
emsg(_(e_no_write_since_last_change_add_bang_to_override));
|
||||
}
|
||||
|
||||
void
|
||||
@@ -1953,7 +1953,7 @@ no_write_message_nobang(buf_T *buf UNUSED)
|
||||
emsg(_("E948: Job still running"));
|
||||
else
|
||||
#endif
|
||||
emsg(_("E37: No write since last change"));
|
||||
emsg(_(e_no_write_since_last_change));
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user