aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-07-06 09:48:32 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-07-06 09:48:32 +0000
commit59e7178d02749f2e2dff1a3fa785249b85faee6f (patch)
treed2d44f3daee744156712ef453f49912cea258236
parent793400e5c13281599199fab96a2538c7dcf8df0e (diff)
downloadelgg-59e7178d02749f2e2dff1a3fa785249b85faee6f.tar.gz
elgg-59e7178d02749f2e2dff1a3fa785249b85faee6f.tar.bz2
Closes #1103: Profile text now has translation tag
git-svn-id: https://code.elgg.org/elgg/trunk@3385 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--languages/en.php6
-rw-r--r--mod/profile/views/default/profile/editicon.php2
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'));
});