-
Notifications
You must be signed in to change notification settings - Fork 241
/
index.js
102 lines (99 loc) · 2.3 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
// No automatic generation: we don't want to depend on fs, as we want to keep this universal
// ls *-*.json | while read line; do printf "\"`printf $line | cut -d '.' -f1`\",\n"; done
var languages = [
"ar-AR",
"bg-BG",
"ca-CA",
"cs-CZ",
"da-DK",
"de-DE",
"el-GR",
"en-US",
"eo-EO",
"es-ES",
"eu-ES",
"fa-IR",
"fi-FI",
"fr-FR",
"he-IL",
"hi-IN",
"hr-HR",
"hu-HU",
"id-ID",
"it-IT",
"ja-JP",
"ko-KR",
"mk-MK",
"my-BM",
"nb-NO",
"ne-NP",
"nl-NL",
"nn-NO",
"pl-PL",
"pt-BR",
"pt-PT",
"ro-RO",
"ru-RU",
"sl-SL",
"sr-RS",
"sv-SE",
"te-IN",
"tr-TR",
"uk-UA",
"vi-VN",
"zh-CN",
"zh-HK",
"zh-TW",
"bn-BD",
"et-EE"
];
module.exports = function () {
return {
"ar-AR": require("./ar-AR.json"),
"bg-BG": require("./bg-BG.json"),
"ca-CA": require("./ca-CA.json"),
"cs-CZ": require("./cs-CZ.json"),
"da-DK": require("./da-DK.json"),
"de-DE": require("./de-DE.json"),
"el-GR": require("./el-GR.json"),
"en-US": require("./en-US.json"),
"eo-EO": require("./eo-EO.json"),
"es-ES": require("./es-ES.json"),
"eu-ES": require("./eu-ES.json"),
"fa-IR": require("./fa-IR.json"),
"fi-FI": require("./fi-FI.json"),
"fr-FR": require("./fr-FR.json"),
"he-IL": require("./he-IL.json"),
"hi-IN": require("./hi-IN.json"),
"hr-HR": require("./hr-HR.json"),
"hu-HU": require("./hu-HU.json"),
"id-ID": require("./id-ID.json"),
"it-IT": require("./it-IT.json"),
"ja-JP": require("./ja-JP.json"),
"ko-KR": require("./ko-KR.json"),
"mk-MK": require("./mk-MK.json"),
"my-BM": require("./my-BM.json"),
"nb-NO": require("./nb-NO.json"),
"ne-NP": require("./ne-NP.json"),
"nl-NL": require("./nl-NL.json"),
"nn-NO": require("./nn-NO.json"),
"pl-PL": require("./pl-PL.json"),
"pt-BR": require("./pt-BR.json"),
"pt-PT": require("./pt-PT.json"),
"ro-RO": require("./ro-RO.json"),
"ru-RU": require("./ru-RU.json"),
"sl-SL": require("./sl-SL.json"),
"sr-RS": require("./sr-RS.json"),
"sv-SE": require("./sv-SE.json"),
"te-IN": require("./te-IN.json"),
"tr-TR": require("./tr-TR.json"),
"uk-UA": require("./uk-UA.json"),
"vi-VN": require("./vi-VN.json"),
"zh-CN": require("./zh-CN.json"),
"zh-HK": require("./zh-HK.json"),
"zh-TW": require("./zh-TW.json"),
"bn-BD": require("./bn-BD.json"),
"et-EE": require("./et-EE.json"),
};
};
module.exports.all = languages;