Module: check_mk
Branch: master
Commit: 347bd0ae7e0006a1f17a9634155458c036787969
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=347bd0ae7e0006…
Author: Roland Halbig <rh(a)mathias-kettner.de>
Date: Thu Oct 27 09:35:36 2016 +0200
Fixed localisations.
---
web/htdocs/htmllib.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/web/htdocs/htmllib.py b/web/htdocs/htmllib.py
index 0c98995..153b721 100644
--- a/web/htdocs/htmllib.py
+++ b/web/htdocs/htmllib.py
@@ -236,7 +236,7 @@ class OutputFunnel(object):
text = text.value
if type(text) not in [str, unicode]: # also possible: type Exception!
- raise MKGeneralException(_('Write accepts str and unicode objects
only!'))
+ raise MKGeneralException(_('Type Error: html.write accepts str and
unicode input objects only!'))
if self.plugged:
self.plugged_text += text
@@ -928,7 +928,7 @@ class HTMLCheck_MK(HTMLGenerator):
self.icon_button(None, _("Toggle context help texts"),
"help", id="helpbutton",
onclick="toggle_help()",
style="display:none", ty="icon", cssclass=cssclass)
- self.open_a(href=_("http://mathias-kettner.de"),
class_="head_logo")
+ self.open_a(href="http://mathias-kettner.de",
class_="head_logo")
self.img(src="images/logo_cmk_small.png")
self.close_a()
self.close_td()