You are here

function notifications_locale_refresh in Notifications 6.2

Same name and namespace in other branches
  1. 6.4 notifications.module \notifications_locale_refresh()

Refresh notifications strings

1 call to notifications_locale_refresh()
notifications_send_intervals_form_submit in ./notifications.admin.inc
Form submit for time intervals
1 string reference to 'notifications_locale_refresh'
notifications_locale in ./notifications.module
Implementation of hook_locale().

File

./notifications.module, line 1929
Notifications module

Code

function notifications_locale_refresh() {
  if ($intervals = variable_get('notifications_send_intervals', FALSE)) {
    foreach ($intervals as $key => $name) {
      i18nstrings_update("notifications:send_interval:{$key}:name", $name);
    }
  }
  return TRUE;
}