summaryrefslogtreecommitdiff
path: root/src/ex_cmds2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ex_cmds2.c')
-rw-r--r--src/ex_cmds2.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c
index b2a9327f1..575a185f3 100644
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -3077,13 +3077,15 @@ get_scriptname(id)
scid_T id;
{
if (id == SID_MODELINE)
- return (char_u *)"modeline";
+ return (char_u *)_("modeline");
if (id == SID_CMDARG)
- return (char_u *)"--cmd argument";
+ return (char_u *)_("--cmd argument");
if (id == SID_CARG)
- return (char_u *)"-c argument";
+ return (char_u *)_("-c argument");
if (id == SID_ENV)
- return (char_u *)"environment variable";
+ return (char_u *)_("environment variable");
+ if (id == SID_ERROR)
+ return (char_u *)_("error handler");
return SCRIPT_ITEM(id).sn_name;
}