зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1360902 - Improve localization of netmonitor waterfall tooltip. r=flod
MozReview-Commit-ID: INXp80HJjUK --HG-- extra : rebase_source : 7558d5d964fdd8b7f069dfca57bf67351ca8a347
This commit is contained in:
Родитель
1464289688
Коммит
71f396bd14
|
@ -219,6 +219,12 @@ networkMenu.sizeServiceWorker=service worker
|
|||
# in the network menu specifying the time for a request to finish (in milliseconds).
|
||||
networkMenu.totalMS=→ %S ms
|
||||
|
||||
# This string is used to concatenate tooltips (netmonitor.waterfall.tooltip.*)
|
||||
# in the requests waterfall for total time (in milliseconds). \\u0020 represents
|
||||
# a whitespace. You can replace this with a different character, e.g. an hyphen
|
||||
# or a period, if a comma doesn't work for your language.
|
||||
netmonitor.waterfall.tooltip.separator=,\u0020
|
||||
|
||||
# LOCALIZATION NOTE (netmonitor.waterfall.tooltip.total): This is part of the tooltip
|
||||
# displayed in the requests waterfall for total time (in milliseconds).
|
||||
netmonitor.waterfall.tooltip.total=Total %S ms
|
||||
|
|
|
@ -96,7 +96,10 @@ function timingBoxes(item) {
|
|||
tooltip.push(L10N.getFormatStr("netmonitor.waterfall.tooltip.total", totalTime));
|
||||
}
|
||||
|
||||
return { boxes, tooltip: tooltip.join(", ") };
|
||||
return {
|
||||
boxes,
|
||||
tooltip: tooltip.join(L10N.getStr("netmonitor.waterfall.tooltip.separator"))
|
||||
};
|
||||
}
|
||||
|
||||
module.exports = RequestListColumnWaterfall;
|
||||
|
|
Загрузка…
Ссылка в новой задаче