diff options
-rw-r--r-- | languages/en.php | 6 | ||||
-rw-r--r-- | mod/profile/views/default/profile/editicon.php | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/languages/en.php b/languages/en.php index 281942a2b..5bd856fb8 100644 --- a/languages/en.php +++ b/languages/en.php @@ -238,11 +238,13 @@ To remove a widget drag it back to the <b>Widget gallery</b>.", */
'profile' => "Profile",
- 'profile:edit:default' => 'Replace profile fields',
+ 'profile:edit:default' => 'Replace profile fields', + 'profile:preview' => 'Preview',
'user' => "User",
'item:user' => "Users",
'riveritem:single:user' => 'a user',
- 'riveritem:plural:user' => 'some users',
+ 'riveritem:plural:user' => 'some users', +
/**
diff --git a/mod/profile/views/default/profile/editicon.php b/mod/profile/views/default/profile/editicon.php index 458da16c0..17154cee4 100644 --- a/mod/profile/views/default/profile/editicon.php +++ b/mod/profile/views/default/profile/editicon.php @@ -100,7 +100,7 @@ $('<div id="user_avatar_preview"><img src="<?php echo $user_master_image; ?>" /></div>')
.insertAfter($('#user_avatar'));
- $('<div id="user_avatar_preview_title"><label>Preview</label></div>').insertBefore($('#user_avatar_preview'));
+ $('<div id="user_avatar_preview_title"><label><?php echo elgg_echo('profile:preview'); ?></label></div>').insertBefore($('#user_avatar_preview'));
});
|