rtMedia for WordPress, BuddyPress and bbPress - Version 3.7.33

Version Description

  • Fix media move in album edit
  • JPEG image quality option
  • Use WordPress' *_metadata functions for meta data
  • Fix update activity after thumb set
Download this release

Release Info

Developer rtcamp
Plugin Icon 128x128 rtMedia for WordPress, BuddyPress and bbPress
Version 3.7.33
Comparing to
See all releases

Code changes from version 3.7.32 to 3.7.33

CONTRIBUTING.md CHANGED
@@ -6,7 +6,7 @@ This guide details how to use issues and pull requests to improve rtMedia.
6
 
7
  Github issue-tracker is used **only** for developer & contributor discussion.
8
 
9
- For support-request/feature-request, please use - http://rtcamp.com/rtmedia/support/
10
 
11
  ## Translation
12
 
6
 
7
  Github issue-tracker is used **only** for developer & contributor discussion.
8
 
9
+ For support-request/feature-request, please use - http://community.rtcamp.com/c/rtmedia
10
 
11
  ## Translation
12
 
app/admin/RTMediaFormHandler.php CHANGED
@@ -799,29 +799,64 @@ class RTMediaFormHandler {
799
 
800
  echo '</div>';
801
  $options = $rtmedia->options;
802
- $render_video_thumb = array(
803
- 'title' => __( 'Number of thumbnails to generate on video upload', 'rtmedia' ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
804
  'callback' => array( 'RTMediaFormHandler', 'number' ),
805
  'args' => array(
806
- 'key' => 'general_videothumbs',
807
- 'value' => $options['general_videothumbs'],
808
  'class' => array( 'rtmedia-setting-text-box' ),
809
- 'desc' => __( ' If you choose more than 1 thumbnail, your users will be able to change the thumbnail by going to video \'edit\' section. Maximum value is 10.', 'rtmedia' ),
810
  'min' => 1,
811
- 'max' => 10,
812
  )
813
  );
814
- ?>
815
- <div class="postbox metabox-holder">
816
- <h3 class="hndle"><span>Encoding Settings</span></h3>
817
  </div>
818
- <div class="row section">
819
  <div class="columns large-9">
820
- <?php echo $render_video_thumb['title']; ?>
821
  </div>
822
  <div class="columns large-3">
823
- <?php call_user_func( $render_video_thumb['callback'], $render_video_thumb['args'] ); ?>
824
- <span data-tooltip class="has-tip" title="<?php echo ( isset( $render_video_thumb['args']['desc'] ) ) ? $render_video_thumb['args']['desc'] : 'NA'; ?>">
825
  <i class="rtmicon-info-circle"></i>
826
  </span>
827
  </div>
799
 
800
  echo '</div>';
801
  $options = $rtmedia->options;
802
+
803
+ // Checking if user has subscribed any plan for encoding
804
+ $rtmedia_encoding_api_key = get_rtmedia_encoding_api_key();
805
+
806
+ if( isset( $rtmedia_encoding_api_key ) && $rtmedia_encoding_api_key != '' && $rtmedia_encoding_api_key ) {
807
+ $render_video_thumb = array(
808
+ 'title' => __( 'Number of thumbnails to generate on video upload', 'rtmedia' ),
809
+ 'callback' => array( 'RTMediaFormHandler', 'number' ),
810
+ 'args' => array(
811
+ 'key' => 'general_videothumbs',
812
+ 'value' => $options['general_videothumbs'],
813
+ 'class' => array( 'rtmedia-setting-text-box' ),
814
+ 'desc' => __( ' If you choose more than 1 thumbnail, your users will be able to change the thumbnail by going to video \'edit\' section. Maximum value is 10.', 'rtmedia' ),
815
+ 'min' => 1,
816
+ 'max' => 10,
817
+ )
818
+ );
819
+ ?>
820
+ <div class="postbox metabox-holder">
821
+ <h3 class="hndle"><span>Encoding Settings</span></h3>
822
+ </div>
823
+ <div class="row section">
824
+ <div class="columns large-9">
825
+ <?php echo $render_video_thumb['title']; ?>
826
+ </div>
827
+ <div class="columns large-3">
828
+ <?php call_user_func( $render_video_thumb['callback'], $render_video_thumb['args'] ); ?>
829
+ <span data-tooltip class="has-tip" title="<?php echo ( isset( $render_video_thumb['args']['desc'] ) ) ? $render_video_thumb['args']['desc'] : 'NA'; ?>">
830
+ <i class="rtmicon-info-circle"></i>
831
+ </span>
832
+ </div>
833
+ </div>
834
+ <?php
835
+ }
836
+
837
+ $render_jpeg_image_quality = array(
838
+ 'title' => __( 'JPEG/JPG image quality (1-100)', 'rtmedia' ),
839
  'callback' => array( 'RTMediaFormHandler', 'number' ),
840
  'args' => array(
841
+ 'key' => 'general_jpeg_image_quality',
842
+ 'value' => $options['general_jpeg_image_quality'],
843
  'class' => array( 'rtmedia-setting-text-box' ),
844
+ 'desc' => __( 'Enter JPEG/JPG Image Quality. Minimum value is 1. 100 is original quality.', 'rtmedia' ),
845
  'min' => 1,
846
+ 'max' => 100,
847
  )
848
  );
849
+ ?>
850
+ <div class="postbox metabox-holder">
851
+ <h3 class="hndle"><span>Image Quality</span></h3>
852
  </div>
853
+ <div class="row section">
854
  <div class="columns large-9">
855
+ <?php echo $render_jpeg_image_quality['title']; ?>
856
  </div>
857
  <div class="columns large-3">
858
+ <?php call_user_func( $render_jpeg_image_quality['callback'], $render_jpeg_image_quality['args'] ); ?>
859
+ <span data-tooltip class="has-tip" title="<?php echo ( isset( $render_jpeg_image_quality['args']['desc'] ) ) ? $render_jpeg_image_quality['args']['desc'] : 'NA'; ?>">
860
  <i class="rtmicon-info-circle"></i>
861
  </span>
862
  </div>
app/assets/js/admin.js CHANGED
@@ -71,7 +71,7 @@ jQuery(document).ready(function($) {
71
  } );
72
 
73
  var general_videothumb = jQuery( 'input[name^="rtmedia-options[general_videothumbs]"]' );
74
- if( return_code && typeof general_videothumb != "undefined" ) {
75
  var error_msg = "";
76
  var general_videothumb_val = 0;
77
  if( general_videothumb.val() <= 0 ) {
@@ -88,9 +88,31 @@ jQuery(document).ready(function($) {
88
  return false;
89
  }
90
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
91
 
92
  var general_perPageMedia = jQuery( 'input[name^="rtmedia-options[general_perPageMedia]"]' );
93
- if( return_code && typeof general_perPageMedia != "undefined" ) {
94
  var error_msg = "";
95
  var general_perPageMedia_val = 0;
96
  if( general_perPageMedia.val() < 1 ) {
71
  } );
72
 
73
  var general_videothumb = jQuery( 'input[name^="rtmedia-options[general_videothumbs]"]' );
74
+ if( return_code && general_videothumb.length > 0 && typeof general_videothumb != "undefined" ) {
75
  var error_msg = "";
76
  var general_videothumb_val = 0;
77
  if( general_videothumb.val() <= 0 ) {
88
  return false;
89
  }
90
  }
91
+
92
+ var general_jpeg_image_quality = jQuery( 'input[name^="rtmedia-options[general_jpeg_image_quality]"]' );
93
+ if( return_code && general_jpeg_image_quality.length > 0 && typeof general_jpeg_image_quality != "undefined" ) {
94
+ var error_msg = "";
95
+ var general_jpeg_image_quality_val = 0;
96
+ if( general_jpeg_image_quality.val() <= 0 ) {
97
+ error_msg += "Number of percentage in JPEG image quality should be greater than 0 in image sizes settings. Setting it to default value 90.";
98
+ general_jpeg_image_quality_val = 90;
99
+ } else if( general_jpeg_image_quality.val() > 100 ) {
100
+ error_msg += "Number of percentage in JPEG image quality should be less than 100 in image sizes settings. Setting it to 100.";
101
+ general_jpeg_image_quality_val = 100;
102
+ } else if( !reg.test( general_jpeg_image_quality.val() ) ) {
103
+ error_msg += 'Invalid value for percentage in JPEG image quality in image sizes settings. Setting it to round value ' + Math.round( general_jpeg_image_quality.val() ) + ".";
104
+ general_jpeg_image_quality_val = Math.round( general_jpeg_image_quality.val() );
105
+ }
106
+ if( error_msg != "" ) {
107
+ alert( error_msg );
108
+ general_jpeg_image_quality.val( general_jpeg_image_quality_val );
109
+ return_code = false;
110
+ return false;
111
+ }
112
+ }
113
 
114
  var general_perPageMedia = jQuery( 'input[name^="rtmedia-options[general_perPageMedia]"]' );
115
+ if( return_code && general_perPageMedia.length > 0 && typeof general_perPageMedia != "undefined" ) {
116
  var error_msg = "";
117
  var general_perPageMedia_val = 0;
118
  if( general_perPageMedia.val() < 1 ) {
app/helper/RTMediaSettings.php CHANGED
@@ -49,6 +49,7 @@ if ( ! class_exists( 'RTMediaSettings' ) ){
49
  'general_enableMediaEndPoint' => 0,
50
  'general_showAdminMenu' => 0,
51
  'general_videothumbs' => 2,
 
52
  'general_uniqueviewcount' => 0,
53
  'general_viewcount' => 0,
54
  'general_AllowUserData' => 1,
@@ -89,6 +90,18 @@ if ( ! class_exists( 'RTMediaSettings' ) ){
89
  if ( isset( $options['general_videothumbs'] ) && is_numeric( $options['general_videothumbs'] ) && intval( $options['general_videothumbs'] ) > 10 ){
90
  $defaults['general_videothumbs'] = 10;
91
  }
 
 
 
 
 
 
 
 
 
 
 
 
92
 
93
  return $defaults;
94
  }
49
  'general_enableMediaEndPoint' => 0,
50
  'general_showAdminMenu' => 0,
51
  'general_videothumbs' => 2,
52
+ 'general_jpeg_image_quality' => 90,
53
  'general_uniqueviewcount' => 0,
54
  'general_viewcount' => 0,
55
  'general_AllowUserData' => 1,
90
  if ( isset( $options['general_videothumbs'] ) && is_numeric( $options['general_videothumbs'] ) && intval( $options['general_videothumbs'] ) > 10 ){
91
  $defaults['general_videothumbs'] = 10;
92
  }
93
+
94
+ if( isset( $options['general_jpeg_image_quality'] ) ) {
95
+ if( is_numeric( $options['general_jpeg_image_quality'] ) ) {
96
+ if( $options['general_jpeg_image_quality'] > 100 ) {
97
+ $defaults['general_jpeg_image_quality'] = 100;
98
+ } else if( $options['general_jpeg_image_quality'] < 1 ) {
99
+ $defaults['general_jpeg_image_quality'] = 90;
100
+ }
101
+ } else {
102
+ $defaults['general_jpeg_image_quality'] = 90;
103
+ }
104
+ }
105
 
106
  return $defaults;
107
  }
app/main/RTMedia.php CHANGED
@@ -191,6 +191,17 @@ class RTMedia
191
  $this->options = $rtmedia_options;
192
  }
193
  $this->add_image_sizes();
 
 
 
 
 
 
 
 
 
 
 
194
  }
195
 
196
  public function image_sizes() {
@@ -470,7 +481,8 @@ class RTMedia
470
  'general_enableMediaEndPoint' => 0,
471
  'general_showAdminMenu' => (isset($bp_media_options['show_admin_menu'])) ? $bp_media_options['show_admin_menu'] : 0,
472
  'general_videothumbs' => 2,
473
- 'general_AllowUserData' => 1
 
474
  );
475
 
476
 
@@ -633,6 +645,9 @@ class RTMedia
633
  * @global BPMediaAdmin $bp_media_admin
634
  */
635
  function init() {
 
 
 
636
  // rtMedia db upgrade
637
  add_action('rt_db_upgrade', array($this, 'fix_parent_id'));
638
  add_action('rt_db_upgrade', array($this, 'fix_privacy'));
@@ -743,6 +758,12 @@ class RTMedia
743
  do_action('rtmedia_init');
744
  }
745
 
 
 
 
 
 
 
746
  function redirect_on_change_slug() {
747
  $old_slugs = rtmedia_get_site_option("rtmedia_old_media_slug", false, true);
748
  $current_slugs = rtmedia_get_site_option("rtmedia_current_media_slug", false, false);
191
  $this->options = $rtmedia_options;
192
  }
193
  $this->add_image_sizes();
194
+ $this->set_image_quality();
195
+ }
196
+
197
+ public function set_image_quality() {
198
+ add_filter( 'jpeg_quality', array ($this, 'rtmedia_jpeg_quality' ) );
199
+ }
200
+
201
+ public function rtmedia_jpeg_quality( $quality ) {
202
+ $quality = isset( $this->options[ 'general_jpeg_image_quality' ] ) ? $this->options[ 'general_jpeg_image_quality' ] : 90;
203
+
204
+ return $quality;
205
  }
206
 
207
  public function image_sizes() {
481
  'general_enableMediaEndPoint' => 0,
482
  'general_showAdminMenu' => (isset($bp_media_options['show_admin_menu'])) ? $bp_media_options['show_admin_menu'] : 0,
483
  'general_videothumbs' => 2,
484
+ 'general_jpeg_image_quality' => 90,
485
+ 'general_AllowUserData' => 1
486
  );
487
 
488
 
645
  * @global BPMediaAdmin $bp_media_admin
646
  */
647
  function init() {
648
+ // set metatable in $wpdb
649
+ $this->set_rtmedia_meta_wpdbfix();
650
+
651
  // rtMedia db upgrade
652
  add_action('rt_db_upgrade', array($this, 'fix_parent_id'));
653
  add_action('rt_db_upgrade', array($this, 'fix_privacy'));
758
  do_action('rtmedia_init');
759
  }
760
 
761
+ function set_rtmedia_meta_wpdbfix() {
762
+ global $wpdb;
763
+ $wpdb->mediameta = $wpdb->prefix . 'rt_rtm_media_meta';
764
+ $wpdb->tables[] = 'mediameta';
765
+ }
766
+
767
  function redirect_on_change_slug() {
768
  $old_slugs = rtmedia_get_site_option("rtmedia_old_media_slug", false, true);
769
  $current_slugs = rtmedia_get_site_option("rtmedia_current_media_slug", false, false);
app/main/controllers/activity/RTMediaActivity.php CHANGED
@@ -122,7 +122,7 @@ class RTMediaActivity {
122
  if ( 'photo' == $media->media_type ){
123
  $thumbnail_id = $media->media_id;
124
  if ( $thumbnail_id ){
125
- list( $src, $width, $height ) = wp_get_attachment_image_src( $thumbnail_id, 'rt_media_activity_image' );
126
  $html = '<img src="' . $src . '" />';
127
  }
128
  } elseif ( 'video' == $media->media_type ) {
122
  if ( 'photo' == $media->media_type ){
123
  $thumbnail_id = $media->media_id;
124
  if ( $thumbnail_id ){
125
+ list( $src, $width, $height ) = wp_get_attachment_image_src( $thumbnail_id, apply_filters( 'rtmedia_activity_image_size', 'rt_media_activity_image' ) );
126
  $html = '<img src="' . $src . '" />';
127
  }
128
  } elseif ( 'video' == $media->media_type ) {
app/main/controllers/media/RTMediaMedia.php CHANGED
@@ -219,24 +219,27 @@ class RTMediaMedia {
219
  // insert/update activity details in rtmedia activity table
220
  $media_model = new RTMediaModel();
221
  $media = $media_model->get( array( 'id' => $id ) );
222
- $rtmedia_activity_model = new RTMediaActivityModel();
223
- $similar_media = $media_model->get( array( 'activity_id' => $media[ 0 ]->activity_id ) );
224
- $max_privacy = 0;
225
 
226
- foreach ( $similar_media as $s_media ) {
227
- if ( $s_media->privacy > $max_privacy ){
228
- $max_privacy = $s_media->privacy;
 
 
 
 
 
 
229
  }
230
- }
231
 
232
- if ( ! $rtmedia_activity_model->check( $media[ 0 ]->activity_id ) ){
233
- $rtmedia_activity_model->insert( array(
234
- 'activity_id' => $media[ 0 ]->activity_id, 'user_id' => $media[ 0 ]->media_author, 'privacy' => $max_privacy
235
- ) );
236
- } else {
237
- $rtmedia_activity_model->update( array(
238
- 'activity_id' => $media[ 0 ]->activity_id, 'user_id' => $media[ 0 ]->media_author, 'privacy' => $max_privacy
239
- ), array( 'activity_id' => $media[ 0 ]->activity_id ) );
 
240
  }
241
 
242
  /* action to perform any task after updating a media */
219
  // insert/update activity details in rtmedia activity table
220
  $media_model = new RTMediaModel();
221
  $media = $media_model->get( array( 'id' => $id ) );
 
 
 
222
 
223
+ if( !empty( $media ) ){
224
+ $rtmedia_activity_model = new RTMediaActivityModel();
225
+ $similar_media = $media_model->get( array( 'activity_id' => $media[ 0 ]->activity_id ) );
226
+ $max_privacy = 0;
227
+
228
+ foreach ( $similar_media as $s_media ) {
229
+ if ( $s_media->privacy > $max_privacy ){
230
+ $max_privacy = $s_media->privacy;
231
+ }
232
  }
 
233
 
234
+ if ( ! $rtmedia_activity_model->check( $media[ 0 ]->activity_id ) ){
235
+ $rtmedia_activity_model->insert( array(
236
+ 'activity_id' => $media[ 0 ]->activity_id, 'user_id' => $media[ 0 ]->media_author, 'privacy' => $max_privacy
237
+ ) );
238
+ } else {
239
+ $rtmedia_activity_model->update( array(
240
+ 'activity_id' => $media[ 0 ]->activity_id, 'user_id' => $media[ 0 ]->media_author, 'privacy' => $max_privacy
241
+ ), array( 'activity_id' => $media[ 0 ]->activity_id ) );
242
+ }
243
  }
244
 
245
  /* action to perform any task after updating a media */
app/main/controllers/template/rt-template-functions.php CHANGED
@@ -1289,30 +1289,32 @@ function update_activity_after_thumb_set( $id ) {
1289
  $media = $model->get( array( 'id' => $id ) );
1290
  $privacy = $media[ 0 ]->privacy;
1291
  $activity_id = rtmedia_activity_id( $id );
1292
- $same_medias = $mediaObj->model->get( array( 'activity_id' => $activity_id ) );
1293
- $update_activity_media = Array();
1294
- foreach ( $same_medias as $a_media ) {
1295
- $update_activity_media[ ] = $a_media->id;
1296
- }
1297
- $objActivity = new RTMediaActivity ( $update_activity_media, $privacy, false );
1298
- global $wpdb, $bp;
1299
- $activity_old_content = bp_activity_get_meta( $activity_id, "bp_old_activity_content" );
1300
- $activity_text = bp_activity_get_meta( $activity_id, "bp_activity_text" );
1301
- if ( $activity_old_content == "" ){
1302
- // get old activity content and save in activity meta
1303
- $activity_get = bp_activity_get_specific( array( 'activity_ids' => $activity_id ) );
1304
- $activity = $activity_get[ 'activities' ][ 0 ];
1305
- $activity_body = $activity->content;
1306
- bp_activity_update_meta( $activity_id, "bp_old_activity_content", $activity_body );
1307
- //extract activity text from old content
1308
- $activity_text = strip_tags( $activity_body, '<span>' );
1309
- $activity_text = explode( "</span>", $activity_text );
1310
- $activity_text = strip_tags( $activity_text[ 0 ] );
1311
- bp_activity_update_meta( $activity_id, "bp_activity_text", $activity_text );
1312
- }
1313
- $activity_text = bp_activity_get_meta( $activity_id, "bp_activity_text" );
1314
- $objActivity->activity_text = $activity_text;
1315
- $wpdb->update( $bp->activity->table_name, array( "type" => "rtmedia_update", "content" => $objActivity->create_activity_html() ), array( "id" => $activity_id ) );
 
 
1316
  }
1317
 
1318
  function set_video_thumbnail( $id ) {
@@ -1509,27 +1511,64 @@ function rtmedia_gallery( $attr = '' ) {
1509
  }
1510
 
1511
  function get_rtmedia_meta( $id = false, $key = false ) {
1512
- $rtmediameta = new RTMediaMeta();
 
 
 
 
 
 
1513
 
1514
- return $rtmediameta->get_meta( $id, $key );
 
 
 
 
 
1515
  }
1516
 
1517
  function add_rtmedia_meta( $id = false, $key = false, $value = false, $duplicate = false ) {
1518
- $rtmediameta = new RTMediaMeta ( $id, $key, $value, $duplicate );
 
 
 
 
 
 
 
 
 
 
1519
 
1520
- return $rtmediameta->add_meta( $id, $key, $value, $duplicate );
1521
  }
1522
 
1523
  function update_rtmedia_meta( $id = false, $key = false, $value = false, $duplicate = false ) {
1524
- $rtmediameta = new RTMediaMeta();
 
 
 
 
 
 
 
 
 
 
1525
 
1526
- return $rtmediameta->update_meta( $id, $key, $value, $duplicate );
1527
  }
1528
 
1529
  function delete_rtmedia_meta( $id = false, $key = false ) {
1530
- $rtmediameta = new RTMediaMeta();
 
1531
 
1532
- return $rtmediameta->delete_meta( $id, $key );
 
 
 
 
 
 
 
1533
  }
1534
 
1535
  function rtmedia_global_albums() {
@@ -2842,4 +2881,38 @@ function rtmedia_modify_activity_upload_url( $params ){
2842
  }
2843
 
2844
  // Fix for BuddyPress multilingual plugin on activity pages
2845
- add_filter( 'rtmedia_modify_upload_params','rtmedia_modify_activity_upload_url', 999, 1 );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1289
  $media = $model->get( array( 'id' => $id ) );
1290
  $privacy = $media[ 0 ]->privacy;
1291
  $activity_id = rtmedia_activity_id( $id );
1292
+ if( !empty( $activity_id ) ){
1293
+ $same_medias = $mediaObj->model->get( array( 'activity_id' => $activity_id ) );
1294
+ $update_activity_media = Array();
1295
+ foreach ( $same_medias as $a_media ) {
1296
+ $update_activity_media[ ] = $a_media->id;
1297
+ }
1298
+ $objActivity = new RTMediaActivity ( $update_activity_media, $privacy, false );
1299
+ global $wpdb, $bp;
1300
+ $activity_old_content = bp_activity_get_meta( $activity_id, "bp_old_activity_content" );
1301
+ $activity_text = bp_activity_get_meta( $activity_id, "bp_activity_text" );
1302
+ if ( $activity_old_content == "" ){
1303
+ // get old activity content and save in activity meta
1304
+ $activity_get = bp_activity_get_specific( array( 'activity_ids' => $activity_id ) );
1305
+ $activity = $activity_get[ 'activities' ][ 0 ];
1306
+ $activity_body = $activity->content;
1307
+ bp_activity_update_meta( $activity_id, "bp_old_activity_content", $activity_body );
1308
+ //extract activity text from old content
1309
+ $activity_text = strip_tags( $activity_body, '<span>' );
1310
+ $activity_text = explode( "</span>", $activity_text );
1311
+ $activity_text = strip_tags( $activity_text[ 0 ] );
1312
+ bp_activity_update_meta( $activity_id, "bp_activity_text", $activity_text );
1313
+ }
1314
+ $activity_text = bp_activity_get_meta( $activity_id, "bp_activity_text" );
1315
+ $objActivity->activity_text = $activity_text;
1316
+ $wpdb->update( $bp->activity->table_name, array( "type" => "rtmedia_update", "content" => $objActivity->create_activity_html() ), array( "id" => $activity_id ) );
1317
+ }
1318
  }
1319
 
1320
  function set_video_thumbnail( $id ) {
1511
  }
1512
 
1513
  function get_rtmedia_meta( $id = false, $key = false ) {
1514
+ if( apply_filters( 'rtmedia_use_legacy_meta_function', false ) ){
1515
+ $rtmediameta = new RTMediaMeta();
1516
+
1517
+ return $rtmediameta->get_meta( $id, $key );
1518
+ } else {
1519
+ // check whether to get single value or multiple
1520
+ $single = ( $key === false ) ? false : true;
1521
 
1522
+ // use WP's default get_metadata function replace column name from "media_id" to "id" in query
1523
+ add_filter( 'query', 'rtm_filter_metaid_column_name' );
1524
+ $meta = get_metadata( 'media', $id, $key, $single );
1525
+ remove_filter( 'query', 'rtm_filter_metaid_column_name' );
1526
+ return $meta;
1527
+ }
1528
  }
1529
 
1530
  function add_rtmedia_meta( $id = false, $key = false, $value = false, $duplicate = false ) {
1531
+ if( apply_filters( 'rtmedia_use_legacy_meta_function', false ) ){
1532
+ $rtmediameta = new RTMediaMeta ( $id, $key, $value, $duplicate );
1533
+
1534
+ return $rtmediameta->add_meta( $id, $key, $value, $duplicate );
1535
+ } else {
1536
+ // use WP's default get_metadata function replace column name from "media_id" to "id" in query
1537
+ add_filter( 'query', 'rtm_filter_metaid_column_name' );
1538
+ $meta = add_metadata( 'media', $id, $key, $value, !$duplicate );
1539
+ remove_filter( 'query', 'rtm_filter_metaid_column_name' );
1540
+ return $meta;
1541
+ }
1542
 
 
1543
  }
1544
 
1545
  function update_rtmedia_meta( $id = false, $key = false, $value = false, $duplicate = false ) {
1546
+ if( apply_filters( 'rtmedia_use_legacy_meta_function', false ) ){
1547
+ $rtmediameta = new RTMediaMeta();
1548
+
1549
+ return $rtmediameta->update_meta( $id, $key, $value, $duplicate );
1550
+ } else {
1551
+ // use WP's default get_metadata function replace column name from "media_id" to "id" in query
1552
+ add_filter( 'query', 'rtm_filter_metaid_column_name' );
1553
+ $meta = update_metadata( 'media', $id, $key, $value, $duplicate );
1554
+ remove_filter( 'query', 'rtm_filter_metaid_column_name' );
1555
+ return $meta;
1556
+ }
1557
 
 
1558
  }
1559
 
1560
  function delete_rtmedia_meta( $id = false, $key = false ) {
1561
+ if( apply_filters( 'rtmedia_use_legacy_meta_function', false ) ){
1562
+ $rtmediameta = new RTMediaMeta();
1563
 
1564
+ return $rtmediameta->delete_meta( $id, $key );
1565
+ } else {
1566
+ // use WP's default get_metadata function replace column name from "media_id" to "id" in query
1567
+ add_filter( 'query', 'rtm_filter_metaid_column_name' );
1568
+ $meta = delete_metadata( 'media', $id, $key );
1569
+ remove_filter( 'query', 'rtm_filter_metaid_column_name' );
1570
+ return $meta;
1571
+ }
1572
  }
1573
 
1574
  function rtmedia_global_albums() {
2881
  }
2882
 
2883
  // Fix for BuddyPress multilingual plugin on activity pages
2884
+ add_filter( 'rtmedia_modify_upload_params','rtmedia_modify_activity_upload_url', 999, 1 );
2885
+
2886
+ // Get rtMedia Encoding API Key
2887
+ function get_rtmedia_encoding_api_key() {
2888
+ return get_site_option( 'rtmedia-encoding-api-key' );
2889
+ }
2890
+
2891
+ /*
2892
+ * Filter SQL query strings to swap out the 'meta_id' column.
2893
+ *
2894
+ * WordPress uses the meta_id column for commentmeta and postmeta, and so
2895
+ * hardcodes the column name into its *_metadata() functions. rtMedia
2896
+ * uses 'id' for the primary column. To make WP's functions usable for rtMedia,
2897
+ * we use this filter on 'query' to swap all 'meta_id' with 'id.
2898
+ */
2899
+ function rtm_filter_metaid_column_name( $q ){
2900
+ /*
2901
+ * Replace quoted content with __QUOTE__ to avoid false positives.
2902
+ * This regular expression will match nested quotes.
2903
+ */
2904
+ $quoted_regex = "/'[^'\\\\]*(?:\\\\.[^'\\\\]*)*'/s";
2905
+ preg_match_all( $quoted_regex, $q, $quoted_matches );
2906
+ $q = preg_replace( $quoted_regex, '__QUOTE__', $q );
2907
+
2908
+ $q = str_replace( 'meta_id', 'id', $q );
2909
+
2910
+ // Put quoted content back into the string.
2911
+ if ( ! empty( $quoted_matches[0] ) ) {
2912
+ for ( $i = 0; $i < count( $quoted_matches[0] ); $i++ ) {
2913
+ $quote_pos = strpos( $q, '__QUOTE__' );
2914
+ $q = substr_replace( $q, $quoted_matches[0][ $i ], $quote_pos, 9 );
2915
+ }
2916
+ }
2917
+ return $q;
2918
+ }
app/services/RTMediaEncoding.php CHANGED
@@ -178,21 +178,27 @@ class RTMediaEncoding {
178
  }
179
 
180
  public function save_api_key() {
181
- if (isset($_GET['api_key_updated']) && $_GET['api_key_updated']) {
182
- if (is_multisite()) {
183
- add_action('network_admin_notices', array($this, 'successfully_subscribed_notice'));
184
  }
185
- add_action('admin_notices', array($this, 'successfully_subscribed_notice'));
 
186
  }
187
- if (isset($_GET['apikey']) && is_admin() && isset($_GET['page']) && ($_GET['page'] == 'rtmedia-addons') && $this->is_valid_key($_GET['apikey'])) {
188
- if ($this->api_key && !(isset($_GET['update']) && $_GET['update'])) {
189
- $unsubscribe_url = trailingslashit($this->api_url) . 'api/cancel/' . $this->api_key;
190
- wp_remote_post($unsubscribe_url, array('timeout' => 120, 'body' => array('note' => 'Direct URL Input (API Key: ' . $_GET['apikey'] . ')')));
 
191
  }
192
- update_site_option('rtmedia-encoding-api-key', $_GET['apikey']);
193
- $usage_info = $this->update_usage($_GET['apikey']);
194
- $return_page = add_query_arg(array('page' => 'rtmedia-addons', 'api_key_updated' => $usage_info->plan->name), (is_multisite() ? network_admin_url('admin.php') : admin_url('admin.php')));
195
- wp_safe_redirect($return_page);
 
 
 
 
196
  die();
197
  }
198
  }
178
  }
179
 
180
  public function save_api_key() {
181
+ if( isset( $_GET[ 'api_key_updated' ] ) && $_GET[ 'api_key_updated' ] ) {
182
+ if( is_multisite() ) {
183
+ add_action( 'network_admin_notices', array( $this, 'successfully_subscribed_notice' ) );
184
  }
185
+
186
+ add_action( 'admin_notices', array( $this, 'successfully_subscribed_notice' ) );
187
  }
188
+
189
+ if( isset( $_GET[ 'apikey' ] ) && is_admin() && isset( $_GET[ 'page' ] ) && ( $_GET[ 'page' ] == 'rtmedia-addons' ) && $this->is_valid_key( $_GET[ 'apikey' ] ) ) {
190
+ if( $this->api_key && !( isset( $_GET[ 'update' ] ) && $_GET[ 'update' ] ) ) {
191
+ $unsubscribe_url = trailingslashit( $this->api_url ) . 'api/cancel/' . $this->api_key;
192
+ wp_remote_post( $unsubscribe_url, array( 'timeout' => 120, 'body' => array( 'note' => 'Direct URL Input (API Key: ' . $_GET[ 'apikey' ] . ')' ) ) );
193
  }
194
+
195
+ update_site_option( 'rtmedia-encoding-api-key', $_GET[ 'apikey' ] );
196
+
197
+ $usage_info = $this->update_usage( $_GET[ 'apikey' ] );
198
+ $return_page = add_query_arg( array( 'page' => 'rtmedia-addons', 'api_key_updated' => $usage_info->plan->name ), admin_url( 'admin.php' ) );
199
+
200
+ wp_safe_redirect( $return_page );
201
+
202
  die();
203
  }
204
  }
index.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: rtMedia for WordPress, BuddyPress and bbPress
5
  Plugin URI: http://rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
6
  Description: This plugin adds missing media rich features like photos, videos and audio uploading to BuddyPress which are essential if you are building social network, seriously!
7
- Version: 3.7.32
8
  Author: rtCamp
9
  Text Domain: rtmedia
10
  Author URI: http://rtcamp.com/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
4
  Plugin Name: rtMedia for WordPress, BuddyPress and bbPress
5
  Plugin URI: http://rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
6
  Description: This plugin adds missing media rich features like photos, videos and audio uploading to BuddyPress which are essential if you are building social network, seriously!
7
+ Version: 3.7.33
8
  Author: rtCamp
9
  Text Domain: rtmedia
10
  Author URI: http://rtcamp.com/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
languages/rtmedia.mo CHANGED
Binary file
languages/rtmedia.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: BuddyPress Media\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-02-04 17:52+0530\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -18,215 +18,215 @@ msgstr ""
18
  "X-Poedit-SearchPath-0: .\n"
19
  "X-Poedit-SearchPath-1: ..\n"
20
 
21
- #: ../app/main/RTMedia.php:290
22
  msgid "Photo"
23
  msgstr ""
24
 
25
- #: ../app/main/RTMedia.php:291
26
  msgid "Photos"
27
  msgstr ""
28
 
29
- #: ../app/main/RTMedia.php:299
30
  msgid "Video"
31
  msgstr ""
32
 
33
- #: ../app/main/RTMedia.php:300
34
  msgid "Videos"
35
  msgstr ""
36
 
37
- #: ../app/main/RTMedia.php:308 ../app/main/RTMedia.php:309
38
  msgid "Music"
39
  msgstr ""
40
 
41
- #: ../app/main/RTMedia.php:396
42
  msgid "<strong>Private</strong> - Visible only to the user"
43
  msgstr ""
44
 
45
- #: ../app/main/RTMedia.php:397
46
  msgid "<strong>Friends</strong> - Visible to user's friends"
47
  msgstr ""
48
 
49
- #: ../app/main/RTMedia.php:398
50
  msgid "<strong>Logged in Users</strong> - Visible to registered users"
51
  msgstr ""
52
 
53
- #: ../app/main/RTMedia.php:399
54
  msgid "<strong>Public</strong> - Visible to the world"
55
  msgstr ""
56
 
57
- #: ../app/main/RTMedia.php:549 ../app/importers/BPMediaAlbumimporter.php:90
58
  msgid "Media"
59
  msgstr ""
60
 
61
- #: ../app/main/RTMedia.php:555
62
  #: ../app/main/controllers/template/RTMediaNav.php:155
63
  #: ../app/main/controllers/template/rt-template-functions.php:81
64
  msgid "All"
65
  msgstr ""
66
 
67
- #: ../app/main/RTMedia.php:564
68
- #: ../app/main/controllers/template/rt-template-functions.php:1382
69
  #: ../app/main/controllers/media/RTMediaAlbum.php:49
70
  #: ../app/main/controllers/upload/RTMediaUploadView.php:51
71
  #: ../app/main/controllers/upload/RTMediaUploadView.php:54
72
  msgid "Album"
73
  msgstr ""
74
 
75
- #: ../app/main/RTMedia.php:567
76
  #: ../app/main/controllers/template/RTMediaNav.php:176
77
  #: ../app/main/controllers/media/RTMediaAlbum.php:48
78
  #: ../app/main/controllers/media/RTMediaAlbum.php:60
79
  msgid "Albums"
80
  msgstr ""
81
 
82
- #: ../app/main/RTMedia.php:575
83
- #: ../app/main/controllers/template/rt-template-functions.php:2127
84
- #: ../app/main/controllers/template/rt-template-functions.php:2131
85
  msgid "Upload"
86
  msgstr ""
87
 
88
- #: ../app/main/RTMedia.php:579
89
  msgid "Wall Post"
90
  msgstr ""
91
 
92
- #: ../app/main/RTMedia.php:782
93
  msgid "Wall Posts"
94
  msgstr ""
95
 
96
- #: ../app/main/RTMedia.php:822
97
  msgid ": Can't Create Database table. Please check create table permission."
98
  msgstr ""
99
 
100
- #: ../app/main/RTMedia.php:855
101
  msgid "Loading media"
102
  msgstr ""
103
 
104
- #: ../app/main/RTMedia.php:856
105
  msgid "Please enter some content to post."
106
  msgstr ""
107
 
108
- #: ../app/main/RTMedia.php:857
109
  msgid "Empty Comment is not allowed."
110
  msgstr ""
111
 
112
- #: ../app/main/RTMedia.php:858
113
  msgid "Are you sure you want to delete this media?"
114
  msgstr ""
115
 
116
- #: ../app/main/RTMedia.php:859
117
  msgid "Are you sure you want to delete this comment?"
118
  msgstr ""
119
 
120
- #: ../app/main/RTMedia.php:860
121
  msgid "Are you sure you want to delete this Album?"
122
  msgstr ""
123
 
124
- #: ../app/main/RTMedia.php:861
125
  msgid "Drop files here"
126
  msgstr ""
127
 
128
- #: ../app/main/RTMedia.php:862
129
  msgid "album created successfully."
130
  msgstr ""
131
 
132
- #: ../app/main/RTMedia.php:863
133
  msgid "Something went wrong. Please try again."
134
  msgstr ""
135
 
136
- #: ../app/main/RTMedia.php:864
137
  msgid "Enter an album name."
138
  msgstr ""
139
 
140
- #: ../app/main/RTMedia.php:865
141
  msgid "Max file Size Limit : "
142
  msgstr ""
143
 
144
- #: ../app/main/RTMedia.php:866
145
  msgid "Allowed File Formats"
146
  msgstr ""
147
 
148
- #: ../app/main/RTMedia.php:867 ../templates/media/album-single-edit.php:58
149
  msgid "Select All Visible"
150
  msgstr ""
151
 
152
- #: ../app/main/RTMedia.php:868
153
  msgid "Unselect All Visible"
154
  msgstr ""
155
 
156
- #: ../app/main/RTMedia.php:869
157
  msgid "Please select some media."
158
  msgstr ""
159
 
160
- #: ../app/main/RTMedia.php:870
161
  msgid "Are you sure you want to delete the selected media?"
162
  msgstr ""
163
 
164
- #: ../app/main/RTMedia.php:871
165
  msgid "Are you sure you want to move the selected media?"
166
  msgstr ""
167
 
168
- #: ../app/main/RTMedia.php:872
169
  msgid "Waiting"
170
  msgstr ""
171
 
172
- #: ../app/main/RTMedia.php:873
173
  msgid "Uploaded"
174
  msgstr ""
175
 
176
- #: ../app/main/RTMedia.php:874
177
  msgid "Uploading"
178
  msgstr ""
179
 
180
- #: ../app/main/RTMedia.php:875
181
  msgid "Failed"
182
  msgstr ""
183
 
184
- #: ../app/main/RTMedia.php:876
185
  msgid "Close"
186
  msgstr ""
187
 
188
- #: ../app/main/RTMedia.php:877
189
  #: ../app/main/controllers/template/rt-template-functions.php:722
190
  #: ../app/main/controllers/template/rt-template-functions.php:743
191
  msgid "Edit"
192
  msgstr ""
193
 
194
- #: ../app/main/RTMedia.php:878
195
- #: ../app/main/controllers/template/rt-template-functions.php:1468
196
- #: ../app/main/controllers/template/rt-template-functions.php:1475
197
- #: ../templates/media/album-single-edit.php:60
198
  msgid "Delete"
199
  msgstr ""
200
 
201
- #: ../app/main/RTMedia.php:879 ../templates/media/media-single-edit.php:13
202
  msgid "Edit Media"
203
  msgstr ""
204
 
205
- #: ../app/main/RTMedia.php:880
206
  msgid "Remove from queue"
207
  msgstr ""
208
 
209
- #: ../app/main/RTMedia.php:881
210
  msgid "Add more files"
211
  msgstr ""
212
 
213
- #: ../app/main/RTMedia.php:882
214
  msgid "File not supported"
215
  msgstr ""
216
 
217
- #: ../app/main/RTMedia.php:883
218
  msgid "more"
219
  msgstr ""
220
 
221
- #: ../app/main/RTMedia.php:884
222
  msgid "less"
223
  msgstr ""
224
 
225
- #: ../app/main/RTMedia.php:885
226
  msgid "This media is uploaded. Are you sure you want to delete this media?"
227
  msgstr ""
228
 
229
- #: ../app/main/RTMedia.php:925
230
  msgid "There are some uploads in progress. Do you want to cancel them?"
231
  msgstr ""
232
 
@@ -250,7 +250,7 @@ msgid "The web browser on your device cannot be used to upload files."
250
  msgstr ""
251
 
252
  #: ../app/main/controllers/shortcodes/RTMediaUploadShortcode.php:103
253
- #: ../app/main/controllers/template/rt-template-functions.php:1503
254
  #: ../app/main/controllers/activity/RTMediaBuddyPressActivity.php:187
255
  msgid "You are not allowed to upload/attach media."
256
  msgstr ""
@@ -280,7 +280,7 @@ msgid "Error in updating Media"
280
  msgstr ""
281
 
282
  #: ../app/main/controllers/template/rt-template-functions.php:698
283
- #: ../app/main/controllers/template/rt-template-functions.php:1662
284
  msgid "Options"
285
  msgstr ""
286
 
@@ -308,382 +308,382 @@ msgstr ""
308
  msgid "Video Thumbnail:"
309
  msgstr ""
310
 
311
- #: ../app/main/controllers/template/rt-template-functions.php:1334
312
  msgid "Image"
313
  msgstr ""
314
 
315
- #: ../app/main/controllers/template/rt-template-functions.php:1350
316
  msgid "Modify Image"
317
  msgstr ""
318
 
319
- #: ../app/main/controllers/template/rt-template-functions.php:1427
320
  msgid "Type Comment..."
321
  msgstr ""
322
 
323
- #: ../app/main/controllers/template/rt-template-functions.php:1432
324
  #: ../templates/media/media-single.php:79
325
  #: ../templates/media/media-single.php:118
326
  msgid "Comment"
327
  msgstr ""
328
 
329
- #: ../app/main/controllers/template/rt-template-functions.php:1468
330
- #: ../app/main/controllers/template/rt-template-functions.php:1475
331
  msgid "Delete Media"
332
  msgstr ""
333
 
334
- #: ../app/main/controllers/template/rt-template-functions.php:1604
335
  msgid "Profile Albums"
336
  msgstr ""
337
 
338
- #: ../app/main/controllers/template/rt-template-functions.php:1607
339
- #: ../app/main/controllers/template/rt-template-functions.php:1642
340
  msgid "Group Albums"
341
  msgstr ""
342
 
343
- #: ../app/main/controllers/template/rt-template-functions.php:1725
344
- #: ../app/main/controllers/template/rt-template-functions.php:1741
345
  msgid "Create New Album"
346
  msgstr ""
347
 
348
- #: ../app/main/controllers/template/rt-template-functions.php:1725
349
  msgid "Add Album"
350
  msgstr ""
351
 
352
- #: ../app/main/controllers/template/rt-template-functions.php:1743
353
  msgid "Album Title : "
354
  msgstr ""
355
 
356
- #: ../app/main/controllers/template/rt-template-functions.php:1751
357
  #: ../app/main/controllers/media/RTMediaAlbum.php:51
358
  msgid "Create Album"
359
  msgstr ""
360
 
361
- #: ../app/main/controllers/template/rt-template-functions.php:1782
362
- #: ../app/main/controllers/template/rt-template-functions.php:1789
363
- #: ../app/main/controllers/template/rt-template-functions.php:1843
364
  msgid "Merge Album"
365
  msgstr ""
366
 
367
- #: ../app/main/controllers/template/rt-template-functions.php:1785
368
  msgid "Select Album to merge with : "
369
  msgstr ""
370
 
371
- #: ../app/main/controllers/template/rt-template-functions.php:1833
372
  #: ../app/main/controllers/media/RTMediaAlbum.php:52
373
  msgid "Edit Album"
374
  msgstr ""
375
 
376
- #: ../app/main/controllers/template/rt-template-functions.php:1834
377
  msgid "Delete Album"
378
  msgstr ""
379
 
380
- #: ../app/main/controllers/template/rt-template-functions.php:1872
381
  msgid "Merge"
382
  msgstr ""
383
 
384
- #: ../app/main/controllers/template/rt-template-functions.php:1925
385
  msgid "Privacy : "
386
  msgstr ""
387
 
388
- #: ../app/main/controllers/template/rt-template-functions.php:2115
389
  msgid "people like this"
390
  msgstr ""
391
 
392
- #: ../app/main/controllers/template/rt-template-functions.php:2127
393
- #: ../app/main/controllers/template/rt-template-functions.php:2131
394
  msgid "Upload Media"
395
  msgstr ""
396
 
397
- #: ../app/main/controllers/template/rt-template-functions.php:2174
398
  msgid "Go PRO!"
399
  msgstr ""
400
 
401
- #: ../app/main/controllers/template/rt-template-functions.php:2195
402
  msgid "Reasons to buy rtMedia-PRO"
403
  msgstr ""
404
 
405
- #: ../app/main/controllers/template/rt-template-functions.php:2200
406
  msgid "FavList"
407
  msgstr ""
408
 
409
- #: ../app/main/controllers/template/rt-template-functions.php:2201
410
  msgid "Users can create their own list of favorite media."
411
  msgstr ""
412
 
413
- #: ../app/main/controllers/template/rt-template-functions.php:2207
414
  msgid "Media Attributes"
415
  msgstr ""
416
 
417
- #: ../app/main/controllers/template/rt-template-functions.php:2208
418
  msgid "Add media attributes and categories them."
419
  msgstr ""
420
 
421
- #: ../app/main/controllers/template/rt-template-functions.php:2214
422
  msgid "Sort Media"
423
  msgstr ""
424
 
425
- #: ../app/main/controllers/template/rt-template-functions.php:2215
426
  msgid ""
427
  "You can sort media from media gallery according to media size and the date "
428
  "of media upload."
429
  msgstr ""
430
 
431
- #: ../app/main/controllers/template/rt-template-functions.php:2221
432
  msgid "Direct URL upload"
433
  msgstr ""
434
 
435
- #: ../app/main/controllers/template/rt-template-functions.php:2222
436
  msgid ""
437
  "You no longer need to download media from URL and then upload it. Just "
438
  "provide link and rtMedia will handle it."
439
  msgstr ""
440
 
441
- #: ../app/main/controllers/template/rt-template-functions.php:2228
442
  msgid "Per user upload quota"
443
  msgstr ""
444
 
445
- #: ../app/main/controllers/template/rt-template-functions.php:2229
446
  msgid ""
447
  "You can set upload quota for users on the daily, monthly and lifetime basis."
448
  msgstr ""
449
 
450
- #: ../app/main/controllers/template/rt-template-functions.php:2235
451
  msgid "URL preview in BuddyPress activity"
452
  msgstr ""
453
 
454
- #: ../app/main/controllers/template/rt-template-functions.php:2236
455
  msgid "Show URL previews in BuddyPress activity."
456
  msgstr ""
457
 
458
- #: ../app/main/controllers/template/rt-template-functions.php:2242
459
  msgid "Bulk media edit"
460
  msgstr ""
461
 
462
- #: ../app/main/controllers/template/rt-template-functions.php:2243
463
  msgid "You can edit media in bulk mode."
464
  msgstr ""
465
 
466
- #: ../app/main/controllers/template/rt-template-functions.php:2249
467
  msgid "User's liked media page"
468
  msgstr ""
469
 
470
- #: ../app/main/controllers/template/rt-template-functions.php:2250
471
  msgid ""
472
  "Now you can see user's liked media page. A new tab \"Likes\" has been added."
473
  msgstr ""
474
 
475
- #: ../app/main/controllers/template/rt-template-functions.php:2256
476
  msgid "RSS Feed/Podcasting Support"
477
  msgstr ""
478
 
479
- #: ../app/main/controllers/template/rt-template-functions.php:2257
480
  msgid ""
481
  "You can consume rtMedia uploads from iTunes as well as any feed-reader/"
482
  "podcasting software."
483
  msgstr ""
484
 
485
- #: ../app/main/controllers/template/rt-template-functions.php:2263
486
  msgid "WordPress Comment Attachment"
487
  msgstr ""
488
 
489
- #: ../app/main/controllers/template/rt-template-functions.php:2264
490
  msgid "You can attach files to WordPress comments."
491
  msgstr ""
492
 
493
- #: ../app/main/controllers/template/rt-template-functions.php:2270
494
  msgid "bbPress Attachment"
495
  msgstr ""
496
 
497
- #: ../app/main/controllers/template/rt-template-functions.php:2271
498
  msgid "You can attach files to bbPress topic and reply."
499
  msgstr ""
500
 
501
- #: ../app/main/controllers/template/rt-template-functions.php:2277
502
  msgid "Document Support"
503
  msgstr ""
504
 
505
- #: ../app/main/controllers/template/rt-template-functions.php:2278
506
  msgid ""
507
  "You can add, view and download documents like txt, doc, pdf, also add and "
508
  "upload other file types like zip, tar and tar.gz etc."
509
  msgstr ""
510
 
511
- #: ../app/main/controllers/template/rt-template-functions.php:2284
512
  msgid "CubePoints & MyCRED Integration"
513
  msgstr ""
514
 
515
- #: ../app/main/controllers/template/rt-template-functions.php:2285
516
  msgid ""
517
  "Integrating CubePoints/myCRED with rtMedia, you can reward users with "
518
  "virtual points on rtMedia activities."
519
  msgstr ""
520
 
521
- #: ../app/main/controllers/template/rt-template-functions.php:2291
522
  msgid "Album Privacy"
523
  msgstr ""
524
 
525
- #: ../app/main/controllers/template/rt-template-functions.php:2292
526
  msgid ""
527
  "This will allow you to set album privacy while creating albums or change "
528
  "album privacy with editing albums too."
529
  msgstr ""
530
 
531
- #: ../app/main/controllers/template/rt-template-functions.php:2298
532
  msgid "Audio Playlist"
533
  msgstr ""
534
 
535
- #: ../app/main/controllers/template/rt-template-functions.php:2299
536
  msgid ""
537
  "With this feature you can create your audio playlists and listen to your "
538
  "favorite music at will."
539
  msgstr ""
540
 
541
- #: ../app/main/controllers/template/rt-template-functions.php:2305
542
  msgid "Report Button & Moderation Tools"
543
  msgstr ""
544
 
545
- #: ../app/main/controllers/template/rt-template-functions.php:2306
546
  msgid ""
547
  "Users can report media if they find it offensive. Set number of reports to "
548
  "automatically take down media."
549
  msgstr ""
550
 
551
- #: ../app/main/controllers/template/rt-template-functions.php:2312
552
  msgid "Download Button For Media"
553
  msgstr ""
554
 
555
- #: ../app/main/controllers/template/rt-template-functions.php:2313
556
  msgid ""
557
  "Users can download photos, videos and music. Admin has option to allow "
558
  "download the media."
559
  msgstr ""
560
 
561
- #: ../app/main/controllers/template/rt-template-functions.php:2319
562
  msgid "Sidebar widgets"
563
  msgstr ""
564
 
565
- #: ../app/main/controllers/template/rt-template-functions.php:2320
566
  msgid ""
567
  "These will let you display a gallery or an uploader in a sidebar. Several of "
568
  "them can be used in a single sidebar."
569
  msgstr ""
570
 
571
- #: ../app/main/controllers/template/rt-template-functions.php:2326
572
  msgid "Post-editor button"
573
  msgstr ""
574
 
575
- #: ../app/main/controllers/template/rt-template-functions.php:2327
576
  msgid ""
577
  "With this button, a UI appears to quickly generate shortcodes for special "
578
  "pages like \"Editorial Picks\"."
579
  msgstr ""
580
 
581
- #: ../app/main/controllers/template/rt-template-functions.php:2333
582
  msgid "Star-Rating option"
583
  msgstr ""
584
 
585
- #: ../app/main/controllers/template/rt-template-functions.php:2334
586
  msgid ""
587
  "Users can give up to five stars to rate media. This data can be used for "
588
  "\"Most Rated Media\" in sidebars."
589
  msgstr ""
590
 
591
- #: ../app/main/controllers/template/rt-template-functions.php:2340
592
  msgid "Global Albums"
593
  msgstr ""
594
 
595
- #: ../app/main/controllers/template/rt-template-functions.php:2341
596
  msgid ""
597
  "Multiple global albums can be created beforehand. One of these can be chosen "
598
  "as the default album."
599
  msgstr ""
600
 
601
- #: ../app/main/controllers/template/rt-template-functions.php:2347
602
  msgid "Premium one-to-one support"
603
  msgstr ""
604
 
605
- #: ../app/main/controllers/template/rt-template-functions.php:2348
606
  msgid ""
607
  "Without leaving your WordPress dashboard, you can contact us for help using "
608
  "a support form."
609
  msgstr ""
610
 
611
- #: ../app/main/controllers/template/rt-template-functions.php:2355
612
  msgid "Upgrade to rtMedia PRO Now "
613
  msgstr ""
614
 
615
- #: ../app/main/controllers/template/rt-template-functions.php:2367
616
  msgid "You can consider rtMedia Team for following :"
617
  msgstr ""
618
 
619
- #: ../app/main/controllers/template/rt-template-functions.php:2369
620
  msgid "rtMedia Customization ( in Upgrade Safe manner )"
621
  msgstr ""
622
 
623
- #: ../app/main/controllers/template/rt-template-functions.php:2370
624
  msgid "WordPress/BuddyPress Theme Design and Development"
625
  msgstr ""
626
 
627
- #: ../app/main/controllers/template/rt-template-functions.php:2371
628
  msgid "WordPress/BuddyPress Plugin Development"
629
  msgstr ""
630
 
631
- #: ../app/main/controllers/template/rt-template-functions.php:2376
632
  msgid "Contact Us"
633
  msgstr ""
634
 
635
- #: ../app/main/controllers/template/rt-template-functions.php:2396
636
  msgid "Empowering your community with "
637
  msgstr ""
638
 
639
- #: ../app/main/controllers/template/rt-template-functions.php:2398
640
  msgid "The only complete media solution for WordPress, BuddyPress and bbPress"
641
  msgstr ""
642
 
643
- #: ../app/main/controllers/template/rt-template-functions.php:2414
644
  msgid "Close (Esc)"
645
  msgstr ""
646
 
647
- #: ../app/main/controllers/template/rt-template-functions.php:2430
648
  msgid "Public"
649
  msgstr ""
650
 
651
- #: ../app/main/controllers/template/rt-template-functions.php:2434
652
  msgid "All members"
653
  msgstr ""
654
 
655
- #: ../app/main/controllers/template/rt-template-functions.php:2438
656
  msgid "Your friends"
657
  msgstr ""
658
 
659
- #: ../app/main/controllers/template/rt-template-functions.php:2442
660
  msgid "Only you"
661
  msgstr ""
662
 
663
- #: ../app/main/controllers/template/rt-template-functions.php:2446
664
  msgid "Blocked temporarily"
665
  msgstr ""
666
 
667
- #: ../app/main/controllers/template/rt-template-functions.php:2482
668
  #, php-format
669
  msgid "%s ago "
670
  msgstr ""
671
 
672
- #: ../app/main/controllers/template/rt-template-functions.php:2494
673
  #, php-format
674
  msgid "1 second"
675
  msgid_plural "%s seconds"
676
  msgstr[0] ""
677
  msgstr[1] ""
678
 
679
- #: ../app/main/controllers/template/rt-template-functions.php:2497
680
  #, php-format
681
  msgid "1 minute"
682
  msgid_plural "%s minutes"
683
  msgstr[0] ""
684
  msgstr[1] ""
685
 
686
- #: ../app/main/controllers/template/rt-template-functions.php:2500
687
  #, php-format
688
  msgid "1 hour"
689
  msgid_plural "%s hours"
@@ -905,11 +905,11 @@ msgstr ""
905
  msgid "single media"
906
  msgstr ""
907
 
908
- #: ../app/main/controllers/media/RTMediaMedia.php:459
909
  msgid "Error creating attachment for the media file, please try again"
910
  msgstr ""
911
 
912
- #: ../app/main/controllers/media/RTMediaMedia.php:561
913
  #: ../app/main/controllers/activity/RTMediaBuddyPressActivity.php:307
914
  #, php-format
915
  msgid "%s added a %s"
@@ -1218,7 +1218,7 @@ msgstr ""
1218
 
1219
  #: ../app/admin/RTMediaAdmin.php:605 ../app/admin/RTMediaAdmin.php:608
1220
  #: ../app/admin/RTMediaAdmin.php:734 ../app/admin/RTMediaAdmin.php:1281
1221
- #: ../app/helper/RTMediaSettings.php:183
1222
  msgid "Support"
1223
  msgstr ""
1224
 
@@ -1627,7 +1627,7 @@ msgid ""
1627
  msgstr ""
1628
 
1629
  #: ../app/admin/RTMediaFormHandler.php:646
1630
- #: ../app/helper/RTMediaSettings.php:299
1631
  msgid "Media Type"
1632
  msgstr ""
1633
 
@@ -1671,99 +1671,108 @@ msgstr ""
1671
  msgid "Crop"
1672
  msgstr ""
1673
 
1674
- #: ../app/admin/RTMediaFormHandler.php:803
1675
  msgid "Number of thumbnails to generate on video upload"
1676
  msgstr ""
1677
 
1678
- #: ../app/admin/RTMediaFormHandler.php:809
1679
  msgid ""
1680
  " If you choose more than 1 thumbnail, your users will be able to change the "
1681
  "thumbnail by going to video 'edit' section. Maximum value is 10."
1682
  msgstr ""
1683
 
1684
- #: ../app/admin/RTMediaFormHandler.php:860
 
 
 
 
 
 
 
 
 
1685
  msgid ""
1686
  "If you want to add some custom CSS code to the plugin and do not want to "
1687
  "modify any files, then this is a good place to enter your code."
1688
  msgstr ""
1689
 
1690
- #: ../app/admin/RTMediaFormHandler.php:894
1691
  msgid "rtMedia default styles"
1692
  msgstr ""
1693
 
1694
- #: ../app/admin/RTMediaFormHandler.php:900
1695
  msgid ""
1696
  "Load default rtMedia styles. You need to write your own style for rtMedia if "
1697
  "you disable it."
1698
  msgstr ""
1699
 
1700
- #: ../app/admin/RTMediaFormHandler.php:904
1701
  msgid "Paste your CSS code"
1702
  msgstr ""
1703
 
1704
- #: ../app/admin/RTMediaFormHandler.php:910
1705
  msgid "Custom rtMedia CSS container"
1706
  msgstr ""
1707
 
1708
- #: ../app/admin/RTMediaFormHandler.php:932
1709
  msgid "Enable privacy"
1710
  msgstr ""
1711
 
1712
- #: ../app/admin/RTMediaFormHandler.php:938
1713
  msgid "Enable privacy in rtMedia"
1714
  msgstr ""
1715
 
1716
- #: ../app/admin/RTMediaFormHandler.php:942
1717
  msgid "Default privacy"
1718
  msgstr ""
1719
 
1720
- #: ../app/admin/RTMediaFormHandler.php:948
1721
  msgid "Set default privacy for media"
1722
  msgstr ""
1723
 
1724
- #: ../app/admin/RTMediaFormHandler.php:952
1725
  msgid "Allow users to set privacy for their content"
1726
  msgstr ""
1727
 
1728
- #: ../app/admin/RTMediaFormHandler.php:957
1729
  msgid ""
1730
  "If you choose this, users will be able to change privacy of their own "
1731
  "uploads."
1732
  msgstr ""
1733
 
1734
- #: ../app/admin/RTMediaFormHandler.php:959
1735
  msgid "For group uploads, BuddyPress groups privacy is used."
1736
  msgstr ""
1737
 
1738
- #: ../app/admin/RTMediaFormHandler.php:1034
1739
  msgid "Enable media in profile"
1740
  msgstr ""
1741
 
1742
- #: ../app/admin/RTMediaFormHandler.php:1039
1743
  msgid "Enable Media on BuddyPress Profile"
1744
  msgstr ""
1745
 
1746
- #: ../app/admin/RTMediaFormHandler.php:1043
1747
  msgid "Enable media in group"
1748
  msgstr ""
1749
 
1750
- #: ../app/admin/RTMediaFormHandler.php:1048
1751
  msgid "Enable Media on BuddyPress Groups"
1752
  msgstr ""
1753
 
1754
- #: ../app/admin/RTMediaFormHandler.php:1052
1755
  msgid "Allow upload from activity stream"
1756
  msgstr ""
1757
 
1758
- #: ../app/admin/RTMediaFormHandler.php:1057
1759
  msgid "Allow upload using status update box present on activity stream page"
1760
  msgstr ""
1761
 
1762
- #: ../app/admin/RTMediaFormHandler.php:1062
1763
  msgid "Number of media items to show in activity stream"
1764
  msgstr ""
1765
 
1766
- #: ../app/admin/RTMediaFormHandler.php:1067
1767
  msgid ""
1768
  "With bulk uploads activity, the stream may get flooded. You can control the "
1769
  "maximum number of media items or files per activity. This limit will not "
@@ -1771,11 +1780,11 @@ msgid ""
1771
  "means unlimited."
1772
  msgstr ""
1773
 
1774
- #: ../app/admin/RTMediaFormHandler.php:1121
1775
  msgid "Organize media into albums"
1776
  msgstr ""
1777
 
1778
- #: ../app/admin/RTMediaFormHandler.php:1127
1779
  msgid ""
1780
  "This will add 'album' tab to BuddyPress profile and group depending on the "
1781
  "^above^ settings."
@@ -2005,159 +2014,159 @@ msgid ""
2005
  "%s</p><p><strong>Total:</strong> %s</p>"
2006
  msgstr ""
2007
 
2008
- #: ../app/services/RTMediaEncoding.php:223
2009
  #, php-format
2010
  msgid "You have successfully subscribed for the <strong>%s</strong> plan"
2011
  msgstr ""
2012
 
2013
- #: ../app/services/RTMediaEncoding.php:235
2014
  msgid "Unsubscribe"
2015
  msgstr ""
2016
 
2017
- #: ../app/services/RTMediaEncoding.php:237
2018
  msgid ""
2019
  "Just to improve our service we would like to know the reason for you to "
2020
  "leave us."
2021
  msgstr ""
2022
 
2023
- #: ../app/services/RTMediaEncoding.php:287
2024
- #: ../app/services/RTMediaEncoding.php:370
2025
  msgid "Current Plan"
2026
  msgstr ""
2027
 
2028
- #: ../app/services/RTMediaEncoding.php:287
2029
  msgid "Unsubscribed"
2030
  msgstr ""
2031
 
2032
- #: ../app/services/RTMediaEncoding.php:289
2033
  msgid "Used"
2034
  msgstr ""
2035
 
2036
- #: ../app/services/RTMediaEncoding.php:291
2037
  msgid "Remaining"
2038
  msgstr ""
2039
 
2040
- #: ../app/services/RTMediaEncoding.php:293
2041
  msgid "Total"
2042
  msgstr ""
2043
 
2044
- #: ../app/services/RTMediaEncoding.php:297
2045
  msgid "Your usage limit has been reached. Upgrade your plan."
2046
  msgstr ""
2047
 
2048
- #: ../app/services/RTMediaEncoding.php:299
2049
  msgid "Your API key is not valid or is expired."
2050
  msgstr ""
2051
 
2052
- #: ../app/services/RTMediaEncoding.php:301
2053
  msgid "Encoding Usage"
2054
  msgstr ""
2055
 
2056
- #: ../app/services/RTMediaEncoding.php:306
2057
  msgid "rtMedia team has started offering an audio/video encoding service."
2058
  msgstr ""
2059
 
2060
- #: ../app/services/RTMediaEncoding.php:308
2061
  msgid "Enter API KEY"
2062
  msgstr ""
2063
 
2064
- #: ../app/services/RTMediaEncoding.php:310
2065
  #: ../app/helper/RTMediaSupport.php:180
2066
  msgid "Submit"
2067
  msgstr ""
2068
 
2069
- #: ../app/services/RTMediaEncoding.php:318
2070
  msgid "Feature\\Plan"
2071
  msgstr ""
2072
 
2073
- #: ../app/services/RTMediaEncoding.php:319
2074
- #: ../app/services/RTMediaEncoding.php:360
2075
  msgid "Free"
2076
  msgstr ""
2077
 
2078
- #: ../app/services/RTMediaEncoding.php:320
2079
  msgid "Silver"
2080
  msgstr ""
2081
 
2082
- #: ../app/services/RTMediaEncoding.php:321
2083
  msgid "Gold"
2084
  msgstr ""
2085
 
2086
- #: ../app/services/RTMediaEncoding.php:322
2087
  msgid "Platinum"
2088
  msgstr ""
2089
 
2090
- #: ../app/services/RTMediaEncoding.php:326
2091
  msgid "File Size Limit"
2092
  msgstr ""
2093
 
2094
- #: ../app/services/RTMediaEncoding.php:331
2095
  msgid "Bandwidth (monthly)"
2096
  msgstr ""
2097
 
2098
- #: ../app/services/RTMediaEncoding.php:338
2099
  msgid "Overage Bandwidth"
2100
  msgstr ""
2101
 
2102
- #: ../app/services/RTMediaEncoding.php:339
2103
- #: ../app/services/RTMediaEncoding.php:346
2104
- #: ../app/services/RTMediaEncoding.php:351
2105
  msgid "Not Available"
2106
  msgstr ""
2107
 
2108
- #: ../app/services/RTMediaEncoding.php:345
2109
  msgid "Amazon S3 Support"
2110
  msgstr ""
2111
 
2112
- #: ../app/services/RTMediaEncoding.php:347
2113
- #: ../app/services/RTMediaEncoding.php:352
2114
- #: ../app/services/RTMediaEncoding.php:356
2115
  msgid "Coming Soon"
2116
  msgstr ""
2117
 
2118
- #: ../app/services/RTMediaEncoding.php:350
2119
  msgid "HD Profile"
2120
  msgstr ""
2121
 
2122
- #: ../app/services/RTMediaEncoding.php:355
2123
  msgid "Webcam Recording"
2124
  msgstr ""
2125
 
2126
- #: ../app/services/RTMediaEncoding.php:359
2127
  msgid "Pricing"
2128
  msgstr ""
2129
 
2130
- #: ../app/services/RTMediaEncoding.php:361
2131
  msgid "$9/month"
2132
  msgstr ""
2133
 
2134
- #: ../app/services/RTMediaEncoding.php:362
2135
  msgid "$99/month"
2136
  msgstr ""
2137
 
2138
- #: ../app/services/RTMediaEncoding.php:363
2139
  msgid "$999/month"
2140
  msgstr ""
2141
 
2142
- #: ../app/services/RTMediaEncoding.php:375
2143
  msgid "Try Now"
2144
  msgstr ""
2145
 
2146
- #: ../app/services/RTMediaEncoding.php:527
2147
  msgid "Could not read file."
2148
  msgstr ""
2149
 
2150
- #: ../app/services/RTMediaEncoding.php:532
2151
  msgid ""
2152
  "Something went wrong. The required attachment id does not exists. It must "
2153
  "have been deleted."
2154
  msgstr ""
2155
 
2156
- #: ../app/services/RTMediaEncoding.php:548
2157
  msgid "rtMedia Encoding: Download Failed"
2158
  msgstr ""
2159
 
2160
- #: ../app/services/RTMediaEncoding.php:549
2161
  #, php-format
2162
  msgid ""
2163
  "<p><a href=\"%s\">Media</a> was successfully encoded but there was an error "
@@ -2166,24 +2175,24 @@ msgid ""
2166
  " <p>You can <a href=\"%s\">retry the download</a>.</p>"
2167
  msgstr ""
2168
 
2169
- #: ../app/services/RTMediaEncoding.php:565
2170
  msgid "Done"
2171
  msgstr ""
2172
 
2173
- #: ../app/services/RTMediaEncoding.php:593
2174
- #: ../app/services/RTMediaEncoding.php:616
2175
  msgid "Something went wrong please try again."
2176
  msgstr ""
2177
 
2178
- #: ../app/services/RTMediaEncoding.php:612
2179
  msgid "Your subscription was cancelled successfully"
2180
  msgstr ""
2181
 
2182
- #: ../app/services/RTMediaEncoding.php:626
2183
  msgid "Please enter the api key."
2184
  msgstr ""
2185
 
2186
- #: ../app/services/RTMediaEncoding.php:633
2187
  msgid "Encoding disabled successfully."
2188
  msgstr ""
2189
 
@@ -2288,7 +2297,7 @@ msgstr ""
2288
  msgid "Submit a Premium Support Request"
2289
  msgstr ""
2290
 
2291
- #: ../app/helper/RTMediaSupport.php:437 ../app/helper/RTMediaSettings.php:377
2292
  msgid ""
2293
  "If your site has some issues due to BuddyPress Media and you want one on one "
2294
  "support then you can create a support topic on the <a target=\"_blank\" href="
@@ -2297,7 +2306,7 @@ msgid ""
2297
  "\">rtCamp Support Forum</a>."
2298
  msgstr ""
2299
 
2300
- #: ../app/helper/RTMediaSupport.php:438 ../app/helper/RTMediaSettings.php:378
2301
  msgid ""
2302
  "If you have any suggestions, enhancements or bug reports, then you can open "
2303
  "a new issue on <a target=\"_blank\" href=\"https://github.com/rtCamp/"
@@ -2550,65 +2559,65 @@ msgstr ""
2550
  msgid "product@rtcamp.com"
2551
  msgstr ""
2552
 
2553
- #: ../app/helper/RTMediaSettings.php:181
2554
  msgid "BuddyPress Media Addons for Photos"
2555
  msgstr ""
2556
 
2557
- #: ../app/helper/RTMediaSettings.php:185
2558
  msgid "rtMedia Themes"
2559
  msgstr ""
2560
 
2561
- #: ../app/helper/RTMediaSettings.php:258
2562
  #, php-format
2563
  msgid ""
2564
  "Currently your network allows uploading of the following file types. You can "
2565
  "change the settings <a href=\"%s\">here</a>.<br /><code>%s</code></span>"
2566
  msgstr ""
2567
 
2568
- #: ../app/helper/RTMediaSettings.php:276 ../app/helper/RTMediaSettings.php:278
2569
  msgid "Recounting of media files done successfully"
2570
  msgstr ""
2571
 
2572
- #: ../app/helper/RTMediaSettings.php:278
2573
  msgid "Recount Success"
2574
  msgstr ""
2575
 
2576
- #: ../app/helper/RTMediaSettings.php:282 ../app/helper/RTMediaSettings.php:284
2577
  msgid "Recounting Failed"
2578
  msgstr ""
2579
 
2580
- #: ../app/helper/RTMediaSettings.php:284
2581
  msgid "Recount Fail"
2582
  msgstr ""
2583
 
2584
- #: ../app/helper/RTMediaSettings.php:297 ../app/helper/RTMediaSettings.php:299
2585
  msgid "Atleast one Media Type Must be selected"
2586
  msgstr ""
2587
 
2588
- #: ../app/helper/RTMediaSettings.php:308 ../app/helper/RTMediaSettings.php:310
2589
  msgid "\"Number of media\" count value should be numeric and greater than 0."
2590
  msgstr ""
2591
 
2592
- #: ../app/helper/RTMediaSettings.php:310
2593
  msgid "Default Count"
2594
  msgstr ""
2595
 
2596
- #: ../app/helper/RTMediaSettings.php:315
2597
  msgid "Settings saved."
2598
  msgstr ""
2599
 
2600
- #: ../app/helper/RTMediaSettings.php:339
2601
  #, php-format
2602
  msgid ""
2603
  "If you make changes to width, height or crop settings, you must use \"<a "
2604
  "href=\"%s\">Regenerate Thumbnail Plugin</a>\" to regenerate old images.\""
2605
  msgstr ""
2606
 
2607
- #: ../app/helper/RTMediaSettings.php:360
2608
  msgid "BuddyPress Media 2.6 requires a database upgrade. "
2609
  msgstr ""
2610
 
2611
- #: ../app/helper/RTMediaSettings.php:360
2612
  msgid "Update Database"
2613
  msgstr ""
2614
 
@@ -2638,31 +2647,31 @@ msgstr ""
2638
  msgid "Move"
2639
  msgstr ""
2640
 
2641
- #: ../templates/media/album-single-edit.php:60
2642
  msgid "Delete Selected media from the album."
2643
  msgstr ""
2644
 
2645
- #: ../templates/media/album-single-edit.php:63
2646
  msgid "Move selected media to the album : "
2647
  msgstr ""
2648
 
2649
- #: ../templates/media/album-single-edit.php:65
2650
  msgid "Move Selected"
2651
  msgstr ""
2652
 
2653
- #: ../templates/media/album-single-edit.php:89
2654
  msgid "Prev"
2655
  msgstr ""
2656
 
2657
- #: ../templates/media/album-single-edit.php:98
2658
  msgid "Next"
2659
  msgstr ""
2660
 
2661
- #: ../templates/media/album-single-edit.php:101
2662
  msgid "The album is empty."
2663
  msgstr ""
2664
 
2665
- #: ../templates/media/album-single-edit.php:111
2666
  msgid "Sorry !! You can not edit this album."
2667
  msgstr ""
2668
 
2
  msgstr ""
3
  "Project-Id-Version: BuddyPress Media\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-02-18 19:41+0530\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
18
  "X-Poedit-SearchPath-0: .\n"
19
  "X-Poedit-SearchPath-1: ..\n"
20
 
21
+ #: ../app/main/RTMedia.php:301
22
  msgid "Photo"
23
  msgstr ""
24
 
25
+ #: ../app/main/RTMedia.php:302
26
  msgid "Photos"
27
  msgstr ""
28
 
29
+ #: ../app/main/RTMedia.php:310
30
  msgid "Video"
31
  msgstr ""
32
 
33
+ #: ../app/main/RTMedia.php:311
34
  msgid "Videos"
35
  msgstr ""
36
 
37
+ #: ../app/main/RTMedia.php:319 ../app/main/RTMedia.php:320
38
  msgid "Music"
39
  msgstr ""
40
 
41
+ #: ../app/main/RTMedia.php:407
42
  msgid "<strong>Private</strong> - Visible only to the user"
43
  msgstr ""
44
 
45
+ #: ../app/main/RTMedia.php:408
46
  msgid "<strong>Friends</strong> - Visible to user's friends"
47
  msgstr ""
48
 
49
+ #: ../app/main/RTMedia.php:409
50
  msgid "<strong>Logged in Users</strong> - Visible to registered users"
51
  msgstr ""
52
 
53
+ #: ../app/main/RTMedia.php:410
54
  msgid "<strong>Public</strong> - Visible to the world"
55
  msgstr ""
56
 
57
+ #: ../app/main/RTMedia.php:561 ../app/importers/BPMediaAlbumimporter.php:90
58
  msgid "Media"
59
  msgstr ""
60
 
61
+ #: ../app/main/RTMedia.php:567
62
  #: ../app/main/controllers/template/RTMediaNav.php:155
63
  #: ../app/main/controllers/template/rt-template-functions.php:81
64
  msgid "All"
65
  msgstr ""
66
 
67
+ #: ../app/main/RTMedia.php:576
68
+ #: ../app/main/controllers/template/rt-template-functions.php:1384
69
  #: ../app/main/controllers/media/RTMediaAlbum.php:49
70
  #: ../app/main/controllers/upload/RTMediaUploadView.php:51
71
  #: ../app/main/controllers/upload/RTMediaUploadView.php:54
72
  msgid "Album"
73
  msgstr ""
74
 
75
+ #: ../app/main/RTMedia.php:579
76
  #: ../app/main/controllers/template/RTMediaNav.php:176
77
  #: ../app/main/controllers/media/RTMediaAlbum.php:48
78
  #: ../app/main/controllers/media/RTMediaAlbum.php:60
79
  msgid "Albums"
80
  msgstr ""
81
 
82
+ #: ../app/main/RTMedia.php:587
83
+ #: ../app/main/controllers/template/rt-template-functions.php:2166
84
+ #: ../app/main/controllers/template/rt-template-functions.php:2170
85
  msgid "Upload"
86
  msgstr ""
87
 
88
+ #: ../app/main/RTMedia.php:591
89
  msgid "Wall Post"
90
  msgstr ""
91
 
92
+ #: ../app/main/RTMedia.php:803
93
  msgid "Wall Posts"
94
  msgstr ""
95
 
96
+ #: ../app/main/RTMedia.php:843
97
  msgid ": Can't Create Database table. Please check create table permission."
98
  msgstr ""
99
 
100
+ #: ../app/main/RTMedia.php:876
101
  msgid "Loading media"
102
  msgstr ""
103
 
104
+ #: ../app/main/RTMedia.php:877
105
  msgid "Please enter some content to post."
106
  msgstr ""
107
 
108
+ #: ../app/main/RTMedia.php:878
109
  msgid "Empty Comment is not allowed."
110
  msgstr ""
111
 
112
+ #: ../app/main/RTMedia.php:879
113
  msgid "Are you sure you want to delete this media?"
114
  msgstr ""
115
 
116
+ #: ../app/main/RTMedia.php:880
117
  msgid "Are you sure you want to delete this comment?"
118
  msgstr ""
119
 
120
+ #: ../app/main/RTMedia.php:881
121
  msgid "Are you sure you want to delete this Album?"
122
  msgstr ""
123
 
124
+ #: ../app/main/RTMedia.php:882
125
  msgid "Drop files here"
126
  msgstr ""
127
 
128
+ #: ../app/main/RTMedia.php:883
129
  msgid "album created successfully."
130
  msgstr ""
131
 
132
+ #: ../app/main/RTMedia.php:884
133
  msgid "Something went wrong. Please try again."
134
  msgstr ""
135
 
136
+ #: ../app/main/RTMedia.php:885
137
  msgid "Enter an album name."
138
  msgstr ""
139
 
140
+ #: ../app/main/RTMedia.php:886
141
  msgid "Max file Size Limit : "
142
  msgstr ""
143
 
144
+ #: ../app/main/RTMedia.php:887
145
  msgid "Allowed File Formats"
146
  msgstr ""
147
 
148
+ #: ../app/main/RTMedia.php:888 ../templates/media/album-single-edit.php:58
149
  msgid "Select All Visible"
150
  msgstr ""
151
 
152
+ #: ../app/main/RTMedia.php:889
153
  msgid "Unselect All Visible"
154
  msgstr ""
155
 
156
+ #: ../app/main/RTMedia.php:890
157
  msgid "Please select some media."
158
  msgstr ""
159
 
160
+ #: ../app/main/RTMedia.php:891
161
  msgid "Are you sure you want to delete the selected media?"
162
  msgstr ""
163
 
164
+ #: ../app/main/RTMedia.php:892
165
  msgid "Are you sure you want to move the selected media?"
166
  msgstr ""
167
 
168
+ #: ../app/main/RTMedia.php:893
169
  msgid "Waiting"
170
  msgstr ""
171
 
172
+ #: ../app/main/RTMedia.php:894
173
  msgid "Uploaded"
174
  msgstr ""
175
 
176
+ #: ../app/main/RTMedia.php:895
177
  msgid "Uploading"
178
  msgstr ""
179
 
180
+ #: ../app/main/RTMedia.php:896
181
  msgid "Failed"
182
  msgstr ""
183
 
184
+ #: ../app/main/RTMedia.php:897
185
  msgid "Close"
186
  msgstr ""
187
 
188
+ #: ../app/main/RTMedia.php:898
189
  #: ../app/main/controllers/template/rt-template-functions.php:722
190
  #: ../app/main/controllers/template/rt-template-functions.php:743
191
  msgid "Edit"
192
  msgstr ""
193
 
194
+ #: ../app/main/RTMedia.php:899
195
+ #: ../app/main/controllers/template/rt-template-functions.php:1470
196
+ #: ../app/main/controllers/template/rt-template-functions.php:1477
197
+ #: ../templates/media/album-single-edit.php:61
198
  msgid "Delete"
199
  msgstr ""
200
 
201
+ #: ../app/main/RTMedia.php:900 ../templates/media/media-single-edit.php:13
202
  msgid "Edit Media"
203
  msgstr ""
204
 
205
+ #: ../app/main/RTMedia.php:901
206
  msgid "Remove from queue"
207
  msgstr ""
208
 
209
+ #: ../app/main/RTMedia.php:902
210
  msgid "Add more files"
211
  msgstr ""
212
 
213
+ #: ../app/main/RTMedia.php:903
214
  msgid "File not supported"
215
  msgstr ""
216
 
217
+ #: ../app/main/RTMedia.php:904
218
  msgid "more"
219
  msgstr ""
220
 
221
+ #: ../app/main/RTMedia.php:905
222
  msgid "less"
223
  msgstr ""
224
 
225
+ #: ../app/main/RTMedia.php:906
226
  msgid "This media is uploaded. Are you sure you want to delete this media?"
227
  msgstr ""
228
 
229
+ #: ../app/main/RTMedia.php:946
230
  msgid "There are some uploads in progress. Do you want to cancel them?"
231
  msgstr ""
232
 
250
  msgstr ""
251
 
252
  #: ../app/main/controllers/shortcodes/RTMediaUploadShortcode.php:103
253
+ #: ../app/main/controllers/template/rt-template-functions.php:1505
254
  #: ../app/main/controllers/activity/RTMediaBuddyPressActivity.php:187
255
  msgid "You are not allowed to upload/attach media."
256
  msgstr ""
280
  msgstr ""
281
 
282
  #: ../app/main/controllers/template/rt-template-functions.php:698
283
+ #: ../app/main/controllers/template/rt-template-functions.php:1701
284
  msgid "Options"
285
  msgstr ""
286
 
308
  msgid "Video Thumbnail:"
309
  msgstr ""
310
 
311
+ #: ../app/main/controllers/template/rt-template-functions.php:1336
312
  msgid "Image"
313
  msgstr ""
314
 
315
+ #: ../app/main/controllers/template/rt-template-functions.php:1352
316
  msgid "Modify Image"
317
  msgstr ""
318
 
319
+ #: ../app/main/controllers/template/rt-template-functions.php:1429
320
  msgid "Type Comment..."
321
  msgstr ""
322
 
323
+ #: ../app/main/controllers/template/rt-template-functions.php:1434
324
  #: ../templates/media/media-single.php:79
325
  #: ../templates/media/media-single.php:118
326
  msgid "Comment"
327
  msgstr ""
328
 
329
+ #: ../app/main/controllers/template/rt-template-functions.php:1470
330
+ #: ../app/main/controllers/template/rt-template-functions.php:1477
331
  msgid "Delete Media"
332
  msgstr ""
333
 
334
+ #: ../app/main/controllers/template/rt-template-functions.php:1643
335
  msgid "Profile Albums"
336
  msgstr ""
337
 
338
+ #: ../app/main/controllers/template/rt-template-functions.php:1646
339
+ #: ../app/main/controllers/template/rt-template-functions.php:1681
340
  msgid "Group Albums"
341
  msgstr ""
342
 
343
+ #: ../app/main/controllers/template/rt-template-functions.php:1764
344
+ #: ../app/main/controllers/template/rt-template-functions.php:1780
345
  msgid "Create New Album"
346
  msgstr ""
347
 
348
+ #: ../app/main/controllers/template/rt-template-functions.php:1764
349
  msgid "Add Album"
350
  msgstr ""
351
 
352
+ #: ../app/main/controllers/template/rt-template-functions.php:1782
353
  msgid "Album Title : "
354
  msgstr ""
355
 
356
+ #: ../app/main/controllers/template/rt-template-functions.php:1790
357
  #: ../app/main/controllers/media/RTMediaAlbum.php:51
358
  msgid "Create Album"
359
  msgstr ""
360
 
361
+ #: ../app/main/controllers/template/rt-template-functions.php:1821
362
+ #: ../app/main/controllers/template/rt-template-functions.php:1828
363
+ #: ../app/main/controllers/template/rt-template-functions.php:1882
364
  msgid "Merge Album"
365
  msgstr ""
366
 
367
+ #: ../app/main/controllers/template/rt-template-functions.php:1824
368
  msgid "Select Album to merge with : "
369
  msgstr ""
370
 
371
+ #: ../app/main/controllers/template/rt-template-functions.php:1872
372
  #: ../app/main/controllers/media/RTMediaAlbum.php:52
373
  msgid "Edit Album"
374
  msgstr ""
375
 
376
+ #: ../app/main/controllers/template/rt-template-functions.php:1873
377
  msgid "Delete Album"
378
  msgstr ""
379
 
380
+ #: ../app/main/controllers/template/rt-template-functions.php:1911
381
  msgid "Merge"
382
  msgstr ""
383
 
384
+ #: ../app/main/controllers/template/rt-template-functions.php:1964
385
  msgid "Privacy : "
386
  msgstr ""
387
 
388
+ #: ../app/main/controllers/template/rt-template-functions.php:2154
389
  msgid "people like this"
390
  msgstr ""
391
 
392
+ #: ../app/main/controllers/template/rt-template-functions.php:2166
393
+ #: ../app/main/controllers/template/rt-template-functions.php:2170
394
  msgid "Upload Media"
395
  msgstr ""
396
 
397
+ #: ../app/main/controllers/template/rt-template-functions.php:2213
398
  msgid "Go PRO!"
399
  msgstr ""
400
 
401
+ #: ../app/main/controllers/template/rt-template-functions.php:2234
402
  msgid "Reasons to buy rtMedia-PRO"
403
  msgstr ""
404
 
405
+ #: ../app/main/controllers/template/rt-template-functions.php:2239
406
  msgid "FavList"
407
  msgstr ""
408
 
409
+ #: ../app/main/controllers/template/rt-template-functions.php:2240
410
  msgid "Users can create their own list of favorite media."
411
  msgstr ""
412
 
413
+ #: ../app/main/controllers/template/rt-template-functions.php:2246
414
  msgid "Media Attributes"
415
  msgstr ""
416
 
417
+ #: ../app/main/controllers/template/rt-template-functions.php:2247
418
  msgid "Add media attributes and categories them."
419
  msgstr ""
420
 
421
+ #: ../app/main/controllers/template/rt-template-functions.php:2253
422
  msgid "Sort Media"
423
  msgstr ""
424
 
425
+ #: ../app/main/controllers/template/rt-template-functions.php:2254
426
  msgid ""
427
  "You can sort media from media gallery according to media size and the date "
428
  "of media upload."
429
  msgstr ""
430
 
431
+ #: ../app/main/controllers/template/rt-template-functions.php:2260
432
  msgid "Direct URL upload"
433
  msgstr ""
434
 
435
+ #: ../app/main/controllers/template/rt-template-functions.php:2261
436
  msgid ""
437
  "You no longer need to download media from URL and then upload it. Just "
438
  "provide link and rtMedia will handle it."
439
  msgstr ""
440
 
441
+ #: ../app/main/controllers/template/rt-template-functions.php:2267
442
  msgid "Per user upload quota"
443
  msgstr ""
444
 
445
+ #: ../app/main/controllers/template/rt-template-functions.php:2268
446
  msgid ""
447
  "You can set upload quota for users on the daily, monthly and lifetime basis."
448
  msgstr ""
449
 
450
+ #: ../app/main/controllers/template/rt-template-functions.php:2274
451
  msgid "URL preview in BuddyPress activity"
452
  msgstr ""
453
 
454
+ #: ../app/main/controllers/template/rt-template-functions.php:2275
455
  msgid "Show URL previews in BuddyPress activity."
456
  msgstr ""
457
 
458
+ #: ../app/main/controllers/template/rt-template-functions.php:2281
459
  msgid "Bulk media edit"
460
  msgstr ""
461
 
462
+ #: ../app/main/controllers/template/rt-template-functions.php:2282
463
  msgid "You can edit media in bulk mode."
464
  msgstr ""
465
 
466
+ #: ../app/main/controllers/template/rt-template-functions.php:2288
467
  msgid "User's liked media page"
468
  msgstr ""
469
 
470
+ #: ../app/main/controllers/template/rt-template-functions.php:2289
471
  msgid ""
472
  "Now you can see user's liked media page. A new tab \"Likes\" has been added."
473
  msgstr ""
474
 
475
+ #: ../app/main/controllers/template/rt-template-functions.php:2295
476
  msgid "RSS Feed/Podcasting Support"
477
  msgstr ""
478
 
479
+ #: ../app/main/controllers/template/rt-template-functions.php:2296
480
  msgid ""
481
  "You can consume rtMedia uploads from iTunes as well as any feed-reader/"
482
  "podcasting software."
483
  msgstr ""
484
 
485
+ #: ../app/main/controllers/template/rt-template-functions.php:2302
486
  msgid "WordPress Comment Attachment"
487
  msgstr ""
488
 
489
+ #: ../app/main/controllers/template/rt-template-functions.php:2303
490
  msgid "You can attach files to WordPress comments."
491
  msgstr ""
492
 
493
+ #: ../app/main/controllers/template/rt-template-functions.php:2309
494
  msgid "bbPress Attachment"
495
  msgstr ""
496
 
497
+ #: ../app/main/controllers/template/rt-template-functions.php:2310
498
  msgid "You can attach files to bbPress topic and reply."
499
  msgstr ""
500
 
501
+ #: ../app/main/controllers/template/rt-template-functions.php:2316
502
  msgid "Document Support"
503
  msgstr ""
504
 
505
+ #: ../app/main/controllers/template/rt-template-functions.php:2317
506
  msgid ""
507
  "You can add, view and download documents like txt, doc, pdf, also add and "
508
  "upload other file types like zip, tar and tar.gz etc."
509
  msgstr ""
510
 
511
+ #: ../app/main/controllers/template/rt-template-functions.php:2323
512
  msgid "CubePoints & MyCRED Integration"
513
  msgstr ""
514
 
515
+ #: ../app/main/controllers/template/rt-template-functions.php:2324
516
  msgid ""
517
  "Integrating CubePoints/myCRED with rtMedia, you can reward users with "
518
  "virtual points on rtMedia activities."
519
  msgstr ""
520
 
521
+ #: ../app/main/controllers/template/rt-template-functions.php:2330
522
  msgid "Album Privacy"
523
  msgstr ""
524
 
525
+ #: ../app/main/controllers/template/rt-template-functions.php:2331
526
  msgid ""
527
  "This will allow you to set album privacy while creating albums or change "
528
  "album privacy with editing albums too."
529
  msgstr ""
530
 
531
+ #: ../app/main/controllers/template/rt-template-functions.php:2337
532
  msgid "Audio Playlist"
533
  msgstr ""
534
 
535
+ #: ../app/main/controllers/template/rt-template-functions.php:2338
536
  msgid ""
537
  "With this feature you can create your audio playlists and listen to your "
538
  "favorite music at will."
539
  msgstr ""
540
 
541
+ #: ../app/main/controllers/template/rt-template-functions.php:2344
542
  msgid "Report Button & Moderation Tools"
543
  msgstr ""
544
 
545
+ #: ../app/main/controllers/template/rt-template-functions.php:2345
546
  msgid ""
547
  "Users can report media if they find it offensive. Set number of reports to "
548
  "automatically take down media."
549
  msgstr ""
550
 
551
+ #: ../app/main/controllers/template/rt-template-functions.php:2351
552
  msgid "Download Button For Media"
553
  msgstr ""
554
 
555
+ #: ../app/main/controllers/template/rt-template-functions.php:2352
556
  msgid ""
557
  "Users can download photos, videos and music. Admin has option to allow "
558
  "download the media."
559
  msgstr ""
560
 
561
+ #: ../app/main/controllers/template/rt-template-functions.php:2358
562
  msgid "Sidebar widgets"
563
  msgstr ""
564
 
565
+ #: ../app/main/controllers/template/rt-template-functions.php:2359
566
  msgid ""
567
  "These will let you display a gallery or an uploader in a sidebar. Several of "
568
  "them can be used in a single sidebar."
569
  msgstr ""
570
 
571
+ #: ../app/main/controllers/template/rt-template-functions.php:2365
572
  msgid "Post-editor button"
573
  msgstr ""
574
 
575
+ #: ../app/main/controllers/template/rt-template-functions.php:2366
576
  msgid ""
577
  "With this button, a UI appears to quickly generate shortcodes for special "
578
  "pages like \"Editorial Picks\"."
579
  msgstr ""
580
 
581
+ #: ../app/main/controllers/template/rt-template-functions.php:2372
582
  msgid "Star-Rating option"
583
  msgstr ""
584
 
585
+ #: ../app/main/controllers/template/rt-template-functions.php:2373
586
  msgid ""
587
  "Users can give up to five stars to rate media. This data can be used for "
588
  "\"Most Rated Media\" in sidebars."
589
  msgstr ""
590
 
591
+ #: ../app/main/controllers/template/rt-template-functions.php:2379
592
  msgid "Global Albums"
593
  msgstr ""
594
 
595
+ #: ../app/main/controllers/template/rt-template-functions.php:2380
596
  msgid ""
597
  "Multiple global albums can be created beforehand. One of these can be chosen "
598
  "as the default album."
599
  msgstr ""
600
 
601
+ #: ../app/main/controllers/template/rt-template-functions.php:2386
602
  msgid "Premium one-to-one support"
603
  msgstr ""
604
 
605
+ #: ../app/main/controllers/template/rt-template-functions.php:2387
606
  msgid ""
607
  "Without leaving your WordPress dashboard, you can contact us for help using "
608
  "a support form."
609
  msgstr ""
610
 
611
+ #: ../app/main/controllers/template/rt-template-functions.php:2394
612
  msgid "Upgrade to rtMedia PRO Now "
613
  msgstr ""
614
 
615
+ #: ../app/main/controllers/template/rt-template-functions.php:2406
616
  msgid "You can consider rtMedia Team for following :"
617
  msgstr ""
618
 
619
+ #: ../app/main/controllers/template/rt-template-functions.php:2408
620
  msgid "rtMedia Customization ( in Upgrade Safe manner )"
621
  msgstr ""
622
 
623
+ #: ../app/main/controllers/template/rt-template-functions.php:2409
624
  msgid "WordPress/BuddyPress Theme Design and Development"
625
  msgstr ""
626
 
627
+ #: ../app/main/controllers/template/rt-template-functions.php:2410
628
  msgid "WordPress/BuddyPress Plugin Development"
629
  msgstr ""
630
 
631
+ #: ../app/main/controllers/template/rt-template-functions.php:2415
632
  msgid "Contact Us"
633
  msgstr ""
634
 
635
+ #: ../app/main/controllers/template/rt-template-functions.php:2435
636
  msgid "Empowering your community with "
637
  msgstr ""
638
 
639
+ #: ../app/main/controllers/template/rt-template-functions.php:2437
640
  msgid "The only complete media solution for WordPress, BuddyPress and bbPress"
641
  msgstr ""
642
 
643
+ #: ../app/main/controllers/template/rt-template-functions.php:2453
644
  msgid "Close (Esc)"
645
  msgstr ""
646
 
647
+ #: ../app/main/controllers/template/rt-template-functions.php:2469
648
  msgid "Public"
649
  msgstr ""
650
 
651
+ #: ../app/main/controllers/template/rt-template-functions.php:2473
652
  msgid "All members"
653
  msgstr ""
654
 
655
+ #: ../app/main/controllers/template/rt-template-functions.php:2477
656
  msgid "Your friends"
657
  msgstr ""
658
 
659
+ #: ../app/main/controllers/template/rt-template-functions.php:2481
660
  msgid "Only you"
661
  msgstr ""
662
 
663
+ #: ../app/main/controllers/template/rt-template-functions.php:2485
664
  msgid "Blocked temporarily"
665
  msgstr ""
666
 
667
+ #: ../app/main/controllers/template/rt-template-functions.php:2521
668
  #, php-format
669
  msgid "%s ago "
670
  msgstr ""
671
 
672
+ #: ../app/main/controllers/template/rt-template-functions.php:2533
673
  #, php-format
674
  msgid "1 second"
675
  msgid_plural "%s seconds"
676
  msgstr[0] ""
677
  msgstr[1] ""
678
 
679
+ #: ../app/main/controllers/template/rt-template-functions.php:2536
680
  #, php-format
681
  msgid "1 minute"
682
  msgid_plural "%s minutes"
683
  msgstr[0] ""
684
  msgstr[1] ""
685
 
686
+ #: ../app/main/controllers/template/rt-template-functions.php:2539
687
  #, php-format
688
  msgid "1 hour"
689
  msgid_plural "%s hours"
905
  msgid "single media"
906
  msgstr ""
907
 
908
+ #: ../app/main/controllers/media/RTMediaMedia.php:462
909
  msgid "Error creating attachment for the media file, please try again"
910
  msgstr ""
911
 
912
+ #: ../app/main/controllers/media/RTMediaMedia.php:564
913
  #: ../app/main/controllers/activity/RTMediaBuddyPressActivity.php:307
914
  #, php-format
915
  msgid "%s added a %s"
1218
 
1219
  #: ../app/admin/RTMediaAdmin.php:605 ../app/admin/RTMediaAdmin.php:608
1220
  #: ../app/admin/RTMediaAdmin.php:734 ../app/admin/RTMediaAdmin.php:1281
1221
+ #: ../app/helper/RTMediaSettings.php:196
1222
  msgid "Support"
1223
  msgstr ""
1224
 
1627
  msgstr ""
1628
 
1629
  #: ../app/admin/RTMediaFormHandler.php:646
1630
+ #: ../app/helper/RTMediaSettings.php:312
1631
  msgid "Media Type"
1632
  msgstr ""
1633
 
1671
  msgid "Crop"
1672
  msgstr ""
1673
 
1674
+ #: ../app/admin/RTMediaFormHandler.php:808
1675
  msgid "Number of thumbnails to generate on video upload"
1676
  msgstr ""
1677
 
1678
+ #: ../app/admin/RTMediaFormHandler.php:814
1679
  msgid ""
1680
  " If you choose more than 1 thumbnail, your users will be able to change the "
1681
  "thumbnail by going to video 'edit' section. Maximum value is 10."
1682
  msgstr ""
1683
 
1684
+ #: ../app/admin/RTMediaFormHandler.php:838
1685
+ msgid "JPEG/JPG image quality (1-100)"
1686
+ msgstr ""
1687
+
1688
+ #: ../app/admin/RTMediaFormHandler.php:844
1689
+ msgid ""
1690
+ "Enter JPEG/JPG Image Quality. Minimum value is 1. 100 is original quality."
1691
+ msgstr ""
1692
+
1693
+ #: ../app/admin/RTMediaFormHandler.php:895
1694
  msgid ""
1695
  "If you want to add some custom CSS code to the plugin and do not want to "
1696
  "modify any files, then this is a good place to enter your code."
1697
  msgstr ""
1698
 
1699
+ #: ../app/admin/RTMediaFormHandler.php:929
1700
  msgid "rtMedia default styles"
1701
  msgstr ""
1702
 
1703
+ #: ../app/admin/RTMediaFormHandler.php:935
1704
  msgid ""
1705
  "Load default rtMedia styles. You need to write your own style for rtMedia if "
1706
  "you disable it."
1707
  msgstr ""
1708
 
1709
+ #: ../app/admin/RTMediaFormHandler.php:939
1710
  msgid "Paste your CSS code"
1711
  msgstr ""
1712
 
1713
+ #: ../app/admin/RTMediaFormHandler.php:945
1714
  msgid "Custom rtMedia CSS container"
1715
  msgstr ""
1716
 
1717
+ #: ../app/admin/RTMediaFormHandler.php:967
1718
  msgid "Enable privacy"
1719
  msgstr ""
1720
 
1721
+ #: ../app/admin/RTMediaFormHandler.php:973
1722
  msgid "Enable privacy in rtMedia"
1723
  msgstr ""
1724
 
1725
+ #: ../app/admin/RTMediaFormHandler.php:977
1726
  msgid "Default privacy"
1727
  msgstr ""
1728
 
1729
+ #: ../app/admin/RTMediaFormHandler.php:983
1730
  msgid "Set default privacy for media"
1731
  msgstr ""
1732
 
1733
+ #: ../app/admin/RTMediaFormHandler.php:987
1734
  msgid "Allow users to set privacy for their content"
1735
  msgstr ""
1736
 
1737
+ #: ../app/admin/RTMediaFormHandler.php:992
1738
  msgid ""
1739
  "If you choose this, users will be able to change privacy of their own "
1740
  "uploads."
1741
  msgstr ""
1742
 
1743
+ #: ../app/admin/RTMediaFormHandler.php:994
1744
  msgid "For group uploads, BuddyPress groups privacy is used."
1745
  msgstr ""
1746
 
1747
+ #: ../app/admin/RTMediaFormHandler.php:1069
1748
  msgid "Enable media in profile"
1749
  msgstr ""
1750
 
1751
+ #: ../app/admin/RTMediaFormHandler.php:1074
1752
  msgid "Enable Media on BuddyPress Profile"
1753
  msgstr ""
1754
 
1755
+ #: ../app/admin/RTMediaFormHandler.php:1078
1756
  msgid "Enable media in group"
1757
  msgstr ""
1758
 
1759
+ #: ../app/admin/RTMediaFormHandler.php:1083
1760
  msgid "Enable Media on BuddyPress Groups"
1761
  msgstr ""
1762
 
1763
+ #: ../app/admin/RTMediaFormHandler.php:1087
1764
  msgid "Allow upload from activity stream"
1765
  msgstr ""
1766
 
1767
+ #: ../app/admin/RTMediaFormHandler.php:1092
1768
  msgid "Allow upload using status update box present on activity stream page"
1769
  msgstr ""
1770
 
1771
+ #: ../app/admin/RTMediaFormHandler.php:1097
1772
  msgid "Number of media items to show in activity stream"
1773
  msgstr ""
1774
 
1775
+ #: ../app/admin/RTMediaFormHandler.php:1102
1776
  msgid ""
1777
  "With bulk uploads activity, the stream may get flooded. You can control the "
1778
  "maximum number of media items or files per activity. This limit will not "
1780
  "means unlimited."
1781
  msgstr ""
1782
 
1783
+ #: ../app/admin/RTMediaFormHandler.php:1156
1784
  msgid "Organize media into albums"
1785
  msgstr ""
1786
 
1787
+ #: ../app/admin/RTMediaFormHandler.php:1162
1788
  msgid ""
1789
  "This will add 'album' tab to BuddyPress profile and group depending on the "
1790
  "^above^ settings."
2014
  "%s</p><p><strong>Total:</strong> %s</p>"
2015
  msgstr ""
2016
 
2017
+ #: ../app/services/RTMediaEncoding.php:229
2018
  #, php-format
2019
  msgid "You have successfully subscribed for the <strong>%s</strong> plan"
2020
  msgstr ""
2021
 
2022
+ #: ../app/services/RTMediaEncoding.php:241
2023
  msgid "Unsubscribe"
2024
  msgstr ""
2025
 
2026
+ #: ../app/services/RTMediaEncoding.php:243
2027
  msgid ""
2028
  "Just to improve our service we would like to know the reason for you to "
2029
  "leave us."
2030
  msgstr ""
2031
 
2032
+ #: ../app/services/RTMediaEncoding.php:293
2033
+ #: ../app/services/RTMediaEncoding.php:376
2034
  msgid "Current Plan"
2035
  msgstr ""
2036
 
2037
+ #: ../app/services/RTMediaEncoding.php:293
2038
  msgid "Unsubscribed"
2039
  msgstr ""
2040
 
2041
+ #: ../app/services/RTMediaEncoding.php:295
2042
  msgid "Used"
2043
  msgstr ""
2044
 
2045
+ #: ../app/services/RTMediaEncoding.php:297
2046
  msgid "Remaining"
2047
  msgstr ""
2048
 
2049
+ #: ../app/services/RTMediaEncoding.php:299
2050
  msgid "Total"
2051
  msgstr ""
2052
 
2053
+ #: ../app/services/RTMediaEncoding.php:303
2054
  msgid "Your usage limit has been reached. Upgrade your plan."
2055
  msgstr ""
2056
 
2057
+ #: ../app/services/RTMediaEncoding.php:305
2058
  msgid "Your API key is not valid or is expired."
2059
  msgstr ""
2060
 
2061
+ #: ../app/services/RTMediaEncoding.php:307
2062
  msgid "Encoding Usage"
2063
  msgstr ""
2064
 
2065
+ #: ../app/services/RTMediaEncoding.php:312
2066
  msgid "rtMedia team has started offering an audio/video encoding service."
2067
  msgstr ""
2068
 
2069
+ #: ../app/services/RTMediaEncoding.php:314
2070
  msgid "Enter API KEY"
2071
  msgstr ""
2072
 
2073
+ #: ../app/services/RTMediaEncoding.php:316
2074
  #: ../app/helper/RTMediaSupport.php:180
2075
  msgid "Submit"
2076
  msgstr ""
2077
 
2078
+ #: ../app/services/RTMediaEncoding.php:324
2079
  msgid "Feature\\Plan"
2080
  msgstr ""
2081
 
2082
+ #: ../app/services/RTMediaEncoding.php:325
2083
+ #: ../app/services/RTMediaEncoding.php:366
2084
  msgid "Free"
2085
  msgstr ""
2086
 
2087
+ #: ../app/services/RTMediaEncoding.php:326
2088
  msgid "Silver"
2089
  msgstr ""
2090
 
2091
+ #: ../app/services/RTMediaEncoding.php:327
2092
  msgid "Gold"
2093
  msgstr ""
2094
 
2095
+ #: ../app/services/RTMediaEncoding.php:328
2096
  msgid "Platinum"
2097
  msgstr ""
2098
 
2099
+ #: ../app/services/RTMediaEncoding.php:332
2100
  msgid "File Size Limit"
2101
  msgstr ""
2102
 
2103
+ #: ../app/services/RTMediaEncoding.php:337
2104
  msgid "Bandwidth (monthly)"
2105
  msgstr ""
2106
 
2107
+ #: ../app/services/RTMediaEncoding.php:344
2108
  msgid "Overage Bandwidth"
2109
  msgstr ""
2110
 
2111
+ #: ../app/services/RTMediaEncoding.php:345
2112
+ #: ../app/services/RTMediaEncoding.php:352
2113
+ #: ../app/services/RTMediaEncoding.php:357
2114
  msgid "Not Available"
2115
  msgstr ""
2116
 
2117
+ #: ../app/services/RTMediaEncoding.php:351
2118
  msgid "Amazon S3 Support"
2119
  msgstr ""
2120
 
2121
+ #: ../app/services/RTMediaEncoding.php:353
2122
+ #: ../app/services/RTMediaEncoding.php:358
2123
+ #: ../app/services/RTMediaEncoding.php:362
2124
  msgid "Coming Soon"
2125
  msgstr ""
2126
 
2127
+ #: ../app/services/RTMediaEncoding.php:356
2128
  msgid "HD Profile"
2129
  msgstr ""
2130
 
2131
+ #: ../app/services/RTMediaEncoding.php:361
2132
  msgid "Webcam Recording"
2133
  msgstr ""
2134
 
2135
+ #: ../app/services/RTMediaEncoding.php:365
2136
  msgid "Pricing"
2137
  msgstr ""
2138
 
2139
+ #: ../app/services/RTMediaEncoding.php:367
2140
  msgid "$9/month"
2141
  msgstr ""
2142
 
2143
+ #: ../app/services/RTMediaEncoding.php:368
2144
  msgid "$99/month"
2145
  msgstr ""
2146
 
2147
+ #: ../app/services/RTMediaEncoding.php:369
2148
  msgid "$999/month"
2149
  msgstr ""
2150
 
2151
+ #: ../app/services/RTMediaEncoding.php:381
2152
  msgid "Try Now"
2153
  msgstr ""
2154
 
2155
+ #: ../app/services/RTMediaEncoding.php:533
2156
  msgid "Could not read file."
2157
  msgstr ""
2158
 
2159
+ #: ../app/services/RTMediaEncoding.php:538
2160
  msgid ""
2161
  "Something went wrong. The required attachment id does not exists. It must "
2162
  "have been deleted."
2163
  msgstr ""
2164
 
2165
+ #: ../app/services/RTMediaEncoding.php:554
2166
  msgid "rtMedia Encoding: Download Failed"
2167
  msgstr ""
2168
 
2169
+ #: ../app/services/RTMediaEncoding.php:555
2170
  #, php-format
2171
  msgid ""
2172
  "<p><a href=\"%s\">Media</a> was successfully encoded but there was an error "
2175
  " <p>You can <a href=\"%s\">retry the download</a>.</p>"
2176
  msgstr ""
2177
 
2178
+ #: ../app/services/RTMediaEncoding.php:571
2179
  msgid "Done"
2180
  msgstr ""
2181
 
2182
+ #: ../app/services/RTMediaEncoding.php:599
2183
+ #: ../app/services/RTMediaEncoding.php:622
2184
  msgid "Something went wrong please try again."
2185
  msgstr ""
2186
 
2187
+ #: ../app/services/RTMediaEncoding.php:618
2188
  msgid "Your subscription was cancelled successfully"
2189
  msgstr ""
2190
 
2191
+ #: ../app/services/RTMediaEncoding.php:632
2192
  msgid "Please enter the api key."
2193
  msgstr ""
2194
 
2195
+ #: ../app/services/RTMediaEncoding.php:639
2196
  msgid "Encoding disabled successfully."
2197
  msgstr ""
2198
 
2297
  msgid "Submit a Premium Support Request"
2298
  msgstr ""
2299
 
2300
+ #: ../app/helper/RTMediaSupport.php:437 ../app/helper/RTMediaSettings.php:390
2301
  msgid ""
2302
  "If your site has some issues due to BuddyPress Media and you want one on one "
2303
  "support then you can create a support topic on the <a target=\"_blank\" href="
2306
  "\">rtCamp Support Forum</a>."
2307
  msgstr ""
2308
 
2309
+ #: ../app/helper/RTMediaSupport.php:438 ../app/helper/RTMediaSettings.php:391
2310
  msgid ""
2311
  "If you have any suggestions, enhancements or bug reports, then you can open "
2312
  "a new issue on <a target=\"_blank\" href=\"https://github.com/rtCamp/"
2559
  msgid "product@rtcamp.com"
2560
  msgstr ""
2561
 
2562
+ #: ../app/helper/RTMediaSettings.php:194
2563
  msgid "BuddyPress Media Addons for Photos"
2564
  msgstr ""
2565
 
2566
+ #: ../app/helper/RTMediaSettings.php:198
2567
  msgid "rtMedia Themes"
2568
  msgstr ""
2569
 
2570
+ #: ../app/helper/RTMediaSettings.php:271
2571
  #, php-format
2572
  msgid ""
2573
  "Currently your network allows uploading of the following file types. You can "
2574
  "change the settings <a href=\"%s\">here</a>.<br /><code>%s</code></span>"
2575
  msgstr ""
2576
 
2577
+ #: ../app/helper/RTMediaSettings.php:289 ../app/helper/RTMediaSettings.php:291
2578
  msgid "Recounting of media files done successfully"
2579
  msgstr ""
2580
 
2581
+ #: ../app/helper/RTMediaSettings.php:291
2582
  msgid "Recount Success"
2583
  msgstr ""
2584
 
2585
+ #: ../app/helper/RTMediaSettings.php:295 ../app/helper/RTMediaSettings.php:297
2586
  msgid "Recounting Failed"
2587
  msgstr ""
2588
 
2589
+ #: ../app/helper/RTMediaSettings.php:297
2590
  msgid "Recount Fail"
2591
  msgstr ""
2592
 
2593
+ #: ../app/helper/RTMediaSettings.php:310 ../app/helper/RTMediaSettings.php:312
2594
  msgid "Atleast one Media Type Must be selected"
2595
  msgstr ""
2596
 
2597
+ #: ../app/helper/RTMediaSettings.php:321 ../app/helper/RTMediaSettings.php:323
2598
  msgid "\"Number of media\" count value should be numeric and greater than 0."
2599
  msgstr ""
2600
 
2601
+ #: ../app/helper/RTMediaSettings.php:323
2602
  msgid "Default Count"
2603
  msgstr ""
2604
 
2605
+ #: ../app/helper/RTMediaSettings.php:328
2606
  msgid "Settings saved."
2607
  msgstr ""
2608
 
2609
+ #: ../app/helper/RTMediaSettings.php:352
2610
  #, php-format
2611
  msgid ""
2612
  "If you make changes to width, height or crop settings, you must use \"<a "
2613
  "href=\"%s\">Regenerate Thumbnail Plugin</a>\" to regenerate old images.\""
2614
  msgstr ""
2615
 
2616
+ #: ../app/helper/RTMediaSettings.php:373
2617
  msgid "BuddyPress Media 2.6 requires a database upgrade. "
2618
  msgstr ""
2619
 
2620
+ #: ../app/helper/RTMediaSettings.php:373
2621
  msgid "Update Database"
2622
  msgstr ""
2623
 
2647
  msgid "Move"
2648
  msgstr ""
2649
 
2650
+ #: ../templates/media/album-single-edit.php:61
2651
  msgid "Delete Selected media from the album."
2652
  msgstr ""
2653
 
2654
+ #: ../templates/media/album-single-edit.php:64
2655
  msgid "Move selected media to the album : "
2656
  msgstr ""
2657
 
2658
+ #: ../templates/media/album-single-edit.php:66
2659
  msgid "Move Selected"
2660
  msgstr ""
2661
 
2662
+ #: ../templates/media/album-single-edit.php:90
2663
  msgid "Prev"
2664
  msgstr ""
2665
 
2666
+ #: ../templates/media/album-single-edit.php:99
2667
  msgid "Next"
2668
  msgstr ""
2669
 
2670
+ #: ../templates/media/album-single-edit.php:102
2671
  msgid "The album is empty."
2672
  msgstr ""
2673
 
2674
+ #: ../templates/media/album-single-edit.php:112
2675
  msgid "Sorry !! You can not edit this album."
2676
  msgstr ""
2677
 
readme.txt CHANGED
@@ -6,7 +6,7 @@ License: GPLv2 or later
6
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  Requires at least: WordPress 3.6
8
  Tested up to: WordPress 4.1 + BuddyPress 2.2.0
9
- Stable tag: 3.7.32
10
 
11
  Add albums, photo, audio/video encoding, privacy, sharing, front-end uploads & more. All this works on mobile/tablets devices.
12
 
@@ -128,6 +128,12 @@ http://www.youtube.com/watch?v=dJrykKQGDcs
128
 
129
  Please visit [rtMedia's Roadmap page](http://rtcamp.com/rtmedia/roadmap/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "Visit rtMedia's Features page") to get some details about future releases.
130
 
 
 
 
 
 
 
131
  = 3.7.32 =
132
  * Update all translation files
133
  * Update templates
@@ -903,8 +909,8 @@ Please visit [rtMedia's Roadmap page](http://rtcamp.com/rtmedia/roadmap/?utm_sou
903
 
904
  == Upgrade Notice ==
905
 
906
- = 3.7.32 =
907
- Requires BuddyPress 1.7 or higher, if using BuddyPress. Update all translation files, update templates, fix media title issue.
908
 
909
  == Sponsors ==
910
 
6
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  Requires at least: WordPress 3.6
8
  Tested up to: WordPress 4.1 + BuddyPress 2.2.0
9
+ Stable tag: 3.7.33
10
 
11
  Add albums, photo, audio/video encoding, privacy, sharing, front-end uploads & more. All this works on mobile/tablets devices.
12
 
128
 
129
  Please visit [rtMedia's Roadmap page](http://rtcamp.com/rtmedia/roadmap/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "Visit rtMedia's Features page") to get some details about future releases.
130
 
131
+ = 3.7.33 =
132
+ * Fix media move in album edit
133
+ * JPEG image quality option
134
+ * Use WordPress' *_metadata functions for meta data
135
+ * Fix update activity after thumb set
136
+
137
  = 3.7.32 =
138
  * Update all translation files
139
  * Update templates
909
 
910
  == Upgrade Notice ==
911
 
912
+ = 3.7.33 =
913
+ Requires BuddyPress 1.7 or higher, if using BuddyPress. Fix media move in album edit, JPEG image quality option,use WordPress' *_metadata functions for meta data.
914
 
915
  == Sponsors ==
916
 
templates/media/album-single-edit.php CHANGED
@@ -57,6 +57,7 @@ $rtmedia_media = $media[0];
57
  <?php RTMediaMedia::media_nonce_generator($rtmedia_query->media_query['album_id']); ?>
58
  <button type='button' class="select-all" title="<?php echo __('Select All Visible','rtmedia'); ?>"><i class='rtmicon-square-o rtmicon-fw'></i></button>
59
  <button class="button rtmedia-move" type='button' title='<?php echo __('Move Selected media to another album.');?>' ><i class='rtmicon-move rtmicon-fw'></i> <?php _e('Move','rtmedia'); ?></button>
 
60
  <button type="button" name="delete-selected" class="button rtmedia-delete-selected" title='<?php echo __('Delete Selected media from the album.');?>'><i class='rtmicon-trash rtmicon-fw'></i><?php _e('Delete','rtmedia'); ?></button>
61
  <div class="rtmedia-move-container">
62
  <?php $global_albums = rtmedia_get_site_option('rtmedia-global-albums'); ?>
57
  <?php RTMediaMedia::media_nonce_generator($rtmedia_query->media_query['album_id']); ?>
58
  <button type='button' class="select-all" title="<?php echo __('Select All Visible','rtmedia'); ?>"><i class='rtmicon-square-o rtmicon-fw'></i></button>
59
  <button class="button rtmedia-move" type='button' title='<?php echo __('Move Selected media to another album.');?>' ><i class='rtmicon-move rtmicon-fw'></i> <?php _e('Move','rtmedia'); ?></button>
60
+ <input type="hidden" name="move-selected" value="move">
61
  <button type="button" name="delete-selected" class="button rtmedia-delete-selected" title='<?php echo __('Delete Selected media from the album.');?>'><i class='rtmicon-trash rtmicon-fw'></i><?php _e('Delete','rtmedia'); ?></button>
62
  <div class="rtmedia-move-container">
63
  <?php $global_albums = rtmedia_get_site_option('rtmedia-global-albums'); ?>