Untranslatable string: Passwords do not match

Bug #686737 reported by Steve Magoun
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OEM Priority Project
Fix Released
Medium
Unassigned
ubiquity
Invalid
Undecided
Unassigned
ubiquity (Ubuntu)
Fix Released
Low
Evan

Bug Description

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()

Steve Magoun (smagoun)
affects: ubuntu-translations → ubiquity
Lei Wang (raywang)
Changed in beijing:
status: New → Confirmed
Lei Wang (raywang)
Changed in beijing:
importance: Undecided → Low
Revision history for this message
Colin Watson (cjwatson) wrote :

Moving to ubiquity package in Ubuntu - please note that we don't use the upstream project for bug tracking.

Changed in ubiquity:
status: New → Invalid
Changed in ubiquity (Ubuntu):
status: New → Triaged
importance: Undecided → Low
Colin Watson (cjwatson)
Changed in ubiquity (Ubuntu):
assignee: nobody → Evan Dandrea (ev)
Changed in beijing:
status: Confirmed → Invalid
Lei Wang (raywang)
affects: beijing → null
Steve Magoun (smagoun)
Changed in oem-priority:
importance: Undecided → Medium
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubiquity - 2.5.6

---------------
ubiquity (2.5.6) natty; urgency=low

  [ Colin Watson ]
  * Recommend btrfs-tools (LP: #674805).
  * Sync network configuration with netcfg: drop ip6-allhosts (see Debian
    #533384); strip trailing dots from the hostname and leading and trailing
    dots from the domain.
  * Automatic update of included source packages: grub-installer
    1.57ubuntu2, netcfg 1.57ubuntu3, partman-auto 93ubuntu3, partman-target
    71ubuntu1, user-setup 1.28ubuntu12.

  [ Mario Limonciello ]
  * If available, copy GRUB translations in oem-config user mode.
    (LP: #686789)

  [ Evan Dandrea ]
  * Add debconf template for password confirmation (LP: #654491).
  * Translate the 'passwords do not match' string (LP: #686737).
 -- Colin Watson <email address hidden> Fri, 17 Dec 2010 15:02:18 +0000

Changed in ubiquity (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Chris Van Hoof (vanhoof) wrote :

Marking the OEM Priority task Fix Released. This was addressed in ubiquity version 2.5.6

Changed in oem-priority:
status: Fix Committed → Fix Released
Curtis Hovey (sinzui)
no longer affects: null
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.