Commit a4aed4e46afd333b5c99881c522bb1e8f0ca7a58

Authored by kevin_fourie
1 parent ae2926fd

Merged in from DEV trunk...

KTS-2227
"When doing a Bulk Upload the listing of the static text "Please select a document type" has < at its start and end"
Fixed. Replaced the offending HTML escape chars with a dash.

Committed By: Kevin Fourie
Reviewed By: Jalaloedien Abrahams

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/trunk@7012 c91229c3-7414-0410-bfa2-8a42b809f60b
i18n/knowledgeTree.pot
... ... @@ -135,7 +135,7 @@ msgstr &quot;&quot;
135 135  
136 136 #: plugins/ktcore/folder/BulkImport.php:63
137 137 #: plugins/ktcore/folder/BulkUpload.php:70
138   -msgid "&lt;Please select a document type&gt;"
  138 +msgid "- Please select a document type -"
139 139 msgstr ""
140 140  
141 141 #: i18n/templates.c:947
... ...
plugins/ktcore/folder/BulkImport.php
... ... @@ -65,7 +65,7 @@ class KTBulkImportFolderAction extends KTFolderAction {
65 65 $add_fields = array();
66 66 $add_fields[] = new KTStringWidget(_kt('Path'), _kt('The path containing the documents to be added to the document management system.'), 'path', "", $this->oPage, true);
67 67  
68   - $aVocab = array('' => _kt('&lt;Please select a document type&gt;'));
  68 + $aVocab = array('' => _kt('- Please select a document type -'));
69 69 foreach (DocumentType::getListForUserAndFolder($this->oUser, $this->oFolder) as $oDocumentType) {
70 70 if(!$oDocumentType->getDisabled()) {
71 71 $aVocab[$oDocumentType->getId()] = $oDocumentType->getName();
... ...
plugins/ktcore/folder/BulkUpload.php
... ... @@ -72,7 +72,7 @@ class KTBulkUploadFolderAction extends KTFolderAction {
72 72 $add_fields = array();
73 73 $add_fields[] = new KTFileUploadWidget(_kt('Archive file'), _kt('The archive file containing the documents you wish to add to the document management system.'), 'file', "", $this->oPage, true);
74 74  
75   - $aVocab = array('' => _kt('&lt;Please select a document type&gt;'));
  75 + $aVocab = array('' => _kt('- Please select a document type -'));
76 76 foreach (DocumentType::getListForUserAndFolder($this->oUser, $this->oFolder) as $oDocumentType) {
77 77 if(!$oDocumentType->getDisabled()) {
78 78 $aVocab[$oDocumentType->getId()] = $oDocumentType->getName();
... ...