Skip to content

Commit

Permalink
Merge pull request mathjax#629 from fred-wang/issue530
Browse files Browse the repository at this point in the history
Issue530
  • Loading branch information
fred-wang committed Oct 18, 2013
2 parents 830502a + 461f9b4 commit dc1364e
Show file tree
Hide file tree
Showing 7 changed files with 92 additions and 46 deletions.
6 changes: 3 additions & 3 deletions test/localization.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand All @@ -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);
Expand Down
8 changes: 7 additions & 1 deletion unpacked/localization/fa/FontWarnings.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 10 additions & 1 deletion unpacked/localization/fa/HelpDialog.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions unpacked/localization/fa/MathML.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit dc1364e

Please sign in to comment.