You are here

function view::process_locale_strings in Views (for Drupal 7) 6.3

Same name and namespace in other branches
  1. 7.3 includes/view.inc \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 1960
view.inc Provides the view object type and associated methods.

Class

view
An object to contain all of the data to generate a view, plus the member functions to build the view query, execute the query and render the output.

Code

function process_locale_strings($op) {

  // Ensure this view supports translation, we have a display, and we
  // have a localization plugin.
  // @fixme Export does not init every handler.
  if (($this
    ->is_translatable() || $op == 'export') && $this
    ->init_display() && $this
    ->init_localization()) {
    $this->localization_plugin
      ->process_locale_strings($op);
  }
}