Commit fa40ca42 authored by Magnus Hagander's avatar Magnus Hagander

Make some strings translatable again that were accidentally removed in

earlier patch to fix "printf-arguments".
parent 477c5d3b
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/commands/trigger.c,v 1.243 2009/01/01 17:23:40 momjian Exp $ * $PostgreSQL: pgsql/src/backend/commands/trigger.c,v 1.244 2009/01/21 09:28:26 mha Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -614,7 +614,7 @@ ConvertTriggerToFK(CreateTrigStmt *stmt, Oid funcoid) ...@@ -614,7 +614,7 @@ ConvertTriggerToFK(CreateTrigStmt *stmt, Oid funcoid)
ereport(NOTICE, ereport(NOTICE,
(errmsg("ignoring incomplete trigger group for constraint \"%s\" %s", (errmsg("ignoring incomplete trigger group for constraint \"%s\" %s",
constr_name, buf.data), constr_name, buf.data),
errdetail("%s", funcdescr[funcnum]))); errdetail("%s", _(funcdescr[funcnum]))));
oldContext = MemoryContextSwitchTo(TopMemoryContext); oldContext = MemoryContextSwitchTo(TopMemoryContext);
info = (OldTriggerInfo *) palloc0(sizeof(OldTriggerInfo)); info = (OldTriggerInfo *) palloc0(sizeof(OldTriggerInfo));
info->args = copyObject(stmt->args); info->args = copyObject(stmt->args);
...@@ -630,7 +630,7 @@ ConvertTriggerToFK(CreateTrigStmt *stmt, Oid funcoid) ...@@ -630,7 +630,7 @@ ConvertTriggerToFK(CreateTrigStmt *stmt, Oid funcoid)
ereport(NOTICE, ereport(NOTICE,
(errmsg("ignoring incomplete trigger group for constraint \"%s\" %s", (errmsg("ignoring incomplete trigger group for constraint \"%s\" %s",
constr_name, buf.data), constr_name, buf.data),
errdetail("%s", funcdescr[funcnum]))); errdetail("%s", _(funcdescr[funcnum]))));
} }
else else
{ {
...@@ -642,7 +642,7 @@ ConvertTriggerToFK(CreateTrigStmt *stmt, Oid funcoid) ...@@ -642,7 +642,7 @@ ConvertTriggerToFK(CreateTrigStmt *stmt, Oid funcoid)
ereport(NOTICE, ereport(NOTICE,
(errmsg("converting trigger group into constraint \"%s\" %s", (errmsg("converting trigger group into constraint \"%s\" %s",
constr_name, buf.data), constr_name, buf.data),
errdetail("%s", funcdescr[funcnum]))); errdetail("%s", _(funcdescr[funcnum]))));
if (funcnum == 2) if (funcnum == 2)
{ {
/* This trigger is on the FK table */ /* This trigger is on the FK table */
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* Written by Peter Eisentraut <peter_e@gmx.net>. * Written by Peter Eisentraut <peter_e@gmx.net>.
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.494 2009/01/16 13:27:24 heikki Exp $ * $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.495 2009/01/21 09:28:26 mha Exp $
* *
*-------------------------------------------------------------------- *--------------------------------------------------------------------
*/ */
...@@ -4801,7 +4801,7 @@ set_config_option(const char *name, const char *value, ...@@ -4801,7 +4801,7 @@ set_config_option(const char *name, const char *value,
(errcode(ERRCODE_INVALID_PARAMETER_VALUE), (errcode(ERRCODE_INVALID_PARAMETER_VALUE),
errmsg("invalid value for parameter \"%s\": \"%s\"", errmsg("invalid value for parameter \"%s\": \"%s\"",
name, value), name, value),
hintmsg ? errhint("%s", hintmsg) : 0)); hintmsg ? errhint("%s", _(hintmsg)) : 0));
return false; return false;
} }
if (newval < conf->min || newval > conf->max) if (newval < conf->min || newval > conf->max)
...@@ -5069,7 +5069,7 @@ set_config_option(const char *name, const char *value, ...@@ -5069,7 +5069,7 @@ set_config_option(const char *name, const char *value,
(errcode(ERRCODE_INVALID_PARAMETER_VALUE), (errcode(ERRCODE_INVALID_PARAMETER_VALUE),
errmsg("invalid value for parameter \"%s\": \"%s\"", errmsg("invalid value for parameter \"%s\": \"%s\"",
name, value), name, value),
hintmsg ? errhint("%s", hintmsg) : 0)); hintmsg ? errhint("%s", _(hintmsg)) : 0));
if (hintmsg) if (hintmsg)
pfree(hintmsg); pfree(hintmsg);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment