Skip to content

Commit 6112982

Browse files
committed
Import new languages from TranslateWiki. #530
1 parent 7e5dd1d commit 6112982

Some content is hidden

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

101 files changed

+3694
-385
lines changed

unpacked/MathJax.js

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1065,13 +1065,22 @@ MathJax.Localization = {
10651065
locale: "en",
10661066
directory: "[MathJax]/localization",
10671067
strings: {
1068-
en: {menuTitle: "English", isLoaded: true}, // nothing needs to be loaded for this
1069-
de: {menuTitle: "Deutsch"},
1070-
fr: {menuTitle: "Fran\u00E7ais"},
1071-
it: {menuTitle: "Italiano"},
1072-
pl: {menuTitle: "Polski"},
1073-
pt: {menuTitle: "portugus\u00EA", remap: "pt-br"},
1074-
"pt-br": {menuTitle: "portugu\u00EAs do Brasil"}
1068+
"br": {menuTitle: "brezhoneg"},
1069+
"de": {menuTitle: "Deutsch"},
1070+
"en": {menuTitle: "English", isLoaded: true}, // nothing needs to be loaded for this
1071+
"fi": {menuTitle: "suomi"},
1072+
"fr": {menuTitle: "fran\u00E7ais"},
1073+
"he": {menuTitle: "\u05E2\u05D1\u05E8\u05D9\u05EA"},
1074+
"ia": {menuTitle: "interlingua"},
1075+
"it": {menuTitle: "italiano"},
1076+
"ja": {menuTitle: "\u65E5\u672C\u8A9E"},
1077+
"lb": {menuTitle: "L\u00EBtzebuergesch"},
1078+
"mk": {menuTitle: "\u043C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438"},
1079+
"pl": {menuTitle: "polski"},
1080+
"pt-br": {menuTitle: "portugu\u00EAs do Brasil"},
1081+
"sv": {menuTitle: "svenska"},
1082+
"uk": {menuTitle: "\u0443\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430"},
1083+
"zh-hans": {menuTitle: "\u4E2D\u6587\uFF08\u7B80\u4F53\uFF09"}
10751084
},
10761085

10771086
//
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/br/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("br","FontWarnings",{
25+
version: "2.3",
26+
isLoaded: true,
27+
strings: {
28+
29+
}
30+
});
31+
32+
MathJax.Ajax.loadComplete("[MathJax]/localization/br/FontWarnings.js");

unpacked/localization/br/HTML-CSS.js

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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/br/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("br","HTML-CSS",{
25+
version: "2.3",
26+
isLoaded: true,
27+
strings: {
28+
LoadWebFont: "O karga\u00F1 ar font web %1",
29+
CantLoadWebFont: "Ne c'haller ket karga\u00F1 ar font web %1",
30+
CantFindFontUsing: "Ne c'haller ket kavout ur font dereat e-touez %1"
31+
}
32+
});
33+
34+
MathJax.Ajax.loadComplete("[MathJax]/localization/br/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/br/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("br","HelpDialog",{
25+
version: "2.3",
26+
isLoaded: true,
27+
strings: {
28+
29+
}
30+
});
31+
32+
MathJax.Ajax.loadComplete("[MathJax]/localization/br/HelpDialog.js");

unpacked/localization/br/MathML.js

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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/br/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("br","MathML",{
25+
version: "2.3",
26+
isLoaded: true,
27+
strings: {
28+
BadMglyph: "mglyph fall : %1",
29+
BadMglyphFont: "Font fall : %1",
30+
UnknownNodeType: "Seurt skoulm dianav : %1",
31+
UnexpectedTextNode: "Skoulm testenn dic'hortoz : %1",
32+
ErrorParsingMathML: "Fazi o tielfenna\u00F1 MathML",
33+
ParsingError: "Fazi o ielfenna\u00F1 MathML : %1",
34+
MathMLSingleElement: "MathML a rank beza\u00F1 stummet gant un elfenn hepken"
35+
}
36+
});
37+
38+
MathJax.Ajax.loadComplete("[MathJax]/localization/br/MathML.js");

