Skip to content

Commit

Permalink
Make use of local polkit.its
Browse files Browse the repository at this point in the history
Drop the policykit-1 build-dep for Ubuntu, and make
instead use of a copy of polkit.its in the source which
will be available to all distros.
  • Loading branch information
gunnarhj committed Feb 26, 2018
1 parent c4b313f commit 47353be
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
1 change: 0 additions & 1 deletion packaging/ubuntu-16.04/control
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ Build-Depends: autoconf,
libudev-dev,
openssh-client,
pkg-config,
policykit-1,
python3,
python3-docutils,
python3-markdown,
Expand Down
8 changes: 8 additions & 0 deletions po/its/polkit.its
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?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>
1 change: 1 addition & 0 deletions update-pot
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ find "$HERE" -name "*.go" -type f -print0 | xargs -0 \

xgettext "$HERE"/data/polkit/*.policy \
-o "$OUTPUT" \
--its="$HERE/po/its/polkit.its" \
--no-location \
--package-name=snappy \
--msgid-bugs-address=snappy-devel@lists.ubuntu.com \
Expand Down

0 comments on commit 47353be

Please sign in to comment.