You are here

function notifications_translate in Notifications 6.2

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

Wrapper function for 1i8nstrings() if i18nstrings enabled.

3 calls to notifications_translate()
notifications_content_notifications in notifications_content/notifications_content.module
Implementation of hook_notifications()
notifications_send_intervals in ./notifications.module
List of send intervals, translated.
_notifications_content_node_options in notifications_content/notifications_content.module
Subscribe / unsubscribe options to specific node.

File

./notifications.module, line 1908
Notifications module

Code

function notifications_translate($name, $string, $langcode = NULL, $textgroup = 'notifications') {
  return function_exists('i18nstrings') ? i18nstrings($textgroup . ':' . $name, $string, $langcode) : $string;
}