function locale_inc_callback

6.x locale.module locale_inc_callback()

Wrapper function to be able to set callbacks in locale.inc

2 calls to locale_inc_callback()
locale_update_6007 in drupal-6.x/modules/locale/locale.install
Fix Drupal.formatPlural().
locale_update_js_files in drupal-6.x/modules/locale/locale.module
Update JavaScript translation file, if required, and add it to the page.
1 string reference to 'locale_inc_callback'
locale_menu in drupal-6.x/modules/locale/locale.module
Implementation of hook_menu().

File

drupal-6.x/modules/locale/locale.module, line 175
Add language handling functionality and enables the translation of the user interface to languages other than English.

Code

function locale_inc_callback() {
  $args = func_get_args();
  $function = array_shift($args);
  include_once './includes/locale.inc';
  return call_user_func_array($function, $args);
}