From: Peter Eisentraut <peter@eisentraut.org>
Date: Thu, 6 Jun 2024 19:21:58 +0000 (+0200)
Subject: Add meson NLS support for pg_walsummary
X-Git-Tag: REL_17_BETA2~85
X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=b0f2659c7d9bdf3ccfdd1548dfecf602b901f507;p=postgresql.git

Add meson NLS support for pg_walsummary
---

diff --git a/src/bin/pg_walsummary/meson.build b/src/bin/pg_walsummary/meson.build
index 30c108fa949..86b046e896d 100644
--- a/src/bin/pg_walsummary/meson.build
+++ b/src/bin/pg_walsummary/meson.build
@@ -28,3 +28,5 @@ tests += {
     ],
   }
 }
+
+subdir('po', if_found: libintl)
diff --git a/src/bin/pg_walsummary/po/meson.build b/src/bin/pg_walsummary/po/meson.build
new file mode 100644
index 00000000000..e8ce4a6a20c
--- /dev/null
+++ b/src/bin/pg_walsummary/po/meson.build
@@ -0,0 +1,3 @@
+# Copyright (c) 2024, PostgreSQL Global Development Group
+
+nls_targets += [i18n.gettext('pg_walsummary-' + pg_version_major.to_string())]