[ticket/11201] Also translate profile fields in UCP and ACP

PHPBB3-11201
This commit is contained in:
Joas Schilling 2014-01-19 17:58:12 +01:00
parent 4213b93cde
commit 430a0c1c21

View file

@ -135,8 +135,8 @@ class profilefields
$profile_field = $this->type_collection[$row['field_type']];
$this->template->assign_block_vars('profile_fields', array(
'LANG_NAME' => $row['lang_name'],
'LANG_EXPLAIN' => $row['lang_explain'],
'LANG_NAME' => $this->user->lang($row['lang_name']),
'LANG_EXPLAIN' => $this->user->lang($row['lang_explain']),
'FIELD' => $tpl_snippet,
'FIELD_ID' => $profile_field->get_field_ident($row),
'S_REQUIRED' => ($row['field_required']) ? true : false,