_locale_import_message

Хочешь помочь с переводом? Это очень просто и быстро. Лишь зарегистрируйся, и можешь тут же начать переводить.

includes/locale.inc, строка 1222

Версии
5 – 6
_locale_import_message($message, $file, $lineno = NULL)

Sets an error message occurred during locale file parsing.

Параметры

$message The message to be translated

$file Drupal file object corresponding to the PO file to import

$lineno An optional line number argument

Связанные темы

Код

<?php
function _locale_import_message($message, $file, $lineno = NULL) {
  $vars = array('%filename' => $file->filename);
  if (isset($lineno)) {
    $vars['%line'] = $lineno;
  }
  $t = get_t();
  drupal_set_message($t($message, $vars), 'error');
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии

Вход в систему