forked from ProBotOrg/locale
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
119 lines (113 loc) · 4.95 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
const languages = {};
languages.ar = require('./ar-SA/website.json');
languages.bg = require('./bg-BG/website.json');
languages["ku-IQ"] = require('./ckb-IR/website.json')
languages.cs = require('./cs-CZ/website.json');
languages.da = require('./da-DK/website.json');
languages.de = require('./de-DE/website.json');
languages.el = require('./el-GR/website.json');
languages.en = require("./en/website.json");
languages.es = require('./es-ES/website.json');
languages.fa = require('./fa-IR/website.json');
languages.fi = require('./fi-FI/website.json');
languages.fr = require('./fr-FR/website.json');
languages.hi = require('./hi-IN/website.json');
languages.hr = require('./hr-HR/website.json');
languages.hu = require('./hu-HU/website.json');
languages.it = require('./it-IT/website.json');
languages.ja = require('./ja-JP/website.json');
languages.ko = require('./ko-KR/website.json');
languages.lt = require('./lt-LT/website.json');
languages.nl = require('./nl-NL/website.json');
languages.no = require('./no-NO/website.json');
languages.pl = require('./pl-PL/website.json');
languages["pt-BR"] = require('./pt-BR/website.json');
languages.pt = require('./pt-PT/website.json');
languages.ro = require('./ro-RO/website.json');
languages.ru = require('./ru-RU/website.json');
languages.sk = require('./sk-SK/website.json');
languages.sr = require('./sr-CS/website.json');
languages.sv = require('./sv-SE/website.json');
languages.th = require('./th-TH/website.json');
languages.tr = require('./tr-TR/website.json');
languages.uk = require('./uk-UA/website.json');
languages.vi = require('./vi-VN/website.json');
languages.zh = require('./zh-CN/website.json');
languages["zh-TW"] = require('./zh-TW/website.json');
module.exports = languages;
module.exports.webLangs = {
ar: { name: "العربية", flag: "sa" },
bg: { name: "български", flag: "bg" },
cs: { name: "čeština", flag: "cz" },
en: { name: "English", flag: "us" },
tr: { name: "Türkçe", flag: "tr" },
zh: { name: "中文", flag: "cn" },
"zh-TW": { name: "繁體中文", flag: "tw" },
ru: { name: "Pусский", flag: "ru" },
uk: { name: "Українська", flag: "ua" },
fr: { name: "Français", flag: "fr" },
de: { name: "Deutsch", flag: "de" },
el: { name: "Ελληνικά", flag: "gr" },
hi: { name: "हिन्दी", flag: "in" },
pl: { name: "Polski", flag: "pl" },
pt: { name: "Português", flag: "pt" },
nl: { name: "Nederlands", flag: "nl" },
it: { name: "Italiana", flag: "it" },
es: { name: "Español", flag: "es" },
ro: { name: "Română", flag: "ro" },
sk: { name: "Slovák", flag: "sk" },
ja: { name: "日本語", flag: "jp" },
hu: { name: "Magyar", flag: "hu" },
ko: { name: "한국어", flag: "kr" },
lt: { name: "Italian", flag: "lt" },
no: { name: "Norsk", flag: "no" },
pl: { name: "Polski", flag: "pl" },
"pt-BR": { name: "Português do Brasil", flag: "br" },
sr: { name: "Српска", flag: "sr" },
sv: { name: "Svenska", flag: "sv" },
th: { name: "Thai", flag: "th" },
vi: { name: "Tiếng Việt", flag: "vn" },
"ku-IQ": { name: "سۆرانی", flag: "kur" },
da: { name: "Dansk", flag: "dk" },
fa: { name: "فارسی", flag: "ir" },
fi: { name: "Suo̯mi", flag: "fi" },
hr: { name: "Hrvatski", flag: "hr" }
};
const botLanguages = {};
botLanguages.ar = require('./ar-SA/bot.json');
botLanguages.bg = require('./bg-BG/bot.json');
botLanguages.ckb = require('./ckb-IR/bot.json')
botLanguages.cs = require('./cs-CZ/bot.json');
botLanguages.da = require('./da-DK/bot.json');
botLanguages.de = require('./de-DE/bot.json');
botLanguages.el = require('./el-GR/bot.json');
botLanguages.en = require("./en/bot.json");
botLanguages.es = require('./es-ES/bot.json');
botLanguages.fa = require('./fa-IR/bot.json');
botLanguages.fi = require('./fi-FI/bot.json');
botLanguages.fr = require('./fr-FR/bot.json');
botLanguages.hi = require('./hi-IN/bot.json');
botLanguages.hr = require('./hr-HR/bot.json');
botLanguages.hu = require('./hu-HU/bot.json');
botLanguages.it = require('./it-IT/bot.json');
botLanguages.ja = require('./ja-JP/bot.json');
botLanguages.ko = require('./ko-KR/bot.json');
botLanguages.lt = require('./lt-LT/bot.json');
botLanguages.nl = require('./nl-NL/bot.json');
botLanguages.no = require('./no-NO/bot.json');
botLanguages.pl = require('./pl-PL/bot.json');
botLanguages["pt_BR"] = require('./pt-BR/bot.json');
botLanguages.pt = require('./pt-PT/bot.json');
botLanguages.ro = require('./ro-RO/bot.json');
botLanguages.ru = require('./ru-RU/bot.json');
botLanguages.sk = require('./sk-SK/bot.json');
botLanguages.sr = require('./sr-CS/bot.json');
botLanguages.sv = require('./sv-SE/bot.json');
botLanguages.th = require('./th-TH/bot.json');
botLanguages.tr = require('./tr-TR/bot.json');
botLanguages.uk = require('./uk-UA/bot.json');
botLanguages.vi = require('./vi-VN/bot.json');
botLanguages.zh = require('./zh-CN/bot.json');
botLanguages["zh_TW"] = require('./zh-TW/bot.json');
module.exports.botLangs = botLanguages;
module.exports.ex = require('./examples.json');