From dc38c57e32e3147def5ac29fa7935fda2d5c48c0 Mon Sep 17 00:00:00 2001 From: Kevin Fourie Date: Thu, 2 Aug 2007 13:29:40 +0000 Subject: [PATCH] KTS-2236 "When you disable a Workflow in KTDMS the URL in the update information seems incorrect." Updated. Removed unneeded edit link. --- i18n/knowledgeTree.pot | 5 +++++ plugins/ktcore/admin/workflowsv2.php | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/i18n/knowledgeTree.pot b/i18n/knowledgeTree.pot index c349190..4d26c1e 100644 --- a/i18n/knowledgeTree.pot +++ b/i18n/knowledgeTree.pot @@ -8389,6 +8389,11 @@ msgstr "" msgid "This workflow is currently marked as disabled. No new documents can be assigned to this workflow until it is enabled. To change this, please edit the workflow's base properties." msgstr "" +#: plugins/ktcore/admin/workflowsv2.php:144 +#, php-format +msgid "This workflow is currently marked as disabled. No new documents can be assigned to this workflow until it is enabled. To change this, please edit the workflow's base properties." +msgstr "" + #: i18n/templates.c:893 msgid "Thread closed" msgstr "" diff --git a/plugins/ktcore/admin/workflowsv2.php b/plugins/ktcore/admin/workflowsv2.php index 36fcba4..a07292f 100644 --- a/plugins/ktcore/admin/workflowsv2.php +++ b/plugins/ktcore/admin/workflowsv2.php @@ -360,11 +360,11 @@ class KTWorkflowAdminV2 extends KTAdminDispatcher { $this->oPage->setBreadcrumbDetails(_kt("Overview")); if (!$this->oWorkflow->getIsEnabled()) { - $this->addInfoMessage(sprintf(_kt("This workflow is currently marked as disabled. No new documents can be assigned to this workflow until it is enabled. To change this, please edit the workflow's base properties."), KTUtil::addQueryString($_SERVER['PHP_SELF'], $this->meldPersistQuery("","editcore")))); + $this->addInfoMessage(_kt("This workflow is currently marked as disabled. No new documents can be assigned to this workflow until it is enabled. To change this, please edit the workflow's base properties.")); } if ($this->oWorkflow->getStartStateId() == false) { - $this->addErrorMessage(sprintf(_kt("No start state is specified for this workflow. No new documents can be assigned to this workflow until one is assigned. To change this, please edit the workflow's base properties."), KTUtil::addQueryString($_SERVER['PHP_SELF'], $this->meldPersistQuery("","editcore")))); + $this->addErrorMessage(_kt("No start state is specified for this workflow. No new documents can be assigned to this workflow until one is assigned. To change this, please edit the workflow's base properties.")); } // for the basic view -- libgit2 0.21.4