Commit 7aa56fa381a5d5bf4deae5e002f7f37a4a0f2d5a

Authored by kevin_fourie
1 parent 84aae44e

Merged in from DEV trunk...

KTS-2236
"When you disable a Workflow in KTDMS the URL in the update information seems incorrect."
Updated. Removed unneeded edit link.

Committed By: Kevin Fourie
Reviewed By: Jalaloedien Abrahams


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/trunk@7038 c91229c3-7414-0410-bfa2-8a42b809f60b
i18n/knowledgeTree.pot
... ... @@ -8389,6 +8389,11 @@ msgstr ""
8389 8389 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 <a href=\"%s\">edit</a> the workflow's base properties."
8390 8390 msgstr ""
8391 8391  
  8392 +#: plugins/ktcore/admin/workflowsv2.php:144
  8393 +#, php-format
  8394 +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."
  8395 +msgstr ""
  8396 +
8392 8397 #: i18n/templates.c:893
8393 8398 msgid "Thread closed"
8394 8399 msgstr ""
... ...
plugins/ktcore/admin/workflowsv2.php
... ... @@ -360,11 +360,11 @@ class KTWorkflowAdminV2 extends KTAdminDispatcher {
360 360 $this->oPage->setBreadcrumbDetails(_kt("Overview"));
361 361  
362 362 if (!$this->oWorkflow->getIsEnabled()) {
363   - $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 <a href=\"%s\">edit</a> the workflow's base properties."), KTUtil::addQueryString($_SERVER['PHP_SELF'], $this->meldPersistQuery("","editcore"))));
  363 + $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."));
364 364 }
365 365  
366 366 if ($this->oWorkflow->getStartStateId() == false) {
367   - $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 <a href=\"%s\">edit</a> the workflow's base properties."), KTUtil::addQueryString($_SERVER['PHP_SELF'], $this->meldPersistQuery("","editcore"))));
  367 + $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."));
368 368 }
369 369  
370 370 // for the basic view
... ...