[Bug 1475925] [NEW] kauth-policy-gen missing localization

Launchpad Bug Tracker 1475925 at bugs.launchpad.net
Sat Jul 18 22:37:47 UTC 2015


You have been subscribed to a public bug by Hendrik Knackstedt (hennekn):

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.

** Affects: kauth (Ubuntu)
     Importance: Undecided
     Assignee: Hendrik Knackstedt (hennekn)
         Status: New


** Tags: i18n kubuntu wily
-- 
kauth-policy-gen missing localization
https://bugs.launchpad.net/bugs/1475925
You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to the bug report.




More information about the kubuntu-bugs mailing list