Changeset 240270 in webkit
- Timestamp:
- Jan 22, 2019 11:54:05 AM (5 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r240176 r240270 1 2019-01-22 Devin Rousso <drousso@apple.com> 2 3 Web Inspector: Audit: use plural strings for Passed, Failed, and Unsupported 4 https://bugs.webkit.org/show_bug.cgi?id=193675 5 <rdar://problem/46628680> 6 7 Reviewed by Joseph Pecoraro. 8 9 * UserInterface/Views/AuditTestGroupContentView.js: 10 (WI.AuditTestGroupContentView.prototype.layout): 11 12 * Localizations/en.lproj/localizedStrings.js: 13 1 14 2019-01-18 Jer Noble <jer.noble@apple.com> 2 15 -
trunk/Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js
r239858 r240270 26 26 localizedStrings["%d Errors"] = "%d Errors"; 27 27 localizedStrings["%d Errors, %d Warnings"] = "%d Errors, %d Warnings"; 28 localizedStrings["%d Failed"] = "%d Failed"; 28 localizedStrings["%d Failed (plural)"] = "%d Failed"; 29 localizedStrings["%d Failed (singular)"] = "%d Failed"; 29 30 localizedStrings["%d Frame"] = "%d Frame"; 30 31 localizedStrings["%d Frames"] = "%d Frames"; 31 32 localizedStrings["%d More\u2026"] = "%d More\u2026"; 32 localizedStrings["%d Passed"] = "%d Passed"; 33 localizedStrings["%d Passed (plural)"] = "%d Passed"; 34 localizedStrings["%d Passed (singular)"] = "%d Passed"; 33 35 localizedStrings["%d Threads"] = "%d Threads"; 34 localizedStrings["%d Unsupported"] = "%d Unsupported"; 36 localizedStrings["%d Unsupported (plural)"] = "%d Unsupported"; 37 localizedStrings["%d Unsupported (singular)"] = "%d Unsupported"; 35 38 localizedStrings["%d Warning"] = "%d Warning"; 36 39 localizedStrings["%d Warnings"] = "%d Warnings"; -
trunk/Source/WebInspectorUI/UserInterface/Views/AuditTestGroupContentView.js
r239858 r240270 123 123 }; 124 124 125 addScopeBarItem(WI.AuditTestCaseResult.Level.Pass, WI.UIString("%d Passed" ));125 addScopeBarItem(WI.AuditTestCaseResult.Level.Pass, WI.UIString("%d Passed", "%d Passed (singular)"), WI.UIString("%d Passed", "%d Passed (plural)")); 126 126 addScopeBarItem(WI.AuditTestCaseResult.Level.Warn, WI.UIString("%d Warning"), WI.UIString("%d Warnings")); 127 addScopeBarItem(WI.AuditTestCaseResult.Level.Fail, WI.UIString("%d Failed" ));127 addScopeBarItem(WI.AuditTestCaseResult.Level.Fail, WI.UIString("%d Failed", "%d Failed (singular)"), WI.UIString("%d Failed", "%d Failed (plural)")); 128 128 addScopeBarItem(WI.AuditTestCaseResult.Level.Error, WI.UIString("%d Error"), WI.UIString("%d Errors")); 129 addScopeBarItem(WI.AuditTestCaseResult.Level.Unsupported, WI.UIString("%d Unsupported" ));129 addScopeBarItem(WI.AuditTestCaseResult.Level.Unsupported, WI.UIString("%d Unsupported", "%d Unsupported (singular)"), WI.UIString("%d Unsupported", "%d Unsupported (plural)")); 130 130 131 131 this._levelScopeBar = new WI.ScopeBar(null, scopeBarItems);
Note: See TracChangeset
for help on using the changeset viewer.