You are here

function noderelationships_get_i18nstrings in Node Relationships 6

Get the name of the i18nstrings() function, it was tt().

@todo Remove when this issue is stable in i18n module. Fatal error: Call to undefined function tt()

2 calls to noderelationships_get_i18nstrings()
noderelationships_get_localized_content_type in ./noderelationships.inc
Get the localized version of the given content type.
noderelationships_get_localized_content_type_name in ./noderelationships.inc
Get the localized name of the given content type.

File

./noderelationships.inc, line 1248
Common functions for the noderelationships module.

Code

function noderelationships_get_i18nstrings() {
  if (function_exists('i18nstrings')) {
    return 'i18nstrings';
  }
  if (function_exists('tt')) {
    return 'tt';
  }
  return FALSE;
}