Constructs a Translation object.
Parses values passed into this class through the t() function in Drupal and handles an optional context for the string.
public function __construct($values) {
$string = $values['value'];
$options = array();
if (!empty($values['context'])) {
$options = array(
'context' => $values['context'],
);
}
$this->translation = t($string, array(), $options);
}