Martin, as now we can load translations from .policy files directly from the .mo files (bug 619632), do you think it might be worth creating a rule that does a similar thing as with the .desktop/.server files, but with .policy files?
I.e. strip translations from the .policy files and and add the gettext-domain to the descriptions, as in:
<action id="org.debian.apt.clean">
<description gettext-domain="aptdaemon">Remove downloaded package files</description>
<message>To clean downloaded package files, you need to authenticate.</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>
Martin, as now we can load translations from .policy files directly from the .mo files (bug 619632), do you think it might be worth creating a rule that does a similar thing as with the .desktop/.server files, but with .policy files?
I.e. strip translations from the .policy files and and add the gettext-domain to the descriptions, as in:
<action id="org. debian. apt.clean" > domain= "aptdaemon" >Remove downloaded package files</description> </message> allow_any> auth_admin< /allow_ any> allow_inactive> auth_admin< /allow_ inactive> allow_active> yes</allow_ active>
<description gettext-
<message>To clean downloaded package files, you need to authenticate.
<defaults>
<
<
<
</defaults>
</action>