forked from openlp/openlp
Fixed up another missing translation.
This commit is contained in:
parent
2df9e6a55a
commit
5c943ff1eb
@ -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>
|
||||
@ -116,4 +117,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
@ -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 {
|
||||
|
@ -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):
|
||||
@ -506,7 +507,7 @@ class HttpConnection(object):
|
||||
plugin = self.parent.plugin.pluginManager.get_plugin_by_name(type)
|
||||
if plugin.status == PluginStatus.Active and \
|
||||
plugin.mediaItem and plugin.mediaItem.hasSearch:
|
||||
results =plugin.mediaItem.search(text)
|
||||
results = plugin.mediaItem.search(text)
|
||||
else:
|
||||
results = []
|
||||
return HttpResponse(
|
||||
|
Loading…
Reference in New Issue
Block a user