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",
|
|
|
|
FR: "fr"
|
2015-09-11 03:05:53 +00:00
|
|
|
};
|