Fix misspellings in groups
Fix misspellings detected by: * pip install misspellings * git ls-files | grep -v locale | misspellings -f - Change-Id: I99d3bbd9d6d8a0820ffac35f7d43771f80dad5ac Closes-Bug: #1257295
This commit is contained in:
parent
3dbea6ada1
commit
890196497e
@ -107,11 +107,11 @@ function groups_import_locales(&$install_state) {
|
|||||||
function groups_set_language_negotiation() {
|
function groups_set_language_negotiation() {
|
||||||
require_once DRUPAL_ROOT . '/includes/language.inc';
|
require_once DRUPAL_ROOT . '/includes/language.inc';
|
||||||
require_once DRUPAL_ROOT . '/includes/locale.inc';
|
require_once DRUPAL_ROOT . '/includes/locale.inc';
|
||||||
$negotation = array(
|
$negotiation = array(
|
||||||
LOCALE_LANGUAGE_NEGOTIATION_URL => 2,
|
LOCALE_LANGUAGE_NEGOTIATION_URL => 2,
|
||||||
LANGUAGE_NEGOTIATION_DEFAULT => 10,
|
LANGUAGE_NEGOTIATION_DEFAULT => 10,
|
||||||
);
|
);
|
||||||
language_negotiation_set(LANGUAGE_TYPE_INTERFACE, $negotation);
|
language_negotiation_set(LANGUAGE_TYPE_INTERFACE, $negotiation);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -128,7 +128,7 @@ function groups_install_finished(&$install_state) {
|
|||||||
_flag_clear_cache();
|
_flag_clear_cache();
|
||||||
}
|
}
|
||||||
|
|
||||||
// set language negotation
|
// set language negotiation
|
||||||
groups_set_language_negotiation();
|
groups_set_language_negotiation();
|
||||||
|
|
||||||
// Flush all caches to ensure that any full bootstraps during the installer
|
// Flush all caches to ensure that any full bootstraps during the installer
|
||||||
|
Loading…
x
Reference in New Issue
Block a user