Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
xlogreader.c: Fix report_invalid_record translatability flag
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 9 Jan 2015 15:34:24 +0000 (12:34 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 9 Jan 2015 15:34:24 +0000 (12:34 -0300)
For some reason I overlooked in GETTEXT_TRIGGERS that the right argument
be read by gettext in 7fcbf6a405ffc12a4546a25b98592ee6733783fc.  This
will drop the translation percentages for the backend all the way back
to 9.3 ...

Problem reported by Heikki.

src/backend/nls.mk

index d69722fb801d10aa202873137cebc9c1afaec48c..f27173d0ed2aa2e17a991ebf4a4eb24523bc1cdc 100644 (file)
@@ -4,7 +4,7 @@ AVAIL_LANGUAGES  = de es fr it ja pl pt_BR ru zh_CN zh_TW
 GETTEXT_FILES    = + gettext-files
 GETTEXT_TRIGGERS = $(BACKEND_COMMON_GETTEXT_TRIGGERS) \
     GUC_check_errmsg GUC_check_errdetail GUC_check_errhint \
-    write_stderr yyerror parser_yyerror report_invalid_record
+    write_stderr yyerror parser_yyerror report_invalid_record:2
 GETTEXT_FLAGS    = $(BACKEND_COMMON_GETTEXT_FLAGS) \
     GUC_check_errmsg:1:c-format \
     GUC_check_errdetail:1:c-format \