Add meson NLS support for pg_walsummary
authorPeter Eisentraut <[email protected]>
Thu, 6 Jun 2024 19:21:58 +0000 (21:21 +0200)
committerPeter Eisentraut <[email protected]>
Thu, 6 Jun 2024 19:21:58 +0000 (21:21 +0200)
src/bin/pg_walsummary/meson.build
src/bin/pg_walsummary/po/meson.build [new file with mode: 0644]

index 30c108fa949424a77cc13c36960e468983d2e546..86b046e896de757d130cb1afa95f5b66bf09d092 100644 (file)
@@ -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 (file)
index 0000000..e8ce4a6
--- /dev/null
@@ -0,0 +1,3 @@
+# Copyright (c) 2024, PostgreSQL Global Development Group
+
+nls_targets += [i18n.gettext('pg_walsummary-' + pg_version_major.to_string())]