diff options
Diffstat (limited to 'pages/flickr')
-rw-r--r-- | pages/flickr/importPhotosets.php | 8 | ||||
-rw-r--r-- | pages/flickr/setup.php | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/pages/flickr/importPhotosets.php b/pages/flickr/importPhotosets.php index fe241439e..a807a0782 100644 --- a/pages/flickr/importPhotosets.php +++ b/pages/flickr/importPhotosets.php @@ -6,8 +6,8 @@ // Load Elgg engine include_once dirname(dirname(dirname(dirname(dirname(__FILE__))))) . "/engine/start.php"; - $body = elgg_view_title( "Photoset Import Manager" ); - $body .= "<h2>Click on the set you wish to import into this site. Copies of the photos will be made and stored on this site where they can be viewed and commented on.</h2>"; + $body = elgg_view_title( elgg_echo( 'flickr:importmanager' )); + $body .= "<h2>" . elgg_echo( 'flickr:desc' ) . "</h2>"; $viewer = get_loggedin_user(); @@ -21,7 +21,7 @@ $album_id = get_metadata_byname( $viewer->guid, "flickr_album_id" ); if( intval( $album_id->value ) <= 0 ) { - register_error( "No album selected. Please choose and save an album: $album_id->value" ); + register_error( sprintf( elgg_echo( 'flickr:errornoalbum' ), $album_id->value )); forward( "/mod/tidypics/pages/flickr/setup.php" ); } @@ -45,6 +45,6 @@ // $body .= elgg_view("tidypics/forms/setupFlickr", array(), false, true ); flickr_menu(); - page_draw( "Photoset Import", elgg_view_layout("two_column_left_sidebar", '', $body)); + page_draw( elgg_echo( 'flickr:importmanager' ), elgg_view_layout("two_column_left_sidebar", '', $body)); ?>
\ No newline at end of file diff --git a/pages/flickr/setup.php b/pages/flickr/setup.php index a2aa20db6..1de8c29c2 100644 --- a/pages/flickr/setup.php +++ b/pages/flickr/setup.php @@ -10,8 +10,8 @@ $viewer = get_loggedin_user(); - $body = elgg_view_title( "Setup Flickr" ); + $body = elgg_view_title( elgg_echo( 'flickr:setup') ); $body .= elgg_view("tidypics/forms/setupFlickr", array(), false, true ); // echo "<pre>"; var_dump($body); echo "</pre>"; - page_draw( "Setup Flickr", elgg_view_layout("two_column_left_sidebar", '', $body)); + page_draw( elgg_echo( 'flickr:setup'), elgg_view_layout("two_column_left_sidebar", '', $body)); ?>
\ No newline at end of file |