You are here

function taxonomy_title_locale_refresh in Taxonomy Title 6

Refresh callback for locale strings.

1 string reference to 'taxonomy_title_locale_refresh'
taxonomy_title_locale in ./taxonomy_title.module
Implementation of hook_locale().

File

./taxonomy_title.module, line 242
Enhanced control over the heading tag for the taxonomy term list pages.

Code

function taxonomy_title_locale_refresh() {
  $results = db_query("SELECT tid, title FROM {taxonomy_title}");
  while ($row = db_fetch_object($results)) {
    i18nstrings_update("taxonomy_title:term:{$row->tid}:title", $row->title);
  }

  // Meaning it completed with no issues. @see i18nmenu_locale_refresh().
  return TRUE;
}