i18n_translation.pages.inc 292 B

12345678910111213
  1. <?php
  2. /**
  3. * @file
  4. * Generic translation page for objects
  5. */
  6. /**
  7. * Translate object, create translation set
  8. */
  9. function i18n_translation_object_translate_page($type, $object) {
  10. $page = i18n_translation_set_info($type, 'page callback');
  11. return call_user_func($page, $type, $object);
  12. }