Skip to content

Commit 542bce3

Browse files
committed
Enable English strings in the localization test page. #626
1 parent 0835ead commit 542bce3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/localization.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
var _M_ = 'MISSING TRANSLATION';
99
</script>
1010
<script type="text/x-mathjax-config">
11+
MathJax.Localization.strings.en.isLoaded = false;
1112
MathJax.Hub.Config({
1213
TeX: {
1314
noErrors: { disabled: true },
@@ -19,12 +20,11 @@
1920
}
2021
});
2122

22-
/* Create the list of locales. We exclude 'en' as it behaves differently than
23-
the others and we don't want to copy the en strings again here. */
23+
/* Create the list of locales. */
2424
var locales = {};
2525
var i = 0;
2626
for (l in MathJax.Localization.strings) {
27-
if (!MathJax.Localization.strings.hasOwnProperty(l) || l == "en") continue;
27+
if (!MathJax.Localization.strings.hasOwnProperty(l)) continue;
2828
var option = document.createElement('option');
2929
option.appendChild(document.createTextNode(l));
3030
document.form.locale.appendChild(option);

0 commit comments

Comments
 (0)