Backed out changeset 44800134e7db (bug 1358013) for failing browser-chrome's browser_misused_characters_in_strings.js. r=backout

This commit is contained in:
Sebastian Hengst 2017-04-26 12:42:08 +02:00
parent d9653a7941
commit 055f41ca82
2 changed files with 15 additions and 44 deletions

View File

@ -143,18 +143,6 @@ networkMenu.sortedAsc=Sorted ascending
# in the network table toolbar, for any column that is sorted descending.
networkMenu.sortedDesc=Sorted descending
# LOCALIZATION NOTE (networkMenu.summary.tooltip.perf): A tooltip explaining
# what the perf button does
networkMenu.summary.tooltip.perf=Start performance analysis
# LOCALIZATION NOTE (networkMenu.summary.tooltip.domContentLoaded): A tooltip explaining
# what the DOMContentLoaded label displays
networkMenu.summary.tooltip.domContentLoaded=Time when 'DOMContentLoad' event occurred
# LOCALIZATION NOTE (networkMenu.summary.tooltip.load): A tooltip explaining
# what the load label displays
networkMenu.summary.tooltip.load=Time when 'load' event occurred
# LOCALIZATION NOTE (networkMenu.summary.requestsCount): This label is displayed
# in the network table footer providing the number of requests
# See: http://developer.mozilla.org/en/docs/Localization_and_Plurals
@ -164,25 +152,14 @@ networkMenu.summary.requestsCount=One request;%S requests
# in the network table footer when there are no requests
networkMenu.summary.requestsCountEmpty=No requests
# LOCALIZATION NOTE (networkMenu.summary.tooltip.requestsCount): A tooltip explaining
# what the requestsCount label displays
networkMenu.summary.tooltip.requestsCount=Number of requests
# LOCALIZATION NOTE (networkMenu.summary.transferred): This label is displayed
# in the network table footer providing the transferred size.
networkMenu.summary.transferred=%S / %S transferred
# LOCALIZATION NOTE (networkMenu.summary.tooltip.transferred): A tooltip explaining
# what the transferred label displays
networkMenu.summary.tooltip.transferred=Size/transferred size of all requests
# LOCALIZATION NOTE (networkMenu.summary.finish): This label is displayed
# in the network table footer providing the transfer time.
networkMenu.summary.finish=Finish: %S
# LOCALIZATION NOTE (networkMenu.summary.tooltip.finish): A tooltip explaining
# what the finish label displays
networkMenu.summary.tooltip.finish=Total time needed to load all requests
# LOCALIZATION NOTE (networkMenu.sizeB): This is the label displayed
# in the network menu specifying the size of a request (in bytes).

View File

@ -43,35 +43,29 @@ function StatusBar({ summary, openStatistics, timingMarkers }) {
div({ className: "devtools-toolbar devtools-status-bottom" },
button({
className: "devtools-button requests-list-network-summary-button",
title: L10N.getStr("networkMenu.summary.tooltip.perf"),
onClick: openStatistics,
},
div({ className: "summary-info-icon" }),
),
div({
className: "status-bar-label requests-list-network-summary-count",
title: L10N.getStr("networkMenu.summary.tooltip.requestsCount"),
}, countText),
div({ className: "status-bar-label requests-list-network-summary-count" },
countText
),
count !== 0 &&
div({
className: "status-bar-label requests-list-network-summary-transfer",
title: L10N.getStr("networkMenu.summary.tooltip.transferred"),
}, transferText),
div({ className: "status-bar-label requests-list-network-summary-transfer" },
transferText
),
count !== 0 &&
div({
className: "status-bar-label requests-list-network-summary-finish",
title: L10N.getStr("networkMenu.summary.tooltip.finish"),
}, finishText),
div({ className: "status-bar-label requests-list-network-summary-finish" },
finishText
),
DOMContentLoaded > -1 &&
div({
className: "status-bar-label dom-content-loaded",
title: L10N.getStr("networkMenu.summary.tooltip.domContentLoaded"),
}, `DOMContentLoaded: ${getFormattedTime(DOMContentLoaded)}`),
div({ className: "status-bar-label dom-content-loaded" },
`DOMContentLoaded: ${getFormattedTime(DOMContentLoaded)}`
),
load > -1 &&
div({
className: "status-bar-label load",
title: L10N.getStr("networkMenu.summary.tooltip.load"),
}, `load: ${getFormattedTime(load)}`),
div({ className: "status-bar-label load" },
`load: ${getFormattedTime(load)}`
),
)
);
}