Module: check_mk
Branch: master
Commit: 254256d4cec081d89ef058d56649b6bd94c0dd8b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=254256d4cec081…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Wed Jan 25 17:08:26 2012 +0100
Update of gettext strings
---
web/htdocs/htmllib.py | 4 ++--
web/htdocs/login.py | 3 +--
web/htdocs/mobile.py | 2 +-
3 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/web/htdocs/htmllib.py b/web/htdocs/htmllib.py
index 46bdc00..204019a 100644
--- a/web/htdocs/htmllib.py
+++ b/web/htdocs/htmllib.py
@@ -711,8 +711,8 @@ class html:
else:
login_text = _("not logged in")
self.write("<table class=header><tr><td
class=left>%s</td><td class=right>"
- "%s <b id=headertime>%s</b>
<a href=\"http://mathias-kettner.de\"><img
src=\"images/mk_logo_small.gif\"/></a></td></tr></table>"
%
- (title, login_text, time.strftime("%H:%M")))
+ "%s <b
id=headertime>%s</b>%s</td></tr></table>" %
+ (title, login_text, time.strftime("%H:%M"),_("<a
href=\"http://mathias-kettner.de\"><img
src=\"images/mk_logo_small.gif\"/></a>")))
self.write("<hr class=header>\n")
if config.debug:
self.write("<div class=urldebug>%s</div>" %
self.makeuri([]))
diff --git a/web/htdocs/login.py b/web/htdocs/login.py
index 0f74f53..439e441 100644
--- a/web/htdocs/login.py
+++ b/web/htdocs/login.py
@@ -221,8 +221,7 @@ def normal_login_page():
html.write("<div id=login>")
html.write("<div id=logo></div>")
- html.write("<h1>Check_MK Multisite</h2>")
-
+ html.write("<h1>%s</h2>" % _("Check_MK Multisite"))
html.write('<div id=form>')
if html.has_user_errors():
diff --git a/web/htdocs/mobile.py b/web/htdocs/mobile.py
index 647e2de..e068943 100644
--- a/web/htdocs/mobile.py
+++ b/web/htdocs/mobile.py
@@ -147,7 +147,7 @@ def jqm_page(title, content, foot, id=None):
jqm_page_footer(foot)
def page_login():
- title = "Check_MK Mobile"
+ title = _("Check_MK Mobile")
mobile_html_head(title)
jqm_page_header(title, id="login")
html.write('<div id="loginhead">%s</div>' %