<?php
/**
 * User: David Camacho
 * Date: 31/03/2015
 * Time: 18:28
 */


class AlertsModuleTranslate {

    var $phrase ;

    public function AlertsModuleTranslate(){

        $this->phrase = array(
            'module_name' => 'Alertes',
            'my_alerts' => 'Les meves alertes',
            'open_tests' => 'Tests en curs',
            'coming_tests' => 'Próxims tests',
            'stadistics' => 'Estadístiques',


        );
    }

    public function getTranslate($word){
        if (isset($this->phrase[$word]))
            return $this->phrase[$word];
        else
            return $word;
    }

}