function translate()
{
    this.container = new Object();
}

translate.prototype.addTranslation = function(key, value)
{
    this.container[key] = value;
};

translate.prototype.getTranslation = function(key)
{
    if (typeof this.container[key] == 'undefined') {
        return key;
    } else {
        return this.container[key];
    }
};
