Hello Marius, or anyone else affected,

Accepted gsettings-desktop-schemas into noble-proposed. The package will
build now and be available at
https://launchpad.net/ubuntu/+source/gsettings-desktop-
schemas/46.1-0ubuntu1 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
noble to verification-done-noble. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-noble. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: gsettings-desktop-schemas (Ubuntu Noble)
       Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-noble

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

Title:
  gnome-shell spams the journal with `Failed to parse translated string
  '„24h“' for key 'clock-format' in schema
  'org.gnome.desktop.interface': 0:expected value` multiple times every
  second for users using the lt_LT , ru_RU, Indonesian (id)  and maybe
  other locales

Status in GSettings Desktop Schemas:
  Fix Released
Status in gsettings-desktop-schemas package in Ubuntu:
  Fix Released
Status in gsettings-desktop-schemas source package in Noble:
  Fix Committed

Bug description:
  Impact
  ------
  The systemd journal gets a lot of warnings about an incorrect translation for 
the default Ubuntu Desktop when used with certain languages including Georgian, 
Indonesian, Lithuanian, and Russian.

  This issue is much worse if someone has enabled the show Seconds
  option in the top bar clock.

  This issue is being fixed by packaging the new bugfix release of
  gsettings-desktop-schemas 46.1. There were only translation updates in
  this release.

  https://gitlab.gnome.org/GNOME/gsettings-desktop-
  schemas/-/compare/46.0...46.1

  Test Case
  ---------
  1. Open a terminal and run sudo apt install language-pack-gnome-lt
  2. Close the terminal
  3. Open the Settings app (gnome-control-center)
  4. In the side bar, click System, then Date & Time. Turn on Seconds.
  5. Close the Settings app.
  6. Open the Language Support app.
  You can click Remind me later if you see a warning that says "The language 
support is not installed completely."
  7. Drag Lietuvių to the top of the list.
  8. Log out
  9. Log back in.
  10. Open a terminal and run journalctl -f. You should not see any of the 
clock-format warnings mentioned in the Original Bug Report below.

  What Could Go Wrong
  -------------------
  As a component of GNOME core, there is a micro-release exception for 
gsettings-desktop-schemas.

  https://wiki.ubuntu.com/StableReleaseUpdates/GNOME

  Other Info
  ----------
  Because gsettings-desktop-schemas is included in Ubuntu language packs, this 
issue is actually only fixed with a language pack update. Ubuntu currently only 
updates language packs shortly before Ubuntu LTS point releases.

  Therefore, we will need to push this update without being able to
  verify the Test Case first.

  Original Bug Report
  -------------------
  After upgrading to Ubuntu 24.04 LTS I ran journalctl -f and noticed that 
gnome-shell was spamming errors at the rate of 12 lines every second:

  geg. 02 18:29:19 blynas gnome-shell[3980]: Failed to parse translated string 
'„24h“' for key 'clock-format' in schema 'org.gnome.desktop.interface': 
0:expected value
  geg. 02 18:29:19 blynas gnome-shell[3980]: Using untranslated default instead.
  geg. 02 18:29:20 blynas gnome-shell[3980]: Failed to parse translated string 
'„24h“' for key 'clock-format' in schema 'org.gnome.desktop.interface': 
0:expected value
  geg. 02 18:29:20 blynas gnome-shell[3980]: Using untranslated default instead.
  geg. 02 18:29:20 blynas gnome-shell[3980]: Failed to parse translated string 
'„24h“' for key 'clock-format' in schema 'org.gnome.desktop.interface': 
0:expected value
  geg. 02 18:29:20 blynas gnome-shell[3980]: Using untranslated default instead.
  geg. 02 18:29:20 blynas gnome-shell[3980]: Failed to parse translated string 
'„24h“' for key 'clock-format' in schema 'org.gnome.desktop.interface': 
0:expected value
  geg. 02 18:29:20 blynas gnome-shell[3980]: Using untranslated default instead.
  geg. 02 18:29:20 blynas gnome-shell[3980]: Failed to parse translated string 
'„24h“' for key 'clock-format' in schema 'org.gnome.desktop.interface': 
0:expected value
  geg. 02 18:29:20 blynas gnome-shell[3980]: Using untranslated default instead.
  geg. 02 18:29:20 blynas gnome-shell[3980]: Failed to parse translated string 
'„24h“' for key 'clock-format' in schema 'org.gnome.desktop.interface': 
0:expected value
  geg. 02 18:29:20 blynas gnome-shell[3980]: Using untranslated default instead.
  geg. 02 18:29:20 blynas gnome-shell[3980]: Failed to parse translated string 
'„24h“' for key 'clock-format' in schema 'org.gnome.desktop.interface': 
0:expected value
  geg. 02 18:29:20 blynas gnome-shell[3980]: Using untranslated default instead.

  My locale is lt_LT.UTF-8, but this issue appears also in ru_RU, id
  (Indonesian) and maybe other locales.

  This is caused by a mistaken translation of the quote characters in "'24h'" 
which is used as the default value for a particular gsettings key.  
Specifically, this translation: 
https://translations.launchpad.net/ubuntu/noble/+source/gsettings-desktop-schemas/+pots/gsettings-desktop-schemas/lt/232/+translate
  
https://translations.launchpad.net/ubuntu/noble/+source/gsettings-desktop-schemas/+pots/gsettings-desktop-schemas/ru/232/+translate
  
https://translations.launchpad.net/ubuntu/noble/+source/gsettings-desktop-schemas/+pots/gsettings-desktop-schemas/id/232/+translate

  Since I'm a member of the Lithuanian translators team, I've fixed the
  translation error for Lithuanian language in
  translations.launchpad.net, but I can't fix for other languages, also
  gnome-shell will continue to spam multiple errors every second until
  an updated language-pack-gnome-lt-base (and for other languages) is
  released.

  (I've also submitted a fixed Lithuanian translation upstream to
  l10n.gnome.org , but not for other languages)

  Workaround: run dconf-editor, find /org/gnome/desktop/interface/clock-format, 
uncheck Use default value, click Apply.
  System-wide workaround for Lithuanian language:
  msgunfmt 
/usr/share/locale-langpack/lt/LC_MESSAGES/gsettings-desktop-schemas.mo -o 
/tmp/gsettings-desktop-schemas.po && sed -i "s/„24h“/'24h'/g" 
/tmp/gsettings-desktop-schemas.po && msgfmt gsettings-desktop-schemas.po -o 
/usr/share/locale-langpack/lt/LC_MESSAGES/gsettings-desktop-schemas.mo

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: gnome-shell 46.0-0ubuntu5
  ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
  Uname: Linux 6.8.0-31-generic x86_64
  ApportVersion: 2.28.1-0ubuntu2
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Thu May  2 18:25:59 2024
  DisplayManager: gdm3
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2019-06-12 (1786 days ago)
  InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
  RelatedPackageVersions: mutter-common 46.0-1ubuntu9
  SourcePackage: gnome-shell
  UpgradeStatus: Upgraded to noble on 2024-05-02 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/gsettings-desktop-schemas/+bug/2064656/+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