function potx_exportables_menu in Potx exportables 7
Implements hook_menu().
File
- ./
potx_exportables.module, line 11 - This module will ease deployment for translated strings found in PO files generated by the POTx module.
Code
function potx_exportables_menu() {
$items['admin/config/regional/translate/update-from-code'] = array(
'title' => 'Update from code',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'_potx_exportables_import_form',
),
'access arguments' => array(
'translate interface',
),
'weight' => 250,
'type' => MENU_LOCAL_TASK,
'file' => 'potx_exportables.admin.inc',
);
return $items;
}