69 lines
2.2 KiB
PHP
69 lines
2.2 KiB
PHP
<?php
|
|
/**
|
|
* @file
|
|
* translations.strongarm.inc
|
|
*/
|
|
|
|
/**
|
|
* Implements hook_strongarm().
|
|
*/
|
|
function translations_strongarm() {
|
|
$export = array();
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'i18n_node_translation_switch';
|
|
$strongarm->value = 1;
|
|
$export['i18n_node_translation_switch'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'locale_field_language_fallback';
|
|
$strongarm->value = 1;
|
|
$export['locale_field_language_fallback'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'locale_language_negotiation_url_part';
|
|
$strongarm->value = '0';
|
|
$export['locale_language_negotiation_url_part'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'locale_language_providers_weight_language';
|
|
$strongarm->value = array(
|
|
'locale-user' => '-9',
|
|
'locale-url' => '-10',
|
|
'locale-session' => '-8',
|
|
'locale-browser' => '-7',
|
|
'language-default' => '-6',
|
|
);
|
|
$export['locale_language_providers_weight_language'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'materio_translator_languages';
|
|
$strongarm->value = array(
|
|
'und' => 'und',
|
|
'en' => 'en',
|
|
'fr' => 'fr',
|
|
'zh-hans' => 'zh-hans',
|
|
'cs' => 'cs',
|
|
);
|
|
$export['materio_translator_languages'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'taxonomy_csv_locale_custom';
|
|
$strongarm->value = '';
|
|
$export['taxonomy_csv_locale_custom'] = $strongarm;
|
|
|
|
return $export;
|
|
}
|