function casetracker_locale_refresh in Case Tracker 6
Same name and namespace in other branches
- 7 casetracker.module \casetracker_locale_refresh()
Refresh locale strings.
1 string reference to 'casetracker_locale_refresh'
- casetracker_locale in ./
casetracker.module - Implementation of hook_locale().
File
- ./
casetracker.module, line 603 - Enables the handling of projects and their cases.
Code
function casetracker_locale_refresh() {
$results = db_query("SELECT csid, case_state_name AS name, case_state_realm AS realm FROM {casetracker_case_states}");
while ($row = db_fetch_object($results)) {
i18nstrings_update("casetracker:case_states:{$row->csid}:name", $row->name);
}
// Meaning it completed with no issues. @see i18nmenu_locale_refresh().
return TRUE;
}