From 47dd4cce49c0eeb2ecd78447c9c95093b0dc34a4 Mon Sep 17 00:00:00 2001 From: luoe Date: Fri, 2 Jun 2017 20:12:09 -0700 Subject: [PATCH] DevTools: use sentence case instead of title case in secondary labels, buttons, and tooltips BUG=724639 Review-Url: https://codereview.chromium.org/2915333002 Cr-Commit-Position: refs/heads/master@{#476880} --- .../inspector/console/console-dir-expected.txt | 4 ++-- .../inspector/console/console-format-expected.txt | 4 ++-- .../disable-breakpoints-expected.txt | 2 +- .../set-breakpoint-expected.txt | 2 +- .../set-conditional-breakpoint-expected.txt | 4 ++-- .../script-formatter-breakpoints-2-expected.txt | 2 +- .../script-formatter-breakpoints-3-expected.txt | 2 +- .../js-with-inline-stylesheets-expected.txt | 2 +- .../components/DOMBreakpointsSidebarPane.js | 8 ++++---- .../event_listeners/EventListenersView.js | 2 +- .../devtools/front_end/main/RenderingOptions.js | 10 +++++----- .../front_end/object_ui/ObjectPropertiesSection.js | 2 +- .../devtools/front_end/profiler/HeapProfileView.js | 2 +- .../front_end/profiler/HeapSnapshotView.js | 4 ++-- .../front_end/profiler/ProfileLauncherView.js | 2 +- .../front_end/sources/CallStackSidebarPane.js | 2 +- .../sources/JavaScriptBreakpointsSidebarPane.js | 2 +- .../front_end/sources/ScopeChainSidebarPane.js | 14 +++++++------- .../devtools/front_end/sources/SourcesNavigator.js | 2 +- .../devtools/front_end/sources/SourcesPanel.js | 2 +- .../sources/WatchExpressionsSidebarPane.js | 2 +- .../front_end/sources/XHRBreakpointsSidebarPane.js | 2 +- .../devtools/front_end/timeline/TimelinePanel.js | 2 +- .../Source/devtools/front_end/ui/SearchableView.js | 6 +++--- 24 files changed, 43 insertions(+), 43 deletions(-) diff --git a/third_party/WebKit/LayoutTests/inspector/console/console-dir-expected.txt b/third_party/WebKit/LayoutTests/inspector/console/console-dir-expected.txt index 541951cbd6f33c..30d634e971b964 100644 --- a/third_party/WebKit/LayoutTests/inspector/console/console-dir-expected.txt +++ b/third_party/WebKit/LayoutTests/inspector/console/console-dir-expected.txt @@ -45,10 +45,10 @@ console-dir.html:19 ƒ anonymous() console-dir.html:23 inner __proto__: Object console-dir.html:26 Object - No Properties + No properties console-dir.html:27 Object foo: - No Properties + No properties __proto__: Object console-dir.html:29 ƒ __proto__() arguments: null diff --git a/third_party/WebKit/LayoutTests/inspector/console/console-format-expected.txt b/third_party/WebKit/LayoutTests/inspector/console/console-format-expected.txt index 13ba55d9b7b5c1..a974b4b2adf3a2 100644 --- a/third_party/WebKit/LayoutTests/inspector/console/console-format-expected.txt +++ b/third_party/WebKit/LayoutTests/inspector/console/console-format-expected.txt @@ -593,14 +593,14 @@ console-format.html:8 [-0] globals[27] -0 console-format.html:7 {} - No Properties + No properties console-format.html:8 [{…}] 0: {} length: 1 __proto__: Array(0) globals[28] {} - No Properties + No properties console-format.html:7 ƒ Object() { [native code] } console-format.html:8 [ƒ] 0: ƒ Object() diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/disable-breakpoints-expected.txt b/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/disable-breakpoints-expected.txt index 7de7323e5543f1..4b91fbabd3f660 100644 --- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/disable-breakpoints-expected.txt +++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/disable-breakpoints-expected.txt @@ -34,5 +34,5 @@ Breakpoint sidebar pane disable-breakpoints.html:8 var x = Math.sqrt(10); Breakpoints removed. Breakpoint sidebar pane -No Breakpoints +No breakpoints diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/set-breakpoint-expected.txt b/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/set-breakpoint-expected.txt index 69af84d32037ac..a9700b14c17d5f 100644 --- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/set-breakpoint-expected.txt +++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/set-breakpoint-expected.txt @@ -10,7 +10,7 @@ Call stack: Breakpoint sidebar pane set-breakpoint.html:17 var x = Math.sqrt(10); Breakpoint sidebar pane -No Breakpoints +No breakpoints Script execution resumed. Running: testSetBreakpointOnTheLastLine diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/set-conditional-breakpoint-expected.txt b/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/set-conditional-breakpoint-expected.txt index 14ba5c49bb3d2a..008aaf3dbca839 100644 --- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/set-conditional-breakpoint-expected.txt +++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/set-conditional-breakpoint-expected.txt @@ -12,7 +12,7 @@ Call stack: Breakpoint sidebar pane set-conditional-breakpoint.html:17 var x = Math.sqrt(10); Breakpoint sidebar pane -No Breakpoints +No breakpoints Script execution resumed. Running: testSetConditionalBreakpointThatDoesNotBreak @@ -23,5 +23,5 @@ Breakpoint sidebar pane set-conditional-breakpoint.html:17 var x = Math.sqrt(10); Breakpoints removed. Breakpoint sidebar pane -No Breakpoints +No breakpoints diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/script-formatter-breakpoints-2-expected.txt b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/script-formatter-breakpoints-2-expected.txt index b6a7802357d76a..b703bf6ab22d26 100644 --- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/script-formatter-breakpoints-2-expected.txt +++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/script-formatter-breakpoints-2-expected.txt @@ -8,6 +8,6 @@ Script execution paused. Breakpoint sidebar pane while paused in pretty printed unformatted2.js:formatted:4 var c = 3; Breakpoint sidebar pane while paused in raw -No Breakpoints +No breakpoints Script execution resumed. diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/script-formatter-breakpoints-3-expected.txt b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/script-formatter-breakpoints-3-expected.txt index 565528a7a5c189..4cc54b60ce44c3 100644 --- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/script-formatter-breakpoints-3-expected.txt +++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/script-formatter-breakpoints-3-expected.txt @@ -8,6 +8,6 @@ Script execution paused. Breakpoint sidebar pane while paused in pretty printed unformatted3.js:formatted:4 var c = 3; Breakpoint sidebar pane while paused in raw -No Breakpoints +No breakpoints Script execution resumed. diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger/js-with-inline-stylesheets-expected.txt b/third_party/WebKit/LayoutTests/inspector/sources/debugger/js-with-inline-stylesheets-expected.txt index 9c0873bc19126a..ef61a4e37aa02e 100644 --- a/third_party/WebKit/LayoutTests/inspector/sources/debugger/js-with-inline-stylesheets-expected.txt +++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger/js-with-inline-stylesheets-expected.txt @@ -10,6 +10,6 @@ Call stack: Breakpoint sidebar pane js-with-inline-stylesheets.html:10 var x = Math.sqrt(10); Breakpoint sidebar pane -No Breakpoints +No breakpoints Script execution resumed. diff --git a/third_party/WebKit/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js index 308f43e5f6ce62..5c4d60d3df9a15 100644 --- a/third_party/WebKit/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js +++ b/third_party/WebKit/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js @@ -38,7 +38,7 @@ Components.DOMBreakpointsSidebarPane = class extends UI.VBox { this._listElement = this.contentElement.createChild('div', 'breakpoint-list hidden'); this._emptyElement = this.contentElement.createChild('div', 'gray-info-message'); - this._emptyElement.textContent = Common.UIString('No Breakpoints'); + this._emptyElement.textContent = Common.UIString('No breakpoints'); /** @type {!Map} */ this._items = new Map(); @@ -234,9 +234,9 @@ Components.DOMBreakpointsSidebarPane = class extends UI.VBox { Components.DOMBreakpointsSidebarPane.Item; Components.DOMBreakpointsSidebarPane.BreakpointTypeLabels = new Map([ - [SDK.DOMDebuggerModel.DOMBreakpoint.Type.SubtreeModified, Common.UIString('Subtree Modified')], - [SDK.DOMDebuggerModel.DOMBreakpoint.Type.AttributeModified, Common.UIString('Attribute Modified')], - [SDK.DOMDebuggerModel.DOMBreakpoint.Type.NodeRemoved, Common.UIString('Node Removed')], + [SDK.DOMDebuggerModel.DOMBreakpoint.Type.SubtreeModified, Common.UIString('Subtree modified')], + [SDK.DOMDebuggerModel.DOMBreakpoint.Type.AttributeModified, Common.UIString('Attribute modified')], + [SDK.DOMDebuggerModel.DOMBreakpoint.Type.NodeRemoved, Common.UIString('Node removed')], ]); Components.DOMBreakpointsSidebarPane.BreakpointTypeNouns = new Map([ diff --git a/third_party/WebKit/Source/devtools/front_end/event_listeners/EventListenersView.js b/third_party/WebKit/Source/devtools/front_end/event_listeners/EventListenersView.js index 7841fe1ed4feb6..109bf64709b307 100644 --- a/third_party/WebKit/Source/devtools/front_end/event_listeners/EventListenersView.js +++ b/third_party/WebKit/Source/devtools/front_end/event_listeners/EventListenersView.js @@ -25,7 +25,7 @@ EventListeners.EventListenersView = class { this._treeOutline.element.classList.add('monospace'); this._element.appendChild(this._treeOutline.element); this._emptyHolder = createElementWithClass('div', 'gray-info-message'); - this._emptyHolder.textContent = Common.UIString('No Event Listeners'); + this._emptyHolder.textContent = Common.UIString('No event listeners'); this._linkifier = new Components.Linkifier(); /** @type {!Map} */ this._treeItemMap = new Map(); diff --git a/third_party/WebKit/Source/devtools/front_end/main/RenderingOptions.js b/third_party/WebKit/Source/devtools/front_end/main/RenderingOptions.js index aa6b17b71fa75a..429bc93125cca4 100644 --- a/third_party/WebKit/Source/devtools/front_end/main/RenderingOptions.js +++ b/third_party/WebKit/Source/devtools/front_end/main/RenderingOptions.js @@ -34,18 +34,18 @@ Main.RenderingOptionsView = class extends UI.VBox { this.registerRequiredCSS('main/renderingOptions.css'); this._appendCheckbox( - Common.UIString('Paint Flashing'), + Common.UIString('Paint flashing'), Common.UIString('Highlights areas of the page (green) that need to be repainted'), Common.moduleSetting('showPaintRects')); this._appendCheckbox( - Common.UIString('Layer Borders'), Common.UIString('Shows layer borders (orange/olive) and tiles (cyan)'), + Common.UIString('Layer borders'), Common.UIString('Shows layer borders (orange/olive) and tiles (cyan)'), Common.moduleSetting('showDebugBorders')); this._appendCheckbox( - Common.UIString('FPS Meter'), + Common.UIString('FPS meter'), Common.UIString('Plots frames per second, frame rate distribution, and GPU memory'), Common.moduleSetting('showFPSCounter')); this._appendCheckbox( - Common.UIString('Scrolling Performance Issues'), + Common.UIString('Scrolling performance issues'), Common.UIString( 'Highlights elements (teal) that can slow down scrolling, including touch & wheel event handlers and other main-thread scrolling situations.'), Common.moduleSetting('showScrollBottleneckRects')); @@ -55,7 +55,7 @@ Main.RenderingOptionsView = class extends UI.VBox { var mediaSelect = UI.SettingsUI.createControlForSetting(mediaSetting); if (mediaSelect) { var mediaRow = this.contentElement.createChild('span', 'media-row'); - mediaRow.createChild('label').textContent = Common.UIString('Emulate CSS Media'); + mediaRow.createChild('label').textContent = Common.UIString('Emulate CSS media'); mediaRow.createChild('p').textContent = Common.UIString('Forces media type for testing print and screen styles'); mediaRow.appendChild(mediaSelect); } diff --git a/third_party/WebKit/Source/devtools/front_end/object_ui/ObjectPropertiesSection.js b/third_party/WebKit/Source/devtools/front_end/object_ui/ObjectPropertiesSection.js index caa7dfa8e0f0c9..861debeb0c8015 100644 --- a/third_party/WebKit/Source/devtools/front_end/object_ui/ObjectPropertiesSection.js +++ b/third_party/WebKit/Source/devtools/front_end/object_ui/ObjectPropertiesSection.js @@ -598,7 +598,7 @@ ObjectUI.ObjectPropertyTreeElement = class extends UI.TreeElement { if (treeNode.childCount()) return; var title = createElementWithClass('div', 'gray-info-message'); - title.textContent = emptyPlaceholder || Common.UIString('No Properties'); + title.textContent = emptyPlaceholder || Common.UIString('No properties'); var infoElement = new UI.TreeElement(title); treeNode.appendChild(infoElement); } diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.js b/third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.js index 6d90aa38e3e7ca..98cb7b45ec3e0f 100644 --- a/third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.js +++ b/third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.js @@ -49,7 +49,7 @@ Profiler.HeapProfileView = class extends Profiler.ProfileView { */ Profiler.SamplingHeapProfileType = class extends Profiler.ProfileType { constructor() { - super(Profiler.SamplingHeapProfileType.TypeId, Common.UIString('Record Allocation Profile')); + super(Profiler.SamplingHeapProfileType.TypeId, Common.UIString('Record allocation profile')); this._recording = false; Profiler.SamplingHeapProfileType.instance = this; } diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotView.js b/third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotView.js index 74702191a471e3..964113bbec81f9 100644 --- a/third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotView.js +++ b/third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotView.js @@ -976,7 +976,7 @@ Profiler.HeapSnapshotProfileType = class extends Profiler.ProfileType { * @param {string=} title */ constructor(id, title) { - super(id || Profiler.HeapSnapshotProfileType.TypeId, title || Common.UIString('Take Heap Snapshot')); + super(id || Profiler.HeapSnapshotProfileType.TypeId, title || Common.UIString('Take heap snapshot')); SDK.targetManager.observeModels(SDK.HeapProfilerModel, this); SDK.targetManager.addModelListener( SDK.HeapProfilerModel, SDK.HeapProfilerModel.Events.ResetProfiles, this._resetProfiles, this); @@ -1128,7 +1128,7 @@ Profiler.HeapSnapshotProfileType.SnapshotReceived = 'SnapshotReceived'; */ Profiler.TrackingHeapSnapshotProfileType = class extends Profiler.HeapSnapshotProfileType { constructor() { - super(Profiler.TrackingHeapSnapshotProfileType.TypeId, Common.UIString('Record Allocation Timeline')); + super(Profiler.TrackingHeapSnapshotProfileType.TypeId, Common.UIString('Record allocation timeline')); } /** diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/ProfileLauncherView.js b/third_party/WebKit/Source/devtools/front_end/profiler/ProfileLauncherView.js index 7cc895cd5a3618..9a82494b827a14 100644 --- a/third_party/WebKit/Source/devtools/front_end/profiler/ProfileLauncherView.js +++ b/third_party/WebKit/Source/devtools/front_end/profiler/ProfileLauncherView.js @@ -74,7 +74,7 @@ Profiler.ProfileLauncherView = class extends UI.VBox { this._controlButton.title = this._recordButtonEnabled ? '' : UI.anotherProfilerActiveLabel(); if (this._isInstantProfile) { this._controlButton.classList.remove('running'); - this._controlButton.textContent = Common.UIString('Take Snapshot'); + this._controlButton.textContent = Common.UIString('Take snapshot'); } else if (this._isProfiling) { this._controlButton.classList.add('running'); this._controlButton.textContent = Common.UIString('Stop'); diff --git a/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js index 4c30a89d61bf00..34c729a1769f53 100644 --- a/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js +++ b/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js @@ -37,7 +37,7 @@ Sources.CallStackSidebarPane = class extends UI.SimpleView { this.contentElement.appendChild(this._blackboxedMessageElement); this._notPausedMessageElement = this.contentElement.createChild('div', 'gray-info-message'); - this._notPausedMessageElement.textContent = Common.UIString('Not Paused'); + this._notPausedMessageElement.textContent = Common.UIString('Not paused'); /** @type {!UI.ListModel} */ this._items = new UI.ListModel(); diff --git a/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js index 88a0cb411d13d4..9f5061dd2ca7a9 100644 --- a/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js +++ b/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js @@ -31,7 +31,7 @@ Sources.JavaScriptBreakpointsSidebarPane = class extends UI.ThrottledWidget { this._listElement = null; this.contentElement.removeChildren(); var emptyElement = this.contentElement.createChild('div', 'gray-info-message'); - emptyElement.textContent = Common.UIString('No Breakpoints'); + emptyElement.textContent = Common.UIString('No breakpoints'); this.contentElement.appendChild(emptyElement); this._didUpdateForTest(); return Promise.resolve(); diff --git a/third_party/WebKit/Source/devtools/front_end/sources/ScopeChainSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/sources/ScopeChainSidebarPane.js index 575483c4774cd4..bb46298eed092a 100644 --- a/third_party/WebKit/Source/devtools/front_end/sources/ScopeChainSidebarPane.js +++ b/third_party/WebKit/Source/devtools/front_end/sources/ScopeChainSidebarPane.js @@ -62,7 +62,7 @@ Sources.ScopeChainSidebarPane = class extends UI.VBox { if (!details || !callFrame) { var infoElement = createElement('div'); infoElement.className = 'gray-info-message'; - infoElement.textContent = Common.UIString('Not Paused'); + infoElement.textContent = Common.UIString('Not paused'); this.contentElement.appendChild(infoElement); return; } @@ -78,21 +78,21 @@ Sources.ScopeChainSidebarPane = class extends UI.VBox { switch (scope.type()) { case Protocol.Debugger.ScopeType.Local: foundLocalScope = true; - emptyPlaceholder = Common.UIString('No Variables'); + emptyPlaceholder = Common.UIString('No variables'); if (thisObject) extraProperties.push(new SDK.RemoteObjectProperty('this', thisObject)); if (i === 0) { var exception = details.exception(); if (exception) { extraProperties.push(new SDK.RemoteObjectProperty( - Common.UIString.capitalize('Exception'), exception, undefined, undefined, undefined, undefined, - undefined, true)); + Common.UIString('Exception'), exception, undefined, undefined, undefined, undefined, undefined, + true)); } var returnValue = callFrame.returnValue(); if (returnValue) { extraProperties.push(new SDK.RemoteObjectProperty( - Common.UIString.capitalize('Return ^value'), returnValue, undefined, undefined, undefined, undefined, - undefined, true)); + Common.UIString('Return value'), returnValue, undefined, undefined, undefined, undefined, undefined, + true)); } } break; @@ -102,7 +102,7 @@ Sources.ScopeChainSidebarPane = class extends UI.VBox { title = Common.UIString('Closure (%s)', UI.beautifyFunctionName(scopeName)); else title = Common.UIString('Closure'); - emptyPlaceholder = Common.UIString('No Variables'); + emptyPlaceholder = Common.UIString('No variables'); break; } diff --git a/third_party/WebKit/Source/devtools/front_end/sources/SourcesNavigator.js b/third_party/WebKit/Source/devtools/front_end/sources/SourcesNavigator.js index 9ba48c09e171c2..6048c8d2f3fcae 100644 --- a/third_party/WebKit/Source/devtools/front_end/sources/SourcesNavigator.js +++ b/third_party/WebKit/Source/devtools/front_end/sources/SourcesNavigator.js @@ -195,7 +195,7 @@ Sources.SnippetsNavigatorView = class extends Sources.NavigatorView { constructor() { super(); var toolbar = new UI.Toolbar('navigator-toolbar'); - var newButton = new UI.ToolbarButton('', 'largeicon-add', Common.UIString('New Snippet')); + var newButton = new UI.ToolbarButton('', 'largeicon-add', Common.UIString('New snippet')); newButton.addEventListener(UI.ToolbarButton.Events.Click, this._handleCreateSnippet.bind(this)); toolbar.appendToolbarItem(newButton); this.element.insertBefore(toolbar.element, this.element.firstChild); diff --git a/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js b/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js index 6278274b578bc5..3861fa42b40bf5 100644 --- a/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js +++ b/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js @@ -692,7 +692,7 @@ Sources.SourcesPanel = class extends UI.Panel { _createDebugToolbarDrawer() { var debugToolbarDrawer = createElementWithClass('div', 'scripts-debug-toolbar-drawer'); - var label = Common.UIString('Pause On Caught Exceptions'); + var label = Common.UIString('Pause on caught exceptions'); var setting = Common.moduleSetting('pauseOnCaughtException'); debugToolbarDrawer.appendChild(UI.SettingsUI.createSettingCheckbox(label, setting, true)); diff --git a/third_party/WebKit/Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js index b4f74a8a71a4cb..2d2121b27ff324 100644 --- a/third_party/WebKit/Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js +++ b/third_party/WebKit/Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js @@ -97,7 +97,7 @@ Sources.WatchExpressionsSidebarPane = class extends UI.ThrottledWidget { this.contentElement.removeChildren(); this._watchExpressions = []; this._emptyElement = this.contentElement.createChild('div', 'gray-info-message'); - this._emptyElement.textContent = Common.UIString('No Watch Expressions'); + this._emptyElement.textContent = Common.UIString('No watch expressions'); var watchExpressionStrings = this._watchExpressionsSetting.get(); for (var i = 0; i < watchExpressionStrings.length; ++i) { var expression = watchExpressionStrings[i]; diff --git a/third_party/WebKit/Source/devtools/front_end/sources/XHRBreakpointsSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/sources/XHRBreakpointsSidebarPane.js index 7a05db3b0f2a87..c4bdfe8a3d2acf 100644 --- a/third_party/WebKit/Source/devtools/front_end/sources/XHRBreakpointsSidebarPane.js +++ b/third_party/WebKit/Source/devtools/front_end/sources/XHRBreakpointsSidebarPane.js @@ -13,7 +13,7 @@ Sources.XHRBreakpointsSidebarPane = class extends UI.VBox { this._listElement = this.contentElement.createChild('div', 'breakpoint-list hidden'); this._emptyElement = this.contentElement.createChild('div', 'gray-info-message'); - this._emptyElement.textContent = Common.UIString('No Breakpoints'); + this._emptyElement.textContent = Common.UIString('No breakpoints'); /** @type {!Map.} */ this._breakpointElements = new Map(); diff --git a/third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js b/third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js index 5216f6fe523e2e..b1db13bffb3edf 100644 --- a/third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js +++ b/third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js @@ -75,7 +75,7 @@ Timeline.TimelinePanel = class extends UI.Panel { Common.settings.createSetting('timelineViewMode', Timeline.TimelinePanel.ViewMode.FlameChart); this._disableCaptureJSProfileSetting = Common.settings.createSetting('timelineDisableJSSampling', false); - this._disableCaptureJSProfileSetting.setTitle(Common.UIString('Disable JavaScript Samples')); + this._disableCaptureJSProfileSetting.setTitle(Common.UIString('Disable JavaScript samples')); this._captureLayersAndPicturesSetting = Common.settings.createSetting('timelineCaptureLayersAndPictures', false); this._captureLayersAndPicturesSetting.setTitle(Common.UIString('Enable advanced paint instrumentation (slow)')); diff --git a/third_party/WebKit/Source/devtools/front_end/ui/SearchableView.js b/third_party/WebKit/Source/devtools/front_end/ui/SearchableView.js index 8c8e917ac36836..4d2803cb094086 100644 --- a/third_party/WebKit/Source/devtools/front_end/ui/SearchableView.js +++ b/third_party/WebKit/Source/devtools/front_end/ui/SearchableView.js @@ -85,12 +85,12 @@ UI.SearchableView = class extends UI.VBox { this._searchNavigationPrevElement = searchNavigationElement.createChild('div', 'toolbar-search-navigation toolbar-search-navigation-prev'); this._searchNavigationPrevElement.addEventListener('click', this._onPrevButtonSearch.bind(this), false); - this._searchNavigationPrevElement.title = Common.UIString('Search Previous'); + this._searchNavigationPrevElement.title = Common.UIString('Search previous'); this._searchNavigationNextElement = searchNavigationElement.createChild('div', 'toolbar-search-navigation toolbar-search-navigation-next'); this._searchNavigationNextElement.addEventListener('click', this._onNextButtonSearch.bind(this), false); - this._searchNavigationNextElement.title = Common.UIString('Search Next'); + this._searchNavigationNextElement.title = Common.UIString('Search next'); this._searchInputElement.addEventListener('keydown', this._onSearchKeyDown.bind(this), true); this._searchInputElement.addEventListener('input', this._onInput.bind(this), false); @@ -120,7 +120,7 @@ UI.SearchableView = class extends UI.VBox { this._buttonsContainer.appendChild(this._replaceButtonElement); var replaceAllButtonElement = - UI.createTextButton(Common.UIString('Replace All'), this._replaceAll.bind(this), 'search-action-button'); + UI.createTextButton(Common.UIString('Replace all'), this._replaceAll.bind(this), 'search-action-button'); this._buttonsContainer.appendChild(replaceAllButtonElement); // Build the replace checkbox and cancel button.