-{/if}
\ No newline at end of file
+{/if}
diff --git a/templates/kt3/compare_document.smarty b/templates/kt3/compare_document.smarty
index bd73b06..b6e4318 100644
--- a/templates/kt3/compare_document.smarty
+++ b/templates/kt3/compare_document.smarty
@@ -1,6 +1,12 @@
-
Version Comparison: {$document->getName()}
-
showing comparison between versions {$document->getMajorVersionNumber()}.{$document->getMinorVersionNumber()}
-and {$comparison_document->getMajorVersionNumber()}.{$comparison_document->getMinorVersionNumber()} ({$comparison_document->getMetadataVersion()})
+{i18n arg_from=$from arg_to=$to}showing comparison between versions #from# and #to#{/i18n}
{if ($document_data.is_manufactured)}
-
Please note: the information for version
-{$document->getMajorVersionNumber()}.{$document->getMinorVersionNumber()} ({$document->getMetadataVersion()})
-comes from an older version of KnowledgeTree, and may be incorrect.
+
{i18n}Please
+note{/i18n}: {i18n arg_version=$from}the information for version
+#version# comes from an older version of KnowledgeTree, and may be
+incorrect.{/i18n}
{/if}
{if ($comparison_data.is_manufactured)}
-
Please note: the information for version
-{$comparison_document->getMajorVersionNumber()}.{$comparison_document->getMinorVersionNumber()} ({$comparison_document->getMetadataVersion()})
-comes from an older version of KnowledgeTree, and may be incorrect.
+
{i18n}Please
+note{/i18n}: {i18n arg_version=$to}the information for version
+#version# comes from an older version of KnowledgeTree, and may be
+incorrect.{/i18n}
{/if}
{foreach item=oFieldset from=$fieldsets}
{$oFieldset->renderComparison($document_data, $comparison_data)}
-{/foreach}
\ No newline at end of file
+{/foreach}
diff --git a/templates/kt3/document_collection.smarty b/templates/kt3/document_collection.smarty
index e89c9dc..764984b 100644
--- a/templates/kt3/document_collection.smarty
+++ b/templates/kt3/document_collection.smarty
@@ -35,12 +35,13 @@
{/foreach}
{else}
-
No documents or folders available in this location.
+
{i18n}No documents or folders available in this location.{/i18n}
{/if}
-
{$context->itemCount} items, {$context->batchSize} per page
+
-
\ No newline at end of file
+
diff --git a/templates/ktcore/action/addFolder.smarty b/templates/ktcore/action/addFolder.smarty
index d0c2401..e379d25 100644
--- a/templates/ktcore/action/addFolder.smarty
+++ b/templates/ktcore/action/addFolder.smarty
@@ -1,18 +1,21 @@
-
Folders are one way of organising documents
+
{i18n}Folders are one way of organising documents
in the document management system. Folders provide meaning in the
traditional file storage way - through a path through which one will
browse that describes the content more specifically as one enters
-folders.
{i18n arg_link=$cancellink}If you do not
+intend to edit the document, and you do not wish to prevent others from
+changing the document, you should cancel
+this checkout.{/i18n}
{i18n}Checking out a document reserves it for your
exclusive use. This ensures that you can edit the document without
anyone else changing the document and placing it into the document
-management system.
If you do not intend to edit the document, and you
+{capture assign=link}
+{"viewDocument"|generateControllerUrl:"fDocumentId=$iDocumentId"}
+{/capture}
+
{i18n arg_link=$link}If you do not intend to edit the document, and you
do not wish to prevent others from changing the document, you should
-cancel
-this checkout.
{i18n arg_link=$link}The document you wish to
+check out will begin to download soon. If it does not automatically
+start to download, you can use this link to start
+it yourself.{/i18n}
{i18n}Deleting a document marks it as no longer
being displayed. The document management system does not remove the
-document entirely, and it can be restored at a later stage.
+document entirely, and it can be restored at a later stage.{/i18n}
{assign var=iDocumentId value=$context->oDocument->getId()}
-
If this is your first KnowledgeTree installation,
+
{i18n}If this is your first KnowledgeTree installation,
or if you've just upgraded from KnowledgeTree 2.x, we've put together some information
-which might help you get to grips with the new system.
+which might help you get to grips with the new system.{/i18n}
If this is your first KnowledgeTree installation,
+
{i18n}Welcome to the KnowledgeTree 3 Beta{/i18n}
+
{i18n}If this is your first KnowledgeTree installation,
or if you've just upgraded from KnowledgeTree 2.x, we've put together some information
-which might help you get to grips with the new system.
+which might help you get to grips with the new system.{/i18n}
-What's a Beta? |
-Help! Something went wrong!
+{i18n}What's a Beta?{/i18n} |
+{i18n}Help! Something went wrong!{/i18n}
diff --git a/templates/ktcore/dashlets/checkedout.smarty b/templates/ktcore/dashlets/checkedout.smarty
index 1c5be2b..bee9963 100644
--- a/templates/ktcore/dashlets/checkedout.smarty
+++ b/templates/ktcore/dashlets/checkedout.smarty
@@ -1,14 +1,14 @@
-
Your Checked-out Documents
-
Since a document
+
{i18n}Your Checked-out Documents{/i18n}
+
{i18n}Since a document
which is checked out cannot be modified by anyone else,
it is important to check them back in as soon as you have made
-the apppriate changes.
In order to keep the documents which are visible useful
+
{i18n}In order to keep the documents which are visible useful
to end users, it is possible to archive old documents. Users who
want to see these old documents need to request their restoration - these requests
-will typically be done within the system, and will generate a notification to you.
+will typically be done within the system, and will generate a
+notification to you.{/i18n}
FIXME this aspect of the UI is unuseable.
@@ -21,8 +22,8 @@ with LIVE turned off.)
If a checked-out document has been lost, or the user
-who checked a document out has not checked it back in, it may be necessary
-to override the "checked-out" status of a document. Use the force checkin
-action in the listing below to override the checked-out status.
+
{i18n}Checked Out Documents{/i18n}
+
{i18n}If a checked-out document has been
+lost, or the user who checked a document out has not checked it back in,
+it may be necessary to override the "checked-out" status of a document.
+Use the force checkin action in the listing below to
+override the checked-out status.{/i18n}
{if (count($documents) !== 0)}
-
Document
-
Location
+
{i18n}Document{/i18n}
+
{i18n}Location{/i18n}
@@ -19,7 +20,7 @@ action in the listing below to override the checked-out status.
Documents which are deleted by users are hidden from view,
+
{i18n}Documents which are deleted by users are hidden from view,
but still available for restoration. Since this consumes system resources, it
is possible to expunge these documents. Alternatively, you
-can restore them as necessary.
+can restore them as necessary.{/i18n}
FIXME its probably very useful to add
more information about the documents below - e.g. when was it deleted (last modified?)
@@ -20,8 +20,8 @@ more information about the documents below - e.g. when was it deleted (last modi
-
Document Name
-
Location
+
{i18n}Document Name{/i18n}
+
{i18n}Location{/i18n}
@@ -35,11 +35,11 @@ more information about the documents below - e.g. when was it deleted (last modi
-
\ No newline at end of file
+
diff --git a/templates/ktcore/document/admin/linktypesadmin.smarty b/templates/ktcore/document/admin/linktypesadmin.smarty
index 74750dc..29a09bf 100644
--- a/templates/ktcore/document/admin/linktypesadmin.smarty
+++ b/templates/ktcore/document/admin/linktypesadmin.smarty
@@ -1,4 +1,4 @@
-
Document Link Type Management
+
{i18n}Document Link Type Management{/i18n}
Within the KnowledgeTree it is possible for users
to create links between related documents. Each of these links has a certain type.
@@ -8,8 +8,9 @@ to create links between related documents. Each of these links has a certain ty
@@ -28,8 +29,8 @@ to create links between related documents. Each of these links has a certain ty
@@ -48,10 +49,12 @@ to create links between related documents. Each of these links has a certain ty
\ No newline at end of file
+
diff --git a/templates/ktcore/document/cleanup.smarty b/templates/ktcore/document/cleanup.smarty
index 21ad5dd..9581ecc 100644
--- a/templates/ktcore/document/cleanup.smarty
+++ b/templates/ktcore/document/cleanup.smarty
@@ -1,5 +1,5 @@
{if $aFoldersToRemove}
-
Would remove these folders (and all their contents):
+
{i18n}Would remove these folders (and all their contents){/i18n}:
\ No newline at end of file
+
diff --git a/templates/ktcore/principals/groups_manageusers.smarty b/templates/ktcore/principals/groups_manageusers.smarty
index 727a150..c3cc1e3 100644
--- a/templates/ktcore/principals/groups_manageusers.smarty
+++ b/templates/ktcore/principals/groups_manageusers.smarty
@@ -1,4 +1,4 @@
-
Manage Users in {$edit_group->getName()}
+
{i18n arg_name=$edit_group->getName()}Manage Users in #name#{/i18n}
{$context->oPage->requireJSResource('thirdpartyjs/OptionTransfer.js')}
{$context->oPage->requireJSResource('thirdpartyjs/MochiKit/Base.js')}
@@ -17,15 +17,15 @@
-
\ No newline at end of file
+
diff --git a/templates/ktcore/principals/orgadmin.smarty b/templates/ktcore/principals/orgadmin.smarty
index 66a8319..e30f290 100644
--- a/templates/ktcore/principals/orgadmin.smarty
+++ b/templates/ktcore/principals/orgadmin.smarty
@@ -1,4 +1,4 @@
-
diff --git a/templates/ktcore/principals/password.smarty b/templates/ktcore/principals/password.smarty
index 46b6207..bd3a3f5 100644
--- a/templates/ktcore/principals/password.smarty
+++ b/templates/ktcore/principals/password.smarty
@@ -6,17 +6,17 @@
-
\ No newline at end of file
+
diff --git a/templates/ktcore/principals/preferences.smarty b/templates/ktcore/principals/preferences.smarty
index bd3fa00..a1c219a 100644
--- a/templates/ktcore/principals/preferences.smarty
+++ b/templates/ktcore/principals/preferences.smarty
@@ -1,23 +1,23 @@
Preferences
-
From here you can adjust certain basic preferences about
-how you work with KnowledgeTree.
+
{i18n}From here you can adjust certain basic
+preferences about how you work with KnowledgeTree.{/i18n}
-
\ No newline at end of file
+
diff --git a/templates/ktcore/principals/roleadmin.smarty b/templates/ktcore/principals/roleadmin.smarty
index 08c3f3b..990916a 100644
--- a/templates/ktcore/principals/roleadmin.smarty
+++ b/templates/ktcore/principals/roleadmin.smarty
@@ -1,4 +1,4 @@
-
\ No newline at end of file
+
diff --git a/templates/ktcore/principals/updatepassword.smarty b/templates/ktcore/principals/updatepassword.smarty
index 21898c1..90f57bf 100644
--- a/templates/ktcore/principals/updatepassword.smarty
+++ b/templates/ktcore/principals/updatepassword.smarty
@@ -1,18 +1,18 @@
-
No search specified, or no results for your search. Please choose some criteria from the list above to find users.
+
+{i18n}
+No search specified, or no results for your search. Please choose some
+criteria from the list above to find users.
+{/i18n}
+
{/if}
@@ -60,4 +67,4 @@ very slow if you have many users.
-->
-
\ No newline at end of file
+
diff --git a/templates/ktcore/principals/usergroups.smarty b/templates/ktcore/principals/usergroups.smarty
index 706032b..5d01196 100644
--- a/templates/ktcore/principals/usergroups.smarty
+++ b/templates/ktcore/principals/usergroups.smarty
@@ -1,4 +1,4 @@
-
{$context->oPage->requireJSResource('thirdpartyjs/OptionTransfer.js')}
{$context->oPage->requireJSResource('thirdpartyjs/MochiKit/Base.js')}
@@ -19,15 +19,16 @@ side-effects to this when used by unitAdmins.
-
\ No newline at end of file
+
diff --git a/templates/ktcore/search/administration/conditions.smarty b/templates/ktcore/search/administration/conditions.smarty
index ecd766d..7a2dff1 100644
--- a/templates/ktcore/search/administration/conditions.smarty
+++ b/templates/ktcore/search/administration/conditions.smarty
@@ -1,20 +1,20 @@
-