Module: check_mk
Branch: master
Commit: f41622e834bae9c5d20d0d51dcdaa8a86d7b16b4
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f41622e834bae9…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Jan 30 20:53:46 2019 +0100
Fix short titles of icon column headers not being empty
The empty titles were localized by accident which made the
GUI display gettext meta information instead of nothing.
Change-Id: I92fe8106911df455a2bedb0b79e0cebf66501939
---
cmk/gui/plugins/views/painters.py | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/cmk/gui/plugins/views/painters.py b/cmk/gui/plugins/views/painters.py
index 57f2b5a..48adfa6 100644
--- a/cmk/gui/plugins/views/painters.py
+++ b/cmk/gui/plugins/views/painters.py
@@ -339,7 +339,7 @@ class PainterSiteIcon(Painter):
@property
def short_title(self):
- return _("")
+ return u""
@property
def columns(self):
@@ -457,7 +457,7 @@ class PainterServiceNagiosLink(Painter):
@property
def short_title(self):
- return _("")
+ return u""
@property
def columns(self):
@@ -2463,7 +2463,7 @@ class PainterHostNagiosLink(Painter):
@property
def short_title(self):
- return _("")
+ return u""
@property
def columns(self):
@@ -2778,7 +2778,7 @@ class PainterNumServices(Painter):
@property
def short_title(self):
- return _("")
+ return u""
@property
def columns(self):
@@ -3420,7 +3420,7 @@ class PainterHgNumServices(Painter):
@property
def short_title(self):
- return _("")
+ return u""
@property
def columns(self):
@@ -3714,7 +3714,7 @@ class PainterSgNumServices(Painter):
@property
def short_title(self):
- return _("")
+ return u""
@property
def columns(self):
@@ -4590,7 +4590,7 @@ class PainterLogIcon(Painter):
@property
def short_title(self):
- return _("")
+ return u""
@property
def columns(self):