@bl @igor.zubarev
I can't fix this issue for Russian translation because I'm not a member of 
Russian Ubuntu translators (https://launchpad.net/~ubuntu-l10n-ru )

Everyone from Russian translators team can fix this issue by simply changing 
translation to '24h' at  
https://translations.launchpad.net/ubuntu/noble/+source/gsettings-desktop-schemas/+pots/gsettings-desktop-schemas/ru/232/+translate

See for example German translation:
https://translations.launchpad.net/ubuntu/noble/+source/gsettings-
desktop-schemas/+pots/gsettings-desktop-schemas/de/232/+translate

** Summary changed:

- 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 and ru_RU locales
+ 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 and maybe 
other locales

** Description changed:

  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.
- geg. 02 18:29:20 blynas kernel: [UFW BLOCK] IN=wlp0s20f3 OUT= 
MAC=01:00:5e:00:00:fb:c6:25:2f:1a:a1:27:08:00 SRC=192.168.1.180 DST=224.0.0.251 
LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=30487 PROTO=2
- geg. 02 18:29:21 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:21 blynas gnome-shell[3980]: Using untranslated default instead.
  
- My locale is lt_LT.UTF-8, which is relevant.
+ My locale is lt_LT.UTF-8, but this issue appears also in ru_RU 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.
+ 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
  
  Since I'm a member of the Lithuanian translators team, I've fixed the
  translation error in translations.launchpad.net, but my gnome-shell will
  continue to spam multiple errors every second until an updated language-
  pack-gnome-lt-base is released.
  
  (I've also submitted a fixed translation upstream to l10n.gnome.org.)
  
  Workaround: run dconf-editor, find /org/gnome/desktop/interface/clock-format, 
uncheck Use default value, click Apply.
  System-wide workaround:
- 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 
+ 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)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gsettings-desktop-schemas/+bug/2064656/+subscriptions


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

Reply via email to