Commit 10597f92bbd4e88a4f784a4f0d71e0cbcff5d272
1 parent
7fc909e7
KTS-797: Untranslated strings.
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5266 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
4 additions
and
4 deletions
plugins/ktcore/admin/documentFields.php
| @@ -90,7 +90,7 @@ class KTDocumentFieldDispatcher extends KTAdminDispatcher { | @@ -90,7 +90,7 @@ class KTDocumentFieldDispatcher extends KTAdminDispatcher { | ||
| 90 | 90 | ||
| 91 | // {{{ do_edit | 91 | // {{{ do_edit |
| 92 | function do_edit() { | 92 | function do_edit() { |
| 93 | - $this->oPage->setBreadcrumbDetails("edit"); | 93 | + $this->oPage->setBreadcrumbDetails(_kt("edit")); |
| 94 | $oTemplating =& KTTemplating::getSingleton(); | 94 | $oTemplating =& KTTemplating::getSingleton(); |
| 95 | $oTemplate =& $oTemplating->loadTemplate('ktcore/metadata/editFieldset'); | 95 | $oTemplate =& $oTemplating->loadTemplate('ktcore/metadata/editFieldset'); |
| 96 | $oFieldset =& KTFieldset::get($_REQUEST['fFieldsetId']); | 96 | $oFieldset =& KTFieldset::get($_REQUEST['fFieldsetId']); |
| @@ -107,10 +107,10 @@ class KTDocumentFieldDispatcher extends KTAdminDispatcher { | @@ -107,10 +107,10 @@ class KTDocumentFieldDispatcher extends KTAdminDispatcher { | ||
| 107 | // type is a little more complex. | 107 | // type is a little more complex. |
| 108 | $vocab = array(); | 108 | $vocab = array(); |
| 109 | if (!$oFieldset->getIsConditional()) { | 109 | if (!$oFieldset->getIsConditional()) { |
| 110 | - $vocab["normal"] = 'Normal'; | 110 | + $vocab["normal"] = _kt('Normal'); |
| 111 | } | 111 | } |
| 112 | - $vocab['lookup'] = 'Lookup'; | ||
| 113 | - $vocab['tree'] = 'Tree'; | 112 | + $vocab['lookup'] = _kt('Lookup'); |
| 113 | + $vocab['tree'] = _kt('Tree'); | ||
| 114 | $typeOptions = array("vocab" => $vocab); | 114 | $typeOptions = array("vocab" => $vocab); |
| 115 | $createFields[] =& new KTLookupWidget(_kt('Type'), _kt('Fields may be of type "Normal", "Lookup", or "Tree". Normal fields are simple text entry fields. Lookups are drop-down controls populated with values by your chosen values. Tree fields provide a rich means of selecting values from tree-like information structures.'), | 115 | $createFields[] =& new KTLookupWidget(_kt('Type'), _kt('Fields may be of type "Normal", "Lookup", or "Tree". Normal fields are simple text entry fields. Lookups are drop-down controls populated with values by your chosen values. Tree fields provide a rich means of selecting values from tree-like information structures.'), |
| 116 | 'type', null, $this->oPage, true, null, null, $typeOptions); | 116 | 'type', null, $this->oPage, true, null, null, $typeOptions); |