locale_system_update

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

modules/locale/locale.module, строка 471

Версии
6
locale_system_update($components)

Imports translations when new modules or themes are installed or enabled.

This function will either import translation for the component change right away, or start a batch if more files need to be imported.

Параметры

$components An array of component (theme and/or module) names to import translations for.

Код

<?php
function locale_system_update($components) {
  include_once 'includes/locale.inc';
  if ($batch = locale_batch_by_component($components)) {
    batch_set($batch);
  }
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии

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