function _msnf_i18nstrings_step_update in Multistep Nodeform 6
2 calls to _msnf_i18nstrings_step_update()
- msnf_locale_refresh in ./
msnf.module - Refresh strings.
- msnf_save_step in includes/
msnf.steps.inc
File
- ./
msnf.module, line 927 - Main functions for module "Multistep Nodeform".
Code
function _msnf_i18nstrings_step_update($step) {
if (module_exists('i18nstrings')) {
i18nstrings_update('msnf:step_fields:' . $step['step_name'] . ':label', $step['label']);
i18nstrings_update('msnf:step_fields:' . $step['step_name'] . ':form_description', $step['settings']['form']['description']);
i18nstrings_update('msnf:step_fields:' . $step['step_name'] . ':form_button_label_previous', $step['settings']['form']['button_label']['previous']);
i18nstrings_update('msnf:step_fields:' . $step['step_name'] . ':form_button_label_next', $step['settings']['form']['button_label']['next']);
}
}