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

@@ -41,9 +41,9 @@ class Settings extends CI_Controller {
public function index() {
$profile = $this->user->profile();
$profile_fields = array(
array('firstname', 'Vorname', 'text'),
array('lastname', 'Nachname', 'text'),
array('intitution', 'Institution', 'text'),
array('firstname', _('First name'), 'text'),
array('lastname', _('Last name'), 'text'),
array('intitution', _('Institution'), 'text'),
);
$tpl['profile'] = $profile;
$tpl['profile_fields'] = $profile_fields;