Skip to content

Commit dc1364e

Browse files
committed
Merge pull request #629 from fred-wang/issue530
Issue530
2 parents 830502a + 461f9b4 commit dc1364e

File tree

7 files changed

+92
-46
lines changed

7 files changed

+92
-46
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);

unpacked/localization/fa/FontWarnings.js

Lines changed: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

unpacked/localization/fa/HelpDialog.js

Lines changed: 10 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

unpacked/localization/fa/MathML.js

Lines changed: 5 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)