You are here

function node_i18n_sync_options in Internationalization 7

Node module. Implements hook_i18n_sync_options().

File

i18n_sync/i18n_sync.modules.inc, line 56
Internationalization (i18n) package. Synchronization of translations

Code

function node_i18n_sync_options($entity_type, $bundle_name) {
  if ($entity_type == 'node') {
    return array(
      'uid' => array(
        'title' => t('Author'),
      ),
      'status' => array(
        'title' => t('Status'),
      ),
      'created' => array(
        'title' => t('Post date'),
      ),
      'promote' => array(
        'title' => t('Promote'),
      ),
      'moderate' => array(
        'title' => t('Moderate'),
      ),
      'sticky' => array(
        'title' => t('Sticky'),
      ),
      'revision' => array(
        'title' => t('Revision'),
        'description' => t('Create also new revision for translations'),
      ),
    );
  }
}