Commit 5b434637 by Bach Dániel

dashboard: mark 'No result' text for translation

parent 45c688c5
...@@ -282,7 +282,7 @@ $(function () { ...@@ -282,7 +282,7 @@ $(function () {
for(i=0; i<5 && i<search_result.length; i++) for(i=0; i<5 && i<search_result.length; i++)
html += generateGroupHTML(search_result[i].url, search_result[i].name, search_result.length < 5); html += generateGroupHTML(search_result[i].url, search_result[i].name, search_result.length < 5);
if(search_result.length === 0) if(search_result.length === 0)
html += '<div class="list-group-item list-group-item-last">No result</div>'; html += '<div class="list-group-item list-group-item-last">' + gettext("No result") + '</div>';
$("#dashboard-group-list").html(html); $("#dashboard-group-list").html(html);
// if there is only one result and ENTER is pressed redirect // if there is only one result and ENTER is pressed redirect
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment