diff --git a/openlp/plugins/remotes/html/index.html b/openlp/plugins/remotes/html/index.html index b2ff5fc0b..e6d3777c6 100644 --- a/openlp/plugins/remotes/html/index.html +++ b/openlp/plugins/remotes/html/index.html @@ -37,6 +37,7 @@ +

${app_title}

@@ -116,4 +117,4 @@
- \ No newline at end of file + diff --git a/openlp/plugins/remotes/html/openlp.js b/openlp/plugins/remotes/html/openlp.js index ed16b944a..ee408b3d1 100644 --- a/openlp/plugins/remotes/html/openlp.js +++ b/openlp/plugins/remotes/html/openlp.js @@ -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 = $("
  • ").text('No results'); + var li = $("
  • ").text($("#no-results").val()); ul.append(li); } else { diff --git a/openlp/plugins/remotes/lib/httpserver.py b/openlp/plugins/remotes/lib/httpserver.py index dc3712365..ad2de41ed 100644 --- a/openlp/plugins/remotes/lib/httpserver.py +++ b/openlp/plugins/remotes/lib/httpserver.py @@ -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(