[rhythmbox/wip/hadess/fix-i18n: 1/3] build: Fix translations not working
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox/wip/hadess/fix-i18n: 1/3] build: Fix translations not working
- Date: Wed, 4 May 2022 15:52:56 +0000 (UTC)
commit a6e369025b811aa5ecac9a11d9b21b128a7012ce
Author: Bastien Nocera <hadess hadess net>
Date: Wed May 4 17:42:36 2022 +0200
build: Fix translations not working
ENABLE_NLS was never set after the port to meson, so force enable it, as
any reasonable OS will have NLS support nowadays.
config.h.meson | 3 +++
meson.build | 1 +
2 files changed, 4 insertions(+)
---
diff --git a/config.h.meson b/config.h.meson
index 811a501df..e84138db5 100644
--- a/config.h.meson
+++ b/config.h.meson
@@ -8,6 +8,9 @@
/* Define to the gettext package name. */
#mesondefine GETTEXT_PACKAGE
+/* Define to enable NLS */
+#mesondefine ENABLE_NLS
+
/* Define if you have GNU fwrite_unlocked */
#mesondefine HAVE_GNU_FWRITE_UNLOCKED
diff --git a/meson.build b/meson.build
index 0a40c47c9..71d38c508 100644
--- a/meson.build
+++ b/meson.build
@@ -178,6 +178,7 @@ endif
cdata.set('GETTEXT_PACKAGE', '"rhythmbox"')
cdata.set('PACKAGE', '"rhythmbox"')
cdata.set('VERSION', '@0@'.format(meson.project_version()))
+cdata.set('ENABLE_NLS', 1)
# Needed so that we can build static libraries and later link them into
# shared libraries.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]