[checkmk-commits] Check_MK Git: check_mk: FIX: Localize option for not OMD Environments

git version control git at mathias-kettner.de
Wed Nov 14 21:53:19 CET 2012


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

Author: Bastian Kuhn <bk at mathias-kettner.de>
Date:   Wed Nov 14 21:52:47 2012 +0100

FIX: Localize option for not OMD Environments

---

 ChangeLog           |    1 +
 modules/localize.py |    5 +----
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 2e224fc..416815d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -114,6 +114,7 @@
     * FIX: WATO Folder filter not available when WATO disabled
     * FIX: WATO Folder Filter no longer available in single host views
     * FIX: Quicksearch converts search text to regex when accessing livestatus
+    * FIX: Localize option for not OMD Environments
 
     WATO:
     * FIX: Users & Contacts uses case-insensitive sorting of 'Full name' column  
diff --git a/modules/localize.py b/modules/localize.py
index f5d4d9c..43d6014 100755
--- a/modules/localize.py
+++ b/modules/localize.py
@@ -49,10 +49,7 @@ if local_locale_dir:
 else:
     locale_base = locale_dir
 
-if os.path.exists(local_locale_dir + '/multisite.pot'):
-    pot_file = local_locale_dir + '/multisite.pot'
-else:
-    pot_file = locale_base + '/multisite.pot'
+pot_file = locale_base + '/multisite.pot'
 
 try:
     os.makedirs(locale_base)



More information about the checkmk-commits mailing list