aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-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');