unpacked/localization/br/MathMenu.js

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
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/br/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("br","MathMenu",{
25+
version: "2.3",
26+
isLoaded: true,
27+
strings: {
28+
Show: "Diskouez ar formulenn evel",
29+
MathMLcode: "Kod MathML",
30+
OriginalMathML: "MathML orin",
31+
TeXCommands: "Urzhio\u00F9 TeX",
32+
ErrorMessage: "Kemennadenn fazi",
33+
Annotation: "Notenn",
34+
TeX: "TeX",
35+
StarMath: "StarMath",
36+
OpenMath: "OpenMath",
37+
Click: "Klika\u00F1",
38+
DoubleClick: "Daouglika\u00F1",
39+
NoZoom: "Zoum ebet",
40+
Option: "Dibarzh",
41+
Command: "Urzhiad",
42+
Control: "Kontroll",
43+
ZoomFactor: "Feur zoum",
44+
ForHTMLCSS: "Evit HTML-CSS :",
45+
Auto: "Emgefre",
46+
TeXLocal: "TeX (lec'hel)",
47+
TeXWeb: "TeX (web)",
48+
TeXImage: "TeX (skeudenn)",
49+
STIXLocal: "STIX (lec'hel)",
50+
ContextMenu: "La\u00F1ser kemperzhel",
51+
Browser: "Merdeer",
52+
Locale: "Yezh",
53+
LoadLocale: "Karga\u00F1 diwar an URL ...",
54+
About: "Diwar-benn MathJax",
55+
Help: "Sikour MathJax",
56+
wofforotffonts: "fonto\u00F9 woff pe otf",
57+
eotffonts: "fonto\u00F9 eot",
58+
svgfonts: "Fonto\u00F9 svg",
59+
LoadURL: "Karga\u00F1 roadenno\u00F9 trei\u00F1 eus an URL-ma\u00F1 :",
60+
Close: "Serri\u00F1"
61+
}
62+
});
63+
64+
MathJax.Ajax.loadComplete("[MathJax]/localization/br/MathMenu.js");

