Comment 2 for bug 735934

Revision history for this message
David Planella (dpm) wrote :

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>