function view::process_locale_strings
Process strings for localization, deletion or export to code.
3 calls to view::process_locale_strings()
- view::delete_locale_strings in includes/
view.inc - Delete localized strings.
- view::export_locale_strings in includes/
view.inc - Export localized strings.
- view::save_locale_strings in includes/
view.inc - Send strings for localization.
File
-
includes/
view.inc, line 2220
Class
- view
- An object to contain all of the data to generate a view.
Code
public function process_locale_strings($op) {
// Ensure this view supports translation, we have a display, and we
// have a localization plugin.
// @todo Export does not init every handler.
if (($this->is_translatable() || $op == 'export') && $this->init_display() && $this->init_localization() && isset($this->localization_plugin->view->display)) {
$this->localization_plugin
->process_locale_strings($op);
}
}