Web Inspector: Storage: some cookie column headers are not localized
authordrousso@apple.com <drousso@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 29 Mar 2019 20:56:20 +0000 (20:56 +0000)
committerdrousso@apple.com <drousso@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 29 Mar 2019 20:56:20 +0000 (20:56 +0000)
https://bugs.webkit.org/show_bug.cgi?id=196406
<rdar://problem/48467422>

Reviewed by Joseph Pecoraro.

* UserInterface/Views/CookieStorageContentView.js:
(WI.CookieStorageContentView.prototype.initialLayout):

* Localizations/en.lproj/localizedStrings.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@243662 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js
Source/WebInspectorUI/UserInterface/Views/CookieStorageContentView.js

index 0042ac8..adf8f34 100644 (file)
@@ -1,3 +1,16 @@
+2019-03-29  Devin Rousso  <drousso@apple.com>
+
+        Web Inspector: Storage: some cookie column headers are not localized
+        https://bugs.webkit.org/show_bug.cgi?id=196406
+        <rdar://problem/48467422>
+
+        Reviewed by Joseph Pecoraro.
+
+        * UserInterface/Views/CookieStorageContentView.js:
+        (WI.CookieStorageContentView.prototype.initialLayout):
+
+        * Localizations/en.lproj/localizedStrings.js:
+
 2019-03-28  Joseph Pecoraro  <pecoraro@apple.com>
 
         Web Inspector: Show Resource Initiator in Network Tab detail views
index 6e153b1..8815ac4 100644 (file)
@@ -449,6 +449,7 @@ localizedStrings["Expand All"] = "Expand All";
 localizedStrings["Expand columns"] = "Expand columns";
 localizedStrings["Expanded"] = "Expanded";
 localizedStrings["Experimental"] = "Experimental";
+localizedStrings["Expires"] = "Expires";
 localizedStrings["Export"] = "Export";
 localizedStrings["Export (%s)"] = "Export (%s)";
 localizedStrings["Export HAR"] = "Export HAR";
index 8a08d7d..6ab4ac5 100644 (file)
@@ -179,25 +179,25 @@ WI.CookieStorageContentView = class CookieStorageContentView extends WI.ContentV
             hideable: false,
         });
 
-        this._domainColumn = new WI.TableColumn("domain", WI.unlocalizedString("Domain"), {
+        this._domainColumn = new WI.TableColumn("domain", WI.UIString("Domain"), {
             minWidth: 100,
             maxWidth: 200,
             initialWidth: 120,
         });
 
-        this._pathColumn = new WI.TableColumn("path", WI.unlocalizedString("Path"), {
+        this._pathColumn = new WI.TableColumn("path", WI.UIString("Path"), {
             minWidth: 50,
             maxWidth: 300,
             initialWidth: 100,
         });
 
-        this._expiresColumn = new WI.TableColumn("expires", WI.unlocalizedString("Expires"), {
+        this._expiresColumn = new WI.TableColumn("expires", WI.UIString("Expires"), {
             minWidth: 100,
             maxWidth: 200,
             initialWidth: 150,
         });
 
-        this._sizeColumn = new WI.TableColumn("size", WI.unlocalizedString("Size"), {
+        this._sizeColumn = new WI.TableColumn("size", WI.UIString("Size"), {
             minWidth: 50,
             maxWidth: 80,
             initialWidth: 65,