2015-02-06 15:46:50 +00:00
|
|
|
module.exports = {
|
|
|
|
getLanguages : function () {
|
|
|
|
var languages = [];
|
2015-09-11 03:05:53 +00:00
|
|
|
for (var lang in this)
|
2015-02-06 15:46:50 +00:00
|
|
|
{
|
2015-09-11 03:05:53 +00:00
|
|
|
if (typeof this[lang] === "string")
|
2015-02-06 15:46:50 +00:00
|
|
|
languages.push(this[lang]);
|
|
|
|
}
|
|
|
|
return languages;
|
|
|
|
},
|
2015-02-24 10:49:46 +00:00
|
|
|
EN: "en",
|
|
|
|
BG: "bg",
|
2015-03-10 15:24:27 +00:00
|
|
|
DE: "de",
|
2015-05-29 06:46:49 +00:00
|
|
|
TR: "tr",
|
2016-07-20 20:04:14 +00:00
|
|
|
FR: "fr",
|
|
|
|
ES: "es",
|
2016-07-20 20:38:50 +00:00
|
|
|
HY: "hy",
|
2016-07-20 20:04:14 +00:00
|
|
|
IT: "it",
|
2016-07-20 20:38:50 +00:00
|
|
|
OC: "oc",
|
2016-07-20 20:04:14 +00:00
|
|
|
PTBR: "ptBR",
|
|
|
|
SK: "sk",
|
|
|
|
SL: "sl",
|
|
|
|
SV: "sv"
|
|
|
|
};
|