Red Hat Bugzilla – Bug 89149
"Password:" message in gdm not translated
Last modified: 2015-01-07 19:04:44 EST
Tested with RHL 9 and sv_SE as the locale.
The "Password:" message on the default RHL login screen (gdm) is untranslated.
Steps to Reproduce:
1. Install RHL 9 system with Swedish as the language.
2. Enter a valid username at the login prompt of the freshly installed system.
3. Watch the untranslated "Password:" message at the password prompt.
"Password:" is untranslated.
"Password:" should be shown translated into Swedish ("LÃ¶senord:").
gdm2 and all Red Hat tools are 100% translated into Swedish, so perhaps this
message isn't properly gettextified or some such.
Maybe the string comes from pam - if it's a gdm string, should
be fixed upstream, I avoid .po patches in spec files pretty
It couldn't be from redhat-artwork? This message isn't present in redhat-artwork
po files. "Username:" is though.
Could be. Just checked though, doesn't seem to be in the theme file.
A "Password:" string is present in /lib/security/pam_unix_passwd.so,
the gdm PAM backend just presents messages from the pam conversation.
Dragging gettext in pam security modules seems a bit risky security-wise
to me. It could be just hacked around by special-casing the "Password:"
string and displaying the translated version.
Another possibility would be to mark the messages in pam modules for
translation and provide the translations, but not call gettext ()
in the modules themselves. That way, the pam caller can choose to
implement security as needed, that is call gettext as root (as gdm
currently does), call gettext in a subchild, don't call it at all...
This works fine (in gdm) in FC 1.
... and in FC2.