]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Added description field and arranged english language file.
authorSem <sembrestels@riseup.net>
Thu, 10 Nov 2011 19:08:08 +0000 (20:08 +0100)
committerSem <sembrestels@riseup.net>
Thu, 10 Nov 2011 19:08:08 +0000 (20:08 +0100)
languages/en.php
start.php
views/default/forms/videolist/edit.php

index 747bf725c8f6a9d4c64f899c55445372d8cbcbb8..db181aa37b70d88c5eed40b08727eeea21b9a480 100644 (file)
@@ -1,13 +1,10 @@
 <?php
 /**
- * Elgg Video Plugin
- * This plugin allows users to create a library of youtube/vimeo/metacafe videos
- * @file - language file 'en'
- * @package Elgg
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Prateek Choudhary <synapticfield@gmail.com>
- * @copyright Prateek Choudhary
+ * Elgg videolist english language pack.
+ *
+ * @package ElggVideolist
  */
 $english = array(
 
        "videolist" => "Videos",
@@ -24,16 +21,16 @@ $english = array(
        'videolist:friends' => "Friends' videos",
        'videolist:edit' => "Edit video",
        'videolist:ingroup' => "in the group",
-       "videolist:video_url" => 'Enter Video Url',
        "videolist:submit" => 'Submit',
-       "videolist:videoTitle" => "Title",
-       "videolist:error" => 'There was an error in saving the video, please try after sometime',
-       "videolist:posted" => 'Your video has been saved successfully!',
-       "video:more" => "View all videos",
-       "video:none" => "sorry, no videos were found",
-       "candidateprofile:candidatevideo" => "My videos",
-       "videos:deleted" => "Your Video was removed successfully!",
-       "videos:notdeleted" => "Unfortunately, this video could not be removed now. Please try again later",
+       "videolist:title" => "Title",
+       "videolist:description" => "Description",
+       "videolist:video_url" => "Enter video URL",
+       "videolist:error:no_save" => 'There was an error in saving the video, please try after sometime',
+       "videolist:saved" => 'Your video has been saved successfully!',
+       "videolist_item:more" => "View all videos",
+       "videolist_item:none" => "sorry, no videos were found",
+       "videolist:deleted" => "Your video was removed successfully!",
+       "videolist:deletefailed" => "Unfortunately, this video could not be removed now. Please try again later",
        "videolist:widget" => "Videos",
        "videolist:widget:description" => "Your personal video playlist",
        "videolist:num_videos" => "Number of videos to display",
@@ -41,7 +38,7 @@ $english = array(
        "videolist:widget:description" => "Showcase your personal video gallery from youtube",
        "profile:videoheader" => "My Video Gallery",
        "videolist:access_id" => "Who can see you posted this video?",
-       "item:object:videolist" => "Videos",
+       "item:object:videolist_item" => "Videos",
        "videolist:tags" => "Add Tags",
        "videolist:browse" => "Find Videos - %s",
        "videolist:browsemenu" => "Find Videos",
@@ -49,17 +46,13 @@ $english = array(
        "videolist:searchTubeVideos" => "Search youtube.com",
        "videolist:comments" => "Comments",
        "videolist:commentspost" => "Post",
-       "videolist:river:annotate" => "%s commented on",
+       "river:comment:object:videolist_item" => "%s commented on %s",
        "videolist:river:item" => "a video",
        "videolist:river:created" => "%s added",
-       "videolist:searchTubeVideos:metacafe" => "Search metacafe.com",
-       "videolist:searchTubeVideos:vimeo" => "Search vimeo.com",
-       "videolist:searchTubeVideos:googlevideos" => "Search video.google.com",
-       "videolist:group" => "Videos",
+       "videolist:group" => "Group Videos",
        "videolist:groupall" => "All Group Videos",
        "videolist:delete:confirm" => "Are you sure you want to delete this video?",
-       "videolist:none" => "This group does not have any videos yet",
-       "videolist:none:found" => "No videos were found."
+       "videolist:none" => "No videos were found.",
 );
 
 add_translation("en",$english);
index f0fe8253cfcba95f786ec44128c6e0ddc8d34ad9..ad6998382221fabb1f22b6d72086ce9a395ff13b 100644 (file)
--- a/start.php
+++ b/start.php
@@ -33,6 +33,7 @@ function videolist_init() {
        elgg_set_config('videolist', array(
                'video_url' => 'url',
                'title' => 'text',
+               'description' => 'longtext',
                'tags' => 'tags',
                'access_id' => 'access',
        ));
index ba614126371b0d094cad233ad915b4c715d59e65..8bbbcffb721a7d0308967a65f09b690b22e9b296 100644 (file)
@@ -9,6 +9,7 @@ $variables = elgg_get_config('videolist');
 
 if(empty($vars['guid'])){
        unset($variables['title']);
+       unset($variables['description']);
 }
 
 foreach ($variables as $name => $type) {