Web Inspector: Provide UIString descriptions to improve localizations
[WebKit-https.git] / Source / WebInspectorUI / UserInterface / Models / LayoutTimelineRecord.js
index faa4b6c..4a831f1 100644 (file)
@@ -51,13 +51,13 @@ WI.LayoutTimelineRecord = class LayoutTimelineRecord extends WI.TimelineRecord
         case WI.LayoutTimelineRecord.EventType.InvalidateLayout:
             return WI.UIString("Layout Invalidated");
         case WI.LayoutTimelineRecord.EventType.ForcedLayout:
-            return WI.UIString("Forced Layout");
+            return WI.UIString("Forced Layout", "Layout phase records that were imperative (forced)");
         case WI.LayoutTimelineRecord.EventType.Layout:
-            return WI.UIString("Layout");
+            return WI.repeatedUIString.timelineRecordLayout();
         case WI.LayoutTimelineRecord.EventType.Paint:
-            return WI.UIString("Paint");
+            return WI.repeatedUIString.timelineRecordPaint();
         case WI.LayoutTimelineRecord.EventType.Composite:
-            return WI.UIString("Composite");
+            return WI.repeatedUIString.timelineRecordComposite();
         }
     }