summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2020-03-02 17:04:17 +0100
committerBastien Nocera <hadess@hadess.net>2020-03-02 17:04:17 +0100
commit80aab945c0c49f37a0a38951673563b495b08715 (patch)
tree2b1c21cb4993739679c527faa484eed4c3ee4655
parent6153d159ff520f059748d920e4c9061cf8b42a7d (diff)
downloadshared-mime-info-80aab945c0c49f37a0a38951673563b495b08715.tar.gz
po: Fix creation of .pot file
xgettext was throwing: xgettext: warning: file 'data/freedesktop.org.xml.in' extension 'xml' is unknown; will try C Set GETTEXTDATADIRS as we used to when using autotools.
-rw-r--r--po/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/po/meson.build b/po/meson.build
index 21498b20..184bdcd7 100644
--- a/po/meson.build
+++ b/po/meson.build
@@ -1,6 +1,7 @@
i18n.gettext(meson.project_name(),
preset: 'glib',
+ data_dirs: meson.source_root() / 'data',
)