aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-07-06 22:02:19 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-07-06 22:02:19 +0000
commitefe3d48d769b56eef5d74a938ea29be5a10b520b (patch)
tree149e3d63786d4bb813a3293fa227340aa68343b3
parent19b33a4b36fd06ca7148d1555eb4f012da4afbd6 (diff)
downloadelgg-efe3d48d769b56eef5d74a938ea29be5a10b520b.tar.gz
elgg-efe3d48d769b56eef5d74a938ea29be5a10b520b.tar.bz2
Pulled out some language strings.
git-svn-id: http://code.elgg.org/elgg/trunk@6649 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--mod/embed/languages/en.php1
-rw-r--r--mod/embed/views/default/embed/upload/content.php4
2 files changed, 3 insertions, 2 deletions
diff --git a/mod/embed/languages/en.php b/mod/embed/languages/en.php
index f7c95334a..d3ec1f740 100644
--- a/mod/embed/languages/en.php
+++ b/mod/embed/languages/en.php
@@ -9,6 +9,7 @@ $english = array(
'embed:instructions' => 'Click on any file to embed it into your content.',
'embed:media' => 'Embed content',
'embed:upload' => 'Upload media',
+ 'embed:upload_type' => 'Upload type: ',
// messages
'embed:no_upload_content' => 'No upload content!',
diff --git a/mod/embed/views/default/embed/upload/content.php b/mod/embed/views/default/embed/upload/content.php
index 8e50adf6a..199eb7ede 100644
--- a/mod/embed/views/default/embed/upload/content.php
+++ b/mod/embed/views/default/embed/upload/content.php
@@ -1,6 +1,6 @@
<?php
/**
- * Special upload form for
+ * Special upload form
*/
$upload_sections = elgg_get_array_value('upload_sections', $vars, array());
$active_section = get_input('active_upload_section', array_shift(array_keys($upload_sections)));
@@ -20,7 +20,7 @@ if ($upload_sections) {
));
echo "<div class='embed_modal_upload'>";
- echo "<p>Choose upload type: $input</p>";
+ echo "<p>" . elgg_echo('embed:upload_type') . "$input</p>";
if (!$upload_content = elgg_view($upload_sections[$active_section]['view'])) {
$upload_content = elgg_echo('embed:no_upload_content');