Index: .
===================================================================
--- .	(revision 7)
+++ .	(working copy)
@@ -86,8 +86,8 @@
 {
 	global $wpdb, $bp_xprofile_table_name, $wpmuBaseTablePrefix, $bp_xprofile, $groups;
 
-	add_menu_page("Profile", "Profile", 1, basename(__FILE__), "xprofile_picture");
-	add_submenu_page(basename(__FILE__), "Picture", "Picture", 1, basename(__FILE__), "xprofile_picture");		
+	add_menu_page(__("Profile"), __("Profile"), 1, basename(__FILE__), "xprofile_picture");
+	add_submenu_page(basename(__FILE__), __("Picture"), __("Picture"), 1, basename(__FILE__), "xprofile_picture");		
 	
 	$groups = BP_XProfile_Group::get_all();
 
@@ -98,7 +98,7 @@
 	}
 	
 	/* Add the administration tab under the "Site Admin" tab for site administrators */
-	add_submenu_page('bp_core.php', "Profiles", "Profiles", 1, "xprofile_settings", "xprofile_admin");
+	add_submenu_page('bp_core.php', __("Profiles"), __("Profiles"), 1, "xprofile_settings", "xprofile_admin");
 
 	/* Need to check db tables exist, activate hook no-worky in mu-plugins folder. */
 	if($wpdb->get_var("show tables like '$bp_xprofile_table_name'") != $bp_xprofile_table_name) xprofile_install();
@@ -238,7 +238,7 @@
 						   ($field->is_required && $current_field == ''))
 						{
 							// Validate the field.
-							$field->message = __($field->name . ' cannot be left blank.');
+							$field->message = sprintf(__('%s cannot be left blank.'), $field->name);
 							$errors[] = $field->message . "<br />";
 						}
 						else if(!$field->is_required && $current_field == '')
@@ -286,7 +286,7 @@
 				$list_html .= '</ul>';
 				
 				$list_html .= '<p class="submit">
-								<input type="submit" name="save" id="save" value="Save Changes &raquo;" />
+								<input type="submit" name="save" id="save" value="'.__('Save Changes &raquo;').'" />
 							   </p>';
 
 				if($errors && isset($_POST['save']))
@@ -308,7 +308,7 @@
 			}
 			else
 			{
-				$list_html .= '<p>This group is currently empty. Please contact the site admin if this is incorrect.</p>';
+				$list_html .= '<p>'.__('This group is currently empty. Please contact the site admin if this is incorrect.').'</p>';
 			}
 			
 		?>
@@ -412,16 +412,17 @@
 			<div id="profilePicture">
 			
 				<div id="currentPicture">
-					<h2>Current Picture</h2>
+					<h2><?php _e('Current Picture'); ?></h2>
 					<?php echo $current_thumbnail->html; ?>
 					
 					<p style="text-align: center">[ <a href="admin.php?page=bp_xprofile.php&amp;mode=delete_picture&amp;file=<?php echo $current["picture"]; ?>">delete picture</a> ]</p>
 					
 					<form action="admin.php?page=bp_xprofile.php" enctype="multipart/form-data" method="post">
-						<h3>Upload a Picture</h3>
+						<h3><?php _e('Upload a Picture'); ?></h3>
 
 						<input type="file" name="profile_image" id="profile_image" />
-						<p class="submit" style="text-align: center"><input type="submit" name="submit" value="Upload Picture &raquo;" /></p>
+						<p class="submit" style="text-align: center">
+							<input type="submit" name="submit" value="<?php _e('Upload Picture &raquo;'); ?>" /></p>
 
 						<input type="hidden" name="action" value="save" />
 						<input type="hidden" name="max_file_size" value="1000000" />
@@ -431,13 +432,13 @@
 			</div>
 			
 			<div id="otherPictures">
-				<h2>Previously Uploaded</h2>
+				<h2><?php _e('Previously Uploaded'); ?></h2>
 				<?php $pictures = BP_XProfile_Picture::get_all(ABSPATH . $profile_picture_path); ?>
 				<ul>
 				<?php for($i=0; $i<count($pictures); $i++) { ?>
 					<li>
 						<a href="admin.php?page=bp_xprofile.php&amp;mode=set_picture&amp;file=<?php echo $pictures[$i]["file"]; ?>">
-							<img src="<?php echo get_option('site_url') . 'files/profilepics/' . $pictures[$i]["thumbnail"]; ?>" alt="Alternate Pic" style="height: 100px;" /></li>
+							<img src="<?php echo get_option('site_url') . 'files/profilepics/' . $pictures[$i]["thumbnail"]; ?>" alt="<?php _e('Alternate Pic'); ?>" style="height: 100px;" /></li>
 						</a>
 					</li>
 				<?php } ?>
