1
## Description: fix i18n problems in activity-log-manager
2
## Origin/Author: Gabor Kelemen <kelemeng@gnome.hu>
3
## Bug: https://bugs.launchpad.net/activity-log-manager/+bug/944362
4
Index: activity-log-manager/po/POTFILES.in
5
===================================================================
6
--- activity-log-manager.orig/po/POTFILES.in 2012-03-02 09:52:22.900456011 +0100
7
+++ activity-log-manager/po/POTFILES.in 2012-03-02 10:02:17.704464937 +0100
9
src/applications-widget.vala
11
src/history-widget.vala
12
-src/diagnostics/whoopsie.ui
13
+src/diagnostics/com.ubuntu.whoopsiepreferences.policy.in
14
+[type: gettext/glade]src/diagnostics/whoopsie.ui
15
Index: activity-log-manager/src/diagnostics/com.ubuntu.whoopsiepreferences.policy
16
===================================================================
17
--- activity-log-manager.orig/src/diagnostics/com.ubuntu.whoopsiepreferences.policy 2012-03-02 09:52:22.876456011 +0100
18
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
20
-<?xml version="1.0" encoding="UTF-8"?>
21
-<!DOCTYPE policyconfig PUBLIC
22
- "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
23
- "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
25
- <vendor>Ubuntu crash reporting</vendor>
26
- <vendor_url>https://launchpad.net/whoopsie-daisy</vendor_url>
27
- <icon_name>stock_lock</icon_name>
28
- <action id="com.ubuntu.whoopsiepreferences.change">
29
- <description gettext-domain="whoopsie">Privacy settings</description>
30
- <message gettext-domain="whoopsie">To change your privacy settings you need to authenticate.</message>
32
- <allow_any>auth_admin</allow_any>
33
- <allow_inactive>auth_admin</allow_inactive>
34
- <allow_active>auth_admin_keep</allow_active>
38
Index: activity-log-manager/src/diagnostics/Makefile.am
39
===================================================================
40
--- activity-log-manager.orig/src/diagnostics/Makefile.am 2012-03-02 09:52:22.852456011 +0100
41
+++ activity-log-manager/src/diagnostics/Makefile.am 2012-03-02 10:02:17.708464937 +0100
46
+policykit_in_files = \
47
+ com.ubuntu.whoopsiepreferences.policy.in
50
whoopsie-preferences.xml \
51
com.ubuntu.WhoopsiePreferences.service \
52
com.ubuntu.WhoopsiePreferences.conf \
53
- com.ubuntu.whoopsiepreferences.policy \
54
+ $(policykit_in_files) \
60
- com.ubuntu.whoopsiepreferences.policy
61
+ $(policykit_in_files:.policy.in=.policy)
63
com.ubuntu.WhoopsiePreferences.conf
66
--generate-c-code whoopsie-generated \
69
-CLEANFILES = whoopsie-generated.[ch]
70
+CLEANFILES = whoopsie-generated.[ch] \
72
+@INTLTOOL_POLICY_RULE@
73
Index: activity-log-manager/src/diagnostics/com.ubuntu.whoopsiepreferences.policy.in
74
===================================================================
75
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
76
+++ activity-log-manager/src/diagnostics/com.ubuntu.whoopsiepreferences.policy.in 2012-03-02 10:03:20.480465876 +0100
78
+<?xml version="1.0" encoding="UTF-8"?>
79
+<!DOCTYPE policyconfig PUBLIC
80
+ "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
81
+ "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
83
+ <vendor>Ubuntu crash reporting</vendor>
84
+ <vendor_url>https://launchpad.net/whoopsie-daisy</vendor_url>
85
+ <icon_name>stock_lock</icon_name>
86
+ <action id="com.ubuntu.whoopsiepreferences.change">
87
+ <_description>Privacy settings</_description>
88
+ <_message>To change your privacy settings you need to authenticate.</_message>
90
+ <allow_any>auth_admin</allow_any>
91
+ <allow_inactive>auth_admin</allow_inactive>
92
+ <allow_active>auth_admin_keep</allow_active>