function locale_themes_enabled

Implements hook_themes_enabled().

@todo This is technically wrong. We must not import upon enabling, but upon initial installation. The theme system is missing an installation hook.

File

drupal/core/modules/locale/locale.module, line 420
Enables the translation of the user interface to languages other than English.

Code

function locale_themes_enabled($themes) {
  $components['theme'] = $themes;
  locale_system_update($components);
}