postgres.git / summary / log / commit / refs
commit c4fe2e8220462a9688dba4380bda0ccb2ecaabb7
Author: Peter Eisentraut <peter@eisentraut.org>
Date: Tue Dec 26 20:31:39 2023 +0000
First released in: 17.0
Add meson NLS support for pg_combinebackup
src/bin/pg_combinebackup/meson.build | 2 ++
src/bin/pg_combinebackup/po/meson.build | 3 +++
2 files changed, 5 insertions(+)
diff --git a/src/bin/pg_combinebackup/meson.build b/src/bin/pg_combinebackup/meson.build
index e402d6f50e7..ca6dbc4cf22 100644
--- a/src/bin/pg_combinebackup/meson.build
+++ b/src/bin/pg_combinebackup/meson.build
@@ -36,3 +36,5 @@ tests += {
],
}
}
+
+subdir('po', if_found: libintl)
diff --git a/src/bin/pg_combinebackup/po/meson.build b/src/bin/pg_combinebackup/po/meson.build
new file mode 100644
index 00000000000..58fe5ff1be1
--- /dev/null
+++ b/src/bin/pg_combinebackup/po/meson.build
@@ -0,0 +1,3 @@
+# Copyright (c) 2023, PostgreSQL Global Development Group
+
+nls_targets += [i18n.gettext('pg_combinebackup-' + pg_version_major.to_string())]
[parent: f67a3d42688a]