/*
 *  JavaScript translation object.
 *  js_t.get(msgid) kind of actios like $tm->_(msgid). takes a msgid - if exsists in the js_t.t[] array returns it from there, if no returns the original msgid
 *
 *  You should populate the js_t.t[] in the templates with strings from the actual translation system.
 */

//initalize object
js_t = {};

//translation strings array
js_t.t = new Array();


//the get function 
js_t.get = function(msgid){

    if(js_t.t[msgid]){
        return js_t.t[msgid];
    }
    else{
        return msgid;
    }
}
