[Pkg-nagios-changes] [icinga] 13/19: Update spelling-errors.patch to fix 'triggered' typo.

Bas Couwenberg sebastic at debian.org
Mon Jan 1 19:33:09 UTC 2018


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch experimental
in repository icinga.

commit 8030ba94f182f5dc6fa9072fbfb0a08501a67ad0
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Mon Jan 1 19:59:45 2018 +0100

    Update spelling-errors.patch to fix 'triggered' typo.
---
 debian/changelog                     |  1 +
 debian/patches/spelling-errors.patch | 21 +++++++++++++++++++++
 2 files changed, 22 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 1a037a9..d6740d8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ icinga (1.14.2-1) UNRELEASED; urgency=medium
   * Strip trailing whitespace from changelog file.
   * Add autopkgtest to test installability.
   * Update jquery file patterns in copyright file.
+  * Update spelling-errors.patch to fix 'triggered' typo.
 
  -- Bas Couwenberg <sebastic at debian.org>  Mon, 01 Jan 2018 19:12:40 +0100
 
diff --git a/debian/patches/spelling-errors.patch b/debian/patches/spelling-errors.patch
index 707dc5f..7fc35a6 100644
--- a/debian/patches/spelling-errors.patch
+++ b/debian/patches/spelling-errors.patch
@@ -7,6 +7,7 @@ Description: Fix spelling errors.
  * occured    -> occurred
  * occure     -> occur
  * Unkown     -> Unknown
+ * triggerd   -> triggered
 Author: Bas Couwenberg <sebastic at debian.org>
 Forwarded: https://github.com/Icinga/icinga-core/pull/10
 Applied-Upstream: https://github.com/Icinga/icinga-core/commit/0b216eaa5ca072f4c7c3b29a76f417c1593f9038
@@ -119,3 +120,23 @@ Applied-Upstream: https://github.com/Icinga/icinga-core/commit/0b216eaa5ca072f4c
  
  use_logging=@ENABLECGILOG@
  
+--- a/cgi/cmd.c
++++ b/cgi/cmd.c
+@@ -1816,7 +1816,7 @@ void request_command_data(int cmd) {
+ 		print_form_element(PRINT_AUTHOR, cmd);
+ 		print_form_element(PRINT_COMMENT_BOX, cmd);
+ 
+-		snprintf(help_text, sizeof(help_text), "Define here if this downtime should get triggerd by another downtime of a particular %s.", (cmd == CMD_PROCESS_HOST_CHECK_RESULT) ? "host" : "service");
++		snprintf(help_text, sizeof(help_text), "Define here if this downtime should get triggered by another downtime of a particular %s.", (cmd == CMD_PROCESS_HOST_CHECK_RESULT) ? "host" : "service");
+ 		help_text[sizeof(help_text)-1] = '\x0';
+ 
+ 		printf("<tr id=\"trigger_select\"><td class=\"objectDescription descriptionleft\">Triggered By:");
+@@ -1854,7 +1854,7 @@ void request_command_data(int cmd) {
+ 		printf("\t</select>\n");
+ 		printf("</td></tr>\n");
+ 
+-		/* hide "Triggerd by" selction if nothing is found to get triggerd from */
++		/* hide "Triggerd by" selction if nothing is found to get triggered from */
+ 		if (!found_trigger_objects)
+ 			printf("<tr style=\"display:none;\"><td colspan='2'><script language=\"JavaScript\">document.getElementById('trigger_select').style.display = 'none';</script></td></tr>\n");
+ 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/icinga.git



More information about the Pkg-nagios-changes mailing list