Fixed up another missing translation.

This commit is contained in:
Raoul Snyman 2011-05-31 13:58:18 +02:00
parent 2df9e6a55a
commit 5c943ff1eb
3 changed files with 6 additions and 4 deletions

View File

@ -37,6 +37,7 @@
<body>
<input type="hidden" id="go-live" value="${go_live}" />
<input type="hidden" id="add-to-service" value="${add_to_service}" />
<input type="hidden" id="no-results" value="${no_results}" />
<div data-role="page" id="home">
<div data-role="header">
<h1>${app_title}</h1>

View File

@ -215,7 +215,7 @@ window.OpenLP = {
var ul = $("#search > div[data-role=content] > ul[data-role=listview]");
ul.html("");
if (data.results.items.length == 0) {
var li = $("<li data-icon=\"false\">").text('No results');
var li = $("<li data-icon=\"false\">").text($("#no-results").val());
ul.append(li);
}
else {

View File

@ -301,7 +301,8 @@ class HttpConnection(object):
'text': translate('RemotePlugin.Mobile', 'Text'),
'show_alert': translate('RemotePlugin.Mobile', 'Show Alert'),
'go_live': translate('RemotePlugin.Mobile', 'Go Live'),
'add_to_service': translate('RemotePlugin.Mobile', 'Add To Service')
'add_to_service': translate('RemotePlugin.Mobile', 'Add To Service'),
'no_results': translate('RemotePlugin.Mobile', 'No Results')
}
def ready_read(self):