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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1707898

Title:
  systemd translations are not synced with upstream

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to