This is my test on artful:

I made this modification:

$ cat /usr/share/polkit-1/actions/org.freedesktop.locale1.policy | grep 
'"systemd"' -A 1
                <message gettext-domain="systemd">Authentication is required to 
set the system locale.</message>
                <defaults>

i.e. I dropped the inline translations for that message.

Then I renamed /usr/share/gettext/its/polkit.{its,loc}:

$ ls /usr/share/gettext/its/polkit*
/usr/share/gettext/its/polkit.its.bak  /usr/share/gettext/its/polkit.loc.bak

I switched to a non-admin user and run:

localectl set-locale LANG=en_US.UTF-8

and the prompt was translated dynamically. So yes, they are probably
only used at build time in some sense.

But people use xgettext() and similar tools manually too, and if we move
those files to libpolkit-gobject-1-dev, you'd need to install that
package in order to extract messages from polkit files.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1707898

Title:
  systemd translations are not synced with upstream

Status in systemd:
  New
Status in Ubuntu Translations:
  New
Status in systemd package in Ubuntu:
  In Progress

Bug description:
  Translations for systemd are outdated because they do not seem to be
  synced with the upstream ones.

  For example the Czech one:
  Launchpad: 
https://translations.launchpad.net/ubuntu/artful/+source/systemd/+pots/systemd/cs/+translate
 - 0% translated
  Upstream: https://github.com/systemd/systemd/blob/master/po/cs.po - 100% 
translated

To manage notifications about this bug go to:
https://bugs.launchpad.net/systemd/+bug/1707898/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to