Commit 3bafaede1eb42b131a6c530f536202e695f780ae

Authored by kevin_fourie
1 parent 05f4b6f4

KTS-2101

"Misc i18n issues"
Fixed using supplied patch as reference. Thanks Antti Poro!

Committed By: Kevin
Reviewed By: Conrad

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/trunk@6790 c91229c3-7414-0410-bfa2-8a42b809f60b
plugins/rssplugin/templates/RSSPlugin/dashlet.smarty
... ... @@ -42,7 +42,7 @@
42 42 {if $action.description}title="{$action.description}"{/if}>{$action.name}</a><br>{else}{$action.name}
43 43 {/if}
44 44 {/if}
45   - <br>No internal {if !$feedlist}or external {/if}feeds available.
  45 + <br>{i18n}No internal{/i18n} {if !$feedlist}{i18n}or external{/i18n} {/if}{i18n}feeds available{/i18n}.
46 46 <br>
47 47 <br>
48 48 {/if}
... ...
plugins/rssplugin/templates/RSSPlugin/rssdocumentaction.smarty
1   -<h2><img src="{if $config->get("ui/morphEnabled") == '1'}{$rootUrl}/skins/kts_{$config->get("ui/morphTo")}/title_bullet.png{else}{$rootUrl}/resources/graphics/title_bullet.png{/if}"/>{i18n}RSS for Document{/i18n}:<br />{$context->oDocument->getName()}</h2>
2   -
3   -<p>
4   -You can copy the following link into any RSS aggregator to create a feed to the selected document.
5   -<ul>
6   - <li>{$link}</li>
7   -</ul>
8   -{i18n}Another way of quickly accessing a RSS feed for a document or folder is by RSS icon {$linkIcon},
9   -which you will find in your actions portlet on the left.{/i18n}
  1 +<h2><img src="{if $config->get("ui/morphEnabled") == '1'}{$rootUrl}/skins/kts_{$config->get("ui/morphTo")}/title_bullet.png{else}{$rootUrl}/resources/graphics/title_bullet.png{/if}"/>{i18n}RSS for Document{/i18n}:<br />{$context->oDocument->getName()}</h2>
  2 +
  3 +<p>
  4 +{i18n}You can copy the following link into any RSS aggregator to create a feed to the selected document.{/i18n}
  5 +<ul>
  6 + <li>{$link}</li>
  7 +</ul>
  8 +{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}
10 9 </p>
11 10 \ No newline at end of file
... ...
plugins/rssplugin/templates/RSSPlugin/rssfolderaction.smarty
1   -<h2><img src="{if $config->get("ui/morphEnabled") == '1'}{$rootUrl}/skins/kts_{$config->get("ui/morphTo")}/title_bullet.png{else}{$rootUrl}/resources/graphics/title_bullet.png{/if}"/>{i18n}RSS for folder{/i18n}: {$context->oFolder->getName()}</h2>
2   -<p>
3   -You can copy the following link into any RSS aggragator to create a feed to the selected folder.
4   -<ul>
5   - <li>{$link}</li>
6   -</ul>
7   -Another way of quickly accessing a RSS feed to a document of folder is by RSS icon {$linkIcon},
8   -which you will find in your actions portlet on the left.
  1 +<h2><img src="{if $config->get("ui/morphEnabled") == '1'}{$rootUrl}/skins/kts_{$config->get("ui/morphTo")}/title_bullet.png{else}{$rootUrl}/resources/graphics/title_bullet.png{/if}"/>{i18n}RSS for folder{/i18n}: {$context->oFolder->getName()}</h2>
  2 +<p>
  3 +{i18n}You can copy the following link into any RSS aggragator to create a feed to the selected folder.{/i18n}
  4 +<ul>
  5 + <li>{$link}</li>
  6 +</ul>
  7 +{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}
9 8 </p>
10 9 \ No newline at end of file
... ...
templates/kt3/notifications/subscriptions.DiscussDocument.smarty
... ... @@ -2,7 +2,7 @@
2 2 <dd class="actionmessage">
3 3 <!-- could break this up. -->
4 4 {if ($info.has_actor)}
5   - {$info.actor_name} has added to the discussion around document "{$info.object_name}".
  5 + {$info.actor_name} {i18n}has added to the discussion around document{/i18n} "{$info.object_name}".
6 6 {else}
7 7 The discussion around document "{$info.object_name}" has been updated.
8 8 {/if}
... ...
templates/ktcore/document/admin/deletedlist.smarty
... ... @@ -45,7 +45,7 @@ can &lt;strong&gt;restore&lt;/strong&gt; them as necessary.{/i18n}&lt;/p&gt;
45 45 <tfoot>
46 46 <tr>
47 47 <td colspan="4">
48   - <span style="float: left">{$itemcount} items, 10 per page</span>
  48 + <span style="float: left">{$itemcount} {i18n}items, 10 per page{/i18n}</span>
49 49 </td>
50 50 </tr>
51 51 <tr>
... ...
templates/ktcore/document/metadata_history.smarty
... ... @@ -12,7 +12,7 @@
12 12 <th class="date">{i18n}Content Version{/i18n}</th>
13 13 <th class="compare">{i18n}Compare with Current{/i18n}</th>
14 14 <th class="compare">{i18n}Compare with Other Version{/i18n}</th>
15   - <th class="versiondate">Date Created</th>
  15 + <th class="versiondate">{i18n}Date Created{/i18n}</th>
16 16 </tr>
17 17 </thead>
18 18 <tbody>
... ...
templates/ktcore/workflow/admin/copy.smarty
1   -<h2>{i18n}Copy Workflow{/i18n}</h2>
2   -<p class="descriptiveText">
3   -{i18n}You are about to make a copy of <strong>{$workFlowName}</strong>. This will make and exact copy of the selected workflow,
4   - including all associated permissions, actions and triggers. Enter the desired name for the resulting workflow
5   - copy to continue.{/i18n}
6   -</p>
7   -
8   -<h3>{i18n}New workflow information{/i18n}</h3>
9   -<form action="{$smarty.server.PHP_SELF}" method="POST">
10   - <input type="hidden" name="action" value="branchConfirm" />
11   - <input type="hidden" name="workflowId" value="{$workFlowId}" />
12   - <table>
13   - <tr>
14   - <td>New workflow name: </td>
15   - <td><input type="text" name="workflowName"></td>
16   - </tr>
17   - <tr>
18   - <td colspan="2"><hr></td>
19   - </tr>
20   - </table>
21   -
22   - <input type="submit" name="submit[confirmCopy]" value="{i18n}Copy{/i18n}" />
  1 +<h2>{i18n}Copy Workflow{/i18n}</h2>
  2 +<p class="descriptiveText">
  3 +{i18n}You are about to make a copy of <strong>{$workFlowName}</strong>. This will make and exact copy of the selected workflow,
  4 + including all associated permissions, actions and triggers. Enter the desired name for the resulting workflow
  5 + copy to continue.{/i18n}
  6 +</p>
  7 +
  8 +<h3>{i18n}New workflow information{/i18n}</h3>
  9 +<form action="{$smarty.server.PHP_SELF}" method="POST">
  10 + <input type="hidden" name="action" value="branchConfirm" />
  11 + <input type="hidden" name="workflowId" value="{$workFlowId}" />
  12 + <table>
  13 + <tr>
  14 + <td>{i18n}New workflow name{/i18n}: </td>
  15 + <td><input type="text" name="workflowName"></td>
  16 + </tr>
  17 + <tr>
  18 + <td colspan="2"><hr></td>
  19 + </tr>
  20 + </table>
  21 +
  22 + <input type="submit" name="submit[confirmCopy]" value="{i18n}Copy{/i18n}" />
23 23 </form>
24 24 \ No newline at end of file
... ...