Module: check_mk
Branch: master
Commit: 13cc8f3757a0073b8c2ed0e7752414d83d2fc8e4
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=13cc8f3757a007…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Oct 27 16:37:03 2016 +0200
Revert "Fixed localisations."
This reverts commit 347bd0ae7e0006a1f17a9634155458c036787969.
---
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 153b721..0c98995 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(_('Type Error: html.write accepts str and
unicode input objects only!'))
+ raise MKGeneralException(_('Write accepts str and unicode 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()