summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2016-10-20 10:50:58 +1000
committerOndrej Holy <oholy@redhat.com>2016-11-07 09:30:42 +0100
commit998d001d95fa1488abc54988a48bf84c29627d97 (patch)
treea1604c63a97b71c440a2e433e317317afae17d0e
parent07c635a0ed402d6fb7c309c83dbdb9c21fad93bc (diff)
downloadgvfs-998d001d95fa1488abc54988a48bf84c29627d97.tar.gz
gettext: switch to default-translate "no"
The default appears to be to translate all entries. This rule never takes effect, the path to /action/message and /action/description is wrong (/action is not a root node). Since we wanted them to be translated, it doesn't matter. But it also translates all other tags (vendor, allow_any, etc.) and that causes polkit to be unhappy, it can't handle the various language versions of "no" ** (polkitd:27434): WARNING **: Unknown PolkitImplicitAuthorization string 'tidak' Switch to a default of "no" and explicitly include the message and description strings to be translated. https://bugzilla.gnome.org/show_bug.cgi?id=768707
-rw-r--r--gettext/its/polkit.its5
1 files changed, 3 insertions, 2 deletions
diff --git a/gettext/its/polkit.its b/gettext/its/polkit.its
index 1312ecbe..1c37e6be 100644
--- a/gettext/its/polkit.its
+++ b/gettext/its/polkit.its
@@ -1,7 +1,8 @@
<?xml version="1.0"?>
<its:rules xmlns:its="http://www.w3.org/2005/11/its"
version="2.0">
- <its:translateRule selector="/action/description |
- /action/message"
+ <its:translateRule selector="//*" translate="no"/>
+ <its:translateRule selector="//action/description |
+ //action/message"
translate="yes"/>
</its:rules>