Public bug reported: 1) The release of Ubuntu you are using Release: Ubuntu 24.04.1 LTS
2) The version of the package you are using Package: polkitd 124-2ubuntu1 3) What you expected to happen Dialog messages asking for permissions shows fully translated 4) What happened instead If a action file for polkit defines translations inline (i.e. /usr/share/polkit-1/actions/com.ubuntu.release-upgrader.policy): <message xml:lang="es (or whatever)"<Se requiere autorizaciĆ³n</message> then the dialog for permissions shows the translated message but if action file uses "gettext-domain" (i.e. /usr/share/polkit-1/actions/io.snapcraft.snapd.policy): <message gettext-domain="snappy">Authorization is required to authenticate on the snap daemon</message> then only gets translated the first time the dialog is shown, after that the message shows always untranslated. If polkitd is restarted then the first time works as expected, but only the first time. After that messages will show untranslated again. ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: polkitd 124-2ubuntu1 Uname: Linux 6.11.10-x64v3-xanmod1 x86_64 ApportVersion: 2.28.1-0ubuntu3.1 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: ubuntu:GNOME Date: Thu Nov 28 12:53:00 2024 InstallationDate: Installed on 2024-11-14 (14 days ago) InstallationMedia: Ubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 (20240827.1) SourcePackage: policykit-1 UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: policykit-1 (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug noble wayland-session -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to policykit-1 in Ubuntu. https://bugs.launchpad.net/bugs/2089846 Title: polkitd translations for actions not working with gettext Status in policykit-1 package in Ubuntu: New Bug description: 1) The release of Ubuntu you are using Release: Ubuntu 24.04.1 LTS 2) The version of the package you are using Package: polkitd 124-2ubuntu1 3) What you expected to happen Dialog messages asking for permissions shows fully translated 4) What happened instead If a action file for polkit defines translations inline (i.e. /usr/share/polkit-1/actions/com.ubuntu.release-upgrader.policy): <message xml:lang="es (or whatever)"<Se requiere autorizaciĆ³n</message> then the dialog for permissions shows the translated message but if action file uses "gettext-domain" (i.e. /usr/share/polkit-1/actions/io.snapcraft.snapd.policy): <message gettext-domain="snappy">Authorization is required to authenticate on the snap daemon</message> then only gets translated the first time the dialog is shown, after that the message shows always untranslated. If polkitd is restarted then the first time works as expected, but only the first time. After that messages will show untranslated again. ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: polkitd 124-2ubuntu1 Uname: Linux 6.11.10-x64v3-xanmod1 x86_64 ApportVersion: 2.28.1-0ubuntu3.1 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: ubuntu:GNOME Date: Thu Nov 28 12:53:00 2024 InstallationDate: Installed on 2024-11-14 (14 days ago) InstallationMedia: Ubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 (20240827.1) SourcePackage: policykit-1 UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/policykit-1/+bug/2089846/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp