From: Ben Pfaff Date: Sun, 18 Feb 2007 19:20:55 +0000 (+0000) Subject: Add missing _() around messages. X-Git-Tag: v0.6.0~542 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=847f28dc2b47bda50561ff1547af42053a56eb78;p=pspp-builds.git Add missing _() around messages. --- diff --git a/src/data/ChangeLog b/src/data/ChangeLog index 80341888..6ee79cd4 100644 --- a/src/data/ChangeLog +++ b/src/data/ChangeLog @@ -1,3 +1,7 @@ +Sun Feb 18 11:20:24 2007 Ben Pfaff + + * por-file-reader.c: Add missing _() around messages. + Sun Feb 11 20:44:13 2007 Ben Pfaff * make-file.c: Include "mkstemp.h", without which linking on diff --git a/src/data/por-file-reader.c b/src/data/por-file-reader.c index 9441bcf8..a9b1de81 100644 --- a/src/data/por-file-reader.c +++ b/src/data/por-file-reader.c @@ -282,7 +282,7 @@ read_float (struct pfm_reader *r) /* Check that we had some digits. */ if (!got_digit) - error (r, "Number expected."); + error (r, _("Number expected.")); /* Get exponent if any. */ if (r->cc == '+' || r->cc == '-') @@ -421,7 +421,7 @@ read_version_data (struct pfm_reader *r, struct pfm_read_info *info) /* Read file. */ if (!match (r, 'A')) - error (r, "Unrecognized version code `%c'.", r->cc); + error (r, _("Unrecognized version code `%c'."), r->cc); date = read_pool_string (r); time = read_pool_string (r); product = match (r, '1') ? read_pool_string (r) : empty_string; @@ -548,7 +548,7 @@ read_variables (struct pfm_reader *r, struct dictionary *dict) str_uppercase (name); if (width < 0 || width > 255) - error (r, "Bad width %d for variable %s.", width, name); + error (r, _("Bad width %d for variable %s."), width, name); v = dict_create_var (dict, name, width); if (v == NULL) diff --git a/src/output/ChangeLog b/src/output/ChangeLog index 60bfc43e..52676959 100644 --- a/src/output/ChangeLog +++ b/src/output/ChangeLog @@ -1,3 +1,7 @@ +Sun Feb 18 11:20:35 2007 Ben Pfaff + + * postscript.c: Add missing _() around message. + Sun Feb 11 17:59:30 2007 Ben Pfaff * html.c (html_initialise_chart): Mark `this' parameter UNUSED to diff --git a/src/output/postscript.c b/src/output/postscript.c index a84d14ee..f737baea 100644 --- a/src/output/postscript.c +++ b/src/output/postscript.c @@ -1420,7 +1420,8 @@ reencode_font (struct outp_driver *this, struct font *font) fputs ("] RF\n", x->file); if (freaderror (file) != 0) - error (errno, 0, "closing Postscript encoding \"%s\"", font->encoding_fn); + error (errno, 0, _("closing Postscript encoding \"%s\""), + font->encoding_fn); } /* PostScript driver class. */