Commit a4aed4e46afd333b5c99881c522bb1e8f0ca7a58
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
Showing
3 changed files
with
3 additions
and
3 deletions
i18n/knowledgeTree.pot
| @@ -135,7 +135,7 @@ msgstr "" | @@ -135,7 +135,7 @@ msgstr "" | ||
| 135 | 135 | ||
| 136 | #: plugins/ktcore/folder/BulkImport.php:63 | 136 | #: plugins/ktcore/folder/BulkImport.php:63 |
| 137 | #: plugins/ktcore/folder/BulkUpload.php:70 | 137 | #: plugins/ktcore/folder/BulkUpload.php:70 |
| 138 | -msgid "<Please select a document type>" | 138 | +msgid "- Please select a document type -" |
| 139 | msgstr "" | 139 | msgstr "" |
| 140 | 140 | ||
| 141 | #: i18n/templates.c:947 | 141 | #: i18n/templates.c:947 |
plugins/ktcore/folder/BulkImport.php
| @@ -65,7 +65,7 @@ class KTBulkImportFolderAction extends KTFolderAction { | @@ -65,7 +65,7 @@ class KTBulkImportFolderAction extends KTFolderAction { | ||
| 65 | $add_fields = array(); | 65 | $add_fields = array(); |
| 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); | 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('<Please select a document type>')); | 68 | + $aVocab = array('' => _kt('- Please select a document type -')); |
| 69 | foreach (DocumentType::getListForUserAndFolder($this->oUser, $this->oFolder) as $oDocumentType) { | 69 | foreach (DocumentType::getListForUserAndFolder($this->oUser, $this->oFolder) as $oDocumentType) { |
| 70 | if(!$oDocumentType->getDisabled()) { | 70 | if(!$oDocumentType->getDisabled()) { |
| 71 | $aVocab[$oDocumentType->getId()] = $oDocumentType->getName(); | 71 | $aVocab[$oDocumentType->getId()] = $oDocumentType->getName(); |
plugins/ktcore/folder/BulkUpload.php
| @@ -72,7 +72,7 @@ class KTBulkUploadFolderAction extends KTFolderAction { | @@ -72,7 +72,7 @@ class KTBulkUploadFolderAction extends KTFolderAction { | ||
| 72 | $add_fields = array(); | 72 | $add_fields = array(); |
| 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); | 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('<Please select a document type>')); | 75 | + $aVocab = array('' => _kt('- Please select a document type -')); |
| 76 | foreach (DocumentType::getListForUserAndFolder($this->oUser, $this->oFolder) as $oDocumentType) { | 76 | foreach (DocumentType::getListForUserAndFolder($this->oUser, $this->oFolder) as $oDocumentType) { |
| 77 | if(!$oDocumentType->getDisabled()) { | 77 | if(!$oDocumentType->getDisabled()) { |
| 78 | $aVocab[$oDocumentType->getId()] = $oDocumentType->getName(); | 78 | $aVocab[$oDocumentType->getId()] = $oDocumentType->getName(); |