summaryrefslogtreecommitdiff
path: root/src/typval.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/typval.c')
-rw-r--r--src/typval.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/typval.c b/src/typval.c
index 5e1c78c41..e6f6bfcdb 100644
--- a/src/typval.c
+++ b/src/typval.c
@@ -1668,7 +1668,7 @@ eval_option(
if (option_end == NULL)
{
if (rettv != NULL)
- semsg(_("E112: Option name missing: %s"), *arg);
+ semsg(_(e_option_name_missing_str), *arg);
return FAIL;
}
@@ -1686,7 +1686,7 @@ eval_option(
if (opt_type == gov_unknown)
{
if (rettv != NULL)
- semsg(_(e_unknown_option), *arg);
+ semsg(_(e_unknown_option_str), *arg);
ret = FAIL;
}
else if (rettv != NULL)
@@ -1887,7 +1887,7 @@ eval_string(char_u **arg, typval_T *rettv, int evaluate)
if (*p != '"')
{
- semsg(_("E114: Missing quote: %s"), *arg);
+ semsg(_(e_missing_double_quote_str), *arg);
return FAIL;
}
@@ -2027,7 +2027,7 @@ eval_lit_string(char_u **arg, typval_T *rettv, int evaluate)
if (*p != '\'')
{
- semsg(_("E115: Missing quote: %s"), *arg);
+ semsg(_(e_missing_single_quote_str), *arg);
return FAIL;
}