diff options
-rw-r--r-- | mod/embed/languages/en.php | 27 | ||||
-rw-r--r-- | mod/embed/views/default/embed/embed.php | 3 |
2 files changed, 13 insertions, 17 deletions
diff --git a/mod/embed/languages/en.php b/mod/embed/languages/en.php index c92c5efad..9d2bbc09c 100644 --- a/mod/embed/languages/en.php +++ b/mod/embed/languages/en.php @@ -1,18 +1,13 @@ <?php +/** + * Embed English language strings + * + * @var unknown_type + */ +$english = array( + 'media:insert' => 'Embed media', + 'embed:instructions' => 'Click on any file to embed it into your content.', + 'embed:media' => 'Embed media', +); - $english = array( - - 'media:insert' => 'Embed media', - - 'embed:instructions' => 'Click on any file to embed it into your content.', - - 'embed:media' => 'Embed media', - 'upload:media' => 'Upload media', - - 'embed:file:required' => 'No file upload facilities were found. The system administrator may need to upload the file plugin or similar.', - - ); - - add_translation("en",$english); - -?>
\ No newline at end of file +add_translation("en", $english);
\ No newline at end of file diff --git a/mod/embed/views/default/embed/embed.php b/mod/embed/views/default/embed/embed.php index 7815c1222..09a15d7a0 100644 --- a/mod/embed/views/default/embed/embed.php +++ b/mod/embed/views/default/embed/embed.php @@ -15,7 +15,8 @@ if (!$sections) { $offset = max(0, get_input('offset', 0)); $limit = get_input('limit', 10); - $content = elgg_view_title(elgg_echo('embed:embed')); + $content = elgg_view_title(elgg_echo('embed:media')); + //$content .= elgg_echo('embed:instructions'); // prepare tabbed menu $tabs = array(); |