unpacked/localization/br/TeX.js

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
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/br/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("br","TeX",{
25+
version: "2.3",
26+
isLoaded: true,
27+
strings: {
28+
ExtraOpenMissingClose: "Briataenn digeri\u00F1 a re pe briataenn serri\u00F1 diank",
29+
ExtraCloseMissingOpen: "Briataenn serri\u00F1 a re pe briataenn digeri\u00F1 diank",
30+
MissingLeftExtraRight: "\\left diank pe \\right a re",
31+
ExtraLeftMissingRight: "\\left a re pe \\right diank",
32+
Misplaced: "%1 lec'hiet fall",
33+
AmbiguousUseOf: "Implij forc'hellek eus %1",
34+
EnvBadEnd: "\\begin{%1} zo echuet gant \\end{%2}",
35+
EnvMissingEnd: "\\end{%1} a vank",
36+
MissingBoxFor: "Ar voest a vank evit %1",
37+
MissingCloseBrace: "Ar vriataenn serri\u00F1 a vank",
38+
MisplacedMiddle: "%1 a rank beza\u00F1 e-barzh \\left ha \\right",
39+
MisplacedMoveRoot: "%1 ne c'hall beza\u00F1 nemet e-barzh ur wrizienn",
40+
MultipleCommand: "Meur a %1",
41+
IntegerArg: "Arguzenn %1 a rank beza\u00F1 un niver anterin",
42+
InvalidMathMLAttr: "Doareenn MathML direizh : %1",
43+
MissingArgFor: "Arguzenn diank evit %1",
44+
InvalidEnv: "Anv endro \"%1\" direizh",
45+
UnknownEnv: "endro dianav \"%1\"",
46+
TokenNotFoundForCommand: "N'eus ket bet gallet kavout %1 evit %2",
47+
MathNotTerminated: "Formulenn diechu er voest testenn",
48+
CommandNotAllowedInEnv: "%1 n'eo ket aotreet en endro %2",
49+
MultipleLabel: "Label '%1' termenet meur a wech",
50+
CommandAtTheBeginingOfLine: "%1 a rank beza\u00F1 e dero\u00F9 al linenn",
51+
BadMathStyleFor: "Stil matematikel direizh evit %1",
52+
PositiveIntegerArg: "Arguzenn %1 a rank beza\u00F1 un niver pozitivel anterin",
53+
MultlineRowsOneCol: "Ar renko\u00F9 e-barzh an endro %1 a rank kaout ur bann dres",
54+
MultipleBBoxProperty: "%1 diferet div wech e-barzh %2",
55+
ExtraEndMissingBegin: "%1 a re pe \\begingroup diank",
56+
GlobalNotFollowedBy: "%1 n'eo ket heuliet gant \\let, \\def, pe \\newcommand",
57+
UndefinedColorModel: "N'eo ket termenet patrom liv \"%1\"",
58+
InvalidDecimalNumber: "Niver degel direizh",
59+
InvalidNumber: "Niver direizh",
60+
NewextarrowArg2: "Eil arguzenn %1 a rank beza\u00F1 daou niver anterin dispartiet gant ur virgulenn",
61+
NewextarrowArg3: "Trede arguzenn %1 a rank beza\u00F1 un niverenn arouezenn unicode",
62+
NoClosingChar: "Ne c'haller ket kavout an %1 serri\u00F1",
63+
CantUseHash2: "Implij direizh eus # er patrom evit %1",
64+
MismatchUseDef: "An implij eus %1 ne glot ket gant an termenadur anezha\u00F1",
65+
RunawayArgument: "Arguzenn diechu evit %1 ?",
66+
NoClosingDelim: "Ne c'haller ket kavout ur bevenner serri\u00F1 evit %1"
67+
}
68+
});
69+
70+
MathJax.Ajax.loadComplete("[MathJax]/localization/br/TeX.js");

unpacked/localization/br/br.js

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
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/br/br.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("br",null,{
25+
menuTitle: "brezhoneg",
26+
version: "2.3",
27+
isLoaded: true,
28+
domains: {
29+
"_": {
30+
version: "2.3",
31+
isLoaded: true,
32+
strings: {
33+
MathProcessingError: "Fazi o treta\u00F1 ar formulenn",
34+
MathError: "Fazi er formulenn",
35+
LoadFile: "O karga\u00F1 %1",
36+
Loading: "O karga\u00F1",
37+
LoadFailed: "N'eus ket bet gallet karga\u00F1 %1",
38+
ProcessMath: "Treta\u00F1 ar formulenno\u00F9 : %1%%",
39+
Processing: "O treta\u00F1",
40+
TypesetMath: "Aoza\u00F1 formulenno\u00F9 : %1%%",
41+
Typesetting: "Aoza\u00F1",
42+
MathJaxNotSupported: "Ne c'hall ket ho merdeer ober gant MathJax"
43+
}
44+
},
45+
"FontWarnings": {},
46+
"HTML-CSS": {},
47+
"HelpDialog": {},
48+
"MathML": {},
49+
"MathMenu": {},
50+
"TeX": {}
51+
},
52+
plural: function (n) {
53+
if (n % 10 === 1 && !(n % 100 === 11 || n % 100 === 71 ||
54+
n % 100 === 91)) {return 1} // one
55+
if (n % 10 === 2 && !(n % 100 === 12 || n % 100 === 72 ||
56+
n % 100 === 92)) {return 2} // two
57+
if ((n % 10 === 3 || n % 10 === 4 || n % 10 === 9) &&
58+
!(10 <= n % 100 && n % 100 <= 19 ||
59+
70 <= n % 100 && n % 100 <= 79 ||
60+
90 <= n % 100 && n % 100 <= 99)) {return 3} // few
61+
if (n !== 0 && n % 1000000 === 0) {return 4} // other
62+
return 5;
63+
},
64+
number: function (n) {
65+
return n;
66+
}
67+
});
68+
69+
MathJax.Ajax.loadComplete("[MathJax]/localization/br/br.js");

unpacked/localization/de/FontWarnings.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ MathJax.Localization.addTranslation("de","FontWarnings",{
2626
isLoaded: true,
2727
strings: {
2828
webFont: "MathJax nutz web-basierte Fonts zur Darstellung der Mathematik auf dieser Seite. Da diese heruntergeladen werden m\u00FCssen, l\u00E4dt die Seite schneller, wenn Mathe-Fonts auf dem System installiert sind.",
29-
imageFonts: "MathJax nutzt Bild-Fonts stall lokaler Fonts oder Webfonts. Das Laden dauert l\u00E4nger als erwartet und Drucken wird evtl. nicht in bester Qualit\u00E4t m\u00F6glich sein.",
30-
noFonts: "MathJax kann keine Fonts zur Darstellung der Mathematik finden und Bild-Fonts sind nicht verf\u00FCgbar. MathJax weicht auf generische Unicode-Zeichen aus in der Hoffnung, der Browser kann diese darstellen. Einige oder alle Zeichen k\u00F6nnten nicht korrekt dargestellt werden.",
31-
webFonts: "Die meisten modernen Browser k\u00F6nnen Fonts aus dem Web laden. Um die Qualit\u00E4t der Mathematik auf dieser Seite zu verbessern, sollten Sie ein Update auf eine aktuelle Version des Browsers vornehmen (oder einen aktuellen Browser installieren).",
32-
fonts: "MathJax kann [STIX Fonts](%1) oder [MathJax TeX Fonts](%2) verwenden. Herunterladen und installieren dieser Fonts wird Ihre MathJax-Erfahrung verbessern.",
33-
STIXPage: "Diese Seite ist optimiert fuer [STIX Fonts](%1). Herunterladen und installieren dieser Fonts wird Ihre MathJax-Erfahrung verbessern.",
34-
TeXPage: "Diese Seite ist optimiert fuer [MathJax TeX Fonts](%1). Herunterladen und installieren dieser Fonts wird Ihre MathJax-Erfahrung verbessern."
29+
imageFonts: "MathJax verwendet die Bildschriften anstatt der lokalen oder webbasierten Schriften. Das Rendern dauert l\u00E4nger als gew\u00F6hnlich und die Inhalte werden m\u00F6glicherweise nicht mit der vollen Aufl\u00F6sung deines Druckers ausgedruckt.",
30+
noFonts: "MathJax konnte keine Schriftart zur Anzeige der Inhalte finden und Bildschriften sind nicht verf\u00FCgbar. Es wird auf allgemeine Unicode-Zeichen zur\u00FCckgegriffen in der Hoffnung, dass dein Browser in der Lage ist, sie darzustellen. Einige Zeichen werden m\u00F6glicherweise nicht richtig oder gar nicht angezeigt.",
31+
webFonts: "Die meisten modernen Browser erlauben den Download von Schriften \u00FCber das Web. Eine Aktualisierung auf eine aktuellere Version deines Browsers (oder dessen Wechsel) kann die Qualit\u00E4t der Inhalte auf dieser Seite verbessern.",
32+
fonts: "MathJax kann entweder die [STIX-](%1) oder [MathJax-TeX-Schriften](%2) verwenden. Lade eine dieser Schriften herunter und installiere sie, um dein MathJax-Erlebnis zu steigern.",
33+
STIXPage: "Diese Seite wurde konzipiert, um die [STIX-Schriften](%1) zu verwenden. Lade sie herunter und installiere sie, um dein MathJax-Erlebnis zu steigern.",
34+
TeXPage: "Diese Seite wurde konzipiert, um die [MathJax-TeX-Schriften](%1) zu verwenden. Lade sie herunter und installiere sie, um dein MathJax-Erlebnis zu steigern."
3535
}
3636
});
3737

0 commit comments

Comments
 (0)