Skip to content

Commit c248723

Browse files
author
p01
committed
Added ui_strings and changed a class name accordingly
1 parent de77571 commit c248723

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

src/resource-manager/resource_style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ h2.resource-tree-group-fonts > span.resource-tree-group-label
366366
{
367367
background-image:url(../ui-images/type_font.png);
368368
}
369-
h2.resource-tree-group-others > span.resource-tree-group-label
369+
h2.resource-tree-group-other > span.resource-tree-group-label
370370
{
371371
background-image:url(../ui-images/type_other.png);
372372
}

src/resource-manager/resource_util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ cls.ResourceUtil.get_meta_data = function(resourceInfo)
211211
if (i.naturalWidth)
212212
return i.naturalWidth + '\u00D7' + i.naturalHeight;
213213
else
214-
return 'vectorial image';
214+
return ui_strings.S_RESOURCE_VECTOR_GRAPHIC;
215215
}
216216
};
217217

src/ui-strings/ui_strings-en.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -783,6 +783,9 @@ ui_strings.S_HTTP_LABEL_DURATION = "Duration";
783783
/* DESC: label for the network filter that shows all items */
784784
ui_strings.S_HTTP_LABEL_FILTER_ALL = "All";
785785

786+
/* DESC: label for the network filter that shows font items */
787+
ui_strings.S_HTTP_LABEL_FILTER_FONTS = "Fonts";
788+
786789
/* DESC: label for the network filter that shows image items */
787790
ui_strings.S_HTTP_LABEL_FILTER_IMAGES = "Images";
788791

@@ -1434,6 +1437,9 @@ ui_strings.S_RESOURCE_ALL_TABLE_UNKNOWN_GROUP = "Unknown";
14341437
/* DESC: Click reload button to fetch resources */
14351438
ui_strings.S_RESOURCE_CLICK_BUTTON_TO_FETCH_RESOURCES = "Click the reload button above to reload the debugged window and fetch its resources";
14361439

1440+
/* DESC: Encoding of the resource */
1441+
ui_strings.S_RESOURCE_ENCODING = "encoded in %s";
1442+
14371443
/* DESC: Formatting the resource */
14381444
ui_strings.S_RESOURCE_FORMATTING_RESOURCE = "Formatting the resource...";
14391445

@@ -1443,6 +1449,12 @@ ui_strings.S_RESOURCE_NO_DATA_AVAILABLE = "No data available for the resource.";
14431449
/* DESC: No resource selected ( for the detail view ) */
14441450
ui_strings.S_RESOURCE_NO_RESOURCE_SELECTED = "No resource selected.";
14451451

1452+
/* DESC: Display the mime type sent by the server and the mime type guessed by Opera/Dragonfly if there was any ambiguity */
1453+
ui_strings.S_RESOURCE_SENT_AND_GUESSED_TYPE = "%(SENT) treated as %(GUESSED)";
1454+
1455+
/* DESC: Vector graphic ( used for SVG images. Otherwise we show the intrinsic dimension of the image ) */
1456+
ui_strings.S_RESOURCE_VECTOR_GRAPHIC = "vector graphic";
1457+
14461458
/* DESC: Tooltip displayed when hovering the arrow going back in Return Values. The first variable is a file name, the second a line number */
14471459
ui_strings.S_RETURN_VALUES_FUNCTION_FROM = "Returned from %s:%s";
14481460

0 commit comments

Comments
 (0)