Bug 1218586 - use \u0020 instead of backspace protected whitespace in watchExpressionsSeparatorLabel to suppress warning from compare-locales. r=jryans
authorSebastian Hengst <archaeopteryx@coole-files.de>
Mon, 26 Oct 2015 23:17:38 +0100
changeset 269585 9a0ee09782a32d2ec4949f3e2e8b930c84e9c5e7
parent 269584 15acea2927e2103a21ee2e350a92bf34181e7695
child 269586 3af8b8e5634025399af5043cb5d07096cd460928
push id15894
push userarchaeopteryx@coole-files.de
push dateMon, 26 Oct 2015 23:18:01 +0000
treeherderfx-team@9a0ee09782a3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjryans
bugs1218586
milestone44.0a1
Bug 1218586 - use \u0020 instead of backspace protected whitespace in watchExpressionsSeparatorLabel to suppress warning from compare-locales. r=jryans
browser/locales/en-US/chrome/browser/devtools/debugger.properties
devtools/client/debugger/debugger-controller.js
--- a/browser/locales/en-US/chrome/browser/devtools/debugger.properties
+++ b/browser/locales/en-US/chrome/browser/devtools/debugger.properties
@@ -304,19 +304,19 @@ sealedTooltip=sealed
 extensibleTooltip=extensible
 overriddenTooltip=overridden
 WebIDLTooltip=WebIDL
 
 # LOCALIZATION NOTE (variablesSeparatorLabel): The text that is displayed
 # in the variables list as a separator between the name and value.
 variablesSeparatorLabel=:
 
-# LOCALIZATION NOTE (watchExpressionsSeparatorLabel): The text that is displayed
+# LOCALIZATION NOTE (watchExpressionsSeparatorLabel2): The text that is displayed
 # in the watch expressions list as a separator between the code and evaluation.
-watchExpressionsSeparatorLabel=\ →
+watchExpressionsSeparatorLabel2=\u0020→
 
 # LOCALIZATION NOTE (functionSearchSeparatorLabel): The text that is displayed
 # in the functions search panel as a separator between function's inferred name
 # and its real name (if available).
 functionSearchSeparatorLabel=←
 
 # LOCALIZATION NOTE (resumptionOrderPanelTitle): This is the text that appears
 # as a description in the notification panel popup, when multiple debuggers are
--- a/devtools/client/debugger/debugger-controller.js
+++ b/devtools/client/debugger/debugger-controller.js
@@ -871,17 +871,17 @@ StackFrames.prototype = {
     // to contain all the values.
     if (this._syncedWatchExpressions && aDepth == 0) {
       let label = L10N.getStr("watchExpressionsScopeLabel");
       let scope = DebuggerView.Variables.addScope(label);
 
       // Customize the scope for holding watch expressions evaluations.
       scope.descriptorTooltip = false;
       scope.contextMenuId = "debuggerWatchExpressionsContextMenu";
-      scope.separatorStr = L10N.getStr("watchExpressionsSeparatorLabel");
+      scope.separatorStr = L10N.getStr("watchExpressionsSeparatorLabel2");
       scope.switch = DebuggerView.WatchExpressions.switchExpression;
       scope.delete = DebuggerView.WatchExpressions.deleteExpression;
 
       // The evaluation hasn't thrown, so fetch and add the returned results.
       this._fetchWatchExpressions(scope, this._currentEvaluation.return);
 
       // The watch expressions scope is always automatically expanded.
       scope.expand();