aboutsummaryrefslogtreecommitdiff
path: root/views/default/forms/profile
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-10-07 08:05:14 -0400
committerCash Costello <cash.costello@gmail.com>2011-10-07 08:05:14 -0400
commit996a185c557357ccd3f5c257d17699eb874e1898 (patch)
treea264a21bff5c72b0d2ce0af84d3bb7d81a1495ea /views/default/forms/profile
parent41256f644b02bf4dcb2bc3798bdf470fa93515da (diff)
downloadelgg-996a185c557357ccd3f5c257d17699eb874e1898.tar.gz
elgg-996a185c557357ccd3f5c257d17699eb874e1898.tar.bz2
Fixes #3644 localized profile field names
Diffstat (limited to 'views/default/forms/profile')
-rw-r--r--views/default/forms/profile/fields/add.php12
1 files changed, 7 insertions, 5 deletions
diff --git a/views/default/forms/profile/fields/add.php b/views/default/forms/profile/fields/add.php
index c1d07d2ce..bd58ae381 100644
--- a/views/default/forms/profile/fields/add.php
+++ b/views/default/forms/profile/fields/add.php
@@ -8,11 +8,13 @@ $type_text = elgg_echo('profile:type');
$label_control = elgg_view('input/text', array('name' => 'label'));
$type_control = elgg_view('input/dropdown', array('name' => 'type', 'options_values' => array(
- 'text' => elgg_echo('text'),
- 'longtext' => elgg_echo('longtext'),
- 'tags' => elgg_echo('tags'),
- 'url' => elgg_echo('url'),
- 'email' => elgg_echo('email')
+ 'text' => elgg_echo('profile:field:text'),
+ 'longtext' => elgg_echo('profile:field:longtext'),
+ 'tags' => elgg_echo('profile:field:tags'),
+ 'url' => elgg_echo('profile:field:url'),
+ 'email' => elgg_echo('profile:field:email'),
+ 'location' => elgg_echo('profile:field:location'),
+ 'date' => elgg_echo('profile:field:date'),
)));
$submit_control = elgg_view('input/submit', array('name' => elgg_echo('add'), 'value' => elgg_echo('add')));