diff options
author | Gunnar Hjalmarsson <gunnarhj@ubuntu.com> | 2018-02-15 21:21:58 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-02-16 13:00:52 +0100 |
commit | 264d8dcc161e276d31dcde98a088d15cebbebbef (patch) | |
tree | fb0e300bf8348544b0e8a178c6d028a323f8d13d /src/locale/meson.build | |
parent | Merge pull request #8184 from poettering/color-ask-pw (diff) | |
download | systemd-264d8dcc161e276d31dcde98a088d15cebbebbef.tar.xz systemd-264d8dcc161e276d31dcde98a088d15cebbebbef.zip |
Gettextize policy files
* Don't merge translations into the files
* Add gettext-domain="systemd" to description and message
Closes #8162, replaces #8118.
Diffstat (limited to 'src/locale/meson.build')
-rw-r--r-- | src/locale/meson.build | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/locale/meson.build b/src/locale/meson.build index dca2c51d2f..30882cc027 100644 --- a/src/locale/meson.build +++ b/src/locale/meson.build @@ -29,14 +29,12 @@ if conf.get('ENABLE_LOCALED') == 1 install_data('org.freedesktop.locale1.service', install_dir : dbussystemservicedir) - i18n.merge_file( - 'org.freedesktop.locale1.policy', + policy = configure_file( input : 'org.freedesktop.locale1.policy.in', output : 'org.freedesktop.locale1.policy', - po_dir : po_dir, - data_dirs : po_dir, - install : install_polkit, - install_dir : polkitpolicydir) + configuration : substs) + install_data(policy, + install_dir : polkitpolicydir) endif # If you know a way that allows the same variables to be used |