bluetooth: zero-pad PIN
Bluetooth PINs always consist of 6 digits, so make sure to add leading zeros as necessary. https://bugzilla.gnome.org/show_bug.cgi?id=651251
This commit is contained in:
parent
82c2f5221d
commit
76616dc98c
@ -380,7 +380,7 @@ const ConfirmNotification = new Lang.Class({
|
||||
this._applet = applet;
|
||||
this._devicePath = device_path;
|
||||
this.addBody(_("Device %s wants to pair with this computer").format(long_name));
|
||||
this.addBody(_("Please confirm whether the PIN '%s' matches the one on the device.").format(pin));
|
||||
this.addBody(_("Please confirm whether the PIN '%06d' matches the one on the device.").format(pin));
|
||||
|
||||
this.addButton('matches', _("Matches"));
|
||||
this.addButton('does-not-match', _("Does not match"));
|
||||
|
Loading…
Reference in New Issue
Block a user