Module: check_mk
Branch: master
Commit: 73f3eec55ff679ac562b1ee83947445475d9ebec
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=73f3eec55ff679…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Dec 15 10:29:32 2017 +0100
Cleaned up warning messages about invalid format when doing localizations
Change-Id: I97817bee48ac2c0c7004482dd22fb95514ff8752
---
web/plugins/sidebar/search.py | 4 ++--
web/plugins/wato/active_checks.py | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/web/plugins/sidebar/search.py b/web/plugins/sidebar/search.py
index 86e9af0..2bd7e5b 100644
--- a/web/plugins/sidebar/search.py
+++ b/web/plugins/sidebar/search.py
@@ -35,8 +35,8 @@ def render_searchform():
sidebar_snapins["search"] = {
"title": _("Quicksearch"),
"description": _("Interactive search field for direct access to hosts,
services, host- and "\
- "servicegroups.<br>You can use the following
filters:<br> <i>h:</i> {host}, <i>s:</i> {service}
<br> "\
- "<i>hg:</i> {hostgroup}, <i>sg:</i>
{servicegroup}<br><i>ad:</i> {address}, <i>al:</i> {alias},
tg: {hosttag}"),
+ "servicegroups.<br>You can use the following
filters:<br> <i>h:</i> Host, <i>s:</i> Service<br>
"\
+ "<i>hg:</i> Hostgroup, <i>sg:</i>
Servicegroup<br><i>ad:</i> Address, <i>al:</i> Alias,
<i>tg:</i> Hosttag"),
"render": render_searchform,
"restart": False,
"allowed": [ "user", "admin", "guest" ],
diff --git a/web/plugins/wato/active_checks.py b/web/plugins/wato/active_checks.py
index 1e23127..7a6d2e8 100644
--- a/web/plugins/wato/active_checks.py
+++ b/web/plugins/wato/active_checks.py
@@ -666,7 +666,7 @@ register_rule(group,
title = _("Service description"),
allow_empty = False,
help = _("Here you can specify a service description.
"
- "If this parameter is not set, the service is
named <tt>TCP Port {Portnumber}</tt>"))),
+ "If this parameter is not set, the service is
named <tt>TCP Port [PORT NUMBER]</tt>"))),
( "hostname",
TextAscii(
title = _("DNS Hostname"),