aboutsummaryrefslogtreecommitdiff
path: root/actions/flickrImportPhotoset.php
diff options
context:
space:
mode:
authorGreg Froese <greg.froese@gmail.com>2009-10-19 05:34:47 +0000
committerGreg Froese <greg.froese@gmail.com>2009-10-19 05:34:47 +0000
commit81b8ba32beb3151025d3b390c0621e074bceae36 (patch)
tree716dc1767fefdd42f1a295f3b01d7d78855684d1 /actions/flickrImportPhotoset.php
parentaef5c5a559959b3ffc1c1100752ba4a961ac432c (diff)
downloadelgg-81b8ba32beb3151025d3b390c0621e074bceae36.tar.gz
elgg-81b8ba32beb3151025d3b390c0621e074bceae36.tar.bz2
flickr integration changes
Diffstat (limited to 'actions/flickrImportPhotoset.php')
-rw-r--r--actions/flickrImportPhotoset.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/flickrImportPhotoset.php b/actions/flickrImportPhotoset.php
index d28ea8564..ec0d65b5d 100644
--- a/actions/flickrImportPhotoset.php
+++ b/actions/flickrImportPhotoset.php
@@ -18,7 +18,7 @@ $user = get_loggedin_user();
$flickr_id = get_metadata_byname( $user->guid, "flickr_id" );
if( empty( $flickr_id )) {
- register_error( "You must enter a username" );
+ register_error( elgg_echo( 'flickr:errorusername2' ));
forward( $return_url );
die; //just in case
}
@@ -33,7 +33,7 @@ foreach( $photos["photoset"]["photo"] as $photo ) {
//check if we already have this image
$meta = get_metadata_byname( $user->guid, $photo["id"] );
if( $meta->value == 1 ) { //we've downloaded this already
- register_error( "This image has already been imported" );
+ register_error( elgg_echo( 'flickr:errorimageimport' ));
continue;
}
//store this so we don't download the same photo multiple times