You are here

function quicktabs_locale_refresh in Quick Tabs 6.3

Same name and namespace in other branches
  1. 6.2 quicktabs.module \quicktabs_locale_refresh()

Refresh locale strings.

1 string reference to 'quicktabs_locale_refresh'
quicktabs_locale in ./quicktabs.module
Implementation of hook_locale().

File

./quicktabs.module, line 792

Code

function quicktabs_locale_refresh() {
  foreach (quicktabs_get_all_quicktabs() as $qt_name => $quicktabs) {
    foreach ($quicktabs['tabs'] as $tabkey => $tab) {
      i18nstrings_update('quicktabs:tab:' . $qt_name . '--' . $tabkey . ':title', $tab['title']);
    }
  }
  return TRUE;
}