Module: check_mk
Branch: master
Commit: 98934cd43a88ba9eba885a4e4f36d2b851007876
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=98934cd43a88ba…
Author: Götz Golla <gg(a)mathias-kettner.de>
Date: Wed Aug 7 10:17:21 2013 +0200
various text improvements
---
web/htdocs/wato.py | 2 +-
web/plugins/wato/check_parameters.py | 13 +++++++------
2 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 5004bf6..2af8805 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -11066,7 +11066,7 @@ def mode_edit_rule(phase, new = False):
# Host tags
forms.section(_("Host tags"))
render_condition_editor(tag_specs)
- html.help(_("The rule will only be applied to hosts fullfulling all of "
+ html.help(_("The rule will only be applied to hosts fullfilling all of "
"of the host tag conditions listed here, even if they appear
"
"in the list of explicit host names."))
diff --git a/web/plugins/wato/check_parameters.py b/web/plugins/wato/check_parameters.py
index 347f364..899c1ee 100644
--- a/web/plugins/wato/check_parameters.py
+++ b/web/plugins/wato/check_parameters.py
@@ -131,7 +131,8 @@ register_rule(group + '/' + subgroup_applications,
itemtype = 'item',
itemname = 'Logfile',
itemhelp = _("Put the item names of the logfiles here. For example
\"System$\" "
- "to select the service \"LOG System\"."),
+ "to select the service \"LOG System\". You can use
regular "
+ "expressions which must match the beginning of the logfile
name."),
match = 'all',
)
@@ -3244,8 +3245,8 @@ register_check_parameters(subgroup_applications,
"console can be configured for each host in a separate
rule."),
elements = [
FixedValue(
- None,
- totext = "Messages are handled by logwatch.",
+ "",
+ totext = _("Messages are handled by logwatch."),
title = _("No forwarding"),
),
Dictionary(
@@ -3256,7 +3257,7 @@ register_check_parameters(subgroup_applications,
title = _('Restrict Logfiles (Prefix matching regular
expressions)'),
help = _("Put the item names of the logfiles here. For
example \"System$\" "
"to select the service \"LOG
System\". You can use regular expressions "
- "here which must match the beginning of the
logfile name."),
+ "which must match the beginning of the logfile
name."),
),
),
('method', Alternative(
@@ -3267,7 +3268,7 @@ register_check_parameters(subgroup_applications,
elements = [
FixedValue(
"",
- totext = "Directly forward to event
console",
+ totext = _("Directly forward to event
console"),
title = _("Send events to local event
console in same OMD site"),
),
TextAscii(
@@ -3277,7 +3278,7 @@ register_check_parameters(subgroup_applications,
FixedValue(
"spool:",
- totext = "Spool to event console",
+ totext = _("Spool to event console"),
title = _("Spooling: Send events to local
event console in same OMD site"),
),
Transform(