comparison src/netbeans.c @ 26915:3631d2deb36c v8.2.3986

patch 8.2.3986: error messages are spread out Commit: https://github.com/vim/vim/commit/b09feaa86ecc53b9b953710082496951776dc5c6 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 2 20:20:45 2022 +0000 patch 8.2.3986: error messages are spread out Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
author Bram Moolenaar <Bram@vim.org>
date Sun, 02 Jan 2022 21:30:04 +0100
parents a2e6da79274d
children d91aea2a612c
comparison
equal deleted inserted replaced
26914:21f9376239a4 26915:3631d2deb36c
2513 { 2513 {
2514 char *cmd = "0:startupDone=0\n"; 2514 char *cmd = "0:startupDone=0\n";
2515 2515
2516 if (NETBEANS_OPEN) 2516 if (NETBEANS_OPEN)
2517 { 2517 {
2518 emsg(_("E511: netbeans already connected")); 2518 emsg(_(e_netbeans_already_connected));
2519 return; 2519 return;
2520 } 2520 }
2521 2521
2522 if (netbeans_connect(params, doabort) != OK) 2522 if (netbeans_connect(params, doabort) != OK)
2523 return; 2523 return;
3479 else 3479 else
3480 { 3480 {
3481 char msgbuf[IOSIZE]; 3481 char msgbuf[IOSIZE];
3482 3482
3483 vim_snprintf(msgbuf, IOSIZE, 3483 vim_snprintf(msgbuf, IOSIZE,
3484 _("E505: %s is read-only (add ! to override)"), IObuff); 3484 _(e_is_read_only_add_bang_to_override), IObuff);
3485 nbdebug((" %s\n", msgbuf)); 3485 nbdebug((" %s\n", msgbuf));
3486 emsg(msgbuf); 3486 emsg(msgbuf);
3487 } 3487 }
3488 } 3488 }
3489 3489