Module: check_mk
Branch: master
Commit: 5cd94769ac5508034ef1be63f33f3c6a157cc5f5
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5cd94769ac5508…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Mon Jul 9 12:09:54 2012 +0200
Localized two other texts
---
web/htdocs/htmllib.py | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/web/htdocs/htmllib.py b/web/htdocs/htmllib.py
index 4de2a71..746a087 100644
--- a/web/htdocs/htmllib.py
+++ b/web/htdocs/htmllib.py
@@ -879,10 +879,10 @@ class html:
def render_status_icons(self):
h = ""
if True: # self.req.method == "GET":
- h += '<a target="_top" href="%s"><img
class=statusicon src="images/status_frameurl.png" title="URL to this
frame"></a>\n' % \
- self.makeuri([])
- h += '<a target="_top" href="%s"><img
class=statusicon src="images/status_pageurl.png" title="URL to this page
including sidebar"></a>\n' % \
- ("index.py?" + urlencode_vars([("start_url",
self.makeuri([]))]))
+ h += '<a target="_top" href="%s"><img
class=statusicon src="images/status_frameurl.png"
title="%s"></a>\n' % \
+ (self.makeuri([]), _("URL to this frame"))
+ h += '<a target="_top" href="%s"><img
class=statusicon src="images/status_pageurl.png"
title="%s"></a>\n' % \
+ ("index.py?" + urlencode_vars([("start_url",
self.makeuri([]))]), _("URL to this page including sidebar"))
for img, tooltip in self.status_icons.items():
h += '<img class=statusicon src="images/status_%s.png"
title="%s">\n' % (img, tooltip)
return h