aboutsummaryrefslogtreecommitdiff
path: root/views/default/tidypics/forms
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/tidypics/forms')
-rw-r--r--views/default/tidypics/forms/setupFlickr.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/views/default/tidypics/forms/setupFlickr.php b/views/default/tidypics/forms/setupFlickr.php
index 8ae7c27bb..8c31d0883 100644
--- a/views/default/tidypics/forms/setupFlickr.php
+++ b/views/default/tidypics/forms/setupFlickr.php
@@ -7,29 +7,29 @@ $flickr_album_id = get_metadata_byname( $user->guid, "flickr_album_id" );
$action = $vars['url'] . 'action/tidypics/flickrSetup';
-$form_body = "<p>";
-$form_body .= "Please enter your Flickr username here: <input style='width: 20%;' type='text' name='flickr_username' value='$flickr_username->value' ' class='input-text' /> <br />";
+$form_body = "<p>". elgg_echo( 'flickr:intro' ) . "</p><p>";
+$form_body .= elgg_echo( 'flickr:usernamesetup') . " <input style='width: 20%;' type='text' name='flickr_username' value='$flickr_username->value' ' class='input-text' /> <br />";
$form_body .= "<input type='hidden' name='return_url' value='$_SERVER[REQUEST_URI]' />";
$albums = get_entities( "object", "album", $user->guid );
-$options = array( 0 => "Select album" );
+$options = array( 0 => elgg_echo( 'flickr:selectalbum' ));
foreach( $albums as $album ) {
$title = $album->title;
switch( $album->access_id ) {
case ACCESS_PRIVATE:
- $title .= " (private)";
+ $title .= " (" . elgg_echo( 'private' ) . ")";
break;
case ACCESS_PUBLIC:
- $title .= " (public)";
+ $title .= " (" . elgg_echo( 'public' ) . ")";
break;
default:
- $title .= " (not sure)";
+ $title .= " (no known permission set)";
break;
}
$options[$album->guid] = $title;
}
-$form_body .= "<br />Album to import photos to: ";
+$form_body .= "<br />" . elgg_echo( 'flickr:albumdesc' );
$form_body .= elgg_view('input/pulldown', array('internalname' => 'album_id',
'options_values' => $options,
'value' => $flickr_album_id->value ));