Commit a00d45a92f780d093f1fa23b36af21be1da9d8a4
1 parent
050f900b
Add {i18n} blocks around translatable text.
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4335 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
47 changed files
with
437 additions
and
375 deletions
templates/kt3/admin_items.smarty
| 1 | 1 | <h2>{$category.title}</h2> |
| 2 | 2 | |
| 3 | 3 | {if ($items === null)} |
| 4 | -<p class="descriptiveText">No items in the category.</p> | |
| 4 | +<p class="descriptiveText">{i18n}No items in the category.{/i18n}</p> | |
| 5 | 5 | {else} |
| 6 | 6 | <dl class="panel_menu"> |
| 7 | 7 | {foreach item=aItem from=$items} |
| ... | ... | @@ -9,4 +9,4 @@ |
| 9 | 9 | <dd class="descriptiveText">{$aItem.description}</dd> |
| 10 | 10 | {/foreach} |
| 11 | 11 | </dl> |
| 12 | -{/if} | |
| 13 | 12 | \ No newline at end of file |
| 13 | +{/if} | ... | ... |
templates/kt3/compare_document.smarty
| 1 | -<h2>Version Comparison: {$document->getName()}</h2> | |
| 2 | -<p class="descriptiveText">showing comparison between versions <strong>{$document->getMajorVersionNumber()}.{$document->getMinorVersionNumber()}</strong> | |
| 3 | -and <strong>{$comparison_document->getMajorVersionNumber()}.{$comparison_document->getMinorVersionNumber()} ({$comparison_document->getMetadataVersion()})</strong></p> | |
| 1 | +<h2>{i18n}Version Comparison{/i18n}: {$document->getName()}</h2> | |
| 2 | +{capture assign=from} | |
| 3 | +<strong>{$document->getMajorVersionNumber()}.{$document->getMinorVersionNumber()}</strong> ({$document->getMetadataVersion()}) | |
| 4 | +{/capture} | |
| 5 | +{capture assign=to} | |
| 6 | +<strong>{$comparison_document->getMajorVersionNumber()}.{$comparison_document->getMinorVersionNumber()} ({$comparison_document->getMetadataVersion()}) | |
| 7 | +{/capture} | |
| 8 | +<p class="descriptiveText"> | |
| 9 | +{i18n arg_from=$from arg_to=$to}showing comparison between versions #from# and #to#{/i18n}</p> | |
| 4 | 10 | |
| 5 | 11 | <!-- |
| 6 | 12 | its possible that one of the versions isn't "real" |
| ... | ... | @@ -9,17 +15,19 @@ and <strong>{$comparison_document->getMajorVersionNumber()}.{$comparison_documen |
| 9 | 15 | --> |
| 10 | 16 | |
| 11 | 17 | {if ($document_data.is_manufactured)} |
| 12 | -<p class="descriptiveText"><strong class="ktInlineError">Please note:</strong> the information for version | |
| 13 | -{$document->getMajorVersionNumber()}.{$document->getMinorVersionNumber()} ({$document->getMetadataVersion()}) | |
| 14 | -comes from an older version of KnowledgeTree, and may be incorrect. | |
| 18 | +<p class="descriptiveText"><strong class="ktInlineError">{i18n}Please | |
| 19 | +note{/i18n}:</strong> {i18n arg_version=$from}the information for version | |
| 20 | +#version# comes from an older version of KnowledgeTree, and may be | |
| 21 | +incorrect.{/i18n} | |
| 15 | 22 | {/if} |
| 16 | 23 | |
| 17 | 24 | {if ($comparison_data.is_manufactured)} |
| 18 | -<p class="descriptiveText"><strong class="ktInlineError">Please note:</strong> the information for version | |
| 19 | -{$comparison_document->getMajorVersionNumber()}.{$comparison_document->getMinorVersionNumber()} ({$comparison_document->getMetadataVersion()}) | |
| 20 | -comes from an older version of KnowledgeTree, and may be incorrect. | |
| 25 | +<p class="descriptiveText"><strong class="ktInlineError">{i18n}Please | |
| 26 | +note{/i18n}:</strong> {i18n arg_version=$to}the information for version | |
| 27 | +#version# comes from an older version of KnowledgeTree, and may be | |
| 28 | +incorrect.{/i18n} | |
| 21 | 29 | {/if} |
| 22 | 30 | |
| 23 | 31 | {foreach item=oFieldset from=$fieldsets} |
| 24 | 32 | {$oFieldset->renderComparison($document_data, $comparison_data)} |
| 25 | -{/foreach} | |
| 26 | 33 | \ No newline at end of file |
| 34 | +{/foreach} | ... | ... |
templates/kt3/document_collection.smarty
| ... | ... | @@ -35,12 +35,13 @@ |
| 35 | 35 | </tr> |
| 36 | 36 | {/foreach} |
| 37 | 37 | {else} |
| 38 | - <tr><td colspan="{$columncount}">No documents or folders available in this location.</td></tr> | |
| 38 | + <tr><td colspan="{$columncount}">{i18n}No documents or folders available in this location.{/i18n}</td></tr> | |
| 39 | 39 | {/if} |
| 40 | 40 | </tbody> |
| 41 | 41 | <tfoot> |
| 42 | 42 | <tr> |
| 43 | - <td colspan="{$columncount}"><span class="descriptiveText">{$context->itemCount} items, {$context->batchSize} per page</span> | |
| 43 | + <td colspan="{$columncount}"><span class="descriptiveText"> | |
| 44 | +{i18n arg_itemCount=$context->itemCount arg_batchSize=$context->batchSize}#itemCount# items, #batchSize# per page{/i18n}</span> | |
| 44 | 45 | {if ($pagecount > 1)} |
| 45 | 46 | {if ($currentpage == 0)} |
| 46 | 47 | <span class="notactive">« prev</a> |
| ... | ... | @@ -65,4 +66,4 @@ |
| 65 | 66 | </td> |
| 66 | 67 | </tr> |
| 67 | 68 | </tfoot> |
| 68 | - </table> | |
| 69 | 69 | \ No newline at end of file |
| 70 | + </table> | ... | ... |
templates/ktcore/action/addFolder.smarty
| 1 | -<p class="descriptiveText">Folders are one way of organising documents | |
| 1 | +<p class="descriptiveText">{i18n}Folders are one way of organising documents | |
| 2 | 2 | in the document management system. Folders provide meaning in the |
| 3 | 3 | traditional file storage way - through a path through which one will |
| 4 | 4 | browse that describes the content more specifically as one enters |
| 5 | -folders.</p> | |
| 5 | +folders.{/i18n}</p> | |
| 6 | 6 | |
| 7 | 7 | <p class="descriptiveText">FIXME</p> |
| 8 | 8 | |
| 9 | 9 | {assign var=iFolderId value=$context->oFolder->getId()} |
| 10 | -<p class="descriptiveText">If you do not intend to add a folder, you | |
| 11 | -should <a href="{"browse"|generateControllerUrl:"fFolderId=$iFolderId"}">cancel | |
| 12 | -this action</a>.</p> | |
| 10 | +{capture assign=link} | |
| 11 | +{"browse"|generateControllerUrl:"fFolderId=$iFolderId"} | |
| 12 | +{/capture} | |
| 13 | +<p class="descriptiveText">{i18n arg_link=$link}If you do not intend to | |
| 14 | +add a folder, you should <a href="#link#">cancel this | |
| 15 | +action</a>.{/i18n}</p> | |
| 13 | 16 | |
| 14 | 17 | <form method="POST" action="{$smarty.server.PHP_SELF}" enctype="multipart/form-data"> |
| 15 | -<fieldset><legend>Add folder</legend> | |
| 18 | +<fieldset><legend>{i18n}Add folder{/i18n}</legend> | |
| 16 | 19 | <input type="hidden" name="action" value="addFolder" /> |
| 17 | 20 | <input type="hidden" name="fFolderId" value="{$iFolderId}" /> |
| 18 | 21 | {foreach from=$fields item=oWidget } |
| ... | ... | @@ -20,7 +23,7 @@ this action</a>.</p> |
| 20 | 23 | {/foreach} |
| 21 | 24 | |
| 22 | 25 | <div class="form_actions"> |
| 23 | -<input type="submit" name="submit" value="Add folder" /> | |
| 26 | +<input type="submit" name="submit" value="{i18n}Add folder{/i18n}" /> | |
| 24 | 27 | </div> |
| 25 | 28 | </fieldset> |
| 26 | 29 | </form> | ... | ... |
templates/ktcore/action/archive.smarty
| 1 | 1 | <p class="descriptiveText">FIXME: Descriptive text.</p> |
| 2 | 2 | |
| 3 | 3 | {assign var=iDocumentId value=$context->oDocument->getId()} |
| 4 | -<p class="descriptiveText">If you do not intend to archive this document, you should | |
| 5 | -<a href="{"viewDocument"|generateControllerUrl:"fDocumentId=$iDocumentId"}">cancel | |
| 6 | -the archive</a>.</p> | |
| 4 | +{capture assign=link} | |
| 5 | +{"viewDocument"|generateControllerUrl:"fDocumentId=$iDocumentId"} | |
| 6 | +{/capture} | |
| 7 | + | |
| 8 | +<p class="descriptiveText">{i18n arg_link=$link}If you do not intend to | |
| 9 | +archive this document, you should <a href="#link#">cancel the | |
| 10 | +archive</a>.{/i18n}</p> | |
| 7 | 11 | |
| 8 | 12 | <form method="POST" action="{$smarty.server.PHP_SELF}"> |
| 9 | -<fieldset><legend>Archive</legend> | |
| 13 | +<fieldset><legend>{i18n}Archive{/i18n}</legend> | |
| 10 | 14 | <input type="hidden" name="action" value="move" /> |
| 11 | 15 | <input type="hidden" name="fDocumentId" value="{$iDocumentId}" /> |
| 12 | 16 | {foreach from=$fields item=oWidget } |
| ... | ... | @@ -14,8 +18,8 @@ the archive</a>.</p> |
| 14 | 18 | {/foreach} |
| 15 | 19 | |
| 16 | 20 | <div class="form_actions"> |
| 17 | -<input type="submit" name="submit[move]" value="Move" /> | |
| 18 | -<input type="submit" name="submit[cancel]" value="Cancel" /> | |
| 21 | +<input type="submit" name="submit[move]" value="{i18n}Move{/i18n}" /> | |
| 22 | +<input type="submit" name="submit[cancel]" value="{i18n}Cancel{/i18n}" /> | |
| 19 | 23 | </div> |
| 20 | 24 | </fieldset> |
| 21 | 25 | </form> | ... | ... |
templates/ktcore/action/checkin.smarty
| 1 | -<p class="descriptiveText">Checking in a document updates the document | |
| 2 | -and allows others to check out the document.</p> | |
| 1 | +<p class="descriptiveText">{i18n}Checking in a document updates the document | |
| 2 | +and allows others to check out the document.{/i18n}</p> | |
| 3 | 3 | |
| 4 | 4 | {assign var=iDocumentId value=$context->oDocument->getId()} |
| 5 | -<p class="descriptiveText">If you do not intend to edit the document, and you | |
| 6 | -do not wish to prevent others from changing the document, you should | |
| 7 | -<a href="{"viewDocument"|generateControllerUrl:"fDocumentId=$iDocumentId"}">cancel | |
| 8 | -this checkout</a>.</p> | |
| 5 | +{capture assign=cancellink} | |
| 6 | +{"viewDocument"|generateControllerUrl:"fDocumentId=$iDocumentId"} | |
| 7 | +{/capture} | |
| 8 | +<p class="descriptiveText">{i18n arg_link=$cancellink}If you do not | |
| 9 | +intend to edit the document, and you do not wish to prevent others from | |
| 10 | +changing the document, you should <a href="#link#">cancel | |
| 11 | +this checkout</a>.{/i18n}</p> | |
| 9 | 12 | |
| 10 | 13 | <form method="POST" action="{$smarty.server.PHP_SELF}" enctype="multipart/form-data"> |
| 11 | -<fieldset><legend>Checkin</legend> | |
| 14 | +<fieldset><legend>{i18n}Checkin{/i18n}</legend> | |
| 12 | 15 | <input type="hidden" name="action" value="checkin" /> |
| 13 | 16 | <input type="hidden" name="fDocumentId" value="{$iDocumentId}" /> |
| 14 | 17 | {foreach from=$checkin_fields item=oWidget } |
| 15 | 18 | {$oWidget->render()} |
| 16 | 19 | {/foreach} |
| 17 | 20 | <div class="form_actions"> |
| 18 | -<input type="submit" name="submit" value="Checkin" /> | |
| 21 | +<input type="submit" name="submit" value="{i18n}Checkin{/i18n}" /> | |
| 19 | 22 | </div> |
| 20 | 23 | </fieldset> |
| 21 | 24 | </form> | ... | ... |
templates/ktcore/action/checkout.smarty
| 1 | -<p class="descriptiveText">Checking out a document reserves it for your | |
| 1 | +<p class="descriptiveText">{i18n}Checking out a document reserves it for your | |
| 2 | 2 | exclusive use. This ensures that you can edit the document without |
| 3 | 3 | anyone else changing the document and placing it into the document |
| 4 | -management system.</p> | |
| 4 | +management system.{/i18n}</p> | |
| 5 | 5 | |
| 6 | 6 | {assign var=iDocumentId value=$context->oDocument->getId()} |
| 7 | -<p class="descriptiveText">If you do not intend to edit the document, and you | |
| 7 | +{capture assign=link} | |
| 8 | +{"viewDocument"|generateControllerUrl:"fDocumentId=$iDocumentId"} | |
| 9 | +{/capture} | |
| 10 | +<p class="descriptiveText">{i18n arg_link=$link}If you do not intend to edit the document, and you | |
| 8 | 11 | do not wish to prevent others from changing the document, you should |
| 9 | -<a href="{"viewDocument"|generateControllerUrl:"fDocumentId=$iDocumentId"}">cancel | |
| 10 | -this checkout</a>.</p> | |
| 12 | +<a href="#link#">cancel this checkout</a>.{/i18n}</p> | |
| 11 | 13 | |
| 12 | 14 | <form method="POST" action="{$smarty.server.PHP_SELF}"> |
| 13 | -<fieldset><legend>Checkout</legend> | |
| 15 | +<fieldset><legend>{i18n}Checkout{/i18n}</legend> | |
| 14 | 16 | <input type="hidden" name="action" value="checkout" /> |
| 15 | 17 | <input type="hidden" name="fDocumentId" value="{$iDocumentId}" /> |
| 16 | 18 | {foreach from=$checkout_fields item=oWidget } |
| 17 | 19 | {$oWidget->render()} |
| 18 | 20 | {/foreach} |
| 19 | 21 | <div class="form_actions"> |
| 20 | -<input type="submit" name="submit" value="Checkout" /> | |
| 22 | +<input type="submit" name="submit" value="{i18n}Checkout{/i18n}" /> | |
| 21 | 23 | </div> |
| 22 | 24 | </fieldset> |
| 23 | 25 | </form> | ... | ... |
templates/ktcore/action/checkout_final.smarty
| ... | ... | @@ -14,15 +14,18 @@ addLoadEvent(scheduleCheckout); |
| 14 | 14 | {/capture} |
| 15 | 15 | {$context->oPage->requireJSStandalone($sJavascript)} |
| 16 | 16 | |
| 17 | -<p class="descriptiveText">The document you wish to check out will begin | |
| 18 | -to download soon. If it does not automatically start to download, you | |
| 19 | -can use <a | |
| 20 | -href="?action=checkout_final&fDocumentId={$context->oDocument->getId()}&reason={$reason|escape}">this link</a> | |
| 21 | -to start it yourself.</p> | |
| 17 | +{capture assign=link} | |
| 18 | +?action=checkout_final&fDocumentId={$context->oDocument->getId()}&reason={$reason|escape} | |
| 19 | +{/capture} | |
| 20 | +<p class="descriptiveText">{i18n arg_link=$link}The document you wish to | |
| 21 | +check out will begin to download soon. If it does not automatically | |
| 22 | +start to download, you can use <a href="#link#">this link</a> to start | |
| 23 | +it yourself.{/i18n}</p> | |
| 22 | 24 | |
| 25 | +{capture assign=link} | |
| 26 | +{"viewDocument"|generateControllerUrl:"fDocumentId=$iDocumentId"} | |
| 27 | +{/capture} | |
| 23 | 28 | {assign var=iDocumentId value=$context->oDocument->getId()} |
| 24 | -<p class="descriptiveText">Once the document has been downloaded, you | |
| 25 | -should | |
| 26 | -<a | |
| 27 | -href="{"viewDocument"|generateControllerUrl:"fDocumentId=$iDocumentId"}">return | |
| 28 | -to the document view</a>.</p> | |
| 29 | +<p class="descriptiveText">{i18n arg_link=$link}Once the document has | |
| 30 | +been downloaded, you should <a href="#link#">return to the document | |
| 31 | +view</a>.{/i18n}</p> | ... | ... |
templates/ktcore/action/delete.smarty
| 1 | -<p class="descriptiveText">Deleting a document marks it as no longer | |
| 1 | +<p class="descriptiveText">{i18n}Deleting a document marks it as no longer | |
| 2 | 2 | being displayed. The document management system does not remove the |
| 3 | -document entirely, and it can be restored at a later stage.</p> | |
| 3 | +document entirely, and it can be restored at a later stage.{/i18n}</p> | |
| 4 | 4 | |
| 5 | 5 | {assign var=iDocumentId value=$context->oDocument->getId()} |
| 6 | -<p class="descriptiveText">If you do not intend to delete this document, you should | |
| 7 | -<a href="{"viewDocument"|generateControllerUrl:"fDocumentId=$iDocumentId"}">cancel | |
| 8 | -the deletion</a>.</p> | |
| 6 | +{capture assign=link} | |
| 7 | +{"viewDocument"|generateControllerUrl:"fDocumentId=$iDocumentId"} | |
| 8 | +{/capture} | |
| 9 | +<p class="descriptiveText">{i18n arg_link=$link}If you do not intend to delete this document, you should | |
| 10 | +<a href="#link#">cancel the deletion</a>.{/i18n}</p> | |
| 9 | 11 | |
| 10 | 12 | <form method="POST" action="{$smarty.server.PHP_SELF}"> |
| 11 | -<fieldset><legend>Delete</legend> | |
| 13 | +<fieldset><legend>{i18n}Delete{/i18n}</legend> | |
| 12 | 14 | <input type="hidden" name="action" value="delete" /> |
| 13 | 15 | <input type="hidden" name="fDocumentId" value="{$iDocumentId}" /> |
| 14 | 16 | {foreach from=$delete_fields item=oWidget } |
| 15 | 17 | {$oWidget->render()} |
| 16 | 18 | {/foreach} |
| 17 | 19 | <div class="form_actions"> |
| 18 | -<input type="submit" name="submit" value="Delete" /> | |
| 20 | +<input type="submit" name="submit" value="{i18n}Delete{/i18n}" /> | |
| 19 | 21 | </div> |
| 20 | 22 | </fieldset> |
| 21 | 23 | </form> | ... | ... |
templates/ktcore/action/move.smarty
| 1 | -<p class="descriptiveText">Moving a document relocates the document | |
| 2 | -within the document repository.</p> | |
| 1 | +<p class="descriptiveText">{i18n}Moving a document relocates the document | |
| 2 | +within the document repository.{/i18n}</p> | |
| 3 | 3 | |
| 4 | 4 | {assign var=iDocumentId value=$context->oDocument->getId()} |
| 5 | -<p class="descriptiveText">If you do not intend to move this document, you should | |
| 6 | -<a href="{"viewDocument"|generateControllerUrl:"fDocumentId=$iDocumentId"}">cancel | |
| 7 | -the move</a>.</p> | |
| 5 | +{capture assign=link} | |
| 6 | +{"viewDocument"|generateControllerUrl:"fDocumentId=$iDocumentId"} | |
| 7 | +{/capture} | |
| 8 | +<p class="descriptiveText">{i18n arg_link=$link}If you do not intend to | |
| 9 | +move this document, you should <a href="#link#">cancel the | |
| 10 | +move</a>.{/i18n}</p> | |
| 8 | 11 | |
| 9 | 12 | <form method="POST" action="{$smarty.server.PHP_SELF}"> |
| 10 | -<fieldset><legend>Move</legend> | |
| 13 | +<fieldset><legend>{i18n}Move{/i18n}</legend> | |
| 11 | 14 | <input type="hidden" name="action" value="move" /> |
| 12 | 15 | <input type="hidden" name="fDocumentId" value="{$iDocumentId}" /> |
| 13 | 16 | {foreach from=$move_fields item=oWidget } |
| ... | ... | @@ -15,10 +18,10 @@ the move</a>.</p> |
| 15 | 18 | {/foreach} |
| 16 | 19 | |
| 17 | 20 | <div class="field "> |
| 18 | -<label for="fFolderId">Target folder</label> | |
| 19 | -<p class="descriptiveText">The folder given below is where the document | |
| 21 | +<label for="fFolderId">{i18n}Target folder{/i18n}</label> | |
| 22 | +<p class="descriptiveText">{i18n}The folder given below is where the document | |
| 20 | 23 | is going to be moved to. Use the folder collection and path below to |
| 21 | -browse to the folder you wish to move the documents into.</p> | |
| 24 | +browse to the folder you wish to move the documents into.{/i18n}</p> | |
| 22 | 25 | |
| 23 | 26 | <input type="hidden" name="fFolderId" value="{$context->oFolder->getId()}" /> |
| 24 | 27 | {foreach from=$collection_breadcrumbs item=breadcrumb name=bc} |
| ... | ... | @@ -31,8 +34,8 @@ browse to the folder you wish to move the documents into.</p> |
| 31 | 34 | </div> |
| 32 | 35 | |
| 33 | 36 | <div class="form_actions"> |
| 34 | -<input type="submit" name="submit[move]" value="Move" /> | |
| 35 | -<input type="submit" name="submit[cancel]" value="Cancel" /> | |
| 37 | +<input type="submit" name="submit[move]" value="{i18n}Move{/i18n}" /> | |
| 38 | +<input type="submit" name="submit[cancel]" value="{i18n}Cancel{/i18n}" /> | |
| 36 | 39 | </div> |
| 37 | 40 | </fieldset> |
| 38 | 41 | </form> | ... | ... |
templates/ktcore/action/move_final.smarty
| 1 | -<p class="descriptiveText">Moving a document relocates the document | |
| 2 | -within the document repository.</p> | |
| 1 | +<p class="descriptiveText">{i18n}Moving a document relocates the document | |
| 2 | +within the document repository.{/i18n}</p> | |
| 3 | 3 | |
| 4 | 4 | {assign var=iDocumentId value=$context->oDocument->getId()} |
| 5 | -<p class="descriptiveText">If you do not intend to move this document, you should | |
| 6 | -<a href="{"viewDocument"|generateControllerUrl:"fDocumentId=$iDocumentId"}">cancel | |
| 7 | -the move</a>.</p> | |
| 5 | +{capture assign=link} | |
| 6 | +{"viewDocument"|generateControllerUrl:"fDocumentId=$iDocumentId"} | |
| 7 | +{/capture} | |
| 8 | +<p class="descriptiveText">{i18n arg_link=$link}If you do not intend to | |
| 9 | +move this document, you should <a href="#link#">cancel the | |
| 10 | +move</a>.{/i18n}</p> | |
| 8 | 11 | |
| 9 | 12 | <form method="POST" action="{$smarty.server.PHP_SELF}"> |
| 10 | -<fieldset><legend>Move</legend> | |
| 13 | +<fieldset><legend>{i18n}Move{/i18n}</legend> | |
| 11 | 14 | <input type="hidden" name="action" value="move_final" /> |
| 12 | 15 | <input type="hidden" name="fDocumentId" value="{$iDocumentId}" /> |
| 13 | 16 | <input type="hidden" name="fFolderId" value="{$context->oFolder->getId()}" /> |
| ... | ... | @@ -16,8 +19,8 @@ the move</a>.</p> |
| 16 | 19 | {/foreach} |
| 17 | 20 | |
| 18 | 21 | <div class="form_actions"> |
| 19 | -<input type="submit" name="submit[move]" value="Move" /> | |
| 20 | -<input type="submit" name="submit[cancel]" value="Cancel" /> | |
| 22 | +<input type="submit" name="submit[move]" value="{i18n}Move{/i18n}" /> | |
| 23 | +<input type="submit" name="submit[cancel]" value="{i18n}Cancel{/i18n}" /> | |
| 21 | 24 | </div> |
| 22 | 25 | </fieldset> |
| 23 | 26 | </form> | ... | ... |
templates/ktcore/dashlets/admintutorial.smarty
| 1 | 1 | <h2>KnowledgeTree administrator's Guide</h2> |
| 2 | -<p class="descriptiveText">If this is your first KnowledgeTree installation, | |
| 2 | +<p class="descriptiveText">{i18n}If this is your first KnowledgeTree installation, | |
| 3 | 3 | or if you've just upgraded from KnowledgeTree 2.x, we've put together some information |
| 4 | -which might help you get to grips with the new system.</p> | |
| 4 | +which might help you get to grips with the new system.{/i18n}</p> | |
| 5 | 5 | |
| 6 | 6 | <div class="ktError"><p class="descriptiveText"><strong>FIXME</strong> This currently doesn't work.</p></div> |
| 7 | 7 | |
| 8 | -<a href="{$rootUrl}/plugin.php/ktcore.userassistance/admin-quickguide">Read the admin introduction.</a> | | |
| 9 | -<a href="{$rootUrl}/plugin.php/ktcore.userassistance/admin-guide-whats-new-in-kt3">Find out what's different in <strong>KT 3</strong>.</a> | | |
| 10 | -<a href="#">Don't show me this again.</a> | |
| 8 | +<a | |
| 9 | +href="{$rootUrl}/plugin.php/ktcore.userassistance/admin-quickguide">{i18n}Read the admin introduction.{/i18n}</a> | | |
| 10 | +<a | |
| 11 | +href="{$rootUrl}/plugin.php/ktcore.userassistance/admin-guide-whats-new-in-kt3">{i18n}Find out what's different in <strong>KT 3</strong>.{/i18n}</a> | | |
| 12 | +<a href="#">{i18n}Don't show me this again.{/i18n}</a> | ... | ... |
templates/ktcore/dashlets/beta1info.smarty
| 1 | -<h2>Welcome to the KnowledgeTree 3 Beta</h2> | |
| 2 | -<p class="descriptiveText">If this is your first KnowledgeTree installation, | |
| 1 | +<h2>{i18n}Welcome to the KnowledgeTree 3 Beta{/i18n}</h2> | |
| 2 | +<p class="descriptiveText">{i18n}If this is your first KnowledgeTree installation, | |
| 3 | 3 | or if you've just upgraded from KnowledgeTree 2.x, we've put together some information |
| 4 | -which might help you get to grips with the new system.</p> | |
| 4 | +which might help you get to grips with the new system.{/i18n}</p> | |
| 5 | 5 | |
| 6 | -<a href="{$rootUrl}/plugin.php/ktcore.userassistance/kt3b1-what-is-a-beta">What's a Beta?</a> | | |
| 7 | -<a href="{$rootUrl}/plugin.php/ktcore.userassistance/kt-bug-reporting-guide">Help! Something went wrong!</a> | |
| 6 | +<a | |
| 7 | +href="{$rootUrl}/plugin.php/ktcore.userassistance/kt3b1-what-is-a-beta">{i18n}What's a Beta?{/i18n}</a> | | |
| 8 | +<a | |
| 9 | +href="{$rootUrl}/plugin.php/ktcore.userassistance/kt-bug-reporting-guide">{i18n}Help! Something went wrong!{/i18n}</a> | ... | ... |
templates/ktcore/dashlets/checkedout.smarty
| 1 | -<h2>Your Checked-out Documents</h2> | |
| 2 | -<p class="descriptiveText">Since a document | |
| 1 | +<h2>{i18n}Your Checked-out Documents{/i18n}</h2> | |
| 2 | +<p class="descriptiveText">{i18n}Since a document | |
| 3 | 3 | which is checked out cannot be modified by anyone else, |
| 4 | 4 | it is important to check them back in as soon as you have made |
| 5 | -the apppriate changes.</p> | |
| 5 | +the apppriate changes.{/i18n}</p> | |
| 6 | 6 | {if (!empty($documents))} |
| 7 | 7 | <dl> |
| 8 | 8 | {foreach item=oDocument from=$documents} |
| 9 | - <dt>{$oDocument->getName()} | <a href="{$context->getDocumentLink($oDocument)}">View Document</a></dt> | |
| 9 | + <dt>{$oDocument->getName()} | <a href="{$context->getDocumentLink($oDocument)}">{i18n}View Document{/i18n}</a></dt> | |
| 10 | 10 | {/foreach} |
| 11 | 11 | </ul> |
| 12 | 12 | {else} |
| 13 | -<div class="ktInfo"><p>You have no documents which are currently checked out.</p></div> | |
| 14 | -{/if} | |
| 15 | 13 | \ No newline at end of file |
| 14 | +<div class="ktInfo"><p>{i18n}You have no documents which are currently checked out.{/i18n}</p></div> | |
| 15 | +{/if} | ... | ... |
templates/ktcore/dashlets/notifications.smarty
| 1 | -<h2>Items that require your attention</h2> | |
| 1 | +<h2>{i18n}Items that require your attention{/i18n}</h2> | |
| 2 | 2 | {if (!empty($notifications))} |
| 3 | 3 | <dl> |
| 4 | 4 | {foreach item=oNotification from=$notifications} |
| ... | ... | @@ -6,5 +6,5 @@ |
| 6 | 6 | {/foreach} |
| 7 | 7 | </dl> |
| 8 | 8 | {else} |
| 9 | -<div class="ktInfo"><p>No items require your attention.</p></div> | |
| 10 | -{/if} | |
| 11 | 9 | \ No newline at end of file |
| 10 | +<div class="ktInfo"><p>{i18n}No items require your attention.{/i18n}</p></div> | |
| 11 | +{/if} | ... | ... |
templates/ktcore/dashlets/usertutorial.smarty
| 1 | -<h2>Crash Course in KnowledgeTree</h2> | |
| 2 | -<p class="descriptiveText">New to Document Management, or to | |
| 3 | -KnowledgeTree™ 3? We've written some quick documentation</p> | |
| 1 | +<h2>{i18n}Crash Course in KnowledgeTree{/i18n}</h2> | |
| 2 | +<p class="descriptiveText">{i18n}New to Document Management, or to | |
| 3 | +KnowledgeTree™ 3? We've written some quick documentation{/i18n}</p> | |
| 4 | 4 | |
| 5 | 5 | <div class="ktError"><p class="descriptiveText"><strong>FIXME</strong> This currently doesn't work.</p></div> |
| 6 | 6 | ... | ... |
templates/ktcore/document/add.smarty
| ... | ... | @@ -55,10 +55,10 @@ addLoadEvent(startupMetadata); |
| 55 | 55 | {/capture} |
| 56 | 56 | {$context->oPage->requireJSStandalone($sJavascript)} |
| 57 | 57 | |
| 58 | -<h2>Add a document</h2> | |
| 58 | +<h2>{i18n}Add a document{/i18n}</h2> | |
| 59 | 59 | |
| 60 | 60 | <form method="POST" action="{$smarty.server.PHP_SELF}" enctype="multipart/form-data"> |
| 61 | -<fieldset><legend>Add a document</legend> | |
| 61 | +<fieldset><legend>{i18n}Add a document{/i18n}</legend> | |
| 62 | 62 | <input type="hidden" name="action" value="upload"> |
| 63 | 63 | <input type="hidden" name="postReceived" value="1"> |
| 64 | 64 | <input type="hidden" name="fFolderId" value="{$context->oFolder->getId()}"> |
| ... | ... | @@ -78,6 +78,6 @@ addLoadEvent(startupMetadata); |
| 78 | 78 | </div> |
| 79 | 79 | |
| 80 | 80 | <div class="form_actions"> |
| 81 | - <input type="submit" name="submit" value="Import"> | |
| 81 | + <input type="submit" name="submit" value="{i18n}Add{/i18n}"> | |
| 82 | 82 | </div> |
| 83 | 83 | </form> | ... | ... |
templates/ktcore/document/admin/archivedlist.smarty
| 1 | -<h2>Archived Documents</h2> | |
| 1 | +<h2>{i18n}Archived Documents{i18n}</h2> | |
| 2 | 2 | |
| 3 | -<p class="descriptiveText">In order to keep the documents which are visible useful | |
| 3 | +<p class="descriptiveText">{i18n}In order to keep the documents which are visible useful | |
| 4 | 4 | to end users, it is possible to <strong>archive</strong> old documents. Users who |
| 5 | 5 | want to see these old documents need to request their restoration - these requests |
| 6 | -will typically be done within the system, and will generate a notification to you. | |
| 6 | +will typically be done within the system, and will generate a | |
| 7 | +notification to you.{/i18n} | |
| 7 | 8 | </p> |
| 8 | 9 | |
| 9 | 10 | <div class="ktError"><p><strong>FIXME</strong> this aspect of the UI is unuseable. |
| ... | ... | @@ -21,8 +22,8 @@ with LIVE turned off.)</p></div> |
| 21 | 22 | <thead> |
| 22 | 23 | <tr> |
| 23 | 24 | <th> </th> |
| 24 | - <th>Document Name</th> | |
| 25 | - <th>Location</th> | |
| 25 | + <th>{i18n}Document Name{/i18n}</th> | |
| 26 | + <th>{i18n}Location{/i18n}</th> | |
| 26 | 27 | </tr> |
| 27 | 28 | </thead> |
| 28 | 29 | <tbody> |
| ... | ... | @@ -36,11 +37,11 @@ with LIVE turned off.)</p></div> |
| 36 | 37 | </tbody> |
| 37 | 38 | </table> |
| 38 | 39 | <div class="form_actions"> |
| 39 | - <input type="submit" value="Expunge" /> | |
| 40 | + <input type="submit" value="{i18n}Expunge{/i18n}" /> | |
| 40 | 41 | <!-- <input type="submit" value="Restore" /> --> <!-- how do we want to handle restore in this? major UI issue :( --> |
| 41 | 42 | </div> |
| 42 | 43 | </form> |
| 43 | 44 | |
| 44 | 45 | {else} |
| 45 | -<div class="ktInfo"><p>No documents are marked as archived.</p></div> | |
| 46 | -{/if} | |
| 47 | 46 | \ No newline at end of file |
| 47 | +<div class="ktInfo"><p>{i18n}No documents are marked as archived.{/i18n}</p></div> | |
| 48 | +{/if} | ... | ... |
templates/ktcore/document/admin/checkoutlisting.smarty
| 1 | -<h2>Checked Out Documents</h2> | |
| 2 | -<p class="descriptiveText">If a checked-out document has been lost, or the user | |
| 3 | -who checked a document out has not checked it back in, it may be necessary | |
| 4 | -to override the "checked-out" status of a document. Use the <strong>force checkin</strong> | |
| 5 | -action in the listing below to override the checked-out status.</p> | |
| 1 | +<h2>{i18n}Checked Out Documents{/i18n}</h2> | |
| 2 | +<p class="descriptiveText">{i18n}If a checked-out document has been | |
| 3 | +lost, or the user who checked a document out has not checked it back in, | |
| 4 | +it may be necessary to override the "checked-out" status of a document. | |
| 5 | +Use the <strong>force checkin</strong> action in the listing below to | |
| 6 | +override the checked-out status.{/i18n}</p> | |
| 6 | 7 | <!-- FIXME set classes here for listing. --> |
| 7 | 8 | {if (count($documents) !== 0)} |
| 8 | 9 | <table class="listing" cellspacing="5px"> |
| 9 | 10 | <thead> |
| 10 | 11 | <tr> |
| 11 | - <th>Document</th> | |
| 12 | - <th>Location</th> | |
| 12 | + <th>{i18n}Document{/i18n}</th> | |
| 13 | + <th>{i18n}Location{/i18n}</th> | |
| 13 | 14 | <th> </th> |
| 14 | 15 | </tr> |
| 15 | 16 | </thead> |
| ... | ... | @@ -19,7 +20,7 @@ action in the listing below to override the checked-out status.</p> |
| 19 | 20 | <tr class="{cycle values=even,odd}"> |
| 20 | 21 | <td>{$oDocument->getName()}</td> |
| 21 | 22 | <td class="descriptiveText">{$oDocument->getDisplayPath()}</td> |
| 22 | - <td><a href="?action=confirm&fDocumentId={$oDocument->getId()}">force checkin</a></td> | |
| 23 | + <td><a href="?action=confirm&fDocumentId={$oDocument->getId()}">{i18n}force checkin{/i18n}</a></td> | |
| 23 | 24 | </tr> |
| 24 | 25 | {/foreach} |
| 25 | 26 | </tbody> |
| ... | ... | @@ -27,6 +28,6 @@ action in the listing below to override the checked-out status.</p> |
| 27 | 28 | </table> |
| 28 | 29 | {else} |
| 29 | 30 | <div class="ktInfo"> |
| 30 | - <p>No documents are currently checked out.</p> | |
| 31 | + <p>{i18n}No documents are currently checked out.{/i18n}</p> | |
| 31 | 32 | </div> |
| 32 | 33 | {/if} | ... | ... |
templates/ktcore/document/admin/dearchiveconfirmlist.smarty
| 1 | -<h2>Confirm De-archival</h2> | |
| 1 | +<h2>{i18n}Confirm De-archival{/i18n}</h2> | |
| 2 | 2 | |
| 3 | -<div class="ktInfo"><p><strong>Note</strong> please confirm that you want to restore these documents from an archived state.</p></div> | |
| 3 | +<div class="ktInfo"><p><strong>{i18n}Note{/i18n}:</strong> {i18n}please | |
| 4 | +confirm that you want to restore these documents from an archived | |
| 5 | +state.{/i18n}</p></div> | |
| 4 | 6 | |
| 5 | 7 | {if (!empty($documents))} |
| 6 | 8 | |
| ... | ... | @@ -11,9 +13,8 @@ |
| 11 | 13 | <table class="listing"> |
| 12 | 14 | <thead> |
| 13 | 15 | <tr> |
| 14 | - | |
| 15 | - <th>Document Name</th> | |
| 16 | - <th>Location</th> | |
| 16 | + <th>{i18n}Document Name{/i18n}</th> | |
| 17 | + <th>{i18n}Location{/i18n}</th> | |
| 17 | 18 | </tr> |
| 18 | 19 | </thead> |
| 19 | 20 | <tbody> |
| ... | ... | @@ -26,10 +27,10 @@ |
| 26 | 27 | </tbody> |
| 27 | 28 | </table> |
| 28 | 29 | <div class="form_actions"> |
| 29 | - <input type="submit" value="Confirm De-archival" /> | |
| 30 | + <input type="submit" value="{i18n}Confirm De-archival{/i18n}" /> | |
| 30 | 31 | </div> |
| 31 | 32 | </form> |
| 32 | 33 | |
| 33 | 34 | {else} |
| 34 | -<div class="ktInfo"><p>No documents were selected.</p></div> | |
| 35 | -{/if} | |
| 36 | 35 | \ No newline at end of file |
| 36 | +<div class="ktInfo"><p>{i18n}No documents were selected.{/i18n}</p></div> | |
| 37 | +{/if} | ... | ... |
templates/ktcore/document/admin/deletedlist.smarty
| 1 | -<h2>Deleted Documents</h2> | |
| 1 | +<h2>{i18n}Deleted Documents{/i18n}</h2> | |
| 2 | 2 | |
| 3 | -<p class="descriptiveText">Documents which are deleted by users are hidden from view, | |
| 3 | +<p class="descriptiveText">{i18n}Documents which are deleted by users are hidden from view, | |
| 4 | 4 | but still available for restoration. Since this consumes system resources, it |
| 5 | 5 | is possible to <strong>expunge</strong> these documents. Alternatively, you |
| 6 | -can <strong>restore</strong> them as necessary.</p> | |
| 6 | +can <strong>restore</strong> them as necessary.{/i18n}</p> | |
| 7 | 7 | |
| 8 | 8 | <p class="descriptiveText"><strong>FIXME</strong> its probably very useful to add |
| 9 | 9 | more information about the documents below - e.g. when was it deleted (last modified?)</p> |
| ... | ... | @@ -20,8 +20,8 @@ more information about the documents below - e.g. when was it deleted (last modi |
| 20 | 20 | <thead> |
| 21 | 21 | <tr> |
| 22 | 22 | <th> </th> |
| 23 | - <th>Document Name</th> | |
| 24 | - <th>Location</th> | |
| 23 | + <th>{i18n}Document Name{/i18n}</th> | |
| 24 | + <th>{i18n}Location{/i18n}</th> | |
| 25 | 25 | </tr> |
| 26 | 26 | </thead> |
| 27 | 27 | <tbody> |
| ... | ... | @@ -35,11 +35,11 @@ more information about the documents below - e.g. when was it deleted (last modi |
| 35 | 35 | </tbody> |
| 36 | 36 | </table> |
| 37 | 37 | <div class="form_actions"> |
| 38 | - <input type="submit" value="Expunge" /> | |
| 38 | + <input type="submit" value="{i18n}Expunge{/i18n}" /> | |
| 39 | 39 | <!-- <input type="submit" value="Restore" /> --> <!-- how do we want to handle restore in this? major UI issue :( --> |
| 40 | 40 | </div> |
| 41 | 41 | </form> |
| 42 | 42 | |
| 43 | 43 | {else} |
| 44 | -<div class="ktInfo"><p>No documents are marked as deleted.</p></div> | |
| 45 | -{/if} | |
| 46 | 44 | \ No newline at end of file |
| 45 | +<div class="ktInfo"><p>{i18n}No documents are marked as deleted.{/i18n}</p></div> | |
| 46 | +{/if} | ... | ... |
templates/ktcore/document/admin/expungeconfirmlist.smarty
| 1 | 1 | <h2>Confirm Expunge</h2> |
| 2 | 2 | |
| 3 | -<div class="ktInfo"><p><strong>Note</strong> please confirm that you want to delete these documents.</p></div> | |
| 3 | +<div class="ktInfo"><p><strong>{i18n}Note{/i18n}:</strong> {i18n}please | |
| 4 | +confirm that you want to delete these documents.{/i18n}</p></div> | |
| 4 | 5 | |
| 5 | 6 | {if (!empty($documents))} |
| 6 | 7 | |
| ... | ... | @@ -12,8 +13,8 @@ |
| 12 | 13 | <thead> |
| 13 | 14 | <tr> |
| 14 | 15 | |
| 15 | - <th>Document Name</th> | |
| 16 | - <th>Location</th> | |
| 16 | + <th>{i18n}Document Name{/i18n}</th> | |
| 17 | + <th>{i18n}Location{/i18n}</th> | |
| 17 | 18 | </tr> |
| 18 | 19 | </thead> |
| 19 | 20 | <tbody> |
| ... | ... | @@ -26,11 +27,11 @@ |
| 26 | 27 | </tbody> |
| 27 | 28 | </table> |
| 28 | 29 | <div class="form_actions"> |
| 29 | - <input type="submit" value="Confirm Expunge" /> | |
| 30 | + <input type="submit" value="{i18n}Confirm Expunge{/i18n}" /> | |
| 30 | 31 | <!-- <input type="submit" value="Restore" /> --> <!-- how do we want to handle restore in this? major UI issue :( --> |
| 31 | 32 | </div> |
| 32 | 33 | </form> |
| 33 | 34 | |
| 34 | 35 | {else} |
| 35 | -<div class="ktInfo"><p>No documents were selected.</p></div> | |
| 36 | -{/if} | |
| 37 | 36 | \ No newline at end of file |
| 37 | +<div class="ktInfo"><p>{i18n}No documents were selected.{/i18n}</p></div> | |
| 38 | +{/if} | ... | ... |
templates/ktcore/document/admin/force_checkin_confirm.smarty
| 1 | -<h2>Confirm Forced Check-in</h2> | |
| 2 | -<p class="descriptiveText">Please confirm that this is the document that you wish to checkin.</p> | |
| 1 | +<h2>{i18n}Confirm Forced Check-in{/i18n}</h2> | |
| 2 | +<p class="descriptiveText">{i18n}Please confirm that this is the document that you wish to checkin.{/i18n}</p> | |
| 3 | 3 | |
| 4 | 4 | <div class="document_details"> |
| 5 | 5 | <h3>Document Details</h3> |
| 6 | 6 | <dl class="metadata"> |
| 7 | - <dt>Document Name</dt> | |
| 7 | + <dt>{i18n}Document Name{/i18n}</dt> | |
| 8 | 8 | <dd>{$document->getName()}</dd> |
| 9 | 9 | |
| 10 | - <dt>Location</dt> | |
| 10 | + <dt>{i18n}Location{/i18n}</dt> | |
| 11 | 11 | <dd>{$document->getDisplayPath()}</dd> |
| 12 | 12 | |
| 13 | - <dt>Checked out by</dt> | |
| 13 | + <dt>{i18n}Checked out by{/i18n}</dt> | |
| 14 | 14 | {if ($checkout_user !== null)} |
| 15 | 15 | <dd> |
| 16 | 16 | {$checkout_user->getName()} |
| 17 | 17 | </dd> |
| 18 | 18 | {else} |
| 19 | 19 | <dd class="ktError"> |
| 20 | - The user who checked this document out is no longer valid. | |
| 20 | + {i18n}The user who checked this document out is no longer valid.{/i18n} | |
| 21 | 21 | </dd> |
| 22 | 22 | {/if} |
| 23 | 23 | </dd> |
| ... | ... | @@ -28,8 +28,8 @@ |
| 28 | 28 | <input type="hidden" name="action" value="checkin"> |
| 29 | 29 | <input type="hidden" name="fDocumentId" value="{$document->getId()}"> |
| 30 | 30 | <div class="form_actions"> |
| 31 | - <input type="submit" value="Force Checkin" /> | |
| 31 | + <input type="submit" value="{i18n}Force Checkin{/i18n}" /> | |
| 32 | 32 | <!-- FIXME separate this even further. --> |
| 33 | - <p><a href="?action=main">Cancel</a></p> | |
| 33 | + <p><a href="?action=main">{i18n}Cancel{/i18n}</a></p> | |
| 34 | 34 | </div> |
| 35 | -</form> | |
| 36 | 35 | \ No newline at end of file |
| 36 | +</form> | ... | ... |
templates/ktcore/document/admin/linktypesadmin.smarty
| 1 | -<h2>Document Link Type Management</h2> | |
| 1 | +<h2>{i18n}Document Link Type Management{/i18n}</h2> | |
| 2 | 2 | |
| 3 | 3 | <p class="descriptiveText">Within the <strong>KnowledgeTree</strong> it is possible for users |
| 4 | 4 | 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 |
| 8 | 8 | |
| 9 | 9 | <form action="{$smarty.server.PHP_SELF}" method="POST"> |
| 10 | 10 | <fieldset> |
| 11 | -<legend>Add a link type</legend> | |
| 12 | -<p class="descriptiveText">Specify the details for a new link type below.</p> | |
| 11 | +<legend>{i18n}Add a link type{/i18n}</legend> | |
| 12 | +<p class="descriptiveText">{i18n}Specify the details for a new link type | |
| 13 | +below.{/i18n}</p> | |
| 13 | 14 | |
| 14 | 15 | {foreach item=oWidget from=$add_form} |
| 15 | 16 | {$oWidget->render()} |
| ... | ... | @@ -17,7 +18,7 @@ to create links between related documents. Each of these links has a certain ty |
| 17 | 18 | |
| 18 | 19 | <div class="form_actions"> |
| 19 | 20 | <input type="hidden" name="action" value="add" /> |
| 20 | - <input type="submit" value="Add Link Type" /> | |
| 21 | + <input type="submit" value="{i18n}Add Link Type{/i18n}" /> | |
| 21 | 22 | </div> |
| 22 | 23 | </fieldset> |
| 23 | 24 | </form> |
| ... | ... | @@ -28,8 +29,8 @@ to create links between related documents. Each of these links has a certain ty |
| 28 | 29 | |
| 29 | 30 | <form action="{$smarty.server.PHP_SELF}" method="POST"> |
| 30 | 31 | <fieldset> |
| 31 | -<legend>Edit a link type</legend> | |
| 32 | -<p class="descriptiveText">Specify the details for the link type below.</p> | |
| 32 | +<legend>{i18n}Edit a link type{/i18n}</legend> | |
| 33 | +<p class="descriptiveText">{i18n}Specify the details for the link type below.{/i18n}</p> | |
| 33 | 34 | <input type="hidden" name="fLinkTypeId" value="{$old_link->iId}" /> |
| 34 | 35 | {foreach item=oWidget from=$edit_form} |
| 35 | 36 | {$oWidget->render()} |
| ... | ... | @@ -37,7 +38,7 @@ to create links between related documents. Each of these links has a certain ty |
| 37 | 38 | |
| 38 | 39 | <div class="form_actions"> |
| 39 | 40 | <input type="hidden" name="action" value="update" /> |
| 40 | - <input type="submit" value="Change Link Type" /> | |
| 41 | + <input type="submit" value="{i18n}Change Link Type{/i18n}" /> | |
| 41 | 42 | </div> |
| 42 | 43 | </fieldset> |
| 43 | 44 | </form> |
| ... | ... | @@ -48,10 +49,12 @@ to create links between related documents. Each of these links has a certain ty |
| 48 | 49 | |
| 49 | 50 | <form action="{$smarty.server.PHP_SELF}" method="POST"> |
| 50 | 51 | <fieldset> |
| 51 | -<legend>Manage Existing Link Types</legend> | |
| 52 | -<p class="descriptiveText">From this panel you can edit or delete existing link types. | |
| 53 | -<strong>Note:</strong> deleting a link type will delete <strong>all</strong> | |
| 54 | -links of that type within the system.</p> | |
| 52 | +<legend>{i18n}Manage Existing Link Types{/i18n}</legend> | |
| 53 | +<p class="descriptiveText">{i18n}From this panel you can edit or delete | |
| 54 | +existing link types.{/i18n}</p> | |
| 55 | + | |
| 56 | +<p><strong>{i18n}Note{/i18n}:</strong> {i18n}deleting a link type will delete <strong>all</strong> | |
| 57 | +links of that type within the system.{/i18n}</p> | |
| 55 | 58 | |
| 56 | 59 | <input type="hidden" name="action" value="delete" /> |
| 57 | 60 | |
| ... | ... | @@ -59,9 +62,9 @@ links of that type within the system.</p> |
| 59 | 62 | <table class="listing"> |
| 60 | 63 | <thead> |
| 61 | 64 | <tr> |
| 62 | - <th colspan="2">Name</th> | |
| 63 | - <th>Description</th> | |
| 64 | - <th>Edit</th> | |
| 65 | + <th colspan="2">{i18n}Name{/i18n}</th> | |
| 66 | + <th>{i18n}Description{/i18n}</th> | |
| 67 | + <th>{i18n}Edit{/i18n}</th> | |
| 65 | 68 | </tr> |
| 66 | 69 | </thead> |
| 67 | 70 | |
| ... | ... | @@ -73,20 +76,20 @@ links of that type within the system.</p> |
| 73 | 76 | </td> |
| 74 | 77 | <td>{$oLinkType->getName()}</td> |
| 75 | 78 | <td class="descriptiveText">{$oLinkType->getDescription()}</td> |
| 76 | - <td><a href="{$smarty.server.PHP_SELF}?action=edit&fLinkTypeId={$oLinkType->iId}">edit link type</a></td> | |
| 79 | + <td><a href="{$smarty.server.PHP_SELF}?action=edit&fLinkTypeId={$oLinkType->iId}">{i18n}edit link type{/i18n}</a></td> | |
| 77 | 80 | </tr> |
| 78 | 81 | {/foreach} |
| 79 | 82 | </tbody> |
| 80 | 83 | </table> |
| 81 | 84 | |
| 82 | 85 | <div class="form_actions"> |
| 83 | - <input type="submit" value="Remove Link Type(s) " /> | |
| 86 | + <input type="submit" value="{i18n}Remove Link Type(s){/i18n}" /> | |
| 84 | 87 | </div> |
| 85 | 88 | {else} |
| 86 | 89 | |
| 87 | -<p><strong>No link administrator changeable link types available.</strong> | |
| 90 | +<p><strong>{i18n}No link administrator changeable link types available.{/i18n}</strong> | |
| 88 | 91 | |
| 89 | 92 | {/if} |
| 90 | 93 | |
| 91 | 94 | </fieldset> |
| 92 | -</form> | |
| 93 | 95 | \ No newline at end of file |
| 96 | +</form> | ... | ... |
templates/ktcore/document/cleanup.smarty
| 1 | 1 | {if $aFoldersToRemove} |
| 2 | -<p>Would remove these folders (and all their contents):</p> | |
| 2 | +<p>{i18n}Would remove these folders (and all their contents){/i18n}:</p> | |
| 3 | 3 | <ul> |
| 4 | 4 | {foreach from=$aFoldersToRemove item=sFolder} |
| 5 | 5 | <li>{$sFolder|escape}</li> |
| ... | ... | @@ -8,7 +8,7 @@ |
| 8 | 8 | {/if} |
| 9 | 9 | |
| 10 | 10 | {if $aFilesToRemove} |
| 11 | -<p>Would remove these files:</p> | |
| 11 | +<p>{i18n}Would remove these files{/i18n}:</p> | |
| 12 | 12 | <ul> |
| 13 | 13 | {foreach from=$aFilesToRemove item=sFile} |
| 14 | 14 | <li>{$sFile|escape}</li> |
| ... | ... | @@ -17,7 +17,7 @@ |
| 17 | 17 | {/if} |
| 18 | 18 | |
| 19 | 19 | {if $aRepoFolderProblems} |
| 20 | -<p>These folders are not on the filesystem</p> | |
| 20 | +<p>{i18n}These folders are not on the filesystem{/i18n}</p> | |
| 21 | 21 | <ul> |
| 22 | 22 | {foreach from=$aRepoFolderProblems item=sFolder} |
| 23 | 23 | <li>{$sFolder|escape}</li> |
| ... | ... | @@ -26,7 +26,7 @@ |
| 26 | 26 | {/if} |
| 27 | 27 | |
| 28 | 28 | {if $aRepoDocumentProblems} |
| 29 | -<p>These documents are not on the filesystem</p> | |
| 29 | +<p>{i18n}These documents are not on the filesystem{/i18n}</p> | |
| 30 | 30 | <ul> |
| 31 | 31 | {foreach from=$aRepoDocumentProblems item=sDocument} |
| 32 | 32 | <li>{$sDocument|escape}</li> |
| ... | ... | @@ -35,7 +35,7 @@ |
| 35 | 35 | {/if} |
| 36 | 36 | |
| 37 | 37 | {if $aRepoVersionProblems} |
| 38 | -<p>These documents have versions not on the filesystem</p> | |
| 38 | +<p>{i18n}These documents have versions not on the filesystem{/i18n}</p> | |
| 39 | 39 | <ul> |
| 40 | 40 | {foreach from=$aRepoVersionProblems item=aSomething} |
| 41 | 41 | <li>{$aSomething[0]|escape} - version {$aSomething[1]|escape}</li> | ... | ... |
templates/ktcore/document/document_permissions.smarty
| ... | ... | @@ -23,15 +23,15 @@ td.false { background-color: #ffaaaa; text-align: centre } |
| 23 | 23 | {$context->oPage->requireJSResource('thirdpartyjs/MochiKit/Iter.js')} |
| 24 | 24 | {$context->oPage->requireJSResource('thirdpartyjs/MochiKit/DOM.js')} |
| 25 | 25 | |
| 26 | -<h2>Document permissions</h2> | |
| 26 | +<h2>{i18n}Document permissions{/i18n}</h2> | |
| 27 | 27 | |
| 28 | 28 | { if $edit } |
| 29 | 29 | <div style="text-align: right"> |
| 30 | 30 | <span class="tablebutton activebutton"> |
| 31 | -<a href="javascript:MochiKit.DOM.showElement('view'); MochiKit.DOM.hideElement('edit');">View</a> | |
| 31 | +<a href="javascript:MochiKit.DOM.showElement('view'); MochiKit.DOM.hideElement('edit');">{i18n}View{/i18n}</a> | |
| 32 | 32 | </span> |
| 33 | 33 | <span class="tablebutton inactivebutton"> |
| 34 | -<a href="javascript:MochiKit.DOM.showElement('edit'); MochiKit.DOM.hideElement('view');">Edit</a> | |
| 34 | +<a href="javascript:MochiKit.DOM.showElement('edit'); MochiKit.DOM.hideElement('view');">{i18n}Edit{/i18n}</a> | |
| 35 | 35 | </span> |
| 36 | 36 | </div> |
| 37 | 37 | { /if } |
| ... | ... | @@ -53,9 +53,9 @@ td.false { background-color: #ffaaaa; text-align: centre } |
| 53 | 53 | { assign var=iPermID value=$oPerm->getID() } |
| 54 | 54 | { assign var=bHasPerm value=$aMapPermissionGroup[$iPermID][$iGroupID] } |
| 55 | 55 | { if $bHasPerm } |
| 56 | -<td class="true">True</td> | |
| 56 | +<td class="true">{i18n}True{/i18n}</td> | |
| 57 | 57 | { else } |
| 58 | -<td class="false">False</td> | |
| 58 | +<td class="false">{i18n}False{/i18n}</td> | |
| 59 | 59 | { /if } |
| 60 | 60 | { /foreach } |
| 61 | 61 | </tr> |
| ... | ... | @@ -67,14 +67,14 @@ td.false { background-color: #ffaaaa; text-align: centre } |
| 67 | 67 | <span style="border: 1px solid #cccccc; background-color: #ffeeee; |
| 68 | 68 | padding: 2px; padding-right: 1em; padding-left: 1em"> |
| 69 | 69 | { if $inherited } |
| 70 | -Inherited from {$inherited} | |
| 70 | +{i18n}Inherited from{/i18n}: {$inherited} | |
| 71 | 71 | {* [<a |
| 72 | -href="{$smarty.server.PHP_SELF}?action=copyPermissions&fDocumentID={$iDocumentID}">Copy</a>] | |
| 72 | +href="{$smarty.server.PHP_SELF}?action=copyPermissions&fDocumentID={$iDocumentID}">{i18n}Copy{/i18n}</a>] | |
| 73 | 73 | *} |
| 74 | 74 | { else } |
| 75 | 75 | [<a |
| 76 | -href="{$smarty.server.PHP_SELF}?action=inheritPermissions&fDocumentID={$iDocumentID}">Use | |
| 77 | -parent's permissions</a>] | |
| 76 | +href="{$smarty.server.PHP_SELF}?action=inheritPermissions&fDocumentID={$iDocumentID}">{i18n}Use | |
| 77 | +parent's permissions{/i18n}</a>] | |
| 78 | 78 | { /if } |
| 79 | 79 | </span> |
| 80 | 80 | </div> |
| ... | ... | @@ -114,18 +114,18 @@ value="{$iGroupID}"></td> |
| 114 | 114 | </tbody> |
| 115 | 115 | </table> |
| 116 | 116 | |
| 117 | -<input type="submit" name="submit" value="Update"> | |
| 117 | +<input type="submit" name="submit" value="{i18n}Update{/i18n}"> | |
| 118 | 118 | </form> |
| 119 | 119 | </div> |
| 120 | 120 | { /if } |
| 121 | 121 | |
| 122 | -<h2>User permissions</h2> | |
| 122 | +<h2>{i18n}User permissions{/i18n}</h2> | |
| 123 | 123 | |
| 124 | 124 | <div> |
| 125 | 125 | <table class="pretty" cellspacing="0" cellpadding="0" border="0" width="100%"> |
| 126 | 126 | <thead> |
| 127 | 127 | <tr> |
| 128 | -<th>User</th> | |
| 128 | +<th>{i18n}User{/i18n}</th> | |
| 129 | 129 | { foreach item=oPerm from=$permissions } |
| 130 | 130 | <th title="{$oPerm->sName}">{$oPerm->sHumanName}</th> |
| 131 | 131 | { /foreach } |
| ... | ... | @@ -139,9 +139,9 @@ value="{$iGroupID}"></td> |
| 139 | 139 | { assign var=iPermID value=$oPerm->getID() } |
| 140 | 140 | { assign var=bHasPerm value=$aMapPermissionUser[$iPermID][$iUserID] } |
| 141 | 141 | { if $bHasPerm } |
| 142 | -<td class="true">True</td> | |
| 142 | +<td class="true">{i18n}True{/i18n}</td> | |
| 143 | 143 | { else } |
| 144 | -<td class="false">False</td> | |
| 144 | +<td class="false">{i18n}False{/i18n}</td> | |
| 145 | 145 | { /if } |
| 146 | 146 | { /foreach } |
| 147 | 147 | </tr> | ... | ... |
templates/ktcore/folder/bulkImport.smarty
| ... | ... | @@ -45,12 +45,12 @@ addLoadEvent(startupMetadata); |
| 45 | 45 | {$context->oPage->requireJSStandalone($sJavascript)} |
| 46 | 46 | |
| 47 | 47 | <form method="POST" action="{$smarty.server.PHP_SELF}" enctype="multipart/form-data"> |
| 48 | -<fieldset><legend>Bulk import</legend> | |
| 49 | -<p class="descriptiveText">The bulk import facility allows for a number | |
| 48 | +<fieldset><legend>{i18n}Bulk import{/i18n}</legend> | |
| 49 | +<p class="descriptiveText">{i18n}The bulk import facility allows for a number | |
| 50 | 50 | of documents to be added to the document management system easily. |
| 51 | 51 | Provide a path on the <strong>server</strong>, and all documents and |
| 52 | 52 | folders within that path will be added to the document management |
| 53 | -system.</p> | |
| 53 | +system.{/i18n}</p> | |
| 54 | 54 | |
| 55 | 55 | <input type="hidden" name="action" value="import"> |
| 56 | 56 | <input type="hidden" name="fFolderId" value="{$context->oFolder->getId()}"> |
| ... | ... | @@ -70,6 +70,6 @@ system.</p> |
| 70 | 70 | </div> |
| 71 | 71 | |
| 72 | 72 | <div class="form_actions"> |
| 73 | - <input type="submit" name="submit" value="Import"> | |
| 73 | + <input type="submit" name="submit" value="{i18n}Import{/i18n}"> | |
| 74 | 74 | </div> |
| 75 | 75 | </form> | ... | ... |
templates/ktcore/folder/bulkUpload.smarty
| ... | ... | @@ -45,12 +45,12 @@ addLoadEvent(startupMetadata); |
| 45 | 45 | {$context->oPage->requireJSStandalone($sJavascript)} |
| 46 | 46 | |
| 47 | 47 | <form method="POST" action="{$smarty.server.PHP_SELF}" enctype="multipart/form-data"> |
| 48 | -<fieldset><legend>Bulk import</legend> | |
| 49 | -<p class="descriptiveText">The bulk upload facility allows for a number | |
| 48 | +<fieldset><legend>{i18n}Bulk import{/i18n}</legend> | |
| 49 | +<p class="descriptiveText">{i18n}The bulk upload facility allows for a number | |
| 50 | 50 | of documents to be added to the document management system. |
| 51 | 51 | Provide an archive (ZIP) file from your local computer, and all |
| 52 | 52 | documents and folders within that archive will be added to the document |
| 53 | -management system.</p> | |
| 53 | +management system.{/i18n}</p> | |
| 54 | 54 | |
| 55 | 55 | <input type="hidden" name="action" value="upload" /> |
| 56 | 56 | <input type="hidden" name="fFolderId" value="{$context->oFolder->getId()}" /> |
| ... | ... | @@ -70,6 +70,6 @@ management system.</p> |
| 70 | 70 | </div> |
| 71 | 71 | |
| 72 | 72 | <div class="form_actions"> |
| 73 | - <input type="submit" name="submit" value="Upload" /> | |
| 73 | + <input type="submit" name="submit" value="{i18n}Upload{/i18n}" /> | |
| 74 | 74 | </div> |
| 75 | 75 | </form> | ... | ... |
templates/ktcore/folder/permissions.smarty
| ... | ... | @@ -23,15 +23,17 @@ td.false { background-color: #ffaaaa; text-align: centre } |
| 23 | 23 | {$context->oPage->requireJSResource('thirdpartyjs/MochiKit/Iter.js')} |
| 24 | 24 | {$context->oPage->requireJSResource('thirdpartyjs/MochiKit/DOM.js')} |
| 25 | 25 | |
| 26 | -<h2>Folder permissions</h2> | |
| 26 | +<h2>{i18n}Folder permissions{/i18n}</h2> | |
| 27 | 27 | |
| 28 | 28 | { if $edit } |
| 29 | 29 | <div style="text-align: right"> |
| 30 | 30 | <span class="tablebutton activebutton"> |
| 31 | -<a href="javascript:MochiKit.DOM.showElement('view'); MochiKit.DOM.hideElement('edit');">View</a> | |
| 31 | +<a href="javascript:MochiKit.DOM.showElement('view'); | |
| 32 | +MochiKit.DOM.hideElement('edit');">{i18n}View{/i18n}</a> | |
| 32 | 33 | </span> |
| 33 | 34 | <span class="tablebutton inactivebutton"> |
| 34 | -<a href="javascript:MochiKit.DOM.showElement('edit'); MochiKit.DOM.hideElement('view');">Edit</a> | |
| 35 | +<a href="javascript:MochiKit.DOM.showElement('edit'); | |
| 36 | +MochiKit.DOM.hideElement('view');">{i18n}Edit{/i18n}</a> | |
| 35 | 37 | </span> |
| 36 | 38 | </div> |
| 37 | 39 | { /if } |
| ... | ... | @@ -67,13 +69,13 @@ td.false { background-color: #ffaaaa; text-align: centre } |
| 67 | 69 | <span style="border: 1px solid #cccccc; background-color: #ffeeee; |
| 68 | 70 | padding: 2px; padding-right: 1em; padding-left: 1em"> |
| 69 | 71 | { if $inherited } |
| 70 | -Inherited from {$inherited} | |
| 72 | +{i18n}Inherited from:{/i18n} {$inherited} | |
| 71 | 73 | [<a |
| 72 | -href="{$smarty.server.PHP_SELF}?action=copyPermissions&fFolderId={$iFolderId}">Copy</a>] | |
| 74 | +href="{$smarty.server.PHP_SELF}?action=copyPermissions&fFolderId={$iFolderId}">{i18n}Copy{/i18n}</a>] | |
| 73 | 75 | { else } |
| 74 | 76 | [<a |
| 75 | -href="{$smarty.server.PHP_SELF}?action=inheritPermissions&fFolderId={$iFolderId}">Use | |
| 76 | -parent's permissions</a>] | |
| 77 | +href="{$smarty.server.PHP_SELF}?action=inheritPermissions&fFolderId={$iFolderId}">{i18n}Use | |
| 78 | +parent's permissions{/i18n}</a>] | |
| 77 | 79 | { /if } |
| 78 | 80 | </span> |
| 79 | 81 | </div> |
| ... | ... | @@ -113,7 +115,7 @@ value="{$iGroupId}"></td> |
| 113 | 115 | </tbody> |
| 114 | 116 | </table> |
| 115 | 117 | |
| 116 | -<input type="submit" name="submit" value="Update"> | |
| 118 | +<input type="submit" name="submit" value="{i18n}Update{/i18n}"> | |
| 117 | 119 | </form> |
| 118 | 120 | </div> |
| 119 | 121 | { /if } |
| ... | ... | @@ -124,8 +126,8 @@ value="{$iGroupId}"></td> |
| 124 | 126 | <table class="pretty" cellpadding="0" cellspacing="0"> |
| 125 | 127 | <thead> |
| 126 | 128 | <tr> |
| 127 | - <th>Group</th> | |
| 128 | - <th>Condition</th> | |
| 129 | + <th>{i18n}Group{/i18n}</th> | |
| 130 | + <th>{i18n}Condition{/i18n}</th> | |
| 129 | 131 | {foreach from=$permissions item=oPerm} |
| 130 | 132 | <th title="{$oPerm->sName}">{$oPerm->sHumanName}</th> |
| 131 | 133 | {/foreach} |
| ... | ... | @@ -144,9 +146,9 @@ $this->assign("aPermissions", $this->_tpl_vars['oDynamicCondition']->getAssignme |
| 144 | 146 | {foreach from=$permissions item=oPerm} |
| 145 | 147 | {assign var=bHasPerm value=$oPerm->getId()|in_array:$aPermissions} |
| 146 | 148 | { if $bHasPerm } |
| 147 | - <td class="true">True</td> | |
| 149 | + <td class="true">{i18n}True{/i18n}</td> | |
| 148 | 150 | { else } |
| 149 | - <td class="false">False</td> | |
| 151 | + <td class="false">{i18n}False{/i18n}</td> | |
| 150 | 152 | { /if } |
| 151 | 153 | {/foreach} |
| 152 | 154 | </tr> |
| ... | ... | @@ -156,15 +158,15 @@ $this->assign("aPermissions", $this->_tpl_vars['oDynamicCondition']->getAssignme |
| 156 | 158 | { /if } |
| 157 | 159 | |
| 158 | 160 | { if $edit } |
| 159 | -<h3>Add a new dynamic permission</h3> | |
| 161 | +<h3>{i18n}Add a new dynamic permission{/i18n}</h3> | |
| 160 | 162 | <form> |
| 161 | 163 | <table class="pretty" cellpadding="0" cellspacing="0"> |
| 162 | 164 | <input type="hidden" name="action" value="newDynamicPermission" /> |
| 163 | 165 | <input type="hidden" name="fFolderId" value="{$iFolderId}" /> |
| 164 | 166 | <thead> |
| 165 | 167 | <tr> |
| 166 | - <th>Group</th> | |
| 167 | - <th>Condition</th> | |
| 168 | + <th>{i18n}Group{/i18n}</th> | |
| 169 | + <th>{i18n}Condition{/i18n}</th> | |
| 168 | 170 | {foreach from=$permissions item=oPerm} |
| 169 | 171 | <th title="{$oPerm->sName}">{$oPerm->sHumanName}</th> |
| 170 | 172 | {/foreach} |
| ... | ... | @@ -181,7 +183,7 @@ $this->assign("aPermissions", $this->_tpl_vars['oDynamicCondition']->getAssignme |
| 181 | 183 | </tr> |
| 182 | 184 | </tbody> |
| 183 | 185 | </table> |
| 184 | -<input type="submit" name="submit" value="Add" /> | |
| 186 | +<input type="submit" name="submit" value="{i18n}Add{/i18n}" /> | |
| 185 | 187 | </form> |
| 186 | 188 | { /if } |
| 187 | 189 | |
| ... | ... | @@ -191,7 +193,7 @@ $this->assign("aPermissions", $this->_tpl_vars['oDynamicCondition']->getAssignme |
| 191 | 193 | <table class="pretty" cellspacing="0" cellpadding="0" border="0" width="100%"> |
| 192 | 194 | <thead> |
| 193 | 195 | <tr> |
| 194 | -<th>User</th> | |
| 196 | +<th>{i18n}User{/i18n}</th> | |
| 195 | 197 | { foreach item=oPerm from=$permissions } |
| 196 | 198 | <th title="{$oPerm->sName}">{$oPerm->sHumanName}</th> |
| 197 | 199 | { /foreach } |
| ... | ... | @@ -205,9 +207,9 @@ $this->assign("aPermissions", $this->_tpl_vars['oDynamicCondition']->getAssignme |
| 205 | 207 | { assign var=iPermId value=$oPerm->getId() } |
| 206 | 208 | { assign var=bHasPerm value=$aMapPermissionUser[$iPermId][$iUserId] } |
| 207 | 209 | { if $bHasPerm } |
| 208 | -<td class="true">True</td> | |
| 210 | +<td class="true">{i18n}True{/i18n}</td> | |
| 209 | 211 | { else } |
| 210 | -<td class="false">False</td> | |
| 212 | +<td class="false">{i18n}False{/i18n}</td> | |
| 211 | 213 | { /if } |
| 212 | 214 | { /foreach } |
| 213 | 215 | </tr> | ... | ... |
templates/ktcore/manage_permissions.smarty
| 1 | -<h2>Existing permissions</h2> | |
| 1 | +<h2>{i18n}Existing permissions{/i18n}</h2> | |
| 2 | 2 | |
| 3 | 3 | <p class="descriptiveText"><strong>FIXME</strong> add a useful explanation about permissions.</p> |
| 4 | 4 | |
| 5 | 5 | <form> |
| 6 | 6 | <fieldset> |
| 7 | -<legend>Create a new permission</legend> | |
| 7 | +<legend>{i18n}Create a new permission{/i18n}</legend> | |
| 8 | 8 | <input type="hidden" name="action" value="newPermission"> |
| 9 | 9 | |
| 10 | 10 | |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | {/foreach} |
| 15 | 15 | |
| 16 | 16 | <div class="form_actions"> |
| 17 | -<input type="submit" name="submit" value="Create"> | |
| 17 | +<input type="submit" name="submit" value="{i18n}Create{/i18n}"> | |
| 18 | 18 | </div> |
| 19 | 19 | </fieldset> |
| 20 | 20 | |
| ... | ... | @@ -24,9 +24,9 @@ |
| 24 | 24 | <table class="listing"> |
| 25 | 25 | <thead> |
| 26 | 26 | <tr> |
| 27 | - <th>Permission</th> | |
| 28 | - <th>Human Name</th> | |
| 29 | - <th>Delete</th> | |
| 27 | + <th>{i18n}Permission{/i18n}</th> | |
| 28 | + <th>{i18n}Display Name{/i18n}</th> | |
| 29 | + <th>{i18n}Delete{/i18n}</th> | |
| 30 | 30 | </tr> |
| 31 | 31 | </thead> |
| 32 | 32 | { foreach item=oPerm from=$permissions } |
| ... | ... | @@ -39,14 +39,16 @@ |
| 39 | 39 | </td> |
| 40 | 40 | { if $oPerm->bBuiltIn == true } |
| 41 | 41 | <td> |
| 42 | - Built-in | |
| 42 | + {i18n}Built-in{/i18n} | |
| 43 | 43 | </td> |
| 44 | 44 | { else } |
| 45 | 45 | <!-- <td> |
| 46 | 46 | Edit |
| 47 | 47 | </td> --> |
| 48 | 48 | <td> |
| 49 | - <a href="{$smarty.server.PHP_SELF}?action=deletePermission&id={$oPerm->getId()}" class="ktAction ktDelete">Delete Permission</a> | |
| 49 | + <a | |
| 50 | +href="{$smarty.server.PHP_SELF}?action=deletePermission&id={$oPerm->getId()}" | |
| 51 | +class="ktAction ktDelete">{$i18n}Delete Permission{/i18n}</a> | |
| 50 | 52 | </td> |
| 51 | 53 | { /if } |
| 52 | 54 | </tr> | ... | ... |
templates/ktcore/principals/addgroup.smarty
| 1 | -<h2>Create a new Group</h2> | |
| 1 | +<h2>{i18n}Create a new Group{/i18n}</h2> | |
| 2 | 2 | |
| 3 | -<p class="descriptiveText">Create a new group.</p> | |
| 3 | +<p class="descriptiveText">{i18n}Create a new group.{/i18n}</p> | |
| 4 | 4 | |
| 5 | 5 | <form action="{$smarty.server.PHP_SELF}" method="POST"> |
| 6 | 6 | <input type="hidden" name="action" value="createGroup" /> |
| 7 | 7 | |
| 8 | 8 | <fieldset> |
| 9 | - <legend>Change Group Details</legend> | |
| 9 | + <legend>{i18n}Change Group Details{i18n}</legend> | |
| 10 | 10 | <p class="descriptiveText"><strong>FIXME</strong> brief overview of group editing.</p> |
| 11 | 11 | {foreach item=oWidget from=$add_fields} |
| 12 | 12 | {$oWidget->render()} |
| 13 | 13 | {/foreach} |
| 14 | 14 | <div class="form_actions"> |
| 15 | - <input type="submit" value="create group" /> | |
| 16 | - <a href="?action=main" class="ktCancelLink">Cancel</a> | |
| 15 | + <input type="submit" value="{i18n}create group{/i18n}" /> | |
| 16 | + <a href="?action=main" class="ktCancelLink">{i18n}Cancel{/i18n}</a> | |
| 17 | 17 | </div> |
| 18 | 18 | </fieldset> |
| 19 | - </form> | |
| 20 | 19 | \ No newline at end of file |
| 20 | + </form> | ... | ... |
templates/ktcore/principals/adduser.smarty
| 1 | -<h2>Add a user</h2> | |
| 1 | +<h2>{i18n}Add a user{/i18n}</h2> | |
| 2 | 2 | |
| 3 | 3 | <p class="descriptiveText"><strong>FIXME</strong> brief overview of user management.</p> |
| 4 | 4 | |
| 5 | 5 | {if $authentication_sources} |
| 6 | 6 | <form action="{$smarty.server.PHP_SELF}" method="POST"> |
| 7 | 7 | <input type="hidden" name="action" value="addUserFromSource" /> |
| 8 | - <fieldset><legend>Add a user from an authentication source</legend> | |
| 8 | + <fieldset><legend>{i18n}Add a user from an authentication source{/i18n}</legend> | |
| 9 | 9 | |
| 10 | -<p class="descriptiveText">Instead of manually creating the user within | |
| 10 | +<p class="descriptiveText">{i18n}Instead of manually creating the user within | |
| 11 | 11 | the document management system, the user can be found within an |
| 12 | 12 | authentication source (such as an LDAP directory) that has already been |
| 13 | 13 | configured. This ensures that the user is correctly set up with limited |
| 14 | 14 | intervention from the administrator, and that the user will not need to |
| 15 | -remember an additional password for the document management system.</p> | |
| 15 | +remember an additional password for the document management | |
| 16 | +system.{/i18n}</p> | |
| 16 | 17 | |
| 17 | 18 | {entity_select name="source_id" entities=$authentication_sources} |
| 18 | 19 | <div class="form_actions "> |
| 19 | - <input type="submit" name="submit" value="Add from source" /> | |
| 20 | + <input type="submit" name="submit" value="{i18n}Add from source{/i18n}" /> | |
| 20 | 21 | </div> |
| 21 | 22 | </fieldset> |
| 22 | 23 | </form> |
| 23 | 24 | </p> |
| 24 | 25 | |
| 25 | -<p class="descriptiveText">Alternatively, you can manually create a user | |
| 26 | -within KnowledgeTree below.</p> | |
| 26 | +<p class="descriptiveText">{i18n}Alternatively, you can manually create a user | |
| 27 | +within KnowledgeTree below.{/i18n}</p> | |
| 27 | 28 | {/if} |
| 28 | 29 | |
| 29 | 30 | <form action="{$smarty.server.PHP_SELF}" method="POST"> |
| 30 | 31 | <input type="hidden" name="action" value="createUser" /> |
| 31 | 32 | <fieldset> |
| 32 | - <legend>Create a new user</legend> | |
| 33 | + <legend>{i18n}Create a new user{/i18n}</legend> | |
| 33 | 34 | {foreach item=oWidget from=$add_fields} |
| 34 | 35 | {$oWidget->render()} |
| 35 | 36 | {/foreach} |
| 36 | 37 | <div class="form_actions"> |
| 37 | - <input type="submit" value="create user" /> | |
| 38 | - <a href="?action=main" class="ktCancelLink">Cancel</a> | |
| 38 | + <input type="submit" value="{i18n}create user{/i18n}" /> | |
| 39 | + <a href="?action=main" class="ktCancelLink">{i18n}Cancel{/i18n}</a> | |
| 39 | 40 | </div> |
| 40 | 41 | </fieldset> |
| 41 | 42 | </form> | ... | ... |
templates/ktcore/principals/editgroup.smarty
| 1 | 1 | <h2>Edit Group Details</h2> |
| 2 | 2 | |
| 3 | -<p class="descriptiveText">Change the system's information about group <strong>{$edit_group->getName()}</strong></p> | |
| 3 | +<p class="descriptiveText">{i18n arg_name=$edit_group->getName()}Change | |
| 4 | +the system's information about group <strong>#name</strong>{/i18n}</p> | |
| 4 | 5 | |
| 5 | 6 | <form action="{$smarty.server.PHP_SELF}" method="POST"> |
| 6 | 7 | <input type="hidden" name="action" value="saveGroup" /> |
| 7 | 8 | <input type="hidden" name="group_id" value="{$edit_group->getId()}" /> |
| 8 | 9 | <fieldset> |
| 9 | - <legend>Change Group Details</legend> | |
| 10 | + <legend>{i18n}Change Group Details{/i18n}</legend> | |
| 10 | 11 | <p class="descriptiveText"><strong>FIXME</strong> brief overview of group editing.</p> |
| 11 | 12 | {foreach item=oWidget from=$edit_fields} |
| 12 | 13 | {$oWidget->render()} |
| 13 | 14 | {/foreach} |
| 14 | 15 | <div class="form_actions"> |
| 15 | - <input type="submit" value="save changes to group" /> | |
| 16 | - <a href="?action=main" class="ktCancelLink">Cancel</a> | |
| 16 | + <input type="submit" value="{i18n}save changes to group{/i18n}" /> | |
| 17 | + <a href="?action=main" class="ktCancelLink">{i18n}Cancel{/i18n}</a> | |
| 17 | 18 | </div> |
| 18 | 19 | </fieldset> |
| 19 | - </form> | |
| 20 | 20 | \ No newline at end of file |
| 21 | + </form> | ... | ... |
templates/ktcore/principals/edituser.smarty
| 1 | -<h2>Edit User Details</h2> | |
| 1 | +<h2>{i18n}Edit User Details{/i18n}</h2> | |
| 2 | 2 | |
| 3 | 3 | <form action="{$smarty.server.PHP_SELF}" method="POST"> |
| 4 | 4 | <input type="hidden" name="action" value="saveUser" /> |
| 5 | 5 | <input type="hidden" name="user_id" value="{$edit_user->getId()}" /> |
| 6 | 6 | <fieldset> |
| 7 | - <legend>Change User Details</legend> | |
| 7 | + <legend>{i18n}Change User Details{/i18n}</legend> | |
| 8 | 8 | <p class="descriptiveText"><strong>FIXME</strong> brief overview of user editing.</p> |
| 9 | 9 | {foreach item=oWidget from=$edit_fields} |
| 10 | 10 | |
| 11 | 11 | {$oWidget->render()} |
| 12 | 12 | {/foreach} |
| 13 | 13 | <div class="form_actions"> |
| 14 | - <input type="submit" value="save changes" /> | |
| 15 | - <a href="?action=main" class="ktCancelLink">Cancel</a> | |
| 14 | + <input type="submit" value="{i18n}save changes{/i18n}" /> | |
| 15 | + <a href="?action=main" class="ktCancelLink">{i18n}Cancel{/i18n}</a> | |
| 16 | 16 | </div> |
| 17 | 17 | </fieldset> |
| 18 | 18 | </form> |
| 19 | 19 | |
| 20 | 20 | {assign var=provider_stuff value=$provider->showUserSource($edit_user, $source)} |
| 21 | 21 | {if $provider_stuff} |
| 22 | -<fieldset><legend>Authentication</legend> | |
| 23 | -<p class="descriptiveText">{$edit_user->getName()}'s authentication is | |
| 24 | -handled by the <strong>{$provider->getName()}</strong>.</p> | |
| 22 | +<fieldset><legend>{i18n}Authentication{/i18n}</legend> | |
| 23 | +<p class="descriptiveText">{i18n arg_name=$edit_user->getName() | |
| 24 | +arg_provider=$provider->getName()}#name#'s authentication is | |
| 25 | +handled by the <strong>#provider#</strong>.{/i18n}</p> | |
| 25 | 26 | {$provider_stuff} |
| 26 | 27 | </fieldset> |
| 27 | 28 | {/if} | ... | ... |
templates/ktcore/principals/groupadmin.smarty
| 1 | -<h2>Group Administration</h2> | |
| 1 | +<h2>{i18n}Group Administration{/i18n}</h2> | |
| 2 | 2 | |
| 3 | 3 | <p class="descriptiveText"><strong>FIXME</strong> Overview of groups.</p> |
| 4 | 4 | |
| ... | ... | @@ -8,18 +8,18 @@ |
| 8 | 8 | <!-- we roll both in here. --> |
| 9 | 9 | <form action="{$smarty.server.PHP_SELF}" method="GET"> |
| 10 | 10 | <fieldset> |
| 11 | -<legend>Search for groups</legend> | |
| 12 | -<p class="descriptiveText">Since there may be many groups in the system, please | |
| 13 | -type a few letters from the group's name to begin. | |
| 14 | -Alternatively, <a href="?show_all=1">view all groups</a> (note that this may be | |
| 15 | -very slow if you have many groups.</p> | |
| 11 | +<legend>{i18n}Search for groups{/i18n}</legend> | |
| 12 | +<p class="descriptiveText">{i18n}Since there may be many groups in the | |
| 13 | +system, please type a few letters from the group's name to begin. | |
| 14 | +Alternatively, <a href="?show_all=1">view all groups</a> (note that this | |
| 15 | +may be very slow if you have many groups.{/i18n}</p> | |
| 16 | 16 | |
| 17 | 17 | {foreach item=oWidget from=$search_fields} |
| 18 | 18 | {$oWidget->render()} |
| 19 | 19 | {/foreach} |
| 20 | 20 | |
| 21 | 21 | <div class="form_actions"> |
| 22 | - <input type="submit" value="search for groups" /> | |
| 22 | + <input type="submit" value="{i18n}search for groups{/i18n}" /> | |
| 23 | 23 | </div class="form_actions"> |
| 24 | 24 | </fieldset> |
| 25 | 25 | </form> |
| ... | ... | @@ -27,12 +27,12 @@ very slow if you have many groups.</p> |
| 27 | 27 | <table class="listing"> |
| 28 | 28 | <thead> |
| 29 | 29 | <tr> |
| 30 | - <th>Group Name</th> | |
| 31 | - <th>Unit Name</th> | |
| 32 | - <th>Edit</th> | |
| 33 | - <th>Manage Users</th> | |
| 34 | - <th>Manage sub-groups</th> | |
| 35 | - <th>Delete</th> | |
| 30 | + <th>{i18n}Group Name{/i18n}</th> | |
| 31 | + <th>{i18n}Unit Name{/i18n}</th> | |
| 32 | + <th>{i18n}Edit{/i18n}</th> | |
| 33 | + <th>{i18n}Manage Users{/i18n}</th> | |
| 34 | + <th>{i18n}Manage sub-groups{/i18n}</th> | |
| 35 | + <th>{i18n}Delete{/i18n}</th> | |
| 36 | 36 | </tr> |
| 37 | 37 | </thead> |
| 38 | 38 | <tbody> |
| ... | ... | @@ -41,22 +41,26 @@ very slow if you have many groups.</p> |
| 41 | 41 | {foreach item=oGroup from=$search_results} |
| 42 | 42 | <tr> |
| 43 | 43 | <td>{$oGroup->getName()}</td> |
| 44 | - <td>{if (!$oGroup->hasUnit())}<span class="descriptiveText">not part of a unit</span>{else} | |
| 44 | + <td>{if (!$oGroup->hasUnit())}<span class="descriptiveText">{i18n}not part of a unit{/i18n}</span>{else} | |
| 45 | 45 | {$context->_getUnitName($oGroup)} |
| 46 | 46 | |
| 47 | 47 | {/if}</td> |
| 48 | - <td><a href="?action=editGroup&group_id={$oGroup->getId()}" class="ktAction ktEdit">Edit</a></td> | |
| 49 | - <td><a href="?action=manageUsers&group_id={$oGroup->getId()}">Manage Users</a></td> | |
| 50 | - <td><a href="?action=manageSubgroups&group_id={$oGroup->getId()}">Manage sub-groups</a></td> | |
| 51 | - <td><a href="?action=deleteGroup&group_id={$oGroup->getId()}" class="ktAction ktDelete">Delete</a></td> | |
| 48 | + <td><a href="?action=editGroup&group_id={$oGroup->getId()}" | |
| 49 | +class="ktAction ktEdit">{i18n}Edit{/i18n}</a></td> | |
| 50 | + <td><a | |
| 51 | +href="?action=manageUsers&group_id={$oGroup->getId()}">{i18n}Manage Users{/i18n}</a></td> | |
| 52 | + <td><a | |
| 53 | +href="?action=manageSubgroups&group_id={$oGroup->getId()}">{i18n}Manage sub-groups{/i18n}</a></td> | |
| 54 | + <td><a href="?action=deleteGroup&group_id={$oGroup->getId()}" | |
| 55 | +class="ktAction ktDelete">{i18n}Delete{/i18n}</a></td> | |
| 52 | 56 | </tr> |
| 53 | 57 | {/foreach} |
| 54 | 58 | {else} |
| 55 | 59 | <tr> |
| 56 | 60 | <td colspan="7" class="ktInfo"> |
| 57 | - <p>No search specified, or no results for your search.</p> | |
| 61 | + <p>{i18n}No search specified, or no results for your search.{/i18n}</p> | |
| 58 | 62 | </td> |
| 59 | 63 | </tr> |
| 60 | 64 | {/if} |
| 61 | 65 | </tbody> |
| 62 | -</table> | |
| 63 | 66 | \ No newline at end of file |
| 67 | +</table> | ... | ... |
templates/ktcore/principals/groups_managesubgroups.smarty
| 1 | -<h2>Manage Sub-Groups in {$edit_group->getName()}</h2> | |
| 1 | +<h2>{i18n arg_name=$edit_group->getName()}Manage Sub-Groups in #name#{/i18n}</h2> | |
| 2 | 2 | |
| 3 | 3 | {$context->oPage->requireJSResource('thirdpartyjs/OptionTransfer.js')} |
| 4 | 4 | {$context->oPage->requireJSResource('thirdpartyjs/MochiKit/Base.js')} |
| ... | ... | @@ -19,15 +19,15 @@ side-effects to this when used by unitAdmins.</p> |
| 19 | 19 | |
| 20 | 20 | |
| 21 | 21 | <fieldset> |
| 22 | - <legend>Change Sub-Groups in {$edit_group->getName()}</legend> | |
| 23 | - <p class="descriptiveText">Select the groups which should be part of this group. <strong>FIXME</strong> this helptext is v. awkward.</p> | |
| 22 | + <legend>{i18n arg_name=$edit_group->getName()}Change Sub-Groups in #name#{/i18n}</legend> | |
| 23 | + <p class="descriptiveText">{i18n}Select the groups which should be part of this group.{/i18n} <strong>FIXME</strong> this helptext is v. awkward.</p> | |
| 24 | 24 | |
| 25 | 25 | <table border="0" width="600"> |
| 26 | 26 | <thead> |
| 27 | 27 | <tr> |
| 28 | - <th>Available Groups</th> | |
| 28 | + <th>{i18n}Available Groups{/i18n}</th> | |
| 29 | 29 | <th> </th> |
| 30 | - <th>Assigned Groups</th> | |
| 30 | + <th>{i18n}Assigned Groups{/i18n}</th> | |
| 31 | 31 | </tr> |
| 32 | 32 | </thead> |
| 33 | 33 | <tbody> |
| ... | ... | @@ -53,19 +53,19 @@ side-effects to this when used by unitAdmins.</p> |
| 53 | 53 | </td> |
| 54 | 54 | </tr> |
| 55 | 55 | <tr> |
| 56 | - <td><label for="ug-filter">Filter</label> | |
| 56 | + <td><label for="ug-filter">{i18n}Filter{/i18n}</label> | |
| 57 | 57 | <input name="filterUG" id="ug-filter" onkeyup="optGroup.sortSelectMatch(groupSelect, this.value)" onchange="optGroup.sortSelectMatch(groupSelect, this.value)" type="text"> |
| 58 | 58 | </td> |
| 59 | 59 | <td> </td> |
| 60 | - <td><label for="og-filter">Filter</label> | |
| 60 | + <td><label for="og-filter">{i18n}Filter{/i18n}</label> | |
| 61 | 61 | <input name="filterOG" id="og-filter" onkeyup="optGroup.sortSelectMatch(chosenGroups, this.value)" onchange="optGroup.sortSelectMatch(chosenGroups, this.value)" type="text"> |
| 62 | 62 | </td> |
| 63 | 63 | </tr> |
| 64 | 64 | </tbody></table> |
| 65 | 65 | |
| 66 | 66 | <div class="form_actions"> |
| 67 | - <input type="submit" value="save changes" /> | |
| 68 | - <a href="?action=main" class="ktCancelLink">Cancel</a> | |
| 67 | + <input type="submit" value="{i18n}save changes{/i18n}" /> | |
| 68 | + <a href="?action=main" class="ktCancelLink">{i18n}Cancel{/i18n}</a> | |
| 69 | 69 | </div> |
| 70 | 70 | </fieldset> |
| 71 | - </form> | |
| 72 | 71 | \ No newline at end of file |
| 72 | + </form> | ... | ... |
templates/ktcore/principals/groups_manageusers.smarty
| 1 | -<h2>Manage Users in {$edit_group->getName()}</h2> | |
| 1 | +<h2>{i18n arg_name=$edit_group->getName()}Manage Users in #name#{/i18n}</h2> | |
| 2 | 2 | |
| 3 | 3 | {$context->oPage->requireJSResource('thirdpartyjs/OptionTransfer.js')} |
| 4 | 4 | {$context->oPage->requireJSResource('thirdpartyjs/MochiKit/Base.js')} |
| ... | ... | @@ -17,15 +17,15 @@ |
| 17 | 17 | |
| 18 | 18 | |
| 19 | 19 | <fieldset> |
| 20 | - <legend>Change Users in {$edit_group->getName()}</legend> | |
| 21 | - <p class="descriptiveText">Select the users which should be part of this group. <strong>FIXME</strong> this helptext is v. awkward.</p> | |
| 20 | + <legend>{i18n arg_name=$edit_group->getName()}Manage Users in #name#{/i18n}</legend> | |
| 21 | + <p class="descriptiveText">{i18n}Select the users which should be part of this group.{/i18n} <strong>FIXME</strong> this helptext is v. awkward.</p> | |
| 22 | 22 | |
| 23 | 23 | <table border="0" width="600"> |
| 24 | 24 | <thead> |
| 25 | 25 | <tr> |
| 26 | - <th>Available Users</th> | |
| 26 | + <th>{i18n}Available Users{/i18n}</th> | |
| 27 | 27 | <th> </th> |
| 28 | - <th>Member users</th> | |
| 28 | + <th>{i18n}Member users{/i18n}</th> | |
| 29 | 29 | </tr> |
| 30 | 30 | </thead> |
| 31 | 31 | <tbody> |
| ... | ... | @@ -50,19 +50,19 @@ |
| 50 | 50 | </td> |
| 51 | 51 | </tr> |
| 52 | 52 | <tr> |
| 53 | - <td><label for="ug-filter">Filter</label> | |
| 53 | + <td><label for="ug-filter">{i18n}Filter{/i18n}</label> | |
| 54 | 54 | <input name="filterUG" id="ug-filter" onkeyup="optGroup.sortSelectMatch(userSelect, this.value)" onchange="optGroup.sortSelectMatch(groupSelect, this.value)" type="text"> |
| 55 | 55 | </td> |
| 56 | 56 | <td> </td> |
| 57 | - <td><label for="og-filter">Filter</label> | |
| 57 | + <td><label for="og-filter">{i18n}Filter{/i18n}</label> | |
| 58 | 58 | <input name="filterOG" id="og-filter" onkeyup="optGroup.sortSelectMatch(chosenUsers, this.value)" onchange="optGroup.sortSelectMatch(chosenGroups, this.value)" type="text"> |
| 59 | 59 | </td> |
| 60 | 60 | </tr> |
| 61 | 61 | </tbody></table> |
| 62 | 62 | |
| 63 | 63 | <div class="form_actions"> |
| 64 | - <input type="submit" value="save changes" /> | |
| 65 | - <a href="?action=main" class="ktCancelLink">Cancel</a> | |
| 64 | + <input type="submit" value="{i18n}save changes{/i18n}" /> | |
| 65 | + <a href="?action=main" class="ktCancelLink">{i18n}Cancel{/i18n}</a> | |
| 66 | 66 | </div> |
| 67 | 67 | </fieldset> |
| 68 | - </form> | |
| 69 | 68 | \ No newline at end of file |
| 69 | + </form> | ... | ... |
templates/ktcore/principals/orgadmin.smarty
| 1 | -<h2>Orgnisation Administration</h2> | |
| 1 | +<h2>{i18n}Orgnisation Administration{/i18n}</h2> | |
| 2 | 2 | |
| 3 | 3 | <p class="descriptiveText"><strong>FIXME</strong> Overview of Organisations.</p> |
| 4 | 4 | |
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | |
| 7 | 7 | <form action="{$smarty.server.PHP_SELF}" method="GET"> |
| 8 | 8 | <fieldset> |
| 9 | -<legend>Change organisation details</legend> | |
| 9 | +<legend>{i18n}Change organisation details{/i18n}</legend> | |
| 10 | 10 | |
| 11 | 11 | asd |
| 12 | 12 | <input type="hidden" name="action" value="updateOrg" /> |
| ... | ... | @@ -18,7 +18,7 @@ asd |
| 18 | 18 | {/foreach} |
| 19 | 19 | |
| 20 | 20 | <div class="form_actions"> |
| 21 | - <input type="submit" value="update organisation information" /> | |
| 21 | + <input type="submit" value="{i18n}update organisation information{/i18n}" /> | |
| 22 | 22 | </div class="form_actions"> |
| 23 | 23 | </fieldset> |
| 24 | 24 | </form> |
| ... | ... | @@ -28,17 +28,17 @@ asd |
| 28 | 28 | <table class="listing"> |
| 29 | 29 | <thead> |
| 30 | 30 | <tr> |
| 31 | - <th>Organisation Name</th> | |
| 32 | - <th>Edit</th> | |
| 31 | + <th>{i18n}Organisation Name{/i18n}</th> | |
| 32 | + <th>{i18n}Edit{/i18n}</th> | |
| 33 | 33 | </tr> |
| 34 | 34 | </thead> |
| 35 | 35 | <tbody> |
| 36 | 36 | {foreach item=oOrg from=$org_list} |
| 37 | 37 | <tr> |
| 38 | 38 | <td>{$oOrg->getName()}</td> |
| 39 | - <td><a href="?org_id={$oOrg->getId()}" class="ktAction ktEdit">Edit</a></td> | |
| 39 | + <td><a href="?org_id={$oOrg->getId()}" class="ktAction ktEdit">{i18n}Edit{/i18n}</a></td> | |
| 40 | 40 | |
| 41 | 41 | </tr> |
| 42 | 42 | {/foreach} |
| 43 | 43 | </tbody> |
| 44 | -</table> | |
| 45 | 44 | \ No newline at end of file |
| 45 | +</table> | ... | ... |
templates/ktcore/principals/password.smarty
| ... | ... | @@ -6,17 +6,17 @@ |
| 6 | 6 | <input type="hidden" name="action" value="updatePassword" /> |
| 7 | 7 | |
| 8 | 8 | <fieldset> |
| 9 | - <legend>Your Details</legend> | |
| 9 | + <legend>{i18n}Your Details{/i18n}</legend> | |
| 10 | 10 | |
| 11 | 11 | {foreach item=oWidget from=$edit_fields} |
| 12 | 12 | {$oWidget->render()} |
| 13 | 13 | {/foreach} |
| 14 | 14 | |
| 15 | 15 | <div class="form_actions"> |
| 16 | - <input type="submit" value="Change your password" /> | |
| 16 | + <input type="submit" value="{i18n}Change your password{/i18n}" /> | |
| 17 | 17 | <!-- FIXME add CSS for secondary actions. --> |
| 18 | - <p><a href="?action=setPassword">Change your password.</a></p> | |
| 18 | + <p><a href="?action=setPassword">{i18n}Change your password.{/i18n}</a></p> | |
| 19 | 19 | </div> |
| 20 | 20 | </fieldset> |
| 21 | 21 | |
| 22 | -</form> | |
| 23 | 22 | \ No newline at end of file |
| 23 | +</form> | ... | ... |
templates/ktcore/principals/preferences.smarty
| 1 | 1 | <h2>Preferences</h2> |
| 2 | 2 | |
| 3 | -<p class="descriptiveText">From here you can adjust certain basic preferences about | |
| 4 | -how you work with KnowledgeTree.</p> | |
| 3 | +<p class="descriptiveText">{i18n}From here you can adjust certain basic | |
| 4 | +preferences about how you work with KnowledgeTree.{/i18n}</p> | |
| 5 | 5 | |
| 6 | 6 | <form action="{$smarty.server.PHP_SELF}" method="POST"> |
| 7 | 7 | <input type="hidden" name="action" value="updatePreferences" /> |
| 8 | 8 | |
| 9 | 9 | <fieldset> |
| 10 | - <legend>Your Details</legend> | |
| 10 | + <legend>{i18n}Your Details{/i18n}</legend> | |
| 11 | 11 | |
| 12 | 12 | {foreach item=oWidget from=$edit_fields} |
| 13 | 13 | {$oWidget->render()} |
| 14 | 14 | {/foreach} |
| 15 | 15 | |
| 16 | 16 | <div class="form_actions"> |
| 17 | - <input type="submit" value="Update your details" /> | |
| 17 | + <input type="submit" value="{i18n}Update your details{/i18n}" /> | |
| 18 | 18 | <!-- FIXME add CSS for secondary actions. --> |
| 19 | - <p><a href="?action=setPassword">Change your password.</a></p> | |
| 19 | + <p><a href="?action=setPassword">{i18n}Change your password.{/i18n}</a></p> | |
| 20 | 20 | </div> |
| 21 | 21 | </fieldset> |
| 22 | 22 | |
| 23 | -</form> | |
| 24 | 23 | \ No newline at end of file |
| 24 | +</form> | ... | ... |
templates/ktcore/principals/roleadmin.smarty
| 1 | -<h2>Role Administration</h2> | |
| 1 | +<h2>{i18n}Role Administration{/i18n}</h2> | |
| 2 | 2 | |
| 3 | 3 | <p class="descriptiveText"><strong>FIXME</strong> Overview of roles.</p> |
| 4 | 4 | |
| ... | ... | @@ -9,7 +9,7 @@ |
| 9 | 9 | |
| 10 | 10 | <form action="{$smarty.server.PHP_SELF}" method="GET"> |
| 11 | 11 | <fieldset> |
| 12 | - <legend>Add a Role</legend> | |
| 12 | + <legend>{i18n}Add a Role{/i18n}</legend> | |
| 13 | 13 | |
| 14 | 14 | <input type="hidden" name="action" value="createRole" /> |
| 15 | 15 | |
| ... | ... | @@ -18,7 +18,7 @@ |
| 18 | 18 | {/foreach} |
| 19 | 19 | |
| 20 | 20 | <div class="form_actions"> |
| 21 | - <input type="submit" value="create new role" /> | |
| 21 | + <input type="submit" value="{i18n}create new role{/i18n}" /> | |
| 22 | 22 | </div class="form_actions"> |
| 23 | 23 | </fieldset> |
| 24 | 24 | </form> |
| ... | ... | @@ -27,7 +27,7 @@ |
| 27 | 27 | |
| 28 | 28 | <form action="{$smarty.server.PHP_SELF}" method="GET"> |
| 29 | 29 | <fieldset> |
| 30 | - <legend>Change a role's details</legend> | |
| 30 | + <legend>{i18n}Change a role's details{/i18n}</legend> | |
| 31 | 31 | |
| 32 | 32 | <input type="hidden" name="action" value="updateRole" /> |
| 33 | 33 | <input type="hidden" name="role_id" value="{$edit_role->getId()}" /> |
| ... | ... | @@ -37,9 +37,8 @@ |
| 37 | 37 | {/foreach} |
| 38 | 38 | |
| 39 | 39 | <div class="form_actions"> |
| 40 | - <input type="submit" value="update role information" /> | |
| 41 | - <a href="?action=main" class="ktAction ktCancel">Cancel</a> | |
| 42 | - <a href="?action=main">Cancel</a> | |
| 40 | + <input type="submit" value="{i18n}update role information{/i18n}" /> | |
| 41 | + <a href="?action=main" class="ktAction ktCancel">{i18n}Cancel{/i18n}</a> | |
| 43 | 42 | </div class="form_actions"> |
| 44 | 43 | </fieldset> |
| 45 | 44 | </form> |
| ... | ... | @@ -49,9 +48,9 @@ |
| 49 | 48 | <table class="listing"> |
| 50 | 49 | <thead> |
| 51 | 50 | <tr> |
| 52 | - <th>Role Name</th> | |
| 53 | - <th>Edit</th> | |
| 54 | - <th>Delete</th> | |
| 51 | + <th>{i18n}Role Name{/i18n}</th> | |
| 52 | + <th>{i18n}Edit{/i18n}</th> | |
| 53 | + <th>{i18n}Delete{/i18n}</th> | |
| 55 | 54 | </tr> |
| 56 | 55 | </thead> |
| 57 | 56 | <tbody> |
| ... | ... | @@ -59,14 +58,14 @@ |
| 59 | 58 | {foreach item=oRole from=$roles} |
| 60 | 59 | <tr> |
| 61 | 60 | <td>{$oRole->getName()}</td> |
| 62 | - <td><a href="?action=editRole&role_id={$oRole->getId()}" class="ktAction ktEdit">Edit</a></td> | |
| 63 | - <td><a href="?action=deleteRole&role_id={$oRole->getId()}" class="ktAction ktDelete">Delete</a></td> | |
| 61 | + <td><a href="?action=editRole&role_id={$oRole->getId()}" class="ktAction ktEdit">{i18n}Edit{/i18n}</a></td> | |
| 62 | + <td><a href="?action=deleteRole&role_id={$oRole->getId()}" class="ktAction ktDelete">{i18n}Delete{/i18n}</a></td> | |
| 64 | 63 | </tr> |
| 65 | 64 | {/foreach} |
| 66 | 65 | {else} |
| 67 | 66 | <tr> |
| 68 | - <td class="ktInfo" colspan="3"><p>There are currently no roles created within the system.</td> | |
| 67 | + <td class="ktInfo" colspan="3"><p>{i18n}There are currently no roles created within the system.{/i18n}</td> | |
| 69 | 68 | </tr> |
| 70 | 69 | {/if} |
| 71 | 70 | </tbody> |
| 72 | -</table> | |
| 73 | 71 | \ No newline at end of file |
| 72 | +</table> | ... | ... |
templates/ktcore/principals/unitadmin.smarty
| 1 | -<h2>Unit Administration</h2> | |
| 1 | +<h2>{i18n}Unit Administration{/i18n}</h2> | |
| 2 | 2 | |
| 3 | 3 | <p class="descriptiveText"><strong>FIXME</strong> Overview of units.</p> |
| 4 | 4 | |
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | |
| 7 | 7 | <form action="{$smarty.server.PHP_SELF}" method="GET"> |
| 8 | 8 | <fieldset> |
| 9 | -<legend>Add a unit</legend> | |
| 9 | +<legend>{i18n}Add a unit{/i18n}</legend> | |
| 10 | 10 | |
| 11 | 11 | <input type="hidden" name="action" value="createUnit" /> |
| 12 | 12 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | {/foreach} |
| 16 | 16 | |
| 17 | 17 | <div class="form_actions"> |
| 18 | - <input type="submit" value="create new unit" /> | |
| 18 | + <input type="submit" value="{i18n}create new unit{/i18n}" /> | |
| 19 | 19 | </div class="form_actions"> |
| 20 | 20 | </fieldset> |
| 21 | 21 | </form> |
| ... | ... | @@ -24,7 +24,7 @@ |
| 24 | 24 | |
| 25 | 25 | <form action="{$smarty.server.PHP_SELF}" method="GET"> |
| 26 | 26 | <fieldset> |
| 27 | -<legend>Change a unit's details</legend> | |
| 27 | +<legend>{i18n}Change a unit's details{/i18n}</legend> | |
| 28 | 28 | |
| 29 | 29 | <input type="hidden" name="action" value="updateUnit" /> |
| 30 | 30 | <input type="hidden" name="unit_id" value="{$edit_unit->getId()}" /> |
| ... | ... | @@ -34,7 +34,7 @@ |
| 34 | 34 | {/foreach} |
| 35 | 35 | |
| 36 | 36 | <div class="form_actions"> |
| 37 | - <input type="submit" value="update unit information" /> | |
| 37 | + <input type="submit" value="{i18n}update unit information{/i18n}" /> | |
| 38 | 38 | </div class="form_actions"> |
| 39 | 39 | </fieldset> |
| 40 | 40 | </form> |
| ... | ... | @@ -45,18 +45,19 @@ |
| 45 | 45 | <table class="listing"> |
| 46 | 46 | <thead> |
| 47 | 47 | <tr> |
| 48 | - <th>Unit Name</th> | |
| 49 | - <th>Edit</th> | |
| 50 | - <th>Manage Members</th> | |
| 48 | + <th>{i18n}Unit Name{/i18n}</th> | |
| 49 | + <th>{i18n}Edit{/i18n}</th> | |
| 50 | + <th>{i18n}Manage Members{/i18n}</th> | |
| 51 | 51 | </tr> |
| 52 | 52 | </thead> |
| 53 | 53 | <tbody> |
| 54 | 54 | {foreach item=oUnit from=$unit_list} |
| 55 | 55 | <tr> |
| 56 | 56 | <td>{$oUnit->getName()}</td> |
| 57 | - <td><a href="?action=editGroup&unit_id={$oUnit->getId()}" class="ktAction ktEdit">Edit</a></td> | |
| 58 | - <!-- <td><a href="?action=manageMembers&unit_id={$oUnit->getId()}">Manage Members</a></td> --> | |
| 57 | + <td><a href="?action=editGroup&unit_id={$oUnit->getId()}" class="ktAction ktEdit">{i18n}Edit{/i18n}</a></td> | |
| 58 | + <!-- <td><a | |
| 59 | +href="?action=manageMembers&unit_id={$oUnit->getId()}">{i18n}Manage Members{/i18n}</a></td> --> | |
| 59 | 60 | </tr> |
| 60 | 61 | {/foreach} |
| 61 | 62 | </tbody> |
| 62 | -</table> | |
| 63 | 63 | \ No newline at end of file |
| 64 | +</table> | ... | ... |
templates/ktcore/principals/updatepassword.smarty
| 1 | -<h2>Change User's Password</h2> | |
| 1 | +<h2>{i18n}Change User's Password{/i18n}</h2> | |
| 2 | 2 | |
| 3 | 3 | <form action="{$smarty.server.PHP_SELF}" method="POST"> |
| 4 | 4 | <input type="hidden" name="action" value="updatePassword" /> |
| 5 | 5 | <input type="hidden" name="user_id" value="{$edit_user->getId()}" /> |
| 6 | 6 | <fieldset> |
| 7 | - <legend>Change User's Password</legend> | |
| 8 | - <p class="descriptiveText">Change the user's password.</p> | |
| 7 | + <legend>{i18n}Change User's Password{/i18n}</legend> | |
| 8 | + <p class="descriptiveText">{i18n}Change the user's password.{/i18n}</p> | |
| 9 | 9 | {foreach item=oWidget from=$edit_fields} |
| 10 | 10 | {$oWidget->render()} |
| 11 | 11 | {/foreach} |
| 12 | 12 | |
| 13 | 13 | <div class="form_actions"> |
| 14 | - <input type="submit" value="change password" /> | |
| 15 | - <a href="?action=main" class="ktCancelLink">Cancel</a> | |
| 14 | + <input type="submit" value="{i18n}change password{/i18n}" /> | |
| 15 | + <a href="?action=main" class="ktCancelLink">{i18n}Cancel{/i18n}</a> | |
| 16 | 16 | </div> |
| 17 | 17 | </fieldset> |
| 18 | 18 | </form> | ... | ... |
templates/ktcore/principals/useradmin.smarty
| ... | ... | @@ -5,23 +5,25 @@ |
| 5 | 5 | |
| 6 | 6 | <!-- FIXME inline CSS is _very_ bad. --> |
| 7 | 7 | |
| 8 | -<p><a href="?action=addUser" class="ktAction ktAddUser" style="float: left; padding-right: 0.5em;">Add User</a><a href="?action=addUser">Add a new user</a>.</p> | |
| 8 | +<p><a href="?action=addUser" class="ktAction ktAddUser" style="float: | |
| 9 | +left; padding-right: 0.5em;">Add User</a><a | |
| 10 | +href="?action=addUser">{i18n}Add a new user{/i18n}</a>.</p> | |
| 9 | 11 | |
| 10 | 12 | <!-- we roll both in here. --> |
| 11 | 13 | <form action="{$smarty.server.PHP_SELF}" method="GET"> |
| 12 | 14 | <fieldset> |
| 13 | 15 | <legend>Search for users</legend> |
| 14 | -<p class="descriptiveText">Since there may be many users in the system, please | |
| 16 | +<p class="descriptiveText">{i18n}Since there may be many users in the system, please | |
| 15 | 17 | select a group from the list below, or type a few letters from the person's username |
| 16 | 18 | to begin. Alternatively, <a href="?show_all=1">view all users</a> (note that this may be |
| 17 | -very slow if you have many users.</p> | |
| 19 | +very slow if you have many users.{/i18n}</p> | |
| 18 | 20 | |
| 19 | 21 | {foreach item=oWidget from=$search_fields} |
| 20 | 22 | {$oWidget->render()} |
| 21 | 23 | {/foreach} |
| 22 | 24 | |
| 23 | 25 | <div class="form_actions"> |
| 24 | - <input type="submit" value="search for users" /> | |
| 26 | + <input type="submit" value="{i18n}search for users{/i18n}" /> | |
| 25 | 27 | </div class="form_actions"> |
| 26 | 28 | </fieldset> |
| 27 | 29 | </form> |
| ... | ... | @@ -29,11 +31,11 @@ very slow if you have many users.</p> |
| 29 | 31 | <table class="listing"> |
| 30 | 32 | <thead> |
| 31 | 33 | <tr> |
| 32 | - <th>Name</th> | |
| 33 | - <th>Username</th> | |
| 34 | - <th>Edit</th> | |
| 35 | - <th>Delete</th> | |
| 36 | - <th>Group Memberships</th> | |
| 34 | + <th>{i18n}Name{/i18n}</th> | |
| 35 | + <th>{i18n}Username{/i18n}</th> | |
| 36 | + <th>{i18n}Edit{/i18n}</th> | |
| 37 | + <th>{i18n}Delete{/i18n}</th> | |
| 38 | + <th>{i18n}Group Memberships{/i18n}</th> | |
| 37 | 39 | </tr> |
| 38 | 40 | </thead> |
| 39 | 41 | <tbody> |
| ... | ... | @@ -43,16 +45,21 @@ very slow if you have many users.</p> |
| 43 | 45 | <tr> |
| 44 | 46 | <td>{$oUser->getName()}</td> |
| 45 | 47 | <td>{$oUser->getUsername()}</td> |
| 46 | - <td><a href="?action=editUser&user_id={$oUser->getId()}" class="ktAction ktEdit">Edit</a></td> | |
| 47 | - <td><a href="?action=deleteuser&user_id={$oUser->getId()}" class="ktAction ktDelete">Delete</a></td> | |
| 48 | - <td><a href="?action=editgroups&user_id={$oUser->getId()}">Groups</a></td> | |
| 48 | + <td><a href="?action=editUser&user_id={$oUser->getId()}" class="ktAction ktEdit">{i18n}Edit{/i18n}</a></td> | |
| 49 | + <td><a href="?action=deleteuser&user_id={$oUser->getId()}" class="ktAction ktDelete">{i18n}Delete{/i18n}</a></td> | |
| 50 | + <td><a href="?action=editgroups&user_id={$oUser->getId()}">{i18n}Groups{/i18n}</a></td> | |
| 49 | 51 | </tr> |
| 50 | 52 | {/foreach} |
| 51 | 53 | {else} |
| 52 | 54 | <tr> |
| 53 | 55 | <td colspan="5" class="ktInfo"> |
| 54 | 56 | <!-- never show a very large set, if you can help it. --> |
| 55 | - <p>No search specified, or no results for your search. Please choose some criteria from the list above to find users.</p> | |
| 57 | + <p> | |
| 58 | +{i18n} | |
| 59 | +No search specified, or no results for your search. Please choose some | |
| 60 | +criteria from the list above to find users. | |
| 61 | +{/i18n} | |
| 62 | +</p> | |
| 56 | 63 | </td> |
| 57 | 64 | </tr> |
| 58 | 65 | {/if} |
| ... | ... | @@ -60,4 +67,4 @@ very slow if you have many users.</p> |
| 60 | 67 | |
| 61 | 68 | --> |
| 62 | 69 | </tbody> |
| 63 | -</table> | |
| 64 | 70 | \ No newline at end of file |
| 71 | +</table> | ... | ... |
templates/ktcore/principals/usergroups.smarty
| 1 | -<h2>Change {$edit_user->getName()}'s Groups</h2> | |
| 1 | +<h2>{i18n arg_name=$edit_user->getName()}Change #name#'s Groups{/i18n}</h2> | |
| 2 | 2 | |
| 3 | 3 | {$context->oPage->requireJSResource('thirdpartyjs/OptionTransfer.js')} |
| 4 | 4 | {$context->oPage->requireJSResource('thirdpartyjs/MochiKit/Base.js')} |
| ... | ... | @@ -19,15 +19,16 @@ side-effects to this when used by unitAdmins.</p> |
| 19 | 19 | |
| 20 | 20 | |
| 21 | 21 | <fieldset> |
| 22 | - <legend>Change {$edit_user->getName()}'s Groups</legend> | |
| 23 | - <p class="descriptiveText">Select the groups which should contain this user. <strong>FIXME</strong> this helptext is v. awkward.</p> | |
| 22 | + <legend>{i18n arg_name=$edit_user->getName()}Change #name#'s Groups{/i18n}</legend> | |
| 23 | + <p class="descriptiveText">{i18n}Select the groups which should | |
| 24 | +contain this user.{/i18n} <strong>FIXME</strong> this helptext is v. awkward.</p> | |
| 24 | 25 | |
| 25 | 26 | <table border="0" width="600"> |
| 26 | 27 | <thead> |
| 27 | 28 | <tr> |
| 28 | - <th>Available Groups</th> | |
| 29 | + <th>{i18n}Available Groups{/i18n}</th> | |
| 29 | 30 | <th> </th> |
| 30 | - <th>Assigned Groups</th> | |
| 31 | + <th>{i18n}Assigned Groups{/i18n}</th> | |
| 31 | 32 | </tr> |
| 32 | 33 | </thead> |
| 33 | 34 | <tbody> |
| ... | ... | @@ -53,19 +54,19 @@ side-effects to this when used by unitAdmins.</p> |
| 53 | 54 | </td> |
| 54 | 55 | </tr> |
| 55 | 56 | <tr> |
| 56 | - <td><label for="ug-filter">Filter</label> | |
| 57 | + <td><label for="ug-filter">{i18n}Filter{/i18n}</label> | |
| 57 | 58 | <input name="filterUG" id="ug-filter" onkeyup="optGroup.sortSelectMatch(groupSelect, this.value)" onchange="optGroup.sortSelectMatch(groupSelect, this.value)" type="text"> |
| 58 | 59 | </td> |
| 59 | 60 | <td> </td> |
| 60 | - <td><label for="og-filter">Filter</label> | |
| 61 | + <td><label for="og-filter">{i18n}Filter{/i18n}</label> | |
| 61 | 62 | <input name="filterOG" id="og-filter" onkeyup="optGroup.sortSelectMatch(chosenGroups, this.value)" onchange="optGroup.sortSelectMatch(chosenGroups, this.value)" type="text"> |
| 62 | 63 | </td> |
| 63 | 64 | </tr> |
| 64 | 65 | </tbody></table> |
| 65 | 66 | |
| 66 | 67 | <div class="form_actions"> |
| 67 | - <input type="submit" value="save changes" /> | |
| 68 | - <a href="?action=main" class="ktCancelLink">Cancel</a> | |
| 68 | + <input type="submit" value="{i18n}save changes{/i18n}" /> | |
| 69 | + <a href="?action=main" class="ktCancelLink">{i18n}Cancel{/i18n}</a> | |
| 69 | 70 | </div> |
| 70 | 71 | </fieldset> |
| 71 | - </form> | |
| 72 | 72 | \ No newline at end of file |
| 73 | + </form> | ... | ... |
templates/ktcore/search/administration/conditions.smarty
| 1 | -<h1>Conditions</h1> | |
| 1 | +<h1>{i18n}Conditions{/i18n}</h1> | |
| 2 | 2 | |
| 3 | -<h2>Create a new condition</h2> | |
| 3 | +<h2>{i18n}Create a new condition{/i18n}</h2> | |
| 4 | 4 | <form> |
| 5 | 5 | <input type="hidden" name="action" value="new" /> |
| 6 | -<input type="submit" name="submit" value="New" /> | |
| 6 | +<input type="submit" name="submit" value="{i18n}New{/i18n}" /> | |
| 7 | 7 | </form> |
| 8 | 8 | |
| 9 | 9 | {if $conditions} |
| 10 | -<h2>Edit existing conditions</h2> | |
| 10 | +<h2>{i18n}Edit existing conditions{/i18n}</h2> | |
| 11 | 11 | <form> |
| 12 | 12 | <input type="hidden" name="action" value="edit" /> |
| 13 | 13 | {entity_radios entities=$conditions name="fSavedSearchId" assign=aRadios} |
| 14 | 14 | {foreach from=$aRadios item=sRadio} |
| 15 | 15 | {$sRadio}<br /> |
| 16 | 16 | {/foreach} |
| 17 | -<input type="submit" name="submit" value="Edit" /> | |
| 17 | +<input type="submit" name="submit" value="{i18n}Edit{/i18n}" /> | |
| 18 | 18 | </form> |
| 19 | 19 | {/if} |
| 20 | 20 | ... | ... |
templates/ktcore/search/administration/savedsearches.smarty
| 1 | -<h1>Saved searches</h1> | |
| 1 | +<h1>{i18n}Saved searches{/i18n}</h1> | |
| 2 | 2 | |
| 3 | -<h2>Create a new saved search</h2> | |
| 3 | +<h2>{i18n}Create a new saved search{/i18n}</h2> | |
| 4 | 4 | <form> |
| 5 | 5 | <input type="hidden" name="action" value="new" /> |
| 6 | -<input type="submit" name="submit" value="New" /> | |
| 6 | +<input type="submit" name="submit" value="{i18n}New{/i18n}" /> | |
| 7 | 7 | </form> |
| 8 | 8 | |
| 9 | 9 | {if $saved_searches} |
| 10 | -<h2>Edit existing saved searches</h2> | |
| 10 | +<h2>{i18n}Edit existing saved searches{/i18n}</h2> | |
| 11 | 11 | <form> |
| 12 | 12 | <input type="hidden" name="action" value="edit" /> |
| 13 | 13 | {entity_radios entities=$saved_searches name="fSavedSearchId" assign=aRadios} |
| 14 | 14 | {foreach from=$aRadios item=sRadio} |
| 15 | 15 | {$sRadio}<br /> |
| 16 | 16 | {/foreach} |
| 17 | -<input type="submit" name="submit" value="Edit" /> | |
| 17 | +<input type="submit" name="submit" value="{i18n}Edit{/i18n}" /> | |
| 18 | 18 | </form> |
| 19 | 19 | |
| 20 | -<h2>Run a saved search</h2> | |
| 20 | +<h2>{i18n}Run a saved search{/i18n}</h2> | |
| 21 | 21 | <form action="{"booleanSearch"|generateControllerUrl}" method="GET"> |
| 22 | 22 | <input type="hidden" name="action" value="booleanSearch" /> |
| 23 | 23 | <input type="hidden" name="qs[action]" value="performSearch" /> |
| ... | ... | @@ -25,7 +25,7 @@ |
| 25 | 25 | {foreach from=$aRadios item=sRadio} |
| 26 | 26 | {$sRadio}<br /> |
| 27 | 27 | {/foreach} |
| 28 | -<input type="submit" name="submit" value="Run" /> | |
| 28 | +<input type="submit" name="submit" value="{i18n}Run{/i18n}" /> | |
| 29 | 29 | </form> |
| 30 | 30 | {/if} |
| 31 | 31 | ... | ... |