]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Pulled out some language strings.
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 6 Jul 2010 22:02:19 +0000 (22:02 +0000)
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 6 Jul 2010 22:02:19 +0000 (22:02 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@6649 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/embed/languages/en.php
mod/embed/views/default/embed/upload/content.php

index f7c95334ac4c7ee89fe49b16701c48fec6df0584..d3ec1f74064970c86d6bcd095d2c2349b3426585 100644 (file)
@@ -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!',
index 8e50adf6a4d6953170d05e69378cb0176a15b756..199eb7ede23111649f11bd5d4cf1c59ac4b0f7f1 100644 (file)
@@ -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');