summaryrefslogtreecommitdiffstats
path: root/src/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.c')
-rw-r--r--src/map.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/map.c b/src/map.c
index a95880374a..311f4da5e7 100644
--- a/src/map.c
+++ b/src/map.c
@@ -603,12 +603,11 @@ do_map(
&& STRNCMP(mp->m_keys, keys, (size_t)len) == 0)
{
if (abbrev)
- semsg(_(
- "E224: global abbreviation already exists for %s"),
+ semsg(
+ _(e_global_abbreviation_already_exists_for_str),
mp->m_keys);
else
- semsg(_(
- "E225: global mapping already exists for %s"),
+ semsg(_(e_global_mapping_already_exists_for_str),
mp->m_keys);
retval = 5;
goto theend;
@@ -741,12 +740,11 @@ do_map(
else if (unique)
{
if (abbrev)
- semsg(_(
- "E226: abbreviation already exists for %s"),
+ semsg(
+ _(e_abbreviation_already_exists_for_str),
p);
else
- semsg(_(
- "E227: mapping already exists for %s"),
+ semsg(_(e_mapping_already_exists_for_str),
p);
retval = 5;
goto theend;
@@ -1855,7 +1853,7 @@ makemap(
c1 = 't';
break;
default:
- iemsg(_("E228: makemap: Illegal mode"));
+ iemsg(_(e_makemap_illegal_mode));
return FAIL;
}
do // do this twice if c2 is set, 3 times with c3