You are here

function messaging_translate in Messaging 7

Same name and namespace in other branches
  1. 6.4 messaging.module \messaging_translate()
  2. 6.2 messaging.module \messaging_translate()

Wrapper function for 1i8nstrings() if i18nstrings enabled.

1 call to messaging_translate()
messaging_method_list in ./messaging.module
List sending methods

File

./messaging.module, line 617

Code

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