From 2df9e6a55a23e01b5b8ac170e4c7037e13e5bb36 Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Tue, 31 May 2011 13:30:04 +0200 Subject: [PATCH] Fixed up some more missing translations. --- openlp/plugins/remotes/html/index.html | 2 ++ openlp/plugins/remotes/html/openlp.js | 4 ++-- openlp/plugins/remotes/lib/httpserver.py | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/openlp/plugins/remotes/html/index.html b/openlp/plugins/remotes/html/index.html index b370d589e..b2ff5fc0b 100644 --- a/openlp/plugins/remotes/html/index.html +++ b/openlp/plugins/remotes/html/index.html @@ -35,6 +35,8 @@ + +

${app_title}

diff --git a/openlp/plugins/remotes/html/openlp.js b/openlp/plugins/remotes/html/openlp.js index 3f7c331b9..ed16b944a 100644 --- a/openlp/plugins/remotes/html/openlp.js +++ b/openlp/plugins/remotes/html/openlp.js @@ -221,8 +221,8 @@ window.OpenLP = { else { $.each(data.results.items, function (idx, value) { var item = $("
  • ").text(value[1]); - var golive = $("Go Live").attr("value", value[0]).click(OpenLP.goLive); - var additem = $("Add To Service").attr("value", value[0]).click(OpenLP.addToService); + var golive = $("").attr("value", value[0]).click(OpenLP.goLive).text($("#go-live").val()); + var additem = $("").attr("value", value[0]).click(OpenLP.addToService).text($("#add-to-service").val()); item.append($("
      ").append($("
    • ").append(golive)).append($("
    • ").append(additem))); ul.append(item); }); diff --git a/openlp/plugins/remotes/lib/httpserver.py b/openlp/plugins/remotes/lib/httpserver.py index d9cae42d0..dc3712365 100644 --- a/openlp/plugins/remotes/lib/httpserver.py +++ b/openlp/plugins/remotes/lib/httpserver.py @@ -299,7 +299,9 @@ class HttpConnection(object): 'prev': translate('RemotePlugin.Mobile', 'Prev'), 'next': translate('RemotePlugin.Mobile', 'Next'), 'text': translate('RemotePlugin.Mobile', 'Text'), - 'show_alert': translate('RemotePlugin.Mobile', 'Show Alert') + 'show_alert': translate('RemotePlugin.Mobile', 'Show Alert'), + 'go_live': translate('RemotePlugin.Mobile', 'Go Live'), + 'add_to_service': translate('RemotePlugin.Mobile', 'Add To Service') } def ready_read(self):