From 3bafaede1eb42b131a6c530f536202e695f780ae Mon Sep 17 00:00:00 2001 From: kevin_fourie Date: Fri, 15 Jun 2007 09:13:25 +0000 Subject: [PATCH] KTS-2101 "Misc i18n issues" Fixed using supplied patch as reference. Thanks Antti Poro! --- plugins/rssplugin/templates/RSSPlugin/dashlet.smarty | 2 +- plugins/rssplugin/templates/RSSPlugin/rssdocumentaction.smarty | 17 ++++++++--------- plugins/rssplugin/templates/RSSPlugin/rssfolderaction.smarty | 15 +++++++-------- templates/kt3/notifications/subscriptions.DiscussDocument.smarty | 2 +- templates/ktcore/document/admin/deletedlist.smarty | 2 +- templates/ktcore/document/metadata_history.smarty | 2 +- templates/ktcore/workflow/admin/copy.smarty | 44 ++++++++++++++++++++++---------------------- 7 files changed, 41 insertions(+), 43 deletions(-) diff --git a/plugins/rssplugin/templates/RSSPlugin/dashlet.smarty b/plugins/rssplugin/templates/RSSPlugin/dashlet.smarty index 606d07a..a0b5a8c 100644 --- a/plugins/rssplugin/templates/RSSPlugin/dashlet.smarty +++ b/plugins/rssplugin/templates/RSSPlugin/dashlet.smarty @@ -42,7 +42,7 @@ {if $action.description}title="{$action.description}"{/if}>{$action.name}
{else}{$action.name} {/if} {/if} -
No internal {if !$feedlist}or external {/if}feeds available. +
{i18n}No internal{/i18n} {if !$feedlist}{i18n}or external{/i18n} {/if}{i18n}feeds available{/i18n}.

{/if} diff --git a/plugins/rssplugin/templates/RSSPlugin/rssdocumentaction.smarty b/plugins/rssplugin/templates/RSSPlugin/rssdocumentaction.smarty index ce3a66b..7ad9273 100644 --- a/plugins/rssplugin/templates/RSSPlugin/rssdocumentaction.smarty +++ b/plugins/rssplugin/templates/RSSPlugin/rssdocumentaction.smarty @@ -1,10 +1,9 @@ -

get("ui/morphTo")}/title_bullet.png{else}{$rootUrl}/resources/graphics/title_bullet.png{/if}"/>{i18n}RSS for Document{/i18n}:
{$context->oDocument->getName()}

- -

-You can copy the following link into any RSS aggregator to create a feed to the selected document. -

-{i18n}Another way of quickly accessing a RSS feed for a document or folder is by RSS icon {$linkIcon}, -which you will find in your actions portlet on the left.{/i18n} +

get("ui/morphTo")}/title_bullet.png{else}{$rootUrl}/resources/graphics/title_bullet.png{/if}"/>{i18n}RSS for Document{/i18n}:
{$context->oDocument->getName()}

+ +

+{i18n}You can copy the following link into any RSS aggregator to create a feed to the selected document.{/i18n} +

+{i18n arg_linkIcon="$linkIcon"}Another way of quickly accessing an RSS feed for a document or folder is by using the RSS icon #linkIcon#, which you will find in your actions portlet on the left.{/i18n}

\ No newline at end of file diff --git a/plugins/rssplugin/templates/RSSPlugin/rssfolderaction.smarty b/plugins/rssplugin/templates/RSSPlugin/rssfolderaction.smarty index 8bb81fc..f2dd2e4 100644 --- a/plugins/rssplugin/templates/RSSPlugin/rssfolderaction.smarty +++ b/plugins/rssplugin/templates/RSSPlugin/rssfolderaction.smarty @@ -1,9 +1,8 @@ -

get("ui/morphTo")}/title_bullet.png{else}{$rootUrl}/resources/graphics/title_bullet.png{/if}"/>{i18n}RSS for folder{/i18n}: {$context->oFolder->getName()}

-

-You can copy the following link into any RSS aggragator to create a feed to the selected folder. -

-Another way of quickly accessing a RSS feed to a document of folder is by RSS icon {$linkIcon}, -which you will find in your actions portlet on the left. +

get("ui/morphTo")}/title_bullet.png{else}{$rootUrl}/resources/graphics/title_bullet.png{/if}"/>{i18n}RSS for folder{/i18n}: {$context->oFolder->getName()}

+

+{i18n}You can copy the following link into any RSS aggragator to create a feed to the selected folder.{/i18n} +

+{i18n arg_linkIcon="$linkIcon"}Another way of quickly accessing an RSS feed for a document or folder is by using the RSS icon #linkIcon#, which you will find in your actions portlet on the left.{/i18n}

\ No newline at end of file diff --git a/templates/kt3/notifications/subscriptions.DiscussDocument.smarty b/templates/kt3/notifications/subscriptions.DiscussDocument.smarty index 3d56981..bc2360a 100644 --- a/templates/kt3/notifications/subscriptions.DiscussDocument.smarty +++ b/templates/kt3/notifications/subscriptions.DiscussDocument.smarty @@ -2,7 +2,7 @@
{if ($info.has_actor)} - {$info.actor_name} has added to the discussion around document "{$info.object_name}". + {$info.actor_name} {i18n}has added to the discussion around document{/i18n} "{$info.object_name}". {else} The discussion around document "{$info.object_name}" has been updated. {/if} diff --git a/templates/ktcore/document/admin/deletedlist.smarty b/templates/ktcore/document/admin/deletedlist.smarty index 310b96a..c9647f2 100644 --- a/templates/ktcore/document/admin/deletedlist.smarty +++ b/templates/ktcore/document/admin/deletedlist.smarty @@ -45,7 +45,7 @@ can restore them as necessary.{/i18n}

- {$itemcount} items, 10 per page + {$itemcount} {i18n}items, 10 per page{/i18n} diff --git a/templates/ktcore/document/metadata_history.smarty b/templates/ktcore/document/metadata_history.smarty index a31a432..7ebb61f 100644 --- a/templates/ktcore/document/metadata_history.smarty +++ b/templates/ktcore/document/metadata_history.smarty @@ -12,7 +12,7 @@ {i18n}Content Version{/i18n} {i18n}Compare with Current{/i18n} {i18n}Compare with Other Version{/i18n} - Date Created + {i18n}Date Created{/i18n} diff --git a/templates/ktcore/workflow/admin/copy.smarty b/templates/ktcore/workflow/admin/copy.smarty index 98d5a05..0a6c0d3 100644 --- a/templates/ktcore/workflow/admin/copy.smarty +++ b/templates/ktcore/workflow/admin/copy.smarty @@ -1,23 +1,23 @@ -

{i18n}Copy Workflow{/i18n}

-

-{i18n}You are about to make a copy of {$workFlowName}. This will make and exact copy of the selected workflow, - including all associated permissions, actions and triggers. Enter the desired name for the resulting workflow - copy to continue.{/i18n} -

- -

{i18n}New workflow information{/i18n}

-
- - - - - - - - - - -
New workflow name:

- - +

{i18n}Copy Workflow{/i18n}

+

+{i18n}You are about to make a copy of {$workFlowName}. This will make and exact copy of the selected workflow, + including all associated permissions, actions and triggers. Enter the desired name for the resulting workflow + copy to continue.{/i18n} +

+ +

{i18n}New workflow information{/i18n}

+ + + + + + + + + + + +
{i18n}New workflow name{/i18n}:

+ +
\ No newline at end of file -- libgit2 0.21.4