mediawiki-extensions-Math/modules/MathJax/localization/en/HTML-CSS.js
Derk-Jan Hartman df9cfe846b MathJax: Support localizations of MathJax
Adding the localizations which I missed when updating to 2.2 in
I9446121985ae27e65a429b5a558940ac30520d44
Forward the userlanguage from MediaWiki to MathJax
Note that MathJax preserves selected language in cookies, so once set,
you need to manually switch it every single time.

Bug: 35038
Change-Id: Ibf43a3e44ea2bfdbd9fddc01c71c72ba097ff1b7
2013-06-04 20:25:55 +00:00

17 lines
803 B
JavaScript
Executable file

/*
* /MathJax/localization/en/HTML-CSS.js
*
* Copyright (c) 2009-2013 The MathJax Consortium
*
* Part of the MathJax library.
* See http://www.mathjax.org for details.
*
* Licensed under the Apache License, Version 2.0;
* you may not use this file except in compliance with the License.
*
* http://www.apache.org/licenses/LICENSE-2.0
*/
MathJax.Localization.addTranslation("en","HTML-CSS",{version:"2.2",isLoaded:true,strings:{LoadWebFont:"Loading web-font %1",CantLoadWebFont:"Can't load web font %1",FirefoxCantLoadWebFont:"Firefox can't load web fonts from a remote host",CantFindFontUsing:"Can't find a valid font using %1",WebFontsNotAvailable:"Web-Fonts not available -- using image fonts instead"}});MathJax.Ajax.loadComplete("[MathJax]/localization/en/HTML-CSS.js");