Commit 0fca0371 authored by drumm's avatar drumm

#76555 by Goba. Use get_t() in locale.

parent 92d0f3e6
......@@ -660,7 +660,7 @@ function _locale_import_message($message, $file, $lineno = NULL) {
if (isset($lineno)) {
$vars['%line'] = $lineno;
}
$t = function_exists('installer_main') ? 'st' : 't';
$t = get_t();
drupal_set_message($t($message, $vars), 'error');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment