Module: check_mk
Branch: master
Commit: 4812ac108618e78d20b4ee67d6a1b5b833bb3eda
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4812ac108618e7…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed Apr 6 16:18:33 2016 +0200
Fix formatting of a few WATO error messages
---
web/htdocs/watolib.py | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/web/htdocs/watolib.py b/web/htdocs/watolib.py
index c595121d9..efc8946 100644
--- a/web/htdocs/watolib.py
+++ b/web/htdocs/watolib.py
@@ -1311,16 +1311,16 @@ class Folder(BaseFolder):
if c in permitted_groups:
return
- reason = _("Sorry, you have no permissions to the folder
<b>%s</b>. ") % self.alias_path()
+ reason = _("Sorry, you have no permissions to the folder
<b>%s</b>.") % self.alias_path()
if not permitted_groups:
- reason += _("The folder is not permitted for any contact group.")
+ reason += " " + _("The folder is not permitted for any contact
group.")
else:
- reason += _("The folder's permitted contact groups are
<b>%s</b>. ") % ", ".join(permitted_groups)
+ reason += " " + _("The folder's permitted contact groups
are <b>%s</b>.") % ", ".join(permitted_groups)
if user_contactgroups:
- reason += _("Your contact groups are <b>%s</b>.") %
", ".join(user_contactgroups)
+ reason += " " + _("Your contact groups are
<b>%s</b>.") % ", ".join(user_contactgroups)
else:
- reason += _("But you are not a member of any contact group.")
- reason += _("You may enter the folder as you might have permission on a
subfolders, though.")
+ reason += " " + _("But you are not a member of any contact
group.")
+ reason += " " + _("You may enter the folder as you might have
permission on a subfolders, though.")
raise MKAuthException(reason)