Skip to content

Commit 8bfecda

Browse files
committed
Import new translations from MathJax-i18n. #530
1 parent 9766457 commit 8bfecda

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+2754
-74
lines changed

unpacked/MathJax.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1065,19 +1065,30 @@ MathJax.Localization = {
10651065
locale: "en",
10661066
directory: "[MathJax]/localization",
10671067
strings: {
1068+
// Currently, this list is not modified by the MathJax-i18n script. You can
1069+
// run the following command in MathJax/unpacked/localization to update it:
1070+
// find -name *.js | xargs grep menuTitle\: | | grep -v qqq | sed "s/^\.\/\(.*\)\/.*\.js\: / \"\1\"\: \{/" | sed "s/,$/\},/" | sed "s/\"English\"/\"English\", isLoaded: true/" > tmp ; sort tmp > tmp2 ; sed "$ s/,$//" tmp2 ; rm tmp*
10681071
"br": {menuTitle: "brezhoneg"},
1072+
"cdo": {menuTitle: "M\u00ECng-d\u0115\u0324ng-ng\u1E73\u0304"},
1073+
"cs": {menuTitle: "\u010Desky"},
10691074
"de": {menuTitle: "Deutsch"},
1070-
"en": {menuTitle: "English", isLoaded: true}, // nothing needs to be loaded for this
1075+
"en": {menuTitle: "English", isLoaded: true},
1076+
"es": {menuTitle: "espa\u00F1ol"},
10711077
"fi": {menuTitle: "suomi"},
10721078
"fr": {menuTitle: "fran\u00E7ais"},
1079+
"gl": {menuTitle: "galego"},
10731080
"he": {menuTitle: "\u05E2\u05D1\u05E8\u05D9\u05EA"},
10741081
"ia": {menuTitle: "interlingua"},
10751082
"it": {menuTitle: "italiano"},
10761083
"ja": {menuTitle: "\u65E5\u672C\u8A9E"},
1084+
"ko": {menuTitle: "\uD55C\uAD6D\uC5B4"},
10771085
"lb": {menuTitle: "L\u00EBtzebuergesch"},
10781086
"mk": {menuTitle: "\u043C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438"},
1087+
"nl": {menuTitle: "Nederlands"},
10791088
"pl": {menuTitle: "polski"},
10801089
"pt-br": {menuTitle: "portugu\u00EAs do Brasil"},
1090+
"ru": {menuTitle: "\u0440\u0443\u0441\u0441\u043A\u0438\u0439"},
1091+
"sl": {menuTitle: "sloven\u0161\u010Dina"},
10811092
"sv": {menuTitle: "svenska"},
10821093
"uk": {menuTitle: "\u0443\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430"},
10831094
"zh-hans": {menuTitle: "\u4E2D\u6587\uFF08\u7B80\u4F53\uFF09"}

unpacked/localization/br/MathMenu.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ MathJax.Localization.addTranslation("br","MathMenu",{
5757
eotffonts: "fonto\u00F9 eot",
5858
svgfonts: "Fonto\u00F9 svg",
5959
LoadURL: "Karga\u00F1 roadenno\u00F9 trei\u00F1 eus an URL-ma\u00F1 :",
60-
Close: "Serri\u00F1"
60+
Close: "Serri\u00F1",
61+
Original: "Furmskrid orin",
62+
Settings: "Arventenno\u00F9 ar matematiko\u00F9"
6163
}
6264
});
6365

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
2+
/* vim: set ts=2 et sw=2 tw=80: */
3+
4+
/*************************************************************
5+
*
6+
* MathJax/localization/cdo/FontWarnings.js
7+
*
8+
* Copyright (c) 2009-2013 The MathJax Consortium
9+
*
10+
* Licensed under the Apache License, Version 2.0 (the "License");
11+
* you may not use this file except in compliance with the License.
12+
* You may obtain a copy of the License at
13+
*
14+
* http://www.apache.org/licenses/LICENSE-2.0
15+
*
16+
* Unless required by applicable law or agreed to in writing, software
17+
* distributed under the License is distributed on an "AS IS" BASIS,
18+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19+
* See the License for the specific language governing permissions and
20+
* limitations under the License.
21+
*
22+
*/
23+
24+
MathJax.Localization.addTranslation("cdo","FontWarnings",{
25+
version: "2.3",
26+
isLoaded: true,
27+
strings: {
28+
29+
}
30+
});
31+
32+
MathJax.Ajax.loadComplete("[MathJax]/localization/cdo/FontWarnings.js");

unpacked/localization/cdo/HTML-CSS.js

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
2+
/* vim: set ts=2 et sw=2 tw=80: */
3+
4+
/*************************************************************
5+
*
6+
* MathJax/localization/cdo/HTML-CSS.js
7+
*
8+
* Copyright (c) 2009-2013 The MathJax Consortium
9+
*
10+
* Licensed under the Apache License, Version 2.0 (the "License");
11+
* you may not use this file except in compliance with the License.
12+
* You may obtain a copy of the License at
13+
*
14+
* http://www.apache.org/licenses/LICENSE-2.0
15+
*
16+
* Unless required by applicable law or agreed to in writing, software
17+
* distributed under the License is distributed on an "AS IS" BASIS,
18+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19+
* See the License for the specific language governing permissions and
20+
* limitations under the License.
21+
*
22+
*/
23+
24+
MathJax.Localization.addTranslation("cdo","HTML-CSS",{
25+
version: "2.3",
26+
isLoaded: true,
27+
strings: {
28+
29+
}
30+
});
31+
32+
MathJax.Ajax.loadComplete("[MathJax]/localization/cdo/HTML-CSS.js");
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
2+
/* vim: set ts=2 et sw=2 tw=80: */
3+
4+
/*************************************************************
5+
*
6+
* MathJax/localization/cdo/HelpDialog.js
7+
*
8+
* Copyright (c) 2009-2013 The MathJax Consortium
9+
*
10+
* Licensed under the Apache License, Version 2.0 (the "License");
11+
* you may not use this file except in compliance with the License.
12+
* You may obtain a copy of the License at
13+
*
14+
* http://www.apache.org/licenses/LICENSE-2.0
15+
*
16+
* Unless required by applicable law or agreed to in writing, software
17+
* distributed under the License is distributed on an "AS IS" BASIS,
18+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19+
* See the License for the specific language governing permissions and
20+
* limitations under the License.
21+
*
22+
*/
23+
24+
MathJax.Localization.addTranslation("cdo","HelpDialog",{
25+
version: "2.3",
26+
isLoaded: true,
27+
strings: {
28+
29+
}
30+
});
31+
32+
MathJax.Ajax.loadComplete("[MathJax]/localization/cdo/HelpDialog.js");

unpacked/localization/cdo/MathML.js

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
2+
/* vim: set ts=2 et sw=2 tw=80: */
3+
4+
/*************************************************************
5+
*
6+
* MathJax/localization/cdo/MathML.js
7+
*
8+
* Copyright (c) 2009-2013 The MathJax Consortium
9+
*
10+
* Licensed under the Apache License, Version 2.0 (the "License");
11+
* you may not use this file except in compliance with the License.
12+
* You may obtain a copy of the License at
13+
*
14+
* http://www.apache.org/licenses/LICENSE-2.0
15+
*
16+
* Unless required by applicable law or agreed to in writing, software
17+
* distributed under the License is distributed on an "AS IS" BASIS,
18+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19+
* See the License for the specific language governing permissions and
20+
* limitations under the License.
21+
*
22+
*/
23+
24+
MathJax.Localization.addTranslation("cdo","MathML",{
25+
version: "2.3",
26+
isLoaded: true,
27+
strings: {
28+
29+
}
30+
});
31+
32+
MathJax.Ajax.loadComplete("[MathJax]/localization/cdo/MathML.js");

unpacked/localization/cdo/MathMenu.js

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
2+
/* vim: set ts=2 et sw=2 tw=80: */
3+
4+
/*************************************************************
5+
*
6+
* MathJax/localization/cdo/MathMenu.js
7+
*
8+
* Copyright (c) 2009-2013 The MathJax Consortium
9+
*
10+
* Licensed under the Apache License, Version 2.0 (the "License");
11+
* you may not use this file except in compliance with the License.
12+
* You may obtain a copy of the License at
13+
*
14+
* http://www.apache.org/licenses/LICENSE-2.0
15+
*
16+
* Unless required by applicable law or agreed to in writing, software
17+
* distributed under the License is distributed on an "AS IS" BASIS,
18+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19+
* See the License for the specific language governing permissions and
20+
* limitations under the License.
21+
*
22+
*/
23+
24+
MathJax.Localization.addTranslation("cdo","MathMenu",{
25+
version: "2.3",
26+
isLoaded: true,
27+
strings: {
28+
29+
}
30+
});
31+
32+
MathJax.Ajax.loadComplete("[MathJax]/localization/cdo/MathMenu.js");

unpacked/localization/cdo/TeX.js

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
2+
/* vim: set ts=2 et sw=2 tw=80: */
3+
4+
/*************************************************************
5+
*
6+
* MathJax/localization/cdo/TeX.js
7+
*
8+
* Copyright (c) 2009-2013 The MathJax Consortium
9+
*
10+
* Licensed under the Apache License, Version 2.0 (the "License");
11+
* you may not use this file except in compliance with the License.
12+
* You may obtain a copy of the License at
13+
*
14+
* http://www.apache.org/licenses/LICENSE-2.0
15+
*
16+
* Unless required by applicable law or agreed to in writing, software
17+
* distributed under the License is distributed on an "AS IS" BASIS,
18+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19+
* See the License for the specific language governing permissions and
20+
* limitations under the License.
21+
*
22+
*/
23+
24+
MathJax.Localization.addTranslation("cdo","TeX",{
25+
version: "2.3",
26+
isLoaded: true,
27+
strings: {
28+
29+
}
30+
});
31+
32+
MathJax.Ajax.loadComplete("[MathJax]/localization/cdo/TeX.js");

unpacked/localization/cdo/cdo.js

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
2+
/* vim: set ts=2 et sw=2 tw=80: */
3+
4+
/*************************************************************
5+
*
6+
* MathJax/localization/cdo/cdo.js
7+
*
8+
* Copyright (c) 2009-2013 The MathJax Consortium
9+
*
10+
* Licensed under the Apache License, Version 2.0 (the "License");
11+
* you may not use this file except in compliance with the License.
12+
* You may obtain a copy of the License at
13+
*
14+
* http://www.apache.org/licenses/LICENSE-2.0
15+
*
16+
* Unless required by applicable law or agreed to in writing, software
17+
* distributed under the License is distributed on an "AS IS" BASIS,
18+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19+
* See the License for the specific language governing permissions and
20+
* limitations under the License.
21+
*
22+
*/
23+
24+
MathJax.Localization.addTranslation("cdo",null,{
25+
menuTitle: "M\u00ECng-d\u0115\u0324ng-ng\u1E73\u0304",
26+
version: "2.3",
27+
isLoaded: true,
28+
domains: {
29+
"_": {
30+
version: "2.3",
31+
isLoaded: true,
32+
strings: {
33+
CookieConfig: "MathJax\u5DF2\u7D93\u8A0E\u8457\u5305\u62EC\u6703\u904B\u884C\u5176\u4EE3\u78BC\u5176\u7528\u6236\u914D\u7F6Ecookie\u3002\u6C5D\u6709\u60F3\u904B\u884C\u7121\uFF1F\n\n\uFF08\u9664\u958B\u9019\u78BA\u5BE6\u662F\u6C5D\u81EA\u5BB6\u7279\u610F\u8A2D\u5176cookie\uFF0C\u82E5\u7121\u6C5D\u8457\u9EDE\u53D6\u6D88\u3002\uFF09",
34+
MathProcessingError: "\u6578\u5B78\u8655\u7406\u932F\u8AA4",
35+
MathError: "\u6578\u5B78\u932F\u8AA4",
36+
LoadFile: "\u8F09\u5E95%1",
37+
Loading: "\u8F09\u5E95",
38+
LoadFailed: "\u6587\u4EF6\u8F09\u5E95\u5931\u6557\uFF1A%1",
39+
ProcessMath: "\u8655\u7406\u6578\u5B78\uFF1A%1%%",
40+
Processing: "\u6546\uD844\uDD4F\u8655\u7406",
41+
TypesetMath: "\u6392\u7248\u6578\u5B78\uFF1A%1%%",
42+
Typesetting: "\u6546\uD844\uDD4F\u6392\u7248",
43+
MathJaxNotSupported: "\u6C5D\u5176\u700F\u89BD\u5668\uD84C\uDF50\u652F\u6301MathJax"
44+
}
45+
},
46+
"FontWarnings": {},
47+
"HTML-CSS": {},
48+
"HelpDialog": {},
49+
"MathML": {},
50+
"MathMenu": {},
51+
"TeX": {}
52+
},
53+
plural: function (n) {
54+
return 1; // other
55+
},
56+
number: function (n) {
57+
return n;
58+
}
59+
});
60+
61+
MathJax.Ajax.loadComplete("[MathJax]/localization/cdo/cdo.js");
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
2+
/* vim: set ts=2 et sw=2 tw=80: */
3+
4+
/*************************************************************
5+
*
6+
* MathJax/localization/cs/FontWarnings.js
7+
*
8+
* Copyright (c) 2009-2013 The MathJax Consortium
9+
*
10+
* Licensed under the Apache License, Version 2.0 (the "License");
11+
* you may not use this file except in compliance with the License.
12+
* You may obtain a copy of the License at
13+
*
14+
* http://www.apache.org/licenses/LICENSE-2.0
15+
*
16+
* Unless required by applicable law or agreed to in writing, software
17+
* distributed under the License is distributed on an "AS IS" BASIS,
18+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19+
* See the License for the specific language governing permissions and
20+
* limitations under the License.
21+
*
22+
*/
23+
24+
MathJax.Localization.addTranslation("cs","FontWarnings",{
25+
version: "2.3",
26+
isLoaded: true,
27+
strings: {
28+
29+
}
30+
});
31+
32+
MathJax.Ajax.loadComplete("[MathJax]/localization/cs/FontWarnings.js");

0 commit comments

Comments
 (0)