mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-02-24 17:42:43 +01:00
23 lines
392 B
JavaScript
23 lines
392 B
JavaScript
var data = require("LocalizedContent");
|
|
|
|
var Locale = function() {
|
|
this.data = {};
|
|
this.data = data;
|
|
};
|
|
|
|
Locale.prototype = {
|
|
getSectionLocale: function(key) {
|
|
return this.data[key].locale;
|
|
},
|
|
|
|
getContent: function(key, handler) {
|
|
return this.data[key].getContent(handler);
|
|
},
|
|
|
|
getTitle: function(key) {
|
|
return this.data[key].title;
|
|
}
|
|
};
|
|
|
|
module.exports = Locale;
|