You are here

function notifications_translate in Notifications 6.4

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

Wrapper function for 1i8nstrings() if i18nstrings enabled.

5 calls to notifications_translate()
notifications_content_type_name in notifications_content/notifications_content.module
Get list of translated content type names
Notifications_Custom_Subscription::get_description in notifications_custom/notifications_custom.class.inc
Get description
Notifications_Custom_Subscription::get_name in notifications_custom/notifications_custom.class.inc
Get subscription short name.
Notifications_Custom_Subscription::get_title in notifications_custom/notifications_custom.class.inc
notifications_send_intervals in ./notifications.module
List of send intervals, translated.

File

./notifications.module, line 1978
Notifications module

Code

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