7001, ); return $dependencies; } /** * Implements hook_i18n_update_drupal6(). * * Update old string names */ function i18n_node_update_7000() { // @todo Update from D6 i18n // Variables: // i18n_newnode_current, i18n_required_node, i18n_lock_node => i18n_node_options_[node_type] // i18n_node => 'i18n_node_extended_[node_type]' // Update string names // - nodetype:type:[type]:[property] -> node:type:[type]:[property] // - Property names: title -> title_label module_load_install('i18n_string'); i18n_string_install_update_context('nodetype:type:*:*', 'node:type:*:*'); i18n_string_install_update_context('node:type:*:title', 'node:type:*:title_label'); } /** * Delete obsoleted variable for switch interface for translating. */ /* function i18n_node_update_7001() { variable_del('i18n_node_translation_switch'); } */