[Australis] Bug 946181: Update Metro button string ids for localization. r=jaws
☠☠ backed out by 81befccd2547 ☠ ☠
authorMarina Samuel <msamuel@mozilla.com>
Wed, 04 Dec 2013 15:32:31 -0500
changeset 174656 32817c0e869e69d17051a11bd31b263a70f2b0d5
parent 174655 8cc62acf53a5dd31bfc5a886da808015979f304c
child 174657 9915d93be7b6b2527a2c9922fbf7dc8d0b2f8fea
push id445
push userffxbld
push dateMon, 10 Mar 2014 22:05:19 +0000
treeherdermozilla-release@dc38b741b04e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws
bugs946181
milestone28.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
[Australis] Bug 946181: Update Metro button string ids for localization. r=jaws
browser/components/customizableui/src/CustomizableWidgets.jsm
browser/locales/en-US/chrome/browser/customizableui/customizableWidgets.properties
--- a/browser/components/customizableui/src/CustomizableWidgets.jsm
+++ b/browser/components/customizableui/src/CustomizableWidgets.jsm
@@ -794,16 +794,18 @@ const CustomizableWidgets = [{
     }
   }];
 
 #ifdef XP_WIN
 #ifdef MOZ_METRO
 if (isWin8OrHigher()) {
   CustomizableWidgets.push({
     id: "switch-to-metro-button",
+    label: "switch-to-metro-button2.label",
+    tooltiptext: "switch-to-metro-button2.tooltiptext",
     removable: true,
     defaultArea: CustomizableUI.AREA_PANEL,
     onCommand: function(aEvent) {
       let win = aEvent.target &&
         aEvent.target.ownerDocument &&
         aEvent.target.ownerDocument.defaultView;
       if (win && typeof win.SwitchToMetro == "function") {
         win.SwitchToMetro();
--- a/browser/locales/en-US/chrome/browser/customizableui/customizableWidgets.properties
+++ b/browser/locales/en-US/chrome/browser/customizableui/customizableWidgets.properties
@@ -26,19 +26,19 @@ open-file-button.tooltiptext = Open file
 developer-button.label = Developer
 # LOCALIZATION NOTE(developer-button.tooltiptext): %S is the keyboard shortcut
 developer-button.tooltiptext = Web Developer Tools (%S)
 
 add-ons-button.label = Add-ons
 # LOCALIZATION NOTE(add-ons-button.tooltiptext): %S is the keyboard shortcut
 add-ons-button.tooltiptext = Add-ons Manager (%S)
 
-switch-to-metro-button.label = Windows 8 Touch
-# LOCALIZATION NOTE(switch-to-metro-button.tooltiptext): %S is the brand short name
-switch-to-metro-button.tooltiptext = Relaunch in %S for Windows 8 Touch
+switch-to-metro-button2.label = Windows 8 Touch
+# LOCALIZATION NOTE(switch-to-metro-button2.tooltiptext): %S is the brand short name
+switch-to-metro-button2.tooltiptext = Relaunch in %S for Windows 8 Touch
 
 preferences-button.label = Preferences
 # LOCALIZATION NOTE (preferences-button.tooltiptext): Use the unicode ellipsis char,
 # \u2026, or use "..." if \u2026 doesn't suit traditions in your locale.
 preferences-button.tooltiptext = Preferences…
 # LOCALIZATION NOTE (preferences-button.labelWin): Windows-only label for Options
 preferences-button.labelWin = Options
 # LOCALIZATION NOTE (preferences-button.tooltipWin): Windows-only tooltip for Options