From a197e92f7d642ff7b82ba91880abc0f2b9e70607 Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Thu, 22 Oct 2015 17:23:40 +0100 Subject: [PATCH] Missing strings --- openlp/plugins/remotes/lib/httprouter.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/openlp/plugins/remotes/lib/httprouter.py b/openlp/plugins/remotes/lib/httprouter.py index d12898514..000d743cd 100644 --- a/openlp/plugins/remotes/lib/httprouter.py +++ b/openlp/plugins/remotes/lib/httprouter.py @@ -309,10 +309,13 @@ class HttpRouter(RegistryProperties): """ Translate various strings in the mobile app. """ + remote = translate('RemotePlugin.Mobile', 'Remote') + stage = translate('RemotePlugin.Mobile', 'Stage View') + live = translate('RemotePlugin.Mobile', 'Live View') self.template_vars = { - 'app_title': translate('RemotePlugin.Mobile', 'OpenLP 2.2 Remote'), - 'stage_title': translate('RemotePlugin.Mobile', 'OpenLP 2.2 Stage View'), - 'live_title': translate('RemotePlugin.Mobile', 'OpenLP 2.2 Live View'), + 'app_title': "%s %s" % (UiStrings().OLPV2x, remote), + 'stage_title': "%s %s" % (UiStrings().OLPV2x, stage), + 'live_title': "%s %s" % (UiStrings().OLPV2x, live), 'service_manager': translate('RemotePlugin.Mobile', 'Service Manager'), 'slide_controller': translate('RemotePlugin.Mobile', 'Slide Controller'), 'alerts': translate('RemotePlugin.Mobile', 'Alerts'),