Commit 1fa4d2a5 authored by alain_desilets's avatar alain_desilets

- Fixed title in the Update Translation of the Translate dialog (Translate...

- Fixed title in the Update Translation of the Translate dialog (Translate button). Also, small change in some captions for the Update translation module.
parent 3c04e440
......@@ -14,7 +14,7 @@
{/if}
{if $mod_translation_better_known or $mod_translation_better_other}
<div>
{tr}Import from these:{/tr}
{tr}Import from:{/tr}
{if $mod_translation_better_known}
<ul>
{foreach item=better from=$mod_translation_better_known}
......@@ -98,7 +98,7 @@
{/if}
{if $mod_translation_worst_known or $mod_translation_worst_other}
<div>
{tr}Export to these:{/tr}
{tr}Export to:{/tr}
{if $mod_translation_worst_known}
<ul>
{foreach item=worst from=$mod_translation_worst_known}
......
......@@ -42,7 +42,7 @@
<h3>{tr}Translate updates to this page or its translations{/tr}</h3>
<div style="width:50%">
{include file='modules/mod-translation.tpl'}
{$content_of_update_translation_section}
</div>
<br>
......
......@@ -298,15 +298,13 @@ $smarty->assign('mid', 'tiki-edit_translation.tpl');
$smarty->display("tiki.tpl");
function execute_module_translation() {
global $smarty;
$module_reference = array(
'moduleId' => null,
'name' => 'translation',
'params' => array(),
'position' => null,
'ord' => null,
);
global $modlib; require_once 'lib/modules/modlib.php';
$out = $modlib->execute_module( $module_reference );
$smarty->assign('content_of_update_translation_section', $out);
}
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment