Commit 0295b682 authored by webchick's avatar webchick

Issue #1756122 by Schnitzel, Bojhan: Better Names and Description for Language Negotiations.

parent fda2d671
......@@ -367,7 +367,7 @@ function language_language_negotiation_info() {
'file' => $file,
'weight' => -8,
'name' => t('URL'),
'description' => t('Determine the language from the URL (Path prefix or domain).'),
'description' => t('Language from the URL (Path prefix or domain).'),
'config' => 'admin/config/regional/language/detection/url',
);
......@@ -380,7 +380,7 @@ function language_language_negotiation_info() {
'file' => $file,
'weight' => -6,
'name' => t('Session'),
'description' => t('Determine the language from a request/session parameter.'),
'description' => t('Language from a request/session parameter.'),
'config' => 'admin/config/regional/language/detection/session',
);
......@@ -388,8 +388,8 @@ function language_language_negotiation_info() {
'callbacks' => array('negotiation' => 'language_from_user'),
'file' => $file,
'weight' => -4,
'name' => t('User'),
'description' => t("Follow the user's language preference."),
'name' => t('Account'),
'description' => t('Account site language setting.'),
);
$negotiation_info[LANGUAGE_NEGOTIATION_BROWSER] = array(
......@@ -398,7 +398,7 @@ function language_language_negotiation_info() {
'weight' => -2,
'cache' => 0,
'name' => t('Browser'),
'description' => t("Determine the language from the browser's language settings."),
'description' => t("Language from the browser's language settings."),
);
$negotiation_info[LANGUAGE_NEGOTIATION_INTERFACE] = array(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment