function tmgmt_ui_help in Translation Management Tool 7
Implements hook_help().
File
- ui/
tmgmt_ui.module, line 1181 - Common Translation managment UI.
Code
function tmgmt_ui_help($path, $arg) {
$output = '';
if (strpos($path, 'admin/tmgmt/sources') !== FALSE) {
$output = '<div class="source-help-wrapper">' . tmgmt_ui_color_legend() . '</div>';
}
if ($path == 'admin/tmgmt/cart') {
$output = '<p>' . t('The TMGMT cart is used to bundle text items from
different sources into one translation job. Use the "Add to cart" button to
add all selected items in any source list. <br/>From the cart page, you can
request a translation of all selected elements in the cart into any available
language. One translation job will be created for each language pair involved.') . '</p>';
}
return $output;
}