[gnome-software/wip/piotrdrag/localize-policy] build: Localize the polkit policy file



commit e1511da41c123d68794b912030ce217ffaf6432d
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Wed Sep 26 21:12:08 2018 +0200

    build: Localize the polkit policy file

 data/meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/data/meson.build b/data/meson.build
index e4e17532..8e5443a8 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -11,9 +11,10 @@ if get_option('external_appstream')
   conf_data = configuration_data()
   conf_data.set('libexecdir', join_paths(get_option('prefix'),
                                          get_option('libexecdir')))
-  configure_file(
+  i18n.merge_file(
     input : 'org.gnome.software.external-appstream.policy.in',
     output : 'org.gnome.software.external-appstream.policy',
+    po_dir: join_paths(meson.source_root(), 'po'),
     install: true,
     install_dir: join_paths(get_option('datadir'), 'polkit-1', 'actions'),
     configuration : conf_data


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]