diff --git a/editor/js/ui/typeSearch.js b/editor/js/ui/typeSearch.js index 60df8f4e0..f949890b8 100644 --- a/editor/js/ui/typeSearch.js +++ b/editor/js/ui/typeSearch.js @@ -46,7 +46,7 @@ RED.typeSearch = (function() { //shade = $('
',{class:"red-ui-type-search-shade"}).appendTo("#main-container"); dialog = $("
",{id:"red-ui-type-search",class:"red-ui-search red-ui-type-search"}).appendTo("#main-container"); var searchDiv = $("
",{class:"red-ui-search-container"}).appendTo(dialog); - searchInput = $('').appendTo(searchDiv).searchBox({ + searchInput = $('').attr("placeholder",RED._("search.addNode")).appendTo(searchDiv).searchBox({ delay: 50, change: function() { search($(this).val()); diff --git a/red/api/locales/en-US/editor.json b/red/api/locales/en-US/editor.json index a7c265e98..70abdc70a 100644 --- a/red/api/locales/en-US/editor.json +++ b/red/api/locales/en-US/editor.json @@ -325,7 +325,8 @@ "add": "add" }, "search": { - "empty": "No matches found" + "empty": "No matches found", + "addNode": "add a node..." }, "expressionEditor": { "functions": "Functions",