kauth-policy-gen missing localization

Bug #1475925 reported by Hendrik Schrieber
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kauth (Ubuntu)
New
Undecided
Hendrik Schrieber

Bug Description

In Kubuntu kauth-policy-gen is used to generate polkit config files (.policy) for particular packages. Although polkit does currently not allow localization, UI visible strings are contained in these config files. The package "libqapt" which is used by Muon Discover for example has a fully localized .actions file that is the input for kauth-policy-gen. However, those translations are currently not used since kauth-policy-gen only extracts the English version of each action defined.

Effects of this bug:
Translations for some UI strings in Kubuntu affecting security-relevant user interactions (e.g. asking for password to install updates) are not translated.

Possible workaround/solution:
Adapt kauth-policy-gen to create .policy files with action names according to the current system locale setting. This solution is very simple and does not require polkit to be localized since kauth-policy-gen will simply write strings in the .policy file that match the users' language.

Tags: i18n kubuntu wily
Changed in kauth (Ubuntu):
assignee: nobody → Hendrik Knackstedt (hennekn)
tags: added: kubuntu
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.