← Back to team overview

registry team mailing list archive

[Bug 686737] [NEW] Untranslatable string: Passwords do not match

 

You have been subscribed to a public bug:

The string "Passwords do not match" in the user setup page (oem-config)
is not translated, and evidently not translatable.

Seen in Ubuntu 10.10, ubiquity 2.4.8

To reproduce: 
1) Boot to oem-config
2) Choose a non-English language such as Chinese
3) Continue to the user setup page; enter different passwords in the password and 'confirm your password' text fields.

Actual results:
The string "Passwords do not match" is displayed in English

Expected results:
The string "Passwords do not match" is displayed in the language chosen by the user

A cursory inspection of the code in ubi-usersetup.py (ubiquity 2.4.8)
turns up the string in question, looks like it needs to templatized:

            if passw and (len(vpassw) / float(len(passw)) > 0.8):
                # TODO Cache, use a custom string.
                #txt = self.controller.get_string('user-setup/password-mismatch')
                txt = '<small><span foreground="darkred"><b>Passwords do not match</b></span></small>'
                self.password_error_label.set_markup(txt)
                self.password_error_label.show()

** Affects: null
     Importance: Low
         Status: Invalid

** Affects: oem-priority
     Importance: Undecided
         Status: New

** Affects: ubiquity
     Importance: Undecided
         Status: Invalid

** Affects: ubiquity (Ubuntu)
     Importance: Low
     Assignee: Evan Dandrea (ev)
         Status: Triaged

-- 
Untranslatable string: Passwords do not match
https://bugs.launchpad.net/bugs/686737
You received this bug notification because you are a member of Registry Administrators, which is the registrant for NULL Project.