function i18n_node_update_7000 in Internationalization 7
Implements hook_i18n_update_drupal6().
Update old string names
1 call to i18n_node_update_7000()
- i18n_node_install in i18n_node/
i18n_node.install - Implements hook_install().
File
- i18n_node/
i18n_node.install, line 44 - Installation file for Internationalization (i18n) module.
Code
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');
}