Commit da2221fa766dd5bdb47f1dc447232c38cf1db2f1
1 parent
7eee210e
KTS-1860
"Misc patches for i18n support" Updated i18n. Reviewed By: Jalaloedien git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@6489 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
4 changed files
with
11 additions
and
11 deletions
plugins/ktcore/admin/workflowsv2.php
| @@ -1942,7 +1942,7 @@ class KTWorkflowAdminV2 extends KTAdminDispatcher { | @@ -1942,7 +1942,7 @@ class KTWorkflowAdminV2 extends KTAdminDispatcher { | ||
| 1942 | if (PEAR::isError($oU) || ($oU == false)) { | 1942 | if (PEAR::isError($oU) || ($oU == false)) { |
| 1943 | continue; | 1943 | continue; |
| 1944 | } else { | 1944 | } else { |
| 1945 | - $values[sprintf("users[%d]", $iUserId)] = sprintf('User: %s', $oU->getName()); | 1945 | + $values[sprintf("users[%d]", $iUserId)] = sprintf(_kt('User: %s'), $oU->getName()); |
| 1946 | } | 1946 | } |
| 1947 | } | 1947 | } |
| 1948 | 1948 | ||
| @@ -1956,7 +1956,7 @@ class KTWorkflowAdminV2 extends KTAdminDispatcher { | @@ -1956,7 +1956,7 @@ class KTWorkflowAdminV2 extends KTAdminDispatcher { | ||
| 1956 | if (PEAR::isError($oG) || ($oG == false)) { | 1956 | if (PEAR::isError($oG) || ($oG == false)) { |
| 1957 | continue; | 1957 | continue; |
| 1958 | } else { | 1958 | } else { |
| 1959 | - $values[sprintf("groups[%d]", $iGroupId)] = sprintf('Group: %s', $oG->getName()); | 1959 | + $values[sprintf("groups[%d]", $iGroupId)] = sprintf(_kt('Group: %s'), $oG->getName()); |
| 1960 | } | 1960 | } |
| 1961 | } | 1961 | } |
| 1962 | 1962 | ||
| @@ -1971,7 +1971,7 @@ class KTWorkflowAdminV2 extends KTAdminDispatcher { | @@ -1971,7 +1971,7 @@ class KTWorkflowAdminV2 extends KTAdminDispatcher { | ||
| 1971 | if (PEAR::isError($oR) || ($oR == false)) { | 1971 | if (PEAR::isError($oR) || ($oR == false)) { |
| 1972 | continue; | 1972 | continue; |
| 1973 | } else { | 1973 | } else { |
| 1974 | - $values[sprintf("roles[%d]", $iRoleId)] = sprintf('Role: %s', $oR->getName()); | 1974 | + $values[sprintf("roles[%d]", $iRoleId)] = sprintf(_kt('Role: %s'), $oR->getName()); |
| 1975 | } | 1975 | } |
| 1976 | } | 1976 | } |
| 1977 | 1977 |
templates/ktcore/forms/widgets/descriptor.smarty
| @@ -37,7 +37,7 @@ | @@ -37,7 +37,7 @@ | ||
| 37 | <option value="{$lookup_key}" {if ($value == $lookup_key)}selected="selected"{/if}>{$lookup}</option> | 37 | <option value="{$lookup_key}" {if ($value == $lookup_key)}selected="selected"{/if}>{$lookup}</option> |
| 38 | {/foreach} | 38 | {/foreach} |
| 39 | </select> | 39 | </select> |
| 40 | - <div><label for="filter_{$short_name}_assigned">Filter</label><input type="text" id="filter_{$short_name}_assigned" /></div> | 40 | + <div><label for="filter_{$short_name}_assigned">{i18n}Filter{/i18n}</label><input type="text" id="filter_{$short_name}_assigned" /></div> |
| 41 | </td> | 41 | </td> |
| 42 | </tr> | 42 | </tr> |
| 43 | </tbody> | 43 | </tbody> |
templates/ktcore/workflow/admin/allocate_permissions.smarty
| @@ -14,9 +14,9 @@ | @@ -14,9 +14,9 @@ | ||
| 14 | 14 | ||
| 15 | <thead> | 15 | <thead> |
| 16 | <tr> | 16 | <tr> |
| 17 | - <td style="width:45%"><label for="select_{$name}_avail">Available Entities</label></td> | 17 | + <td style="width:45%"><label for="select_{$name}_avail">{i18n}Available Entities{/i18n}</label></td> |
| 18 | <td style="width:10%"> </td> | 18 | <td style="width:10%"> </td> |
| 19 | - <td style="width:45%"><label for="select_{$name}_assigned">Assigned Entities</label></td> | 19 | + <td style="width:45%"><label for="select_{$name}_assigned">{i18n}Assigned Entities{/i18n}</label></td> |
| 20 | </tr> | 20 | </tr> |
| 21 | </thead> | 21 | </thead> |
| 22 | 22 | ||
| @@ -27,7 +27,7 @@ | @@ -27,7 +27,7 @@ | ||
| 27 | <select name="entities" id="select_entities_avail" multiple="true"size="5"> | 27 | <select name="entities" id="select_entities_avail" multiple="true"size="5"> |
| 28 | </select> | 28 | </select> |
| 29 | 29 | ||
| 30 | - <div><label for="filter_entities_avail">Filter</label><input type="text" id="filter_entities_avail" /><br/><a href="#" id="entities_show_all">Show All</a></div> | 30 | + <div><label for="filter_entities_avail">{i18n}Filter<{/i18n}/label><input type="text" id="filter_entities_avail" /><br/><a href="#" id="entities_show_all">{i18n}Show All{/i18n}</a></div> |
| 31 | </td> | 31 | </td> |
| 32 | 32 | ||
| 33 | <td> | 33 | <td> |
| @@ -42,7 +42,7 @@ | @@ -42,7 +42,7 @@ | ||
| 42 | 42 | ||
| 43 | <select name="entities" id="select_entities_assigned" multiple="true"size="5"> | 43 | <select name="entities" id="select_entities_assigned" multiple="true"size="5"> |
| 44 | </select> | 44 | </select> |
| 45 | - <div><label for="filter_entities_assigned">Filter</label><input type="text" id="filter_entities_assigned" /></div> | 45 | + <div><label for="filter_entities_assigned">{i18n}Filter{/i18n}</label><input type="text" id="filter_entities_assigned" /></div> |
| 46 | </td> | 46 | </td> |
| 47 | </tr> | 47 | </tr> |
| 48 | </tbody> | 48 | </tbody> |
templates/ktcore/workflow/admin/managepermissions.smarty
| @@ -9,12 +9,12 @@ Indicate below which permissions are controlled to allocate them.{/i18n}</p></di | @@ -9,12 +9,12 @@ Indicate below which permissions are controlled to allocate them.{/i18n}</p></di | ||
| 9 | for this workflow state, you should allocate these to the appropriate groups | 9 | for this workflow state, you should allocate these to the appropriate groups |
| 10 | and roles.{/i18n}</p> | 10 | and roles.{/i18n}</p> |
| 11 | 11 | ||
| 12 | -<a class="ktAction ktEdit ktActionDescribed" href="{addQS context=$context}action=allocatepermissions{/addQS}">Allocate permissions</a> | ||
| 13 | -<a href="{addQS context=$context}action=allocatepermissions{/addQS}">Allocate permissions</a> | 12 | +<a class="ktAction ktEdit ktActionDescribed" href="{addQS context=$context}action=allocatepermissions{/addQS}">{i18n}Allocate permissions{/i18n}</a> |
| 13 | +<a href="{addQS context=$context}action=allocatepermissions{/addQS}">{i18n}Allocate permissions{/i18n}</a> | ||
| 14 | 14 | ||
| 15 | {/if} | 15 | {/if} |
| 16 | 16 | ||
| 17 | -<h3>Specify permissions</h3> | 17 | +<h3>{i18n}Specify permissions{/i18n}</h3> |
| 18 | 18 | ||
| 19 | {capture assign=permgrid} | 19 | {capture assign=permgrid} |
| 20 | 20 |