Module: check_mk
Branch: master
Commit: 203977a22b77719d76766a380ecfb7124a0aae60
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=203977a22b7771…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Feb 19 14:39:22 2013 +0100
Make custom notification labels localizable
---
web/htdocs/wato.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index eb18733..b9bec13 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -7575,6 +7575,8 @@ def load_notification_scripts():
choices = scripts.items()
choices.append((None, _("Plain Text Email (using configured templates)")))
choices.sort(cmp = lambda a,b: cmp(a[1], b[1]))
+ # Make choices localizable
+ choices = [ (k, _(v)) for k, v in choices ]
return choices
def notification_script_title(name):