Bug 579650 - Missing string in errors.properties [r=mconnor]
authorFabrice Desré <fabrice@mozilla.com>
Wed, 15 Sep 2010 22:59:53 -0400
changeset 66654 aa8e00964671c031d13490d5229453378339dc9a
parent 66653 17b04dae32d0b591b42913544fe45c307cb489f1
child 66655 a385b2c15f49eb244751f9568ee143951d719429
push id19389
push userffxbld
push dateWed, 06 Apr 2011 21:33:21 +0000
treeherdermozilla-central@8e9f90073a20 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmconnor
bugs579650
Bug 579650 - Missing string in errors.properties [r=mconnor]
mobile/chrome/content/sync.js
--- a/mobile/chrome/content/sync.js
+++ b/mobile/chrome/content/sync.js
@@ -161,17 +161,17 @@ let WeaveGlue = {
       sync.setAttribute("title", dateStr);
     }
 
     // Show what went wrong with login if necessary
     let login = Weave.Status.login;
     if (login == Weave.LOGIN_SUCCEEDED)
       connect.removeAttribute("desc");
     else if (login != null)
-      connect.setAttribute("desc", Weave.Str.errors.get(login));
+      connect.setAttribute("desc", Weave.Utils.getErrorString(login));
 
     // Load the values for the string inputs
     user.value = Weave.Service.username || "";
     pass.value = Weave.Service.password || "";
     secret.value = Weave.Service.passphrase || "";
     device.value = Weave.Clients.localName || "";
   },