Implement gettext for strings inside the controllers

This commit is contained in:
Karsten Heiken
2011-08-11 03:49:10 +02:00
parent 7682bf48c0
commit 2899ed81e5
4 changed files with 18 additions and 17 deletions

View File

@@ -100,7 +100,7 @@ class Trials extends CI_Controller {
redirect('/trial/detail/' . $result, 'refresh');
} else {
$this->messages->add('Der Versuch konnte nicht gespeichert werden.', 'error');
$this->messages->add(_('The trial could not be created.'), 'error');
$this->load->view('trial/new', $tpl);
}
}