Bug 1322026 - Bug 1320570 follow-up: Fixed string name for plural form. r=aceman a=jorgk DONTBUILD
authorJorg K <jorgk@jorgk.com>
Sun, 04 Dec 2016 10:29:21 +0100
changeset 23674 a463541c03479c64a0a29601a25553b8d89d561a
parent 23673 4435e81e70e6b875ae15e3a70120b28ee031db2a
child 23675 6c3932941a3ae40a1c349339e99c71e990be01a1
push id1927
push usermozilla@jorgk.com
push dateMon, 05 Dec 2016 10:22:52 +0000
treeherdercomm-aurora@a463541c0347 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersaceman, jorgk
bugs1322026, 1320570
Bug 1322026 - Bug 1320570 follow-up: Fixed string name for plural form. r=aceman a=jorgk DONTBUILD
mail/base/content/ABSearchDialog.js
suite/mailnews/search/ABSearchDialog.js
--- a/mail/base/content/ABSearchDialog.js
+++ b/mail/base/content/ABSearchDialog.js
@@ -31,18 +31,18 @@ var gSearchAbViewListener = {
     UpdateCardView();
   },
   onCountChanged: function(aTotal) {
     let statusText;
     if (aTotal == 0) {
       statusText = gAddressBookBundle.getString("noMatchFound");
     } else {
       statusText = PluralForm
-        .get(aTotal, gAddressBookBundle.getString("matchesFoundCount"))
-        .replace("%S", aTotal);
+        .get(aTotal, gAddressBookBundle.getString("matchesFound1"))
+        .replace("#1", aTotal);
     }
 
     gStatusText.setAttribute("label", statusText);
   }
 };
 
 function searchOnLoad()
 {
--- a/suite/mailnews/search/ABSearchDialog.js
+++ b/suite/mailnews/search/ABSearchDialog.js
@@ -29,18 +29,18 @@ var gSearchAbViewListener = {
     UpdateCardView();
   },
   onCountChanged: function(aTotal) {
     let statusText;
     if (aTotal == 0) {
       statusText = gAddressBookBundle.getString("noMatchFound");
     } else {
       statusText = PluralForm
-        .get(aTotal, gAddressBookBundle.getString("matchesFoundCount"))
-        .replace("%S", aTotal);
+        .get(aTotal, gAddressBookBundle.getString("matchesFound1"))
+        .replace("#1", aTotal);
     }
 
     gStatusText.setAttribute("label", statusText);
   }
 };
 
 function searchOnLoad()
 {