diff options
author | Iñigo Martínez <inigomartinez@gmail.com> | 2020-10-28 12:02:04 +0100 |
---|---|---|
committer | Jan Rybar <jrybar@redhat.com> | 2021-07-29 17:16:35 +0200 |
commit | 96c6fc83538fc28d1b3923b8be1eba2648f30e28 (patch) | |
tree | 319bfbd0c8fe86c3d16e97cb09267507abff2563 /data | |
parent | e336bf86d8b8489a4643500925e4da4eeb9000ba (diff) | |
download | polkit-96c6fc83538fc28d1b3923b8be1eba2648f30e28.tar.gz |
build: Migrate from Intltool to Gettext
Recent versions of Gettext are able to translate several formats
that are used in GNOME applications.
This migrates from Intltool to Gettext both autotools and meson
build systems.
Diffstat (limited to 'data')
-rw-r--r-- | data/Makefile.am | 5 | ||||
-rw-r--r-- | data/meson.build | 10 | ||||
-rw-r--r-- | data/polkit.its | 8 | ||||
-rw-r--r-- | data/polkit.loc | 6 |
4 files changed, 0 insertions, 29 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index e805260..6b045be 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -36,11 +36,6 @@ pkgconfig_DATA = polkit-gobject-1.pc polkit-agent-1.pc # ---------------------------------------------------------------------------------------------------- -itsdir = $(datadir)/gettext/its -dist_its_DATA = polkit.loc polkit.its - -# ---------------------------------------------------------------------------------------------------- - systemdservice_in_files = polkit.service.in if HAVE_SYSTEMD diff --git a/data/meson.build b/data/meson.build index cad7ccd..073bd98 100644 --- a/data/meson.build +++ b/data/meson.build @@ -26,16 +26,6 @@ if enable_pam ) endif -its_data = files( - 'polkit.its', - 'polkit.loc', -) - -install_data( - its_data, - install_dir: pk_datadir / 'gettext/its', -) - if enable_logind configure_file( input: 'polkit.service.in', diff --git a/data/polkit.its b/data/polkit.its deleted file mode 100644 index 1c37e6b..0000000 --- a/data/polkit.its +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0"?> -<its:rules xmlns:its="http://www.w3.org/2005/11/its" - version="2.0"> - <its:translateRule selector="//*" translate="no"/> - <its:translateRule selector="//action/description | - //action/message" - translate="yes"/> -</its:rules> diff --git a/data/polkit.loc b/data/polkit.loc deleted file mode 100644 index c7427ec..0000000 --- a/data/polkit.loc +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0"?> -<locatingRules> - <locatingRule name="polkit policy" pattern="*.policy"> - <documentRule localName="policyconfig" target="polkit.its"/> - </locatingRule> -</locatingRules> |