comparison src/sign.c @ 26966:ac75c145f0a9 v8.2.4012

patch 8.2.4012: error messages are spread out Commit: https://github.com/vim/vim/commit/d82a47dd0493ee976aa3f15ecdc9aea7da6ad5bf Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jan 5 20:24:39 2022 +0000 patch 8.2.4012: error messages are spread out Problem: Error messages are spread out. Solution: Move the last error messages to errors.h.
author Bram Moolenaar <Bram@vim.org>
date Wed, 05 Jan 2022 21:30:04 +0100
parents 51ddf6740ac6
children 41e0dcf38521
comparison
equal deleted inserted replaced
26965:76601978e211 26966:ac75c145f0a9
1222 // number column is less than 2, then force recomputing the width. 1222 // number column is less than 2, then force recomputing the width.
1223 may_force_numberwidth_recompute(buf, FALSE); 1223 may_force_numberwidth_recompute(buf, FALSE);
1224 } 1224 }
1225 else 1225 else
1226 { 1226 {
1227 semsg(_("E885: Not possible to change sign %s"), sign_name); 1227 semsg(_(e_not_possible_to_change_sign_str), sign_name);
1228 return FAIL; 1228 return FAIL;
1229 } 1229 }
1230 1230
1231 return OK; 1231 return OK;
1232 } 1232 }
1305 { // ... not currently in a window 1305 { // ... not currently in a window
1306 char_u *cmd; 1306 char_u *cmd;
1307 1307
1308 if (buf->b_fname == NULL) 1308 if (buf->b_fname == NULL)
1309 { 1309 {
1310 emsg(_("E934: Cannot jump to a buffer that does not have a name")); 1310 emsg(_(e_cannot_jump_to_buffer_that_does_not_have_name));
1311 return -1; 1311 return -1;
1312 } 1312 }
1313 cmd = alloc(STRLEN(buf->b_fname) + 25); 1313 cmd = alloc(STRLEN(buf->b_fname) + 25);
1314 if (cmd == NULL) 1314 if (cmd == NULL)
1315 return -1; 1315 return -1;