mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 967378 - Part 2: Use proper plural form for 'total time' in charts, r=flod, rcampbell
This commit is contained in:
parent
c4c2c3b626
commit
ac25e2962e
@ -2388,8 +2388,9 @@ PerformanceStatisticsView.prototype = {
|
||||
return L10N.getFormatStr("charts.totalSize", string);
|
||||
},
|
||||
time: total => {
|
||||
let string = L10N.numberWithDecimals(total / 1000, REQUEST_TIME_DECIMALS);
|
||||
return L10N.getFormatStr("charts.totalTime2", string);
|
||||
let seconds = total / 1000;
|
||||
let string = L10N.numberWithDecimals(seconds, REQUEST_TIME_DECIMALS);
|
||||
return PluralForm.get(seconds, L10N.getStr("charts.totalSeconds")).replace("#1", string);
|
||||
},
|
||||
cached: total => {
|
||||
return L10N.getFormatStr("charts.totalCached", total);
|
||||
|
@ -166,9 +166,11 @@ charts.cacheDisabled=Empty cache
|
||||
# in the performance analysis view for total requests size, in kilobytes.
|
||||
charts.totalSize=Size: %S KB
|
||||
|
||||
# LOCALIZATION NOTE (charts.totalTime2): This is the label displayed
|
||||
# in the performance analysis view for total requests time, in seconds.
|
||||
charts.totalTime2=Time: %S seconds
|
||||
# LOCALIZATION NOTE (charts.totalSeconds): Semi-colon list of plural forms.
|
||||
# See: http://developer.mozilla.org/en/docs/Localization_and_Plurals
|
||||
# This is the label displayed in the performance analysis view for the
|
||||
# total requests time, in seconds.
|
||||
charts.totalSeconds=Time: #1 second;Time: #1 seconds
|
||||
|
||||
# LOCALIZATION NOTE (charts.totalCached): This is the label displayed
|
||||
# in the performance analysis view for total cached responses.
|
||||
|
Loading…
Reference in New Issue
Block a user