You are here

function _sbp_paths_refresh_translations in Search by Page 6

Refreshes string translations for i18nstrings module.

1 string reference to '_sbp_paths_refresh_translations'
sbp_paths_locale in ./sbp_paths.module
Implementation of hook_locale().

File

./sbp_paths.module, line 525
Module file for Search by Page Paths, a sub-module for Search by Page.

Code

function _sbp_paths_refresh_translations() {
  if (module_exists('i18nstrings')) {
    $res = db_query('SELECT * FROM {sbpp_path} p');
    while ($vals = db_fetch_array($res)) {
      _sbp_paths_update_translation($vals);
    }
  }
}