Set menuSettings.locale

That one is necessary, and MathJax.Localization.locale will copy it automatically.

Bug: 35038
Change-Id: I4e21cc5cdcb0d7a31a97b3b136d725f67a53f75c
This commit is contained in:
Matthew Flaschen 2013-06-04 17:28:37 -04:00 committed by Mattflaschen
parent 296bc66540
commit f420e06763
1 changed files with 1 additions and 1 deletions

View File

@ -17,6 +17,7 @@
'v1.0-compatible': false,
displayAlign: 'left',
menuSettings: {
locale: mw.config.get('wgUserLanguage'),
zoom: 'Click'
},
'HTML-CSS': {
@ -32,7 +33,6 @@
mathJax.Config = function () {
MathJax.Hub.Config( mathJax.config );
MathJax.OutputJax.fontDir = mw.config.get('wgExtensionAssetsPath') + '/Math/modules/MathJax/fonts';
MathJax.Localization.locale = mw.config.get('wgUserLanguage');
};
/**