aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2019-12-02 18:38:52 -0500
committerJason Woodward2019-12-02 18:43:13 -0500
commit7a3ad3255c9ea0fb249d58e510036ad7fde94fe9 (patch)
treeddfedccfdc7c6fe62d0f3cfecd5b50df1b2f5591
parent689d0687df84b122ec8c5c43f2d492c88368eb2e (diff)
downloadgslapt-7a3ad3255c9ea0fb249d58e510036ad7fde94fe9.tar.gz
setup polkit policy for translation
-rw-r--r--Makefile.am1
-rw-r--r--org.jaos.gslapt.policy.in (renamed from org.jaos.gslapt.policy)4
-rw-r--r--po/POTFILES.in1
3 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 3ac94d4..265dde1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -31,6 +31,7 @@ all-local:
@rm -rf series_map.rc_quoted series_map
@intltool-merge po/ -d -u gslapt.desktop.in gslapt.desktop
@intltool-merge po/ -d -u gslapt-kde.desktop.in gslapt-kde.desktop
+ @intltool-merge po/ -x -u org.jaos.gslapt.policy.in org.jaos.gslapt.policy
@sed -i -re 's,(Exec=)(.*),\1$(sbindir)/@PACKAGE@,' gslapt.desktop gslapt-kde.desktop
@sed -i -re 's,(Icon=).*?(/pixmaps.*),\1$(datadir)\2,' gslapt.desktop gslapt-kde.desktop
diff --git a/org.jaos.gslapt.policy b/org.jaos.gslapt.policy.in
index a7fc461..0ac1fb3 100644
--- a/org.jaos.gslapt.policy
+++ b/org.jaos.gslapt.policy.in
@@ -7,8 +7,8 @@
<vendor_url>https://software.jaos.org</vendor_url>
<icon_name>gslapt</icon_name>
<action id="org.jaos.gslapt">
- <description>Run Gslapt as root</description>
- <message>Authentication is required to run Gslapt</message>
+ <_description>Run Gslapt as root</_description>
+ <_message>Authentication is required to run Gslapt</_message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 08234ef..99446c5 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -4,6 +4,7 @@ src/main.c
src/callbacks.c
gslapt-kde.desktop.in
gslapt.desktop.in
+org.jaos.gslapt.policy.in
[type: gettext/ini]series_map.rc.in
[type: gettext/glade]ui/about.ui
[type: gettext/glade]ui/changelog_window.ui