Skip to content

Commit de77571

Browse files
author
p01
committed
Added some ui.strings
1 parent 0ad6bef commit de77571

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

src/resource-manager/resource_templates.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ templates.resource_detail =
258258
{
259259
return(
260260
['div',
261-
'No resource selected',
261+
ui_strings.S_RESOURCE_NO_RESOURCE_SELECTED,
262262
'class','resource-detail-container-empty'
263263
]);
264264
},
@@ -267,7 +267,7 @@ templates.resource_detail =
267267
{
268268
return(
269269
['div',
270-
'No data available for the resource '+ resource.url,
270+
ui_strings.S_RESOURCE_NO_DATA_AVAILABLE,
271271
'class','resource-detail-container-empty'
272272
]);
273273
},
@@ -282,7 +282,7 @@ templates.resource_detail =
282282

283283
return(
284284
['div',
285-
'Formatting the resource '+ resource.url +'...',
285+
ui_strings.S_RESOURCE_FORMATTING_RESOURCE,
286286
'class','resource-detail-container-empty'
287287
]);
288288
},

src/ui-strings/ui_strings-en.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1434,6 +1434,15 @@ ui_strings.S_RESOURCE_ALL_TABLE_UNKNOWN_GROUP = "Unknown";
14341434
/* DESC: Click reload button to fetch resources */
14351435
ui_strings.S_RESOURCE_CLICK_BUTTON_TO_FETCH_RESOURCES = "Click the reload button above to reload the debugged window and fetch its resources";
14361436

1437+
/* DESC: Formatting the resource */
1438+
ui_strings.S_RESOURCE_FORMATTING_RESOURCE = "Formatting the resource...";
1439+
1440+
/* DESC: No data available for the resource */
1441+
ui_strings.S_RESOURCE_NO_DATA_AVAILABLE = "No data available for the resource.";
1442+
1443+
/* DESC: No resource selected ( for the detail view ) */
1444+
ui_strings.S_RESOURCE_NO_RESOURCE_SELECTED = "No resource selected.";
1445+
14371446
/* DESC: Tooltip displayed when hovering the arrow going back in Return Values. The first variable is a file name, the second a line number */
14381447
ui_strings.S_RETURN_VALUES_FUNCTION_FROM = "Returned from %s:%s";
14391448

0 commit comments

Comments
 (0)