www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 542bce301d42846fbd834108cf570c92a2b92491
parent 0835eadf813441b3c97cc681c233697225e3d098
Author: Frédéric Wang <fred.wang@free.fr>
Date:   Fri, 18 Oct 2013 08:01:13 +0200

Enable English strings in the localization test page. #626

Diffstat:
Mtest/localization.html | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/localization.html b/test/localization.html @@ -8,6 +8,7 @@ var _M_ = 'MISSING TRANSLATION'; </script> <script type="text/x-mathjax-config"> + MathJax.Localization.strings.en.isLoaded = false; MathJax.Hub.Config({ TeX: { noErrors: { disabled: true }, @@ -19,12 +20,11 @@ } }); - /* Create the list of locales. We exclude 'en' as it behaves differently than - the others and we don't want to copy the en strings again here. */ + /* Create the list of locales. */ var locales = {}; var i = 0; for (l in MathJax.Localization.strings) { - if (!MathJax.Localization.strings.hasOwnProperty(l) || l == "en") continue; + if (!MathJax.Localization.strings.hasOwnProperty(l)) continue; var option = document.createElement('option'); option.appendChild(document.createTextNode(l)); document.form.locale.appendChild(option);