@@ -38,7 +39,7 @@ its details, or click on the delete button to remove it from the system.
{ if $oDocumentType->isUsed() }
{ else }
-Delete Type
+{i18n}Delete Type{/i18n}
{/if}
diff --git a/templates/ktcore/edit_conditional.smarty b/templates/ktcore/edit_conditional.smarty
index 3260ef9..8cb0c4e 100644
--- a/templates/ktcore/edit_conditional.smarty
+++ b/templates/ktcore/edit_conditional.smarty
@@ -1,21 +1,23 @@
-Edit Fieldset
+{i18n}Edit Fieldset{/i18n}
@@ -23,14 +25,15 @@
@@ -47,14 +50,14 @@
{if ($fieldSet->canBeMadeConditional() === true)}
{else}
{if ($fieldSet->getIsConditional())}
-Field has conditions attached to it..
+{i18n}Field has conditions attached to it.{/i18n}
- - Manage conditions.
- - Test conditions
+ - {i18n}Manage conditions.{/i18n}
+ - {i18n}Test conditions{/i18n}
{else}
-Fieldset cannot be made conditional. One of the fields must not be a lookup.
+{i18n}Fieldset cannot be made conditional. One of the fields must not be a lookup.{/i18n}
{/if}
{/if}
diff --git a/templates/ktcore/edit_fieldset.smarty b/templates/ktcore/edit_fieldset.smarty
index 3260ef9..3033d7b 100644
--- a/templates/ktcore/edit_fieldset.smarty
+++ b/templates/ktcore/edit_fieldset.smarty
@@ -1,36 +1,34 @@
-Edit Fieldset
+{i18n}Edit Fieldset{/i18n}
-
-
@@ -47,14 +45,14 @@
{if ($fieldSet->canBeMadeConditional() === true)}
{else}
{if ($fieldSet->getIsConditional())}
-Field has conditions attached to it..
+{i18n}Field has conditions attached to it.{/i18n}
- - Manage conditions.
- - Test conditions
+ - {i18n}Manage conditions.{/i18n}
+ - {i18n}Test conditions{/i18n}
{else}
-Fieldset cannot be made conditional. One of the fields must not be a lookup.
+{i18n}Fieldset cannot be made conditional. One of the fields must not be a lookup.{/i18n}
{/if}
{/if}
diff --git a/templates/ktcore/edit_lookuptrees.smarty b/templates/ktcore/edit_lookuptrees.smarty
index 62a1d15..02cb86b 100644
--- a/templates/ktcore/edit_lookuptrees.smarty
+++ b/templates/ktcore/edit_lookuptrees.smarty
@@ -37,12 +37,12 @@
{$context->oPage->requireJSResource("thirdpartyjs/MochiKit/Iter.js")}
{$context->oPage->requireJSResource("thirdpartyjs/MochiKit/DOM.js")}
-Edit Lookup Tree: {$field->getName()}
+{i18n}Edit Lookup Tree{/i18n}: {$field->getName()}
{if ($currentNode != 0)}
{if (empty($freechildren))}
-No free keywords. Use the "unlink" action on a keyword to
-make it available.
+{i18n}No free keywords. Use the "unlink" action on a keyword to
+make it available.{/i18n}
{else}
@@ -95,10 +95,10 @@ Root
{/if}
-Preview
+{i18n}Preview{/i18n}
- Use the +/- arrows to open or close the tree. Bold items are metadata keywords.
- To edit a category (including adding or removing keywords) click on the "edit" link.
+ {i18n}Use the +/- arrows to open or close the tree. Bold items are metadata keywords.
+ To edit a category (including adding or removing keywords) click on the "edit" link.{/i18n}
{$renderedTree}
diff --git a/templates/ktcore/manage_fieldsets.smarty b/templates/ktcore/manage_fieldsets.smarty
index 920f35b..5f9d727 100644
--- a/templates/ktcore/manage_fieldsets.smarty
+++ b/templates/ktcore/manage_fieldsets.smarty
@@ -1,10 +1,10 @@
-Existing Fieldsets
+{i18n}Existing Fieldsets{/i18n}
- | Human Name |
- Namespace |
- Manage |
+ {i18n}Human Name{/i18n} |
+ {i18n}Namespace{/i18n} |
+ {i18n}Manage{/i18n} |
{ foreach item=oFieldSet from=$fieldsets }
@@ -18,14 +18,14 @@
Edit
+ href="{$smarty.server.PHP_SELF}?action=editFieldset&id={$oFieldSet->getId()}">{i18n}Edit{/i18n}
|
{if $oFieldSet->bMandatory == false}
Delete
+ href="{$smarty.server.PHP_SELF}?action=deleteFieldset&id={$oFieldSet->getId()}">{i18n}Delete{/i18n}
{else}
- Built-in set.
+ {i18n}Built-in set.{/i18n}
{/if}
|
@@ -33,22 +33,22 @@
{ /foreach }
-Create a new Fieldset
+{i18n}Create a new Fieldset{/i18n}
-Convert to Trees.
+{i18n}Convert to Trees.{/i18n}
diff --git a/templates/ktcore/metadata/edit.smarty b/templates/ktcore/metadata/edit.smarty
index 7d623ca..96b8b8a 100644
--- a/templates/ktcore/metadata/edit.smarty
+++ b/templates/ktcore/metadata/edit.smarty
@@ -1,26 +1,26 @@
-Fieldset: {$oFieldset->getName()|escape}
+{i18n}Fieldset{/i18n}: {$oFieldset->getName()|escape}
-Fieldset properties
+{i18n}Fieldset properties{/i18n}
-Fieldset members
+{i18n}Fieldset members{/i18n}
{if $oFieldset->getFields() }
-Existing members
+{i18n}Existing members{/i18n}
{/if}
-Add a new field
+{i18n}Add a new field{/i18n}
diff --git a/templates/ktcore/metadata/editField.smarty b/templates/ktcore/metadata/editField.smarty
index d438774..25e5e4d 100644
--- a/templates/ktcore/metadata/editField.smarty
+++ b/templates/ktcore/metadata/editField.smarty
@@ -1,25 +1,25 @@
-Edit Field: {$oField->getName()|escape}
+{i18n}Edit Field{/i18n}: {$oField->getName()|escape}
@@ -28,19 +28,19 @@
{assign var="aEnabledMetadata" value=$oField->getEnabledValues()}
{assign var="aDisabledMetadata" value=$oField->getDisabledValues()}
-Lookup Values
+{i18n}Lookup Values{/i18n}
@@ -48,33 +48,32 @@
{if $oField->getHasLookup() and $oField->getHasLookupTree()}
{assign var=iFieldId value=$oField->getId()}
Manage
-lookup tree
+href="{"manageLookupTrees"|generateControllerUrl:"action=editTree&field_id=$iFieldId"}">{i18n}Manage
+lookup tree{/i18n}
{/if}
{if $aEnabledMetadata}
-
@@ -82,27 +81,26 @@ from another source)
{if $aDisabledMetadata}
-
diff --git a/templates/ktcore/metadata/editFieldset.smarty b/templates/ktcore/metadata/editFieldset.smarty
index 29bb516..902fa50 100644
--- a/templates/ktcore/metadata/editFieldset.smarty
+++ b/templates/ktcore/metadata/editFieldset.smarty
@@ -1,8 +1,8 @@
-Fieldset: {$oFieldset->getName()|escape}
+{i18n}Fieldset{/i18n}: {$oFieldset->getName()|escape}
{if $sIncomplete}
- IncompleteThis conditional fieldset cannot be used:
+ {i18n}Incomplete{/i18n}: {i18n}This conditional fieldset cannot be used{/i18n}:
{$sIncomplete|escape}
{/if}
@@ -10,14 +10,14 @@
@@ -58,11 +58,11 @@ field can depend on the user's selections for the others.
{if ($oFieldset->getIsConditional() || $showForm)}
{else}
-This fieldset cannot be made conditional, since it contains fields which are not lookup types.
+{i18n}This fieldset cannot be made conditional, since it contains fields which are not lookup types.{/i18n}
{/if}
-Fieldset members
+{i18n}Fieldset members{/i18n}
FIXME add help text for fieldset members.
@@ -117,22 +117,22 @@ field can depend on the user's selections for the others.
{if $oFieldset->getFields() }
@@ -142,7 +142,7 @@ href="{$smarty.server.PHP_SELF}?action=editField&fFieldId={$oField->getId()}&fFi
diff --git a/templates/ktcore/metadata/listFieldsets.smarty b/templates/ktcore/metadata/listFieldsets.smarty
index 4f1addc..5dd946f 100644
--- a/templates/ktcore/metadata/listFieldsets.smarty
+++ b/templates/ktcore/metadata/listFieldsets.smarty
@@ -1,23 +1,23 @@
-Document Fieldsets
+{i18n}Document Fieldsets{/i18n}
FIXME add documentation about what fieldsets are, and how to use them.
{ if $fieldsets}
-Existing document fieldsets
+{i18n}Existing document fieldsets{/i18n}
|