aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-01-19 17:58:12 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-01-19 17:58:12 +0100
commit430a0c1c212015f142777a6a31ce056c11e98ed2 (patch)
tree279faf028d50794601f6581b8fb50ed525fe0d2a /phpBB/phpbb
parent4213b93cde5bb19b8d2fec43bb4043cd057beec9 (diff)
downloadforums-430a0c1c212015f142777a6a31ce056c11e98ed2.tar
forums-430a0c1c212015f142777a6a31ce056c11e98ed2.tar.gz
forums-430a0c1c212015f142777a6a31ce056c11e98ed2.tar.bz2
forums-430a0c1c212015f142777a6a31ce056c11e98ed2.tar.xz
forums-430a0c1c212015f142777a6a31ce056c11e98ed2.zip
[ticket/11201] Also translate profile fields in UCP and ACP
PHPBB3-11201
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/profilefields/profilefields.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/profilefields/profilefields.php b/phpBB/phpbb/profilefields/profilefields.php
index ee5c987d36..aec2756211 100644
--- a/phpBB/phpbb/profilefields/profilefields.php
+++ b/phpBB/phpbb/profilefields/profilefields.php
@@ -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,