Allow ULS language settings accessed from user preference screen.

Adds a link in 'personal/i18n' section of user preferences

Bug: 47240
Change-Id: I04d1ea7d36db45f9a0af04e11dade9ae0b524e8e
This commit is contained in:
Santhosh Thottingal
2013-05-21 17:33:10 +05:30
committed by Amir E. Aharoni
parent 8655504371
commit 8b46d34004
4 changed files with 26 additions and 1 deletions

View File

@@ -308,6 +308,16 @@ class UniversalLanguageSelectorHooks {
'type' => 'api',
);
// A link shown for accessing ULS language settings from preferences screen
$preferences['languagesettings'] = array(
'type' => 'info',
'raw' => true,
'section' => 'personal/i18n',
'default' => "<a id='uls-preferences-link' href='#'></a>",
// The above link will have text set from javascript. Just to avoid
// showing the link when javascript is disabled.
);
return true;
}