Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb06abb7

Browse files
committed
Redefine _() to dgettext() instead of gettext() so that it uses the plpgsql
text domain, instead of the postgres one (or whatever the default may be).
1 parentacee2f6 commitb06abb7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎src/pl/plpgsql/src/plpgsql.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/pl/plpgsql/src/plpgsql.h,v 1.108 2009/01/07 13:44:37 tgl Exp $
11+
* $PostgreSQL: pgsql/src/pl/plpgsql/src/plpgsql.h,v 1.109 2009/02/17 11:34:34 petere Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -33,6 +33,9 @@
3333
#undef TEXTDOMAIN
3434
#defineTEXTDOMAIN PG_TEXTDOMAIN("plpgsql")
3535

36+
#undef _
37+
#define_(x) dgettext(TEXTDOMAIN, x)
38+
3639
/* ----------
3740
* Compiler's namestack item types
3841
* ----------

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp