After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 659927 - Untranslated strings in password dialogs
Untranslated strings in password dialogs
Status: RESOLVED NOTGNOME
Product: gnome-keyring
Classification: Core
Component: prompting
3.1.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME keyring maintainer(s)
GNOME keyring maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2011-09-23 09:32 UTC by Gabor Kelemen
Modified: 2011-10-11 10:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot of the problem (44.52 KB, image/png)
2011-09-23 09:32 UTC, Gabor Kelemen
Details
Another screenshot of the problem (20.14 KB, image/png)
2011-09-23 09:37 UTC, Gabor Kelemen
Details
One more screenshot (60.40 KB, image/png)
2011-09-23 09:39 UTC, Gabor Kelemen
Details

Description Gabor Kelemen 2011-09-23 09:32:49 UTC
Created attachment 197329 [details]
Screenshot of the problem

Downstream bug reported at https://bugs.launchpad.net/ubuntu/+source/gnome-keyring/+bug/857136

while using Oneiric Beta, I tried to change the default keyring password using seahorse (Passwords and Keys application in the Dash).

The dialog that comes up if you right-click on the default keyring and choose to change the password, looks like is coming from gnome-keyring, since that strings there are in the gnome-keyring template. Not all of those strings are translated, albeit them being already translated since a while and also shipped with Ubuntu.

Seahorse is at versione 3.1.92, gnome-keyring at version 3.1.92.
Comment 1 Gabor Kelemen 2011-09-23 09:37:45 UTC
Created attachment 197331 [details]
Another screenshot of the problem
Comment 2 Gabor Kelemen 2011-09-23 09:39:54 UTC
Created attachment 197332 [details]
One more screenshot
Comment 3 Gabor Kelemen 2011-09-23 09:44:39 UTC
All these strings are present in the .po files, so my first guess would be that the gi18n.h includes in the files containing these strings should be changed to gi18n-lib.h.
Comment 4 Stef Walter 2011-09-24 08:34:55 UTC
Those strings come from gnome-keyring-daemon (whereas the other strings come from gnome-keyring-prompt). Do you think that the incorrect LOCALE is set on the daemon? Or perhaps the LOCALE is set too late?
Comment 5 Gabor Kelemen 2011-10-10 20:54:13 UTC
Hi

I was wrong about the gi18n-lib.h thing, that's not the problem here[1]. If I issue `gnome-keyring-daemon --replace` , and then try to change the keyring password, the strings appear translated. 

There was also a comment in the original report that suggests that the problem may be Ubuntu-specific: https://bugs.launchpad.net/ubuntu-translations/+bug/857136/comments/4

After trying all the possibilities with shuffling the i18n initialization code in the g-k-d and g-k-p, I have installed gdm and boom, everything is translated. So it must be lightdm being incompatible in some strange way.

I wonder: what does gdm say to g-k-d, that lightdm maybe not?

[1]: those may still cause problems in the future, I'll open another bug.
Comment 6 Stef Walter 2011-10-11 10:30:15 UTC
Interesting, thanks for the research.