[checkmk-commits] Check_MK Git: check_mk: fixed some unlocalizable strings

Andreas Boesl ab at mathias-kettner.de
Thu Feb 12 16:22:25 CET 2015


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

Author: Andreas Boesl <ab at mathias-kettner.de>
Date:   Thu Feb 12 16:19:34 2015 +0100

fixed some unlocalizable strings

---

 web/htdocs/wato.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 84b7337..1350a49 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -3171,7 +3171,7 @@ def show_service_table(host, firsttime):
     except Exception, e:
         if config.debug:
             raise
-        html.show_error("Inventory failed for this host: %s" % e)
+        html.show_error(_("Inventory failed for this host: %s") % e)
         return
 
     checktable.sort()
@@ -5381,7 +5381,7 @@ def check_mk_local_automation(command, args=[], indata=""):
         except Exception, e:
             if config.debug:
                 raise
-            html.show_error("<h1>Cannot activate changes</h1>%s" % e)
+            html.show_error(_("<h1>Cannot activate changes</h1>%s") % e)
             return
 
     try:



More information about the checkmk-commits mailing list