[checkmk-commits] Check_MK Git: check_mk: Fixed exception when German is the language

Mathias Kettner mk at mathias-kettner.de
Thu Feb 5 11:49:08 CET 2015


Module: check_mk
Branch: master
Commit: f3d18ce87d7a3d47f72c28999bdd6c8bbe0d7237
URL:    http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f3d18ce87d7a3d47f72c28999bdd6c8bbe0d7237

Author: Mathias Kettner <mk at mathias-kettner.de>
Date:   Thu Feb  5 11:49:06 2015 +0100

Fixed exception when German is the language

---

 web/plugins/metrics/check_mk.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/plugins/metrics/check_mk.py b/web/plugins/metrics/check_mk.py
index 7f84a73..c786bf6 100644
--- a/web/plugins/metrics/check_mk.py
+++ b/web/plugins/metrics/check_mk.py
@@ -89,7 +89,7 @@ unit_info["bytes"] = {
 
 unit_info["c"] = {
     "title"  : _("Degree Celsius"),
-    "symbol" : _("°C"),
+    "symbol" : _(u"°C"),
     "render" : lambda v: "%s %s" % (drop_dotzero(v), _("°C")),
 }
 



More information about the checkmk-commits mailing list