GNOME Bugzilla – Bug 675300
"Password" string appears untranslated
Last modified: 2012-06-29 21:54:33 UTC
When polkit authentication dialog is shown, the string "Password" often appears untranslated. It's fine in network connection dialogs, but it's in English on e.g. disk mounting dialog. It's not dependent of a locale, see: http://people.freedesktop.org/~david/udisks2-translations-pt_BR.png
A few things to notice here: - the polkit dialog looks for "Password:" and translates, the network dialog looks for "Password: ". That should probably be made consistent - the prompt in the polkit dialog probably comes straight out of some pam module, and a quick search in pam finds "Password: " there.
Created attachment 217470 [details] [review] PolkitAgent: Look for the right password prompt Pam seems to give us different strings, sometimes 'Password:', sometimes 'Password: '. Look for both of these when replacing them with a translated prompt.
Review of attachment 217470 [details] [review]: Looks good.
The following fix has been pushed: 46cf9fa PolkitAgent: Look for the right password prompt
Created attachment 217662 [details] [review] PolkitAgent: Look for the right password prompt Pam seems to give us different strings, sometimes 'Password:', sometimes 'Password: '. Look for both of these when replacing them with a translated prompt.