diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-06-02 15:54:50 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-06-02 15:54:50 +0000 |
commit | 748e7c23ab88318b6fa4b1ee2de89ea71dcd5dc0 (patch) | |
tree | 2c58766e39543ef51d4801c3cb84d896276d1667 | |
parent | b7f65ac7ac3f39728ea5c4e5ba4ebbe285989723 (diff) | |
download | elgg-748e7c23ab88318b6fa4b1ee2de89ea71dcd5dc0.tar.gz elgg-748e7c23ab88318b6fa4b1ee2de89ea71dcd5dc0.tar.bz2 |
Standardized embed language file.
Fixed title language string for embed modal.
git-svn-id: http://code.elgg.org/elgg/trunk@6325 36083f99-b078-4883-b0ff-0f9b5a30f544
-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(); |