aboutsummaryrefslogtreecommitdiffstats
path: root/builtin.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2011-02-08 22:50:37 +0200
committerArnold D. Robbins <arnold@skeeve.com>2011-02-08 22:50:37 +0200
commitc303bf4568119a29999d213f5229faf174d9610b (patch)
treed5c62a795c69ace852ef70fab9d7966aa8efa050 /builtin.c
parenta58e48ece6e50d1bf821a2a52597af8901b1f0bb (diff)
downloadegawk-c303bf4568119a29999d213f5229faf174d9610b.tar.gz
egawk-c303bf4568119a29999d213f5229faf174d9610b.tar.bz2
egawk-c303bf4568119a29999d213f5229faf174d9610b.zip
Equalize messages. New es.po file.
Diffstat (limited to 'builtin.c')
-rw-r--r--builtin.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/builtin.c b/builtin.c
index 708a8bff..ee5842f8 100644
--- a/builtin.c
+++ b/builtin.c
@@ -552,7 +552,7 @@ printf_common(int nargs)
if (tmp->type == Node_var_array) {
while (--i > 0)
DEREF(args_array[nargs - i]);
- fatal(_("attempt to use array `%s' in scalar context"), array_vname(tmp));
+ fatal(_("attempt to use array `%s' in a scalar context"), array_vname(tmp));
}
}
@@ -594,7 +594,7 @@ do_printf(int nargs, int redirtype)
if (redirtype != 0) {
redir_exp = TOP();
if (redir_exp->type != Node_val)
- fatal(_("attempt to use array `%s' in scalar context"), array_vname(redir_exp));
+ fatal(_("attempt to use array `%s' in a scalar context"), array_vname(redir_exp));
rp = redirect(redir_exp, redirtype, & errflg);
DEREF(redir_exp);
decr_sp();
@@ -607,7 +607,7 @@ do_printf(int nargs, int redirtype)
if (redirtype != 0) {
redir_exp = PEEK(nargs);
if (redir_exp->type != Node_val)
- fatal(_("attempt to use array `%s' in scalar context"), array_vname(redir_exp));
+ fatal(_("attempt to use array `%s' in a scalar context"), array_vname(redir_exp));
rp = redirect(redir_exp, redirtype, & errflg);
if (rp != NULL)
fp = rp->fp;
@@ -1013,7 +1013,7 @@ do_print(int nargs, int redirtype)
if (redirtype != 0) {
redir_exp = PEEK(nargs);
if (redir_exp->type != Node_val)
- fatal(_("attempt to use array `%s' in scalar context"), array_vname(redir_exp));
+ fatal(_("attempt to use array `%s' in a scalar context"), array_vname(redir_exp));
rp = redirect(redir_exp, redirtype, & errflg);
if (rp != NULL)
fp = rp->fp;
@@ -1025,7 +1025,7 @@ do_print(int nargs, int redirtype)
if (tmp->type == Node_var_array) {
while (--i > 0)
DEREF(args_array[i]);
- fatal(_("attempt to use array `%s' in scalar context"), array_vname(tmp));
+ fatal(_("attempt to use array `%s' in a scalar context"), array_vname(tmp));
}
if (do_lint && tmp->type == Node_var_new)
lintwarn(_("reference to uninitialized variable `%s'"),