You are here

function finder_ui_locale in Finder 7.2

Implements hook_locale().

File

modules/finder_ui/finder_ui.i18n_string.inc, line 13
i18n_string.inc

Code

function finder_ui_locale($op = 'groups', $group = NULL) {
  switch ($op) {
    case 'groups':
      return array(
        'finder' => t('Finder'),
      );
    case 'refresh':
      $finders = finder_load_all();
      if (is_array($finders)) {
        foreach ($finders as $finder) {
          finder_save($finder);
        }
      }
  }
}