rtMedia for WordPress, BuddyPress and bbPress - Version 3.8.21

Version Description

  • Rename plugin text domain from 'rtmedia' to 'buddypress-media'
Download this release

Release Info

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

Code changes from version 3.8.20 to 3.8.21

Files changed (69) hide show
  1. app/admin/RTMediaAdmin.php +102 -102
  2. app/admin/RTMediaFormHandler.php +83 -83
  3. app/helper/RTMediaAddon.php +86 -86
  4. app/helper/RTMediaAdminWidget.php +1 -1
  5. app/helper/RTMediaFeed.php +2 -2
  6. app/helper/RTMediaLicense.php +7 -7
  7. app/helper/RTMediaSettings.php +23 -23
  8. app/helper/RTMediaSupport.php +38 -43
  9. app/helper/RTMediaThemes.php +49 -49
  10. app/helper/RTMediaUploadException.php +6 -6
  11. app/importers/BPMediaAlbumimporter.php +26 -26
  12. app/importers/RTMediaActivityUpgrade.php +1 -1
  13. app/importers/RTMediaMediaSizeImporter.php +2 -2
  14. app/importers/RTMediaMigration.php +12 -12
  15. app/main/RTMedia.php +54 -54
  16. app/main/controllers/activity/RTMediaBuddyPressActivity.php +5 -5
  17. app/main/controllers/api/RTMediaJsonApi.php +54 -54
  18. app/main/controllers/group/RTMediaGroupExtension.php +14 -14
  19. app/main/controllers/media/RTMediaAlbum.php +15 -15
  20. app/main/controllers/media/RTMediaFeatured.php +3 -3
  21. app/main/controllers/media/RTMediaGalleryItemAction.php +5 -5
  22. app/main/controllers/media/RTMediaGroupFeatured.php +3 -3
  23. app/main/controllers/media/RTMediaLike.php +3 -3
  24. app/main/controllers/media/RTMediaLoginPopup.php +4 -4
  25. app/main/controllers/media/RTMediaMedia.php +2 -2
  26. app/main/controllers/privacy/RTMediaPrivacy.php +5 -5
  27. app/main/controllers/shortcodes/RTMediaGalleryShortcode.php +1 -1
  28. app/main/controllers/shortcodes/RTMediaUploadShortcode.php +2 -2
  29. app/main/controllers/template/RTMediaAJAX.php +4 -4
  30. app/main/controllers/template/RTMediaNav.php +7 -6
  31. app/main/controllers/template/RTMediaTemplate.php +10 -10
  32. app/main/controllers/template/rt-template-functions.php +54 -54
  33. app/main/controllers/upload/RTMediaUploadEndpoint.php +1 -1
  34. app/main/controllers/upload/RTMediaUploadView.php +12 -12
  35. app/main/controllers/upload/processors/RTMediaUploadFile.php +10 -10
  36. app/main/deprecated/RTMediaDeprecated.php +1 -1
  37. app/services/RTMediaEncoding.php +53 -53
  38. index.php +2 -2
  39. languages/buddypress-media-ar_AR.mo +0 -0
  40. languages/buddypress-media-bg_BG.mo +0 -0
  41. languages/buddypress-media-da_DK.mo +0 -0
  42. languages/buddypress-media-de_DE.mo +0 -0
  43. languages/buddypress-media-es_ES.mo +0 -0
  44. languages/buddypress-media-fa_IR.mo +0 -0
  45. languages/buddypress-media-fi_FI.mo +0 -0
  46. languages/buddypress-media-fr_FR.mo +0 -0
  47. languages/buddypress-media-hu_HU.mo +0 -0
  48. languages/buddypress-media-it_IT.mo +0 -0
  49. languages/buddypress-media-ja_JA.mo +0 -0
  50. languages/buddypress-media-ko_KR.mo +0 -0
  51. languages/buddypress-media-nb_NO.mo +0 -0
  52. languages/buddypress-media-nl_NL.mo +0 -0
  53. languages/buddypress-media-pl_PL.mo +0 -0
  54. languages/buddypress-media-pt_BR.mo +0 -0
  55. languages/buddypress-media-ro_RO.mo +0 -0
  56. languages/buddypress-media-ru_RU.mo +0 -0
  57. languages/buddypress-media-sk_SK.mo +0 -0
  58. languages/buddypress-media-sr_RS.mo +0 -0
  59. languages/buddypress-media-sv_SE.mo +0 -0
  60. languages/buddypress-media-ta_IN.mo +0 -0
  61. languages/buddypress-media-zh_CN.mo +0 -0
  62. languages/buddypress-media.mo +0 -0
  63. languages/buddypress-media.po +3207 -0
  64. readme.txt +6 -3
  65. templates/media/album-gallery.php +3 -3
  66. templates/media/album-single-edit.php +16 -16
  67. templates/media/media-gallery.php +4 -4
  68. templates/media/media-single-edit.php +8 -8
  69. templates/media/media-single.php +4 -4
app/admin/RTMediaAdmin.php CHANGED
@@ -124,7 +124,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
124
  if ( $rtm_id ) {
125
  $link = get_rtmedia_permalink( $rtm_id );
126
  $title =_draft_or_post_title( $post->post_parent );
127
- $action[ 'view' ] = '<a href="' . $link . '" title="' . esc_attr( sprintf( __( 'View &#8220;%s&#8221;', 'rtmedia' ), $title ) ) . '" rel="permalink">' . __( 'View', 'rtmedia' ) . '</a>';
128
  }
129
 
130
  return $action;
@@ -366,7 +366,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
366
  */
367
  public function rtmedia_permalink_notice() {
368
  echo '<div class="error rtmedia-permalink-change-notice">
369
- <p> <b>rtMedia:</b> ' . __( ' You must', 'rtmedia' ) . ' <a href="' . admin_url( 'options-permalink.php' ) . '">' . __( 'update permalink structure', 'rtmedia' ) . '</a> ' . __( 'to something other than the default for it to work.', 'rtmedia' ) . ' </p>
370
  </div>';
371
  }
372
 
@@ -392,7 +392,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
392
  ?>
393
  <div class="error rtmedia-addon-upate-notice">
394
  <p>
395
- <strong><?php _e( 'rtMedia:', 'rtmedia' ) ?></strong> <?php _e( 'Please update all premium add-ons that you have purchased from rtCamp from', 'rtmedia' ) ?> <a href="https://rtcamp.com/my-account/" target="_blank"><?php _e( 'your account', 'rtmedia' ) ?></a>. <a href="#" onclick="rtmedia_hide_addon_update_notice()" style="float:right"><?php _e( 'Dismiss', 'rtmedia' ) ?></a>
396
  </p>
397
  </div>
398
  <script type="text/javascript">
@@ -505,7 +505,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
505
  ?>
506
  <div class='rtmedia-admin-ad'>
507
  <a href='http://rtcamp.com/products/rtmedia-pro/' target='_blank' title='rtMedia Pro'>
508
- <img src='<?php echo $src; ?>' alt="<?php _e( 'rtMedia Pro is released', 'rtmedia' ); ?>"/>
509
  </a>
510
  </div>
511
  <?php
@@ -526,7 +526,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
526
  <div class="clearfix">
527
 
528
  <div class="rtm-column alignleft">
529
- <h4 class="sub"><?php _e( 'Media Stats', 'rtmedia' ); ?></h4>
530
 
531
  <table>
532
  <tbody>
@@ -553,7 +553,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
553
  </div>
554
 
555
  <div class="rtm-column alignright">
556
- <h4 class="sub"><?php _e( 'Usage Stats', 'rtmedia' ); ?></h4>
557
 
558
  <table>
559
  <tbody> <?php
@@ -562,7 +562,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
562
  ?>
563
  <tr>
564
  <td class="b"> <?php echo $results; ?> </td>
565
- <td class="t"><?php _e( 'Total ', 'rtmedia' ) ?></td>
566
  </tr>
567
  <?php
568
  $sql = "select count(distinct media_author) from {$rtMedia_model->table_name}";
@@ -570,7 +570,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
570
  ?>
571
  <tr>
572
  <td class="b"> <?php echo $results; ?> </td>
573
- <td class="t"><?php _e( 'With Media', 'rtmedia' ) ?></td>
574
  </tr>
575
  <?php
576
  $sql = "select count(*) from $wpdb->comments where comment_post_ID in (select media_id from {$rtMedia_model->table_name})";
@@ -578,7 +578,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
578
  ?>
579
  <tr>
580
  <td class="b"> <?php echo $results; ?> </td>
581
- <td class="t"><?php _e( 'Comments ', 'rtmedia' ) ?></td>
582
  </tr>
583
  <?php
584
  $sql = "select sum(likes) from {$rtMedia_model->table_name}";
@@ -586,7 +586,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
586
  ?>
587
  <tr>
588
  <td class="b"> <?php echo $results; ?> </td>
589
- <td class="t"><?php _e( 'Likes', 'rtmedia' ) ?></td>
590
  </tr>
591
 
592
  </tbody>
@@ -597,10 +597,10 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
597
 
598
  <div class="rtm-meta-container">
599
  <ul class="rtm-meta-links">
600
- <li><b><?php _e( 'rtMedia Links:', 'rtmedia' ); ?></b></li>
601
- <li><a href="https://rtcamp.com/rtmedia/"><?php _e( 'Homepage', 'rtmedia' ); ?></a></li>
602
- <li><a href="admin.php?page=rtmedia-support#rtmedia-general"><?php _e( 'Free Support', 'rtmedia' ); ?></a></li>
603
- <li><a href="https://rtcamp.com/products/category/rtmedia/"><?php _e( 'Premium Addons', 'rtmedia' ); ?></a></li>
604
  </ul>
605
  </div>
606
  <?php
@@ -616,7 +616,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
616
  * @return void
617
  */
618
  public function add_dashboard_widgets() {
619
- wp_add_dashboard_widget( 'rtmedia_dashboard_widget', __( 'Right Now in rtMedia', 'rtmedia' ), array( &$this, 'rtmedia_dashboard_widget_function' ) );
620
  global $wp_meta_boxes;
621
 
622
  // Get the regular dashboard widgets array
@@ -670,7 +670,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
670
 
671
  $mime_type_array = explode( '/', $post->post_mime_type );
672
  if ( is_array( $mime_type_array ) && '' != $mime_type_array && 'video' == $mime_type_array[ 0 ] ) {
673
- $actions[ 'reencode' ] = '<a class="submitdelete" onclick="return rtmedia_regenerate_thumbs(' . $post->ID . ')" href="#">' . __( 'Regenerate Thumbnail', 'rtmedia' ) . '</a>';
674
  }
675
 
676
  return $actions;
@@ -711,17 +711,17 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
711
  'title' => 'rtMedia',
712
  'href' => admin_url( 'admin.php?page=rtmedia-settings' ),
713
  'meta' => array(
714
- 'title' => __( 'rtMedia', 'rtmedia' ),
715
  ),
716
  )
717
  );
718
  $admin_bar->add_menu( array(
719
  'id' => 'rt-media-dashborad',
720
  'parent' => 'rtMedia',
721
- 'title' => __( 'Settings', 'rtmedia' ),
722
  'href' => admin_url( 'admin.php?page=rtmedia-settings' ),
723
  'meta' => array(
724
- 'title' => __( 'Settings', 'rtmedia' ),
725
  'target' => '_self',
726
  ),
727
  )
@@ -729,10 +729,10 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
729
  $admin_bar->add_menu( array(
730
  'id' => 'rt-media-addons',
731
  'parent' => 'rtMedia',
732
- 'title' => __( 'Addons', 'rtmedia' ),
733
  'href' => admin_url( 'admin.php?page=rtmedia-addons' ),
734
  'meta' => array(
735
- 'title' => __( 'Addons', 'rtmedia' ),
736
  'target' => '_self',
737
  ),
738
  )
@@ -740,10 +740,10 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
740
  $admin_bar->add_menu( array(
741
  'id' => 'rt-media-support',
742
  'parent' => 'rtMedia',
743
- 'title' => __( 'Support', 'rtmedia' ),
744
  'href' => admin_url( 'admin.php?page=rtmedia-support' ),
745
  'meta' => array(
746
- 'title' => __( 'Support', 'rtmedia' ),
747
  'target' => '_self',
748
  ),
749
  )
@@ -751,10 +751,10 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
751
  $admin_bar->add_menu( array(
752
  'id' => 'rt-media-themes',
753
  'parent' => 'rtMedia',
754
- 'title' => __( 'Themes', 'rtmedia' ),
755
  'href' => admin_url( 'admin.php?page=rtmedia-themes' ),
756
  'meta' => array(
757
- 'title' => __( 'Themes', 'rtmedia' ),
758
  'target' => '_self',
759
  ),
760
  )
@@ -762,10 +762,10 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
762
  $admin_bar->add_menu( array(
763
  'id' => 'rt-media-hire-us',
764
  'parent' => 'rtMedia',
765
- 'title' => __( 'Hire Us', 'rtmedia' ),
766
  'href' => admin_url( 'admin.php?page=rtmedia-hire-us' ),
767
  'meta' => array(
768
- 'title' => __( 'Hire Us', 'rtmedia' ),
769
  'target' => '_self',
770
  ),
771
  )
@@ -774,10 +774,10 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
774
  $admin_bar->add_menu( array(
775
  'id' => 'rt-media-license',
776
  'parent' => 'rtMedia',
777
- 'title' => __( 'Licenses', 'rtmedia' ),
778
  'href' => admin_url( 'admin.php?page=rtmedia-license' ),
779
  'meta' => array(
780
- 'title' => __( 'Licenses', 'rtmedia' ),
781
  'target' => '_self',
782
  ),
783
  )
@@ -828,18 +828,18 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
828
  wp_enqueue_script( 'rtmedia-admin', RTMEDIA_URL . 'app/assets/admin/js/admin.min.js', array( 'backbone' ), RTMEDIA_VERSION );
829
  }
830
 
831
- wp_localize_script( 'rtmedia-admin', 'rtmedia_on_label', __( 'ON', 'rtmedia' ) );
832
- wp_localize_script( 'rtmedia-admin', 'rtmedia_off_label', __( 'OFF', 'rtmedia' ) );
833
  wp_localize_script( 'rtmedia-admin', 'rtmedia_admin_ajax', $admin_ajax );
834
  wp_localize_script( 'rtmedia-admin', 'rtmedia_admin_url', admin_url() );
835
  wp_localize_script( 'rtmedia-admin', 'rtmedia_admin_url', admin_url() );
836
 
837
  $rtmedia_admin_strings = array(
838
- 'no_refresh' => __( 'Please do not refresh this page.', 'rtmedia' ),
839
- 'something_went_wrong' => __( 'Something went wrong. Please <a href onclick="location.reload();">refresh</a> page.', 'rtmedia' ),
840
- 'are_you_sure' => __( 'This will subscribe you to the free plan.', 'rtmedia' ),
841
- 'disable_encoding' => __( 'Are you sure you want to disable the encoding service?', 'rtmedia' ),
842
- 'enable_encoding' => __( 'Are you sure you want to enable the encoding service?', 'rtmedia' ),
843
  );
844
 
845
  wp_localize_script( 'rtmedia-admin', 'rtmedia_admin_strings', $rtmedia_admin_strings );
@@ -859,7 +859,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
859
  * Add Admin Menu.
860
  *
861
  * @access public
862
- * @global string 'rtmedia'
863
  *
864
  * @param void
865
  *
@@ -867,19 +867,19 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
867
  */
868
  public function menu() {
869
  add_menu_page( 'rtMedia', 'rtMedia', 'manage_options', 'rtmedia-settings', array( $this, 'settings_page' ), RTMEDIA_URL . 'app/assets/admin/img/rtmedia-logo.png', '40.1111' );
870
- add_submenu_page( 'rtmedia-settings', __( 'Settings', 'rtmedia' ), __( 'Settings', 'rtmedia' ), 'manage_options', 'rtmedia-settings', array( $this, 'settings_page' ) );
871
- add_submenu_page( 'rtmedia-settings', __( 'Addons', 'rtmedia' ), __( 'Addons', 'rtmedia' ), 'manage_options', 'rtmedia-addons', array( $this, 'addons_page' ) );
872
- add_submenu_page( 'rtmedia-settings', __( 'Support', 'rtmedia' ), __( 'Support', 'rtmedia' ), 'manage_options', 'rtmedia-support', array( $this, 'support_page' ) );
873
- add_submenu_page( 'rtmedia-settings', __( 'Themes', 'rtmedia' ), __( 'Themes', 'rtmedia' ), 'manage_options', 'rtmedia-themes', array( $this, 'theme_page' ) );
874
- add_submenu_page( 'rtmedia-settings', __( 'Hire Us', 'rtmedia' ), __( 'Hire Us', 'rtmedia' ), 'manage_options', 'rtmedia-hire-us', array( $this, 'hire_us_page' ) );
875
  if ( has_filter( 'rtmedia_license_tabs' ) || has_action( 'rtmedia_addon_license_details' ) ) {
876
- add_submenu_page( 'rtmedia-settings', __( 'Licenses', 'rtmedia' ), __( 'Licenses', 'rtmedia' ), 'manage_options', 'rtmedia-license', array( $this, 'license_page' ) );
877
  }
878
 
879
  $obj_encoding = new RTMediaEncoding( true );
880
 
881
  if ( $obj_encoding->api_key ) {
882
- add_submenu_page( 'rtmedia-settings', __( 'Regenerate Thumbnail', 'rtmedia' ), __( 'Regen. Thumbnail ', 'rtmedia' ), 'manage_options', 'rtmedia-regenerate', array( $this, 'rt_regenerate_thumbnail' ) );
883
  }
884
  }
885
 
@@ -897,7 +897,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
897
  $done = 0;
898
  ?>
899
  <div class="wrap">
900
- <h2> rtMedia: <?php _e( 'Regenerate Video Thumbnails', 'rtmedia' ); ?> </h2>
901
  <?php
902
  if ( isset( $_REQUEST[ 'media_ids' ] ) && trim( $_REQUEST[ 'media_ids' ] ) != '' ) {
903
  $requested = false;
@@ -915,7 +915,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
915
  if ( ! isset( $requested ) ) {
916
  ?>
917
  <br/>
918
- <p>You can see this page because you have <a href="<?php echo admin_url( 'admin.php?page=rtmedia-addons' ) ?>">subscribed</a> for <a href="https://rtcamp.com/rtmedia/docs/admin/addons/audio-video-encoding/" target="_blank">rtMedia audio/video encoding service</a>.</p> <p>You can regenerate thumbnails of a specific video by visiting <a href="<?php echo admin_url( 'upload.php?post_mime_type=video' ); ?>">media page</a> and clicking the <b>Regenerate Thumbnail</b> option for that particular video.</p> <p>Click <b>Regenerate Pending Thumbnails</b> to regenerate thumbnails of pending videos.</p> <p><input type="button" class="button button-primary" id="rt-start-media-regenerate" value="<?php echo __( 'Regenerate Pending Thumbnails', 'rtmedia' ) . ' (' . $total . ')'; ?>"/> </p>
919
  <?php
920
  }
921
  ?>
@@ -925,12 +925,12 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
925
  $temp = $prog->progress( $done, $total );
926
  $prog->progress_ui( $temp, true );
927
  ?>
928
- <p> <?php _e( 'Total Videos', 'rtmedia' ) ?> : <span class='rt-total'><?php echo $total; ?></span>
929
  </p>
930
 
931
- <p> <?php _e( 'Sent of regenerate thumbails', 'rtmedia' ) ?> : <span class='rt-done'>0</span></p>
932
 
933
- <p> <?php _e( 'Fail to regenerate thumbails', 'rtmedia' ) ?> : <span class='rt-fail'>0</span></p>
934
 
935
  </div>
936
  <script>
@@ -969,7 +969,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
969
  }
970
  } );
971
  } else {
972
- alert( "<?php _e( 'Regenerate Video Thumbnails Done', 'rtmedia' ); ?>" );
973
  }
974
  }
975
  function handle_regenrate_fail() {
@@ -1013,7 +1013,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
1013
  if ( isset( $videos_without_thumbs ) && is_array( $videos_without_thumbs ) && sizeof( $videos_without_thumbs ) > 0 ) {
1014
  echo '<div class="error rtmedia-regenerate-video-thumb-error">
1015
  <p>
1016
- ' . sprintf( __( "You have %s videos without thumbnails. Click <a href='%s'> here </a> to generate thumbnails. <a href='#' onclick='rtmedia_hide_video_thumb_notice()' style='float:right'>Hide</a>", 'rtmedia' ), sizeof( $videos_without_thumbs ), admin_url( 'admin.php?page=rtmedia-regenerate' ) ) . '
1017
  </p>
1018
  </div>';
1019
  ?>
@@ -1091,7 +1091,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
1091
  $response[ 'status' ] = true;
1092
  } else {
1093
  $response[ 'status' ] = false;
1094
- $response[ 'message' ] = __( 'not a video ...', 'rtmedia' );
1095
  }
1096
  echo json_encode( $response );
1097
  die();
@@ -1126,7 +1126,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
1126
  * @return void
1127
  */
1128
  public function settings_page() {
1129
- $this->render_page( 'rtmedia-settings', 'rtmedia' );
1130
  }
1131
 
1132
  /**
@@ -1241,7 +1241,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
1241
  * Render BPMedia Settings.
1242
  *
1243
  * @access public
1244
- * @global string 'rtmedia'
1245
  *
1246
  * @param type $page
1247
  * @param type $option_group
@@ -1256,7 +1256,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
1256
  <div>
1257
  <h2 class="nav-tab-wrapper"><?php $this->rtmedia_tabs(); ?>
1258
  <span class="alignright by">
1259
- <a class="rt-link" href="http://rtcamp.com/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media" target="_blank" title="rtCamp : <?php _e( 'Empowering The Web With WordPress', 'rtmedia' ); ?>">
1260
  <img src="<?php echo RTMEDIA_URL; ?>app/assets/admin/img/rtcamp-logo.png" alt="rtCamp" />
1261
  </a>
1262
  </span>
@@ -1276,10 +1276,10 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
1276
  <div class="bp-media-metabox-holder">
1277
  <div class="rtm-button-container top">
1278
  <?php if ( isset( $_GET[ 'settings-saved' ] ) && $_GET[ 'settings-saved' ] ) { ?>
1279
- <div class="rtm-success rtm-fly-warning rtm-save-settings-msg"><?php _e( 'Settings saved successfully!', 'rtmedia' ); ?></div>
1280
  <?php } ?>
1281
  <input type="hidden" name="rtmedia-options-save" value="true">
1282
- <input type="submit" class="rtmedia-settings-submit button button-primary button-big" value="<?php _e( 'Save Settings', 'rtmedia' ); ?>">
1283
  </div>
1284
  <?php
1285
  settings_fields( $option_group );
@@ -1302,7 +1302,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
1302
  </div>
1303
 
1304
  <input type="hidden" name="rtmedia-options-save" value="true">
1305
- <input type="submit" class="rtmedia-settings-submit button button-primary button-big" value="<?php _e( 'Save Settings', 'rtmedia' ); ?>">
1306
  </div>
1307
  </div>
1308
  </form><?php
@@ -1365,8 +1365,8 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
1365
  /* rtMedia */
1366
  $tabs[] = array(
1367
  'href' => get_admin_url( null, esc_url( add_query_arg( array( 'page' => 'rtmedia-settings' ), 'admin.php' ) ) ),
1368
- 'title' => __( 'rtMedia', 'rtmedia' ),
1369
- 'name' => __( 'rtMedia', 'rtmedia' ),
1370
  'class' => ( $tab == 'rtmedia-settings' || $tab == 'rtmedia-addons' || $tab == 'rtmedia-support' || $tab == 'rtmedia-importer' ) ? $active_class : $idle_class,
1371
  );
1372
 
@@ -1395,23 +1395,23 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
1395
  $tabs = array(
1396
  array(
1397
  'href' => get_admin_url( null, esc_url( add_query_arg( array( 'page' => 'rtmedia-settings' ), 'admin.php' ) ) ),
1398
- 'name' => __( 'Settings', 'rtmedia' ),
1399
  'slug' => 'rtmedia-settings',
1400
  ), array(
1401
  'href' => get_admin_url( null, esc_url( add_query_arg( array( 'page' => 'rtmedia-addons' ), 'admin.php' ) ) ),
1402
- 'name' => __( 'Addons', 'rtmedia' ),
1403
  'slug' => 'rtmedia-addons',
1404
  ), array(
1405
  'href' => get_admin_url( null, esc_url( add_query_arg( array( 'page' => 'rtmedia-themes' ), 'admin.php' ) ) ),
1406
- 'name' => __( 'Themes', 'rtmedia' ),
1407
  'slug' => 'rtmedia-themes',
1408
  ), array(
1409
  'href' => get_admin_url( null, esc_url( add_query_arg( array( 'page' => 'rtmedia-hire-us' ), 'admin.php' ) ) ),
1410
- 'name' => __( 'Hire Us', 'rtmedia' ),
1411
  'slug' => 'rtmedia-hire-us',
1412
  ), array(
1413
  'href' => get_admin_url( null, esc_url( add_query_arg( array( 'page' => 'rtmedia-support' ), 'admin.php' ) ) ),
1414
- 'name' => __( 'Support', 'rtmedia' ),
1415
  'slug' => 'rtmedia-support',
1416
  ),
1417
  );
@@ -1419,7 +1419,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
1419
  if ( has_filter( 'rtmedia_license_tabs' ) || has_action( 'rtmedia_addon_license_details' ) ) {
1420
  $tabs[] = array(
1421
  'href' => get_admin_url( null, esc_url( add_query_arg( array( 'page' => 'rtmedia-license' ), 'admin.php' ) ) ),
1422
- 'name' => __( 'Licenses', 'rtmedia' ),
1423
  'slug' => 'rtmedia-license',
1424
  );
1425
  }
@@ -1501,8 +1501,8 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
1501
  $tabs[ 7 ] = array(
1502
  'href' => '#rtmedia-display',
1503
  'icon' => 'dashicons-desktop',
1504
- 'title' => __( 'Display', 'rtmedia' ),
1505
- 'name' => __( 'Display', 'rtmedia' ),
1506
  'callback' => array( 'RTMediaFormHandler', 'display_content' )
1507
  );
1508
 
@@ -1510,8 +1510,8 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
1510
  $tabs[ 20 ] = array(
1511
  'href' => '#rtmedia-bp',
1512
  'icon' => 'dashicons-groups',
1513
- 'title' => __( 'rtMedia BuddyPress', 'rtmedia' ),
1514
- 'name' => __( 'BuddyPress', 'rtmedia' ),
1515
  'callback' => array( 'RTMediaFormHandler', 'buddypress_content' ) //change it to BuddyPress Content
1516
  );
1517
  }
@@ -1519,31 +1519,31 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
1519
  $tabs[ 30 ] = array(
1520
  'href' => '#rtmedia-types',
1521
  'icon' => 'dashicons-editor-video',
1522
- 'title' => __( 'rtMedia Types', 'rtmedia' ),
1523
- 'name' => __( 'Types', 'rtmedia' ),
1524
  'callback' => array( 'RTMediaFormHandler', 'types_content' )
1525
  );
1526
 
1527
  $tabs[ 40 ] = array(
1528
  'href' => '#rtmedia-sizes',
1529
  'icon' => 'dashicons-editor-expand',
1530
- 'title' => __( 'rtMedia Sizes', 'rtmedia' ),
1531
- 'name' => __( 'Media Sizes', 'rtmedia' ),
1532
  'callback' => array( 'RTMediaFormHandler', 'sizes_content' )
1533
  );
1534
 
1535
  $tabs[ 50 ] = array(
1536
  'href' => '#rtmedia-privacy',
1537
  'icon' => 'dashicons-lock',
1538
- 'title' => __( 'rtMedia Privacy', 'rtmedia' ),
1539
- 'name' => __( 'Privacy', 'rtmedia' ),
1540
  'callback' => array( 'RTMediaFormHandler', 'privacy_content' )
1541
  );
1542
  $tabs[ 60 ] = array(
1543
  'href' => '#rtmedia-custom-css-settings',
1544
  'icon' => 'dashicons-clipboard',
1545
- 'title' => __( 'rtMedia Custom CSS', 'rtmedia' ),
1546
- 'name' => __( 'Custom CSS', 'rtmedia' ),
1547
  'callback' => array( 'RTMediaFormHandler', 'custom_css_content' )
1548
  );
1549
 
@@ -1552,8 +1552,8 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
1552
  $tabs[] = array(
1553
  'href' => '#rtmedia-general',
1554
  'icon' => 'dashicons-admin-tools',
1555
- 'title' => __( 'Other Settings', 'rtmedia' ),
1556
- 'name' => __( 'Other Settings', 'rtmedia' ),
1557
  'callback' => array( 'RTMediaFormHandler', 'general_content' )
1558
  );
1559
 
@@ -1648,31 +1648,31 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
1648
  public function admin_sidebar() {
1649
  do_action( 'rtmedia_before_default_admin_widgets' );
1650
  $current_user = wp_get_current_user();
1651
- $message = sprintf( __( 'I use @rtMediaWP http://rt.cx/rtmedia on %s', 'rtmedia' ), home_url() );
1652
  $addons = '<div id="social" class="rtm-social-share">
1653
- <p><a href="http://twitter.com/home/?status=' . $message . '" class="button twitter" target= "_blank" title="' . __( 'Post to Twitter Now', 'rtmedia' ) . '">' . __( 'Post to Twitter', 'rtmedia' ) . '<span class="dashicons dashicons-twitter"></span></a></p>
1654
- <p><a href="https://www.facebook.com/sharer/sharer.php?u=http://rtcamp.com/rtmedia/" class="button facebook" target="_blank" title="' . __( 'Share on Facebook Now', 'rtmedia' ) . '">' . __( 'Share on Facebook', 'rtmedia' ) . '<span class="dashicons dashicons-facebook"></span></a></p>
1655
- <p><a href="http://wordpress.org/support/view/plugin-reviews/buddypress-media?rate=5#postform" class="button wordpress" target= "_blank" title="' . __( 'Rate rtMedia on Wordpress.org', 'rtmedia' ) . '">' . __( 'Rate on Wordpress.org', 'rtmedia' ) . '<span class="dashicons dashicons-wordpress"></span></a></p>
1656
- <p><a href="' . sprintf( '%s', 'https://rtcamp.com/feed/' ) . '" class="button rss" target="_blank" title="' . __( 'Subscribe to our Feeds', 'rtmedia' ) . '">' . __( 'Subscribe to our Feeds', 'rtmedia' ) . '<span class="dashicons dashicons-rss"></span></a></p>
1657
  </div>';
1658
 
1659
- new RTMediaAdminWidget( 'spread-the-word', __( 'Spread the Word', 'rtmedia' ), $addons );
1660
 
1661
  $branding = '<form action="http://rtcamp.us1.list-manage1.com/subscribe/post?u=85b65c9c71e2ba3fab8cb1950&amp;id=9e8ded4470" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
1662
  <div class="mc-field-group">
1663
  <input type="email" value="' . $current_user->user_email . '" name="EMAIL" placeholder="Email" class="required email" id="mce-EMAIL">
1664
  <input style="display:none;" type="checkbox" checked="checked" value="1" name="group[1721][1]" id="mce-group[1721]-1721-0">
1665
- <input type="submit" value="' . __( 'Subscribe', 'rtmedia' ) . '" name="subscribe" id="mc-embedded-subscribe" class="button">
1666
  <div id="mce-responses" class="clear">
1667
  <div class="response" id="mce-error-response" style="display:none"></div>
1668
  <div class="response" id="mce-success-response" style="display:none"></div>
1669
  </div>
1670
  </div>
1671
  </form>';
1672
- new RTMediaAdminWidget( 'branding', __( 'Subscribe', 'rtmedia' ), $branding );
1673
 
1674
  $news = '<img src ="' . admin_url( '/images/wpspin_light.gif' ) . '" /> Loading...';
1675
- //new RTMediaAdminWidget ( 'latest-news', __( 'Latest News', 'rtmedia' ), $news );
1676
  do_action( 'rtmedia_after_default_admin_widgets' );
1677
  }
1678
 
@@ -1691,7 +1691,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
1691
  } else {
1692
  rtmedia_update_site_option( 'rtmedia-survey', 0 );
1693
  }
1694
- _e( 'Thank you for your time.', 'rtmedia' );
1695
  die;
1696
  }
1697
 
@@ -1703,7 +1703,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
1703
 
1704
  public function plugin_meta_premium_addon_link( $plugin_meta, $plugin_file, $plugin_data, $status ) {
1705
  if ( plugin_basename( RTMEDIA_PATH . 'index.php' ) == $plugin_file ) {
1706
- $plugin_meta[] = '<a href="https://rtcamp.com/rtmedia/addons/?utm_source=dashboard&#038;utm_medium=plugin&#038;utm_campaign=buddypress-media" title="' . __( 'Premium Add-ons', 'rtmedia' ) . '">' . __( 'Premium Add-ons', 'rtmedia' ) . '</a>';
1707
  }
1708
 
1709
  return $plugin_meta;
@@ -1719,8 +1719,8 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
1719
  if ( ! empty( $not_supported_image ) ) {
1720
  echo '<div class="error upload-filetype-network-settings-error">
1721
  <p>
1722
- ' . sprintf( __( 'You have images enabled on rtMedia but your network allowed filetypes do not permit uploading of %s. Click <a href="%s">here</a> to change your settings manually.', 'rtmedia' ), implode( ', ', $not_supported_image ), network_admin_url( 'settings.php#upload_filetypes' ) ) . '
1723
- <br /><strong>' . __( 'Recommended', 'rtmedia' ) . ':</strong> <input type="button" class="button update-network-settings-upload-filetypes" class="button" value="' . __( 'Update Network Settings Automatically', 'rtmedia' ) . '"> <img style="display:none;" src="' . admin_url( 'images/wpspin_light.gif' ) . '" />
1724
  </p>
1725
  </div>';
1726
  $flag = true;
@@ -1730,8 +1730,8 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
1730
  if ( ! in_array( 'mp4', $upload_filetypes ) ) {
1731
  echo '<div class="error upload-filetype-network-settings-error">
1732
  <p>
1733
- ' . sprintf( __( 'You have video enabled on BuddyPress Media but your network allowed filetypes do not permit uploading of mp4. Click <a href="%s">here</a> to change your settings manually.', 'rtmedia' ), network_admin_url( 'settings.php#upload_filetypes' ) ) . '
1734
- <br /><strong>' . __( 'Recommended', 'rtmedia' ) . ':</strong> <input type="button" class="button update-network-settings-upload-filetypes" class="button" value="' . __( 'Update Network Settings Automatically', 'rtmedia' ) . '"> <img style="display:none;" src="' . admin_url( 'images/wpspin_light.gif' ) . '" />
1735
  </p>
1736
  </div>';
1737
  $flag = true;
@@ -1739,8 +1739,8 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
1739
  }
1740
  if ( isset( $rtmedia->options[ 'audio_enabled' ] ) && $rtmedia->options[ 'audio_enabled' ] ) {
1741
  if ( ! in_array( 'mp3', $upload_filetypes ) ) {
1742
- echo '<div class="error upload-filetype-network-settings-error"><p>' . sprintf( __( 'You have audio enabled on BuddyPress Media but your network allowed filetypes do not permit uploading of mp3. Click <a href="%s">here</a> to change your settings manually.', 'rtmedia' ), network_admin_url( 'settings.php#upload_filetypes' ) ) . '
1743
- <br /><strong>' . __( 'Recommended', 'rtmedia' ) . ':</strong> <input type="button" class="button update-network-settings-upload-filetypes" class="button" value="' . __( 'Update Network Settings Automatically', 'rtmedia' ) . '"> <img style="display:none;" src="' . admin_url( 'images/wpspin_light.gif' ) . '" />
1744
  </p>
1745
  </div>';
1746
  $flag = true;
@@ -1754,7 +1754,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
1754
  jQuery( '.update-network-settings-upload-filetypes' ).prop( 'disabled', true );
1755
  jQuery.post( ajaxurl, { action: 'rtmedia_correct_upload_filetypes' }, function ( response ) {
1756
  if ( response ) {
1757
- jQuery( '.upload-filetype-network-settings-error:first' ).after( '<div style="display: none;" class="updated rtmedia-network-settings-updated-successfully"><p><?php _e( 'Network settings updated successfully.', 'rtmedia' ); ?></p></div>' )
1758
  jQuery( '.upload-filetype-network-settings-error' ).remove();
1759
  jQuery( '.bp-media-network-settings-updated-successfully' ).show();
1760
  }
@@ -1860,9 +1860,9 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
1860
  jQuery.post( ajaxurl, data, function ( data ) {
1861
  data = JSON.parse( data );
1862
  if ( data.status === true ) {
1863
- alert( "<?php _e( 'Video is sent to generate thumbnails.', 'rtmedia' ) ?>" );
1864
  } else {
1865
- alert( "<?php _e( 'Video cannot be sent to generate thumbnails.', 'rtmedia' ) ?>" );
1866
  }
1867
  } );
1868
  }
@@ -1876,7 +1876,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
1876
  ?>
1877
  <script type="text/javascript">
1878
  jQuery( document ).ready( function ( $ ) {
1879
- $( 'select[name^="action"] option:last-child' ).before( '<option value="bulk_video_regenerate_thumbnails"><?php esc_attr_e( 'Regenerate Video Thumbnails', 'rtmedia' ); ?></option>' );
1880
  } );
1881
  </script>
1882
  <?php
@@ -1941,7 +1941,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
1941
  if ( ! $site_option || 'hide' != $site_option ) {
1942
  rtmedia_update_site_option( 'rtmedia-update-template-notice-v3_8', 'show' );
1943
  if ( is_dir( get_template_directory() . '/rtmedia' ) ) {
1944
- echo '<div class="error rtmedia-update-template-notice"><p>' . __( 'Please update rtMedia template files if you have overridden the default rtMedia templates in your theme. If not, you can ignore and hide this notice.', 'rtmedia' ) . '<a href="#" onclick="rtmedia_hide_template_override_notice()" style="float:right">' . __( 'Hide', 'rtmedia' ) . '</a>' . ' </p></div>';
1945
  ?>
1946
  <script type="text/javascript">
1947
  function rtmedia_hide_template_override_notice() {
124
  if ( $rtm_id ) {
125
  $link = get_rtmedia_permalink( $rtm_id );
126
  $title =_draft_or_post_title( $post->post_parent );
127
+ $action[ 'view' ] = '<a href="' . $link . '" title="' . esc_attr( sprintf( __( 'View &#8220;%s&#8221;', 'buddypress-media' ), $title ) ) . '" rel="permalink">' . __( 'View', 'buddypress-media' ) . '</a>';
128
  }
129
 
130
  return $action;
366
  */
367
  public function rtmedia_permalink_notice() {
368
  echo '<div class="error rtmedia-permalink-change-notice">
369
+ <p> <b>rtMedia:</b> ' . __( ' You must', 'buddypress-media' ) . ' <a href="' . admin_url( 'options-permalink.php' ) . '">' . __( 'update permalink structure', 'buddypress-media' ) . '</a> ' . __( 'to something other than the default for it to work.', 'buddypress-media' ) . ' </p>
370
  </div>';
371
  }
372
 
392
  ?>
393
  <div class="error rtmedia-addon-upate-notice">
394
  <p>
395
+ <strong><?php _e( 'rtMedia:', 'buddypress-media' ) ?></strong> <?php _e( 'Please update all premium add-ons that you have purchased from rtCamp from', 'buddypress-media' ) ?> <a href="https://rtcamp.com/my-account/" target="_blank"><?php _e( 'your account', 'buddypress-media' ) ?></a>. <a href="#" onclick="rtmedia_hide_addon_update_notice()" style="float:right"><?php _e( 'Dismiss', 'buddypress-media' ) ?></a>
396
  </p>
397
  </div>
398
  <script type="text/javascript">
505
  ?>
506
  <div class='rtmedia-admin-ad'>
507
  <a href='http://rtcamp.com/products/rtmedia-pro/' target='_blank' title='rtMedia Pro'>
508
+ <img src='<?php echo $src; ?>' alt="<?php _e( 'rtMedia Pro is released', 'buddypress-media' ); ?>"/>
509
  </a>
510
  </div>
511
  <?php
526
  <div class="clearfix">
527
 
528
  <div class="rtm-column alignleft">
529
+ <h4 class="sub"><?php _e( 'Media Stats', 'buddypress-media' ); ?></h4>
530
 
531
  <table>
532
  <tbody>
553
  </div>
554
 
555
  <div class="rtm-column alignright">
556
+ <h4 class="sub"><?php _e( 'Usage Stats', 'buddypress-media' ); ?></h4>
557
 
558
  <table>
559
  <tbody> <?php
562
  ?>
563
  <tr>
564
  <td class="b"> <?php echo $results; ?> </td>
565
+ <td class="t"><?php _e( 'Total ', 'buddypress-media' ) ?></td>
566
  </tr>
567
  <?php
568
  $sql = "select count(distinct media_author) from {$rtMedia_model->table_name}";
570
  ?>
571
  <tr>
572
  <td class="b"> <?php echo $results; ?> </td>
573
+ <td class="t"><?php _e( 'With Media', 'buddypress-media' ) ?></td>
574
  </tr>
575
  <?php
576
  $sql = "select count(*) from $wpdb->comments where comment_post_ID in (select media_id from {$rtMedia_model->table_name})";
578
  ?>
579
  <tr>
580
  <td class="b"> <?php echo $results; ?> </td>
581
+ <td class="t"><?php _e( 'Comments ', 'buddypress-media' ) ?></td>
582
  </tr>
583
  <?php
584
  $sql = "select sum(likes) from {$rtMedia_model->table_name}";
586
  ?>
587
  <tr>
588
  <td class="b"> <?php echo $results; ?> </td>
589
+ <td class="t"><?php _e( 'Likes', 'buddypress-media' ) ?></td>
590
  </tr>
591
 
592
  </tbody>
597
 
598
  <div class="rtm-meta-container">
599
  <ul class="rtm-meta-links">
600
+ <li><b><?php _e( 'rtMedia Links:', 'buddypress-media' ); ?></b></li>
601
+ <li><a href="https://rtcamp.com/rtmedia/"><?php _e( 'Homepage', 'buddypress-media' ); ?></a></li>
602
+ <li><a href="admin.php?page=rtmedia-support#rtmedia-general"><?php _e( 'Free Support', 'buddypress-media' ); ?></a></li>
603
+ <li><a href="https://rtcamp.com/products/category/rtmedia/"><?php _e( 'Premium Addons', 'buddypress-media' ); ?></a></li>
604
  </ul>
605
  </div>
606
  <?php
616
  * @return void
617
  */
618
  public function add_dashboard_widgets() {
619
+ wp_add_dashboard_widget( 'rtmedia_dashboard_widget', __( 'Right Now in rtMedia', 'buddypress-media' ), array( &$this, 'rtmedia_dashboard_widget_function' ) );
620
  global $wp_meta_boxes;
621
 
622
  // Get the regular dashboard widgets array
670
 
671
  $mime_type_array = explode( '/', $post->post_mime_type );
672
  if ( is_array( $mime_type_array ) && '' != $mime_type_array && 'video' == $mime_type_array[ 0 ] ) {
673
+ $actions[ 'reencode' ] = '<a class="submitdelete" onclick="return rtmedia_regenerate_thumbs(' . $post->ID . ')" href="#">' . __( 'Regenerate Thumbnail', 'buddypress-media' ) . '</a>';
674
  }
675
 
676
  return $actions;
711
  'title' => 'rtMedia',
712
  'href' => admin_url( 'admin.php?page=rtmedia-settings' ),
713
  'meta' => array(
714
+ 'title' => __( 'rtMedia', 'buddypress-media' ),
715
  ),
716
  )
717
  );
718
  $admin_bar->add_menu( array(
719
  'id' => 'rt-media-dashborad',
720
  'parent' => 'rtMedia',
721
+ 'title' => __( 'Settings', 'buddypress-media' ),
722
  'href' => admin_url( 'admin.php?page=rtmedia-settings' ),
723
  'meta' => array(
724
+ 'title' => __( 'Settings', 'buddypress-media' ),
725
  'target' => '_self',
726
  ),
727
  )
729
  $admin_bar->add_menu( array(
730
  'id' => 'rt-media-addons',
731
  'parent' => 'rtMedia',
732
+ 'title' => __( 'Addons', 'buddypress-media' ),
733
  'href' => admin_url( 'admin.php?page=rtmedia-addons' ),
734
  'meta' => array(
735
+ 'title' => __( 'Addons', 'buddypress-media' ),
736
  'target' => '_self',
737
  ),
738
  )
740
  $admin_bar->add_menu( array(
741
  'id' => 'rt-media-support',
742
  'parent' => 'rtMedia',
743
+ 'title' => __( 'Support', 'buddypress-media' ),
744
  'href' => admin_url( 'admin.php?page=rtmedia-support' ),
745
  'meta' => array(
746
+ 'title' => __( 'Support', 'buddypress-media' ),
747
  'target' => '_self',
748
  ),
749
  )
751
  $admin_bar->add_menu( array(
752
  'id' => 'rt-media-themes',
753
  'parent' => 'rtMedia',
754
+ 'title' => __( 'Themes', 'buddypress-media' ),
755
  'href' => admin_url( 'admin.php?page=rtmedia-themes' ),
756
  'meta' => array(
757
+ 'title' => __( 'Themes', 'buddypress-media' ),
758
  'target' => '_self',
759
  ),
760
  )
762
  $admin_bar->add_menu( array(
763
  'id' => 'rt-media-hire-us',
764
  'parent' => 'rtMedia',
765
+ 'title' => __( 'Hire Us', 'buddypress-media' ),
766
  'href' => admin_url( 'admin.php?page=rtmedia-hire-us' ),
767
  'meta' => array(
768
+ 'title' => __( 'Hire Us', 'buddypress-media' ),
769
  'target' => '_self',
770
  ),
771
  )
774
  $admin_bar->add_menu( array(
775
  'id' => 'rt-media-license',
776
  'parent' => 'rtMedia',
777
+ 'title' => __( 'Licenses', 'buddypress-media' ),
778
  'href' => admin_url( 'admin.php?page=rtmedia-license' ),
779
  'meta' => array(
780
+ 'title' => __( 'Licenses', 'buddypress-media' ),
781
  'target' => '_self',
782
  ),
783
  )
828
  wp_enqueue_script( 'rtmedia-admin', RTMEDIA_URL . 'app/assets/admin/js/admin.min.js', array( 'backbone' ), RTMEDIA_VERSION );
829
  }
830
 
831
+ wp_localize_script( 'rtmedia-admin', 'rtmedia_on_label', __( 'ON', 'buddypress-media' ) );
832
+ wp_localize_script( 'rtmedia-admin', 'rtmedia_off_label', __( 'OFF', 'buddypress-media' ) );
833
  wp_localize_script( 'rtmedia-admin', 'rtmedia_admin_ajax', $admin_ajax );
834
  wp_localize_script( 'rtmedia-admin', 'rtmedia_admin_url', admin_url() );
835
  wp_localize_script( 'rtmedia-admin', 'rtmedia_admin_url', admin_url() );
836
 
837
  $rtmedia_admin_strings = array(
838
+ 'no_refresh' => __( 'Please do not refresh this page.', 'buddypress-media' ),
839
+ 'something_went_wrong' => __( 'Something went wrong. Please <a href onclick="location.reload();">refresh</a> page.', 'buddypress-media' ),
840
+ 'are_you_sure' => __( 'This will subscribe you to the free plan.', 'buddypress-media' ),
841
+ 'disable_encoding' => __( 'Are you sure you want to disable the encoding service?', 'buddypress-media' ),
842
+ 'enable_encoding' => __( 'Are you sure you want to enable the encoding service?', 'buddypress-media' ),
843
  );
844
 
845
  wp_localize_script( 'rtmedia-admin', 'rtmedia_admin_strings', $rtmedia_admin_strings );
859
  * Add Admin Menu.
860
  *
861
  * @access public
862
+ * @global string 'buddypress-media'
863
  *
864
  * @param void
865
  *
867
  */
868
  public function menu() {
869
  add_menu_page( 'rtMedia', 'rtMedia', 'manage_options', 'rtmedia-settings', array( $this, 'settings_page' ), RTMEDIA_URL . 'app/assets/admin/img/rtmedia-logo.png', '40.1111' );
870
+ add_submenu_page( 'rtmedia-settings', __( 'Settings', 'buddypress-media' ), __( 'Settings', 'buddypress-media' ), 'manage_options', 'rtmedia-settings', array( $this, 'settings_page' ) );
871
+ add_submenu_page( 'rtmedia-settings', __( 'Addons', 'buddypress-media' ), __( 'Addons', 'buddypress-media' ), 'manage_options', 'rtmedia-addons', array( $this, 'addons_page' ) );
872
+ add_submenu_page( 'rtmedia-settings', __( 'Support', 'buddypress-media' ), __( 'Support', 'buddypress-media' ), 'manage_options', 'rtmedia-support', array( $this, 'support_page' ) );
873
+ add_submenu_page( 'rtmedia-settings', __( 'Themes', 'buddypress-media' ), __( 'Themes', 'buddypress-media' ), 'manage_options', 'rtmedia-themes', array( $this, 'theme_page' ) );
874
+ add_submenu_page( 'rtmedia-settings', __( 'Hire Us', 'buddypress-media' ), __( 'Hire Us', 'buddypress-media' ), 'manage_options', 'rtmedia-hire-us', array( $this, 'hire_us_page' ) );
875
  if ( has_filter( 'rtmedia_license_tabs' ) || has_action( 'rtmedia_addon_license_details' ) ) {
876
+ add_submenu_page( 'rtmedia-settings', __( 'Licenses', 'buddypress-media' ), __( 'Licenses', 'buddypress-media' ), 'manage_options', 'rtmedia-license', array( $this, 'license_page' ) );
877
  }
878
 
879
  $obj_encoding = new RTMediaEncoding( true );
880
 
881
  if ( $obj_encoding->api_key ) {
882
+ add_submenu_page( 'rtmedia-settings', __( 'Regenerate Thumbnail', 'buddypress-media' ), __( 'Regen. Thumbnail ', 'buddypress-media' ), 'manage_options', 'rtmedia-regenerate', array( $this, 'rt_regenerate_thumbnail' ) );
883
  }
884
  }
885
 
897
  $done = 0;
898
  ?>
899
  <div class="wrap">
900
+ <h2> rtMedia: <?php _e( 'Regenerate Video Thumbnails', 'buddypress-media' ); ?> </h2>
901
  <?php
902
  if ( isset( $_REQUEST[ 'media_ids' ] ) && trim( $_REQUEST[ 'media_ids' ] ) != '' ) {
903
  $requested = false;
915
  if ( ! isset( $requested ) ) {
916
  ?>
917
  <br/>
918
+ <p>You can see this page because you have <a href="<?php echo admin_url( 'admin.php?page=rtmedia-addons' ) ?>">subscribed</a> for <a href="https://rtcamp.com/rtmedia/docs/admin/addons/audio-video-encoding/" target="_blank">rtMedia audio/video encoding service</a>.</p> <p>You can regenerate thumbnails of a specific video by visiting <a href="<?php echo admin_url( 'upload.php?post_mime_type=video' ); ?>">media page</a> and clicking the <b>Regenerate Thumbnail</b> option for that particular video.</p> <p>Click <b>Regenerate Pending Thumbnails</b> to regenerate thumbnails of pending videos.</p> <p><input type="button" class="button button-primary" id="rt-start-media-regenerate" value="<?php echo __( 'Regenerate Pending Thumbnails', 'buddypress-media' ) . ' (' . $total . ')'; ?>"/> </p>
919
  <?php
920
  }
921
  ?>
925
  $temp = $prog->progress( $done, $total );
926
  $prog->progress_ui( $temp, true );
927
  ?>
928
+ <p> <?php _e( 'Total Videos', 'buddypress-media' ) ?> : <span class='rt-total'><?php echo $total; ?></span>
929
  </p>
930
 
931
+ <p> <?php _e( 'Sent of regenerate thumbails', 'buddypress-media' ) ?> : <span class='rt-done'>0</span></p>
932
 
933
+ <p> <?php _e( 'Fail to regenerate thumbails', 'buddypress-media' ) ?> : <span class='rt-fail'>0</span></p>
934
 
935
  </div>
936
  <script>
969
  }
970
  } );
971
  } else {
972
+ alert( "<?php _e( 'Regenerate Video Thumbnails Done', 'buddypress-media' ); ?>" );
973
  }
974
  }
975
  function handle_regenrate_fail() {
1013
  if ( isset( $videos_without_thumbs ) && is_array( $videos_without_thumbs ) && sizeof( $videos_without_thumbs ) > 0 ) {
1014
  echo '<div class="error rtmedia-regenerate-video-thumb-error">
1015
  <p>
1016
+ ' . sprintf( __( "You have %s videos without thumbnails. Click <a href='%s'> here </a> to generate thumbnails. <a href='#' onclick='rtmedia_hide_video_thumb_notice()' style='float:right'>Hide</a>", 'buddypress-media' ), sizeof( $videos_without_thumbs ), admin_url( 'admin.php?page=rtmedia-regenerate' ) ) . '
1017
  </p>
1018
  </div>';
1019
  ?>
1091
  $response[ 'status' ] = true;
1092
  } else {
1093
  $response[ 'status' ] = false;
1094
+ $response[ 'message' ] = __( 'not a video ...', 'buddypress-media' );
1095
  }
1096
  echo json_encode( $response );
1097
  die();
1126
  * @return void
1127
  */
1128
  public function settings_page() {
1129
+ $this->render_page( 'rtmedia-settings', 'buddypress-media' );
1130
  }
1131
 
1132
  /**
1241
  * Render BPMedia Settings.
1242
  *
1243
  * @access public
1244
+ * @global string 'buddypress-media'
1245
  *
1246
  * @param type $page
1247
  * @param type $option_group
1256
  <div>
1257
  <h2 class="nav-tab-wrapper"><?php $this->rtmedia_tabs(); ?>
1258
  <span class="alignright by">
1259
+ <a class="rt-link" href="http://rtcamp.com/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media" target="_blank" title="rtCamp : <?php _e( 'Empowering The Web With WordPress', 'buddypress-media' ); ?>">
1260
  <img src="<?php echo RTMEDIA_URL; ?>app/assets/admin/img/rtcamp-logo.png" alt="rtCamp" />
1261
  </a>
1262
  </span>
1276
  <div class="bp-media-metabox-holder">
1277
  <div class="rtm-button-container top">
1278
  <?php if ( isset( $_GET[ 'settings-saved' ] ) && $_GET[ 'settings-saved' ] ) { ?>
1279
+ <div class="rtm-success rtm-fly-warning rtm-save-settings-msg"><?php _e( 'Settings saved successfully!', 'buddypress-media' ); ?></div>
1280
  <?php } ?>
1281
  <input type="hidden" name="rtmedia-options-save" value="true">
1282
+ <input type="submit" class="rtmedia-settings-submit button button-primary button-big" value="<?php _e( 'Save Settings', 'buddypress-media' ); ?>">
1283
  </div>
1284
  <?php
1285
  settings_fields( $option_group );
1302
  </div>
1303
 
1304
  <input type="hidden" name="rtmedia-options-save" value="true">
1305
+ <input type="submit" class="rtmedia-settings-submit button button-primary button-big" value="<?php _e( 'Save Settings', 'buddypress-media' ); ?>">
1306
  </div>
1307
  </div>
1308
  </form><?php
1365
  /* rtMedia */
1366
  $tabs[] = array(
1367
  'href' => get_admin_url( null, esc_url( add_query_arg( array( 'page' => 'rtmedia-settings' ), 'admin.php' ) ) ),
1368
+ 'title' => __( 'rtMedia', 'buddypress-media' ),
1369
+ 'name' => __( 'rtMedia', 'buddypress-media' ),
1370
  'class' => ( $tab == 'rtmedia-settings' || $tab == 'rtmedia-addons' || $tab == 'rtmedia-support' || $tab == 'rtmedia-importer' ) ? $active_class : $idle_class,
1371
  );
1372
 
1395
  $tabs = array(
1396
  array(
1397
  'href' => get_admin_url( null, esc_url( add_query_arg( array( 'page' => 'rtmedia-settings' ), 'admin.php' ) ) ),
1398
+ 'name' => __( 'Settings', 'buddypress-media' ),
1399
  'slug' => 'rtmedia-settings',
1400
  ), array(
1401
  'href' => get_admin_url( null, esc_url( add_query_arg( array( 'page' => 'rtmedia-addons' ), 'admin.php' ) ) ),
1402
+ 'name' => __( 'Addons', 'buddypress-media' ),
1403
  'slug' => 'rtmedia-addons',
1404
  ), array(
1405
  'href' => get_admin_url( null, esc_url( add_query_arg( array( 'page' => 'rtmedia-themes' ), 'admin.php' ) ) ),
1406
+ 'name' => __( 'Themes', 'buddypress-media' ),
1407
  'slug' => 'rtmedia-themes',
1408
  ), array(
1409
  'href' => get_admin_url( null, esc_url( add_query_arg( array( 'page' => 'rtmedia-hire-us' ), 'admin.php' ) ) ),
1410
+ 'name' => __( 'Hire Us', 'buddypress-media' ),
1411
  'slug' => 'rtmedia-hire-us',
1412
  ), array(
1413
  'href' => get_admin_url( null, esc_url( add_query_arg( array( 'page' => 'rtmedia-support' ), 'admin.php' ) ) ),
1414
+ 'name' => __( 'Support', 'buddypress-media' ),
1415
  'slug' => 'rtmedia-support',
1416
  ),
1417
  );
1419
  if ( has_filter( 'rtmedia_license_tabs' ) || has_action( 'rtmedia_addon_license_details' ) ) {
1420
  $tabs[] = array(
1421
  'href' => get_admin_url( null, esc_url( add_query_arg( array( 'page' => 'rtmedia-license' ), 'admin.php' ) ) ),
1422
+ 'name' => __( 'Licenses', 'buddypress-media' ),
1423
  'slug' => 'rtmedia-license',
1424
  );
1425
  }
1501
  $tabs[ 7 ] = array(
1502
  'href' => '#rtmedia-display',
1503
  'icon' => 'dashicons-desktop',
1504
+ 'title' => __( 'Display', 'buddypress-media' ),
1505
+ 'name' => __( 'Display', 'buddypress-media' ),
1506
  'callback' => array( 'RTMediaFormHandler', 'display_content' )
1507
  );
1508
 
1510
  $tabs[ 20 ] = array(
1511
  'href' => '#rtmedia-bp',
1512
  'icon' => 'dashicons-groups',
1513
+ 'title' => __( 'rtMedia BuddyPress', 'buddypress-media' ),
1514
+ 'name' => __( 'BuddyPress', 'buddypress-media' ),
1515
  'callback' => array( 'RTMediaFormHandler', 'buddypress_content' ) //change it to BuddyPress Content
1516
  );
1517
  }
1519
  $tabs[ 30 ] = array(
1520
  'href' => '#rtmedia-types',
1521
  'icon' => 'dashicons-editor-video',
1522
+ 'title' => __( 'rtMedia Types', 'buddypress-media' ),
1523
+ 'name' => __( 'Types', 'buddypress-media' ),
1524
  'callback' => array( 'RTMediaFormHandler', 'types_content' )
1525
  );
1526
 
1527
  $tabs[ 40 ] = array(
1528
  'href' => '#rtmedia-sizes',
1529
  'icon' => 'dashicons-editor-expand',
1530
+ 'title' => __( 'rtMedia Sizes', 'buddypress-media' ),
1531
+ 'name' => __( 'Media Sizes', 'buddypress-media' ),
1532
  'callback' => array( 'RTMediaFormHandler', 'sizes_content' )
1533
  );
1534
 
1535
  $tabs[ 50 ] = array(
1536
  'href' => '#rtmedia-privacy',
1537
  'icon' => 'dashicons-lock',
1538
+ 'title' => __( 'rtMedia Privacy', 'buddypress-media' ),
1539
+ 'name' => __( 'Privacy', 'buddypress-media' ),
1540
  'callback' => array( 'RTMediaFormHandler', 'privacy_content' )
1541
  );
1542
  $tabs[ 60 ] = array(
1543
  'href' => '#rtmedia-custom-css-settings',
1544
  'icon' => 'dashicons-clipboard',
1545
+ 'title' => __( 'rtMedia Custom CSS', 'buddypress-media' ),
1546
+ 'name' => __( 'Custom CSS', 'buddypress-media' ),
1547
  'callback' => array( 'RTMediaFormHandler', 'custom_css_content' )
1548
  );
1549
 
1552
  $tabs[] = array(
1553
  'href' => '#rtmedia-general',
1554
  'icon' => 'dashicons-admin-tools',
1555
+ 'title' => __( 'Other Settings', 'buddypress-media' ),
1556
+ 'name' => __( 'Other Settings', 'buddypress-media' ),
1557
  'callback' => array( 'RTMediaFormHandler', 'general_content' )
1558
  );
1559
 
1648
  public function admin_sidebar() {
1649
  do_action( 'rtmedia_before_default_admin_widgets' );
1650
  $current_user = wp_get_current_user();
1651
+ $message = sprintf( __( 'I use @rtMediaWP http://rt.cx/rtmedia on %s', 'buddypress-media' ), home_url() );
1652
  $addons = '<div id="social" class="rtm-social-share">
1653
+ <p><a href="http://twitter.com/home/?status=' . $message . '" class="button twitter" target= "_blank" title="' . __( 'Post to Twitter Now', 'buddypress-media' ) . '">' . __( 'Post to Twitter', 'buddypress-media' ) . '<span class="dashicons dashicons-twitter"></span></a></p>
1654
+ <p><a href="https://www.facebook.com/sharer/sharer.php?u=http://rtcamp.com/rtmedia/" class="button facebook" target="_blank" title="' . __( 'Share on Facebook Now', 'buddypress-media' ) . '">' . __( 'Share on Facebook', 'buddypress-media' ) . '<span class="dashicons dashicons-facebook"></span></a></p>
1655
+ <p><a href="http://wordpress.org/support/view/plugin-reviews/buddypress-media?rate=5#postform" class="button wordpress" target= "_blank" title="' . __( 'Rate rtMedia on Wordpress.org', 'buddypress-media' ) . '">' . __( 'Rate on Wordpress.org', 'buddypress-media' ) . '<span class="dashicons dashicons-wordpress"></span></a></p>
1656
+ <p><a href="' . sprintf( '%s', 'https://rtcamp.com/feed/' ) . '" class="button rss" target="_blank" title="' . __( 'Subscribe to our Feeds', 'buddypress-media' ) . '">' . __( 'Subscribe to our Feeds', 'buddypress-media' ) . '<span class="dashicons dashicons-rss"></span></a></p>
1657
  </div>';
1658
 
1659
+ new RTMediaAdminWidget( 'spread-the-word', __( 'Spread the Word', 'buddypress-media' ), $addons );
1660
 
1661
  $branding = '<form action="http://rtcamp.us1.list-manage1.com/subscribe/post?u=85b65c9c71e2ba3fab8cb1950&amp;id=9e8ded4470" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
1662
  <div class="mc-field-group">
1663
  <input type="email" value="' . $current_user->user_email . '" name="EMAIL" placeholder="Email" class="required email" id="mce-EMAIL">
1664
  <input style="display:none;" type="checkbox" checked="checked" value="1" name="group[1721][1]" id="mce-group[1721]-1721-0">
1665
+ <input type="submit" value="' . __( 'Subscribe', 'buddypress-media' ) . '" name="subscribe" id="mc-embedded-subscribe" class="button">
1666
  <div id="mce-responses" class="clear">
1667
  <div class="response" id="mce-error-response" style="display:none"></div>
1668
  <div class="response" id="mce-success-response" style="display:none"></div>
1669
  </div>
1670
  </div>
1671
  </form>';
1672
+ new RTMediaAdminWidget( 'branding', __( 'Subscribe', 'buddypress-media' ), $branding );
1673
 
1674
  $news = '<img src ="' . admin_url( '/images/wpspin_light.gif' ) . '" /> Loading...';
1675
+ //new RTMediaAdminWidget ( 'latest-news', __( 'Latest News', 'buddypress-media' ), $news );
1676
  do_action( 'rtmedia_after_default_admin_widgets' );
1677
  }
1678
 
1691
  } else {
1692
  rtmedia_update_site_option( 'rtmedia-survey', 0 );
1693
  }
1694
+ _e( 'Thank you for your time.', 'buddypress-media' );
1695
  die;
1696
  }
1697
 
1703
 
1704
  public function plugin_meta_premium_addon_link( $plugin_meta, $plugin_file, $plugin_data, $status ) {
1705
  if ( plugin_basename( RTMEDIA_PATH . 'index.php' ) == $plugin_file ) {
1706
+ $plugin_meta[] = '<a href="https://rtcamp.com/rtmedia/addons/?utm_source=dashboard&#038;utm_medium=plugin&#038;utm_campaign=buddypress-media" title="' . __( 'Premium Add-ons', 'buddypress-media' ) . '">' . __( 'Premium Add-ons', 'buddypress-media' ) . '</a>';
1707
  }
1708
 
1709
  return $plugin_meta;
1719
  if ( ! empty( $not_supported_image ) ) {
1720
  echo '<div class="error upload-filetype-network-settings-error">
1721
  <p>
1722
+ ' . sprintf( __( 'You have images enabled on rtMedia but your network allowed filetypes do not permit uploading of %s. Click <a href="%s">here</a> to change your settings manually.', 'buddypress-media' ), implode( ', ', $not_supported_image ), network_admin_url( 'settings.php#upload_filetypes' ) ) . '
1723
+ <br /><strong>' . __( 'Recommended', 'buddypress-media' ) . ':</strong> <input type="button" class="button update-network-settings-upload-filetypes" class="button" value="' . __( 'Update Network Settings Automatically', 'buddypress-media' ) . '"> <img style="display:none;" src="' . admin_url( 'images/wpspin_light.gif' ) . '" />
1724
  </p>
1725
  </div>';
1726
  $flag = true;
1730
  if ( ! in_array( 'mp4', $upload_filetypes ) ) {
1731
  echo '<div class="error upload-filetype-network-settings-error">
1732
  <p>
1733
+ ' . sprintf( __( 'You have video enabled on BuddyPress Media but your network allowed filetypes do not permit uploading of mp4. Click <a href="%s">here</a> to change your settings manually.', 'buddypress-media' ), network_admin_url( 'settings.php#upload_filetypes' ) ) . '
1734
+ <br /><strong>' . __( 'Recommended', 'buddypress-media' ) . ':</strong> <input type="button" class="button update-network-settings-upload-filetypes" class="button" value="' . __( 'Update Network Settings Automatically', 'buddypress-media' ) . '"> <img style="display:none;" src="' . admin_url( 'images/wpspin_light.gif' ) . '" />
1735
  </p>
1736
  </div>';
1737
  $flag = true;
1739
  }
1740
  if ( isset( $rtmedia->options[ 'audio_enabled' ] ) && $rtmedia->options[ 'audio_enabled' ] ) {
1741
  if ( ! in_array( 'mp3', $upload_filetypes ) ) {
1742
+ echo '<div class="error upload-filetype-network-settings-error"><p>' . sprintf( __( 'You have audio enabled on BuddyPress Media but your network allowed filetypes do not permit uploading of mp3. Click <a href="%s">here</a> to change your settings manually.', 'buddypress-media' ), network_admin_url( 'settings.php#upload_filetypes' ) ) . '
1743
+ <br /><strong>' . __( 'Recommended', 'buddypress-media' ) . ':</strong> <input type="button" class="button update-network-settings-upload-filetypes" class="button" value="' . __( 'Update Network Settings Automatically', 'buddypress-media' ) . '"> <img style="display:none;" src="' . admin_url( 'images/wpspin_light.gif' ) . '" />
1744
  </p>
1745
  </div>';
1746
  $flag = true;
1754
  jQuery( '.update-network-settings-upload-filetypes' ).prop( 'disabled', true );
1755
  jQuery.post( ajaxurl, { action: 'rtmedia_correct_upload_filetypes' }, function ( response ) {
1756
  if ( response ) {
1757
+ jQuery( '.upload-filetype-network-settings-error:first' ).after( '<div style="display: none;" class="updated rtmedia-network-settings-updated-successfully"><p><?php _e( 'Network settings updated successfully.', 'buddypress-media' ); ?></p></div>' )
1758
  jQuery( '.upload-filetype-network-settings-error' ).remove();
1759
  jQuery( '.bp-media-network-settings-updated-successfully' ).show();
1760
  }
1860
  jQuery.post( ajaxurl, data, function ( data ) {
1861
  data = JSON.parse( data );
1862
  if ( data.status === true ) {
1863
+ alert( "<?php _e( 'Video is sent to generate thumbnails.', 'buddypress-media' ) ?>" );
1864
  } else {
1865
+ alert( "<?php _e( 'Video cannot be sent to generate thumbnails.', 'buddypress-media' ) ?>" );
1866
  }
1867
  } );
1868
  }
1876
  ?>
1877
  <script type="text/javascript">
1878
  jQuery( document ).ready( function ( $ ) {
1879
+ $( 'select[name^="action"] option:last-child' ).before( '<option value="bulk_video_regenerate_thumbnails"><?php esc_attr_e( 'Regenerate Video Thumbnails', 'buddypress-media' ); ?></option>' );
1880
  } );
1881
  </script>
1882
  <?php
1941
  if ( ! $site_option || 'hide' != $site_option ) {
1942
  rtmedia_update_site_option( 'rtmedia-update-template-notice-v3_8', 'show' );
1943
  if ( is_dir( get_template_directory() . '/rtmedia' ) ) {
1944
+ echo '<div class="error rtmedia-update-template-notice"><p>' . __( 'Please update rtMedia template files if you have overridden the default rtMedia templates in your theme. If not, you can ignore and hide this notice.', 'buddypress-media' ) . '<a href="#" onclick="rtmedia_hide_template_override_notice()" style="float:right">' . __( 'Hide', 'buddypress-media' ) . '</a>' . ' </p></div>';
1945
  ?>
1946
  <script type="text/javascript">
1947
  function rtmedia_hide_template_override_notice() {
app/admin/RTMediaFormHandler.php CHANGED
@@ -62,7 +62,7 @@ class RTMediaFormHandler {
62
  extract( $args );
63
 
64
  if ( ! isset( $value ) ) {
65
- trigger_error( __( 'Please provide a "value" in the argument.', 'rtmedia' ) );
66
 
67
  return;
68
  }
@@ -104,7 +104,7 @@ class RTMediaFormHandler {
104
  extract( $args );
105
 
106
  if ( ! isset( $value ) ) {
107
- trigger_error( __( 'Please provide a "value" in the argument.', 'rtmedia' ) );
108
 
109
  return;
110
  }
@@ -147,7 +147,7 @@ class RTMediaFormHandler {
147
  extract( $args );
148
 
149
  if ( 2 > count( $radios ) ) {
150
- trigger_error( __( 'Need to specify atleast two radios, else use a checkbox instead', 'rtmedia' ) );
151
 
152
  return;
153
  }
@@ -199,7 +199,7 @@ class RTMediaFormHandler {
199
  extract( $args );
200
 
201
  if ( ! isset( $value ) ) {
202
- trigger_error( __( 'Please provide a "value" in the argument.', 'rtmedia' ) );
203
 
204
  return;
205
  }
@@ -234,7 +234,7 @@ class RTMediaFormHandler {
234
  extract( $args );
235
 
236
  if ( ! isset( $value ) ) {
237
- trigger_error( __( 'Please provide a "value" in the argument.', 'rtmedia' ) );
238
 
239
  return;
240
  }
@@ -282,8 +282,8 @@ class RTMediaFormHandler {
282
  */
283
  static function display_render_options( $options ){
284
  $radios = array();
285
- $radios['load_more'] = '<strong>' . __( 'Load More', 'rtmedia' ) .'</strong>';
286
- $radios['pagination'] = '<strong>' . __( 'Pagination', 'rtmedia' ) .'</strong>';
287
 
288
  if ( is_plugin_active( 'regenerate-thumbnails/regenerate-thumbnails.php' ) ) {
289
  $regenerate_link = admin_url( '/tools.php?page=regenerate-thumbnails' );
@@ -295,67 +295,67 @@ class RTMediaFormHandler {
295
 
296
  $render = array(
297
  'general_enableComments' => array(
298
- 'title' => __( 'Allow user to comment on uploaded media', 'rtmedia' ),
299
  'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
300
  'args' => array(
301
  'key' => 'general_enableComments',
302
  'value' => $options[ 'general_enableComments' ],
303
- 'desc' => __( 'This will display the comment form and comment listing on single media pages as well as inside lightbox (if lightbox is enabled).', 'rtmedia' ),
304
  ),
305
  'group' => '10',
306
  ),
307
  'general_enableLightbox' => array(
308
- 'title' => __( 'Use lightbox to display media', 'rtmedia' ),
309
  'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
310
  'args' => array(
311
  'key' => 'general_enableLightbox',
312
  'value' => $options[ 'general_enableLightbox' ],
313
- 'desc' => __( 'View single media in facebook style lightbox.', 'rtmedia' ),
314
  ),
315
  'group' => '15',
316
  ),
317
  'general_perPageMedia' => array(
318
- 'title' => __( 'Number of media per page', 'rtmedia' ),
319
  'callback' => array( 'RTMediaFormHandler', 'number' ),
320
  'args' => array(
321
  'key' => 'general_perPageMedia',
322
  'value' => $options[ 'general_perPageMedia' ],
323
  'class' => array( 'rtmedia-setting-text-box' ),
324
- 'desc' => __( 'Number of media items you want to show per page on front end.', 'rtmedia' ),
325
  'min' => 1,
326
  ),
327
  'group' => '15',
328
  ),
329
  'general_display_media' => array(
330
- 'title' => __( 'Media display pagination option', 'rtmedia' ),
331
  'callback' => array( 'RTMediaFormHandler', 'radio' ),
332
  'args' => array(
333
  'key' => 'general_display_media',
334
  'radios' => $radios,
335
  'default' => $options[ 'general_display_media' ],
336
- 'desc' => __( 'Choose whether you want the load more button or pagination buttons.', 'rtmedia' ),
337
  'class' => array( 'rtmedia-load-more-radio' ),
338
  ),
339
  'group' => '15',
340
  ), 'general_masonry_layout' => array(
341
- 'title' => __( 'Enable', 'rtmedia' ) . ' <a href="http://masonry.desandro.com/" target="_blank">Masonry</a> ' . __( 'Cascading grid layout', 'rtmedia' ),
342
  'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
343
  'args' => array(
344
  'key' => 'general_masonry_layout',
345
  'value' => $options[ 'general_masonry_layout' ],
346
- 'desc' => __( 'If you enable masonry view, it is advisable to', 'rtmedia' ) . ' <a href="' . $regenerate_link . '">regenerate thumbnail</a> ' . __( 'for masonry view.', 'rtmedia' ),
347
  'class' => array( 'rtm_enable_masonry_view' ),
348
  ),
349
  'group' => '18',
350
- 'after_content' => __( 'You might need to', 'rtmedia' ) . ' <a id="rtm-masonry-change-thumbnail-info" href="' . get_admin_url() . 'admin.php?page=rtmedia-settings#rtmedia-sizes">' . __( 'change thumbnail size', 'rtmedia' ) . '</a> ' . __( 'and uncheck the crop box for thumbnails.', 'rtmedia' ) . '<br /><br />' . __( 'To set gallery for fixed width, set image height to 0 and width as per your requirement and vice-versa.', 'rtmedia' ),
351
  ),
352
  'general_direct_upload' => array(
353
- 'title' => __( 'Enable Direct Upload', 'rtmedia' ),
354
  'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
355
  'args' => array(
356
  'key' => 'general_direct_upload',
357
  'value' => $options[ 'general_direct_upload' ],
358
- 'desc' => __( 'Uploading media directly as soon as it gets selected.', 'rtmedia' ),
359
  ),
360
  'group' => '19',
361
  ),
@@ -381,10 +381,10 @@ class RTMediaFormHandler {
381
  // $render_options = apply_filters('rtmedia_general_content_single_view_add_itmes',$render_options, $options);
382
  $render_options = apply_filters( 'rtmedia_display_content_add_itmes', $render_options, $options );
383
  $general_group = array();
384
- $general_group[10] = __( 'Single Media View', 'rtmedia' );
385
- $general_group[15] = __( 'List Media View', 'rtmedia' );
386
- $general_group[18] = __( 'Masonry View', 'rtmedia' );
387
- $general_group[19] = __( 'Direct Upload', 'rtmedia' );
388
  $general_group = apply_filters( 'rtmedia_display_content_groups', $general_group );
389
  ksort( $general_group );
390
  self::render_tab_content( $render_options, $general_group, 20 );
@@ -402,56 +402,56 @@ class RTMediaFormHandler {
402
  static function render_general_content( $options ) {
403
  $render = array(
404
  'general_AllowUserData' => array(
405
- 'title' => __( 'Allow usage data tracking', 'rtmedia' ),
406
  'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
407
  'args' => array(
408
  'key' => 'general_AllowUserData',
409
  'value' => $options[ 'general_AllowUserData' ],
410
- 'desc' => __( 'To make rtMedia better compatible with your sites, you can help the rtMedia team learn what themes and plugins you are using. No private information about your setup will be sent during tracking.', 'rtmedia' ),
411
  )
412
  ),
413
  'general_showAdminMenu' => array(
414
- 'title' => __( 'Admin bar menu integration', 'rtmedia' ),
415
  'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
416
  'args' => array(
417
  'key' => 'general_showAdminMenu',
418
  'value' => $options[ 'general_showAdminMenu' ],
419
- 'desc' => __( 'Add rtMedia menu to WordPress admin bar for easy access to settings and moderation page (if enabled).', 'rtmedia' ),
420
  ),
421
  'group' => 10,
422
  ), //
423
  'rtmedia_add_linkback' => array(
424
- 'title' => __( 'Add a link to rtMedia in footer', 'rtmedia' ),
425
  'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
426
  'args' => array(
427
  'key' => 'rtmedia_add_linkback',
428
  'value' => $options[ 'rtmedia_add_linkback' ],
429
- 'desc' => __( 'Help us promote rtMedia.', 'rtmedia' ),
430
  ),
431
  'group' => 100,
432
  ), //
433
  'rtmedia_affiliate_id' => array(
434
- 'title' => __( 'Also add my affiliate-id to rtMedia footer link', 'rtmedia' ),
435
  'callback' => array( 'RTMediaFormHandler', 'textbox' ),
436
  'args' => array(
437
  'key' => 'rtmedia_affiliate_id',
438
  'value' => $options[ 'rtmedia_affiliate_id' ],
439
- 'desc' => __( 'Add your affiliate-id along with footer link and get rewarded by our affiliation program.', 'rtmedia' ),
440
  ),
441
  'group' => 100,
442
  'depends' => 'rtmedia_add_linkback',
443
- 'after_content' => __( 'Signup for', 'rtmedia' ) . ' rtMedia ' . __( 'affiliate program', 'rtmedia' ) . ' <a href="https://rtcamp.com/affiliates">' . __( 'here', 'rtmedia' ) . '</a>',
444
  ), //
445
  'rtmedia_enable_api' => array(
446
- 'title' => __( 'Enable JSON API', 'rtmedia' ),
447
  'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
448
  'args' => array(
449
  'key' => 'rtmedia_enable_api',
450
  'value' => $options[ 'rtmedia_enable_api' ],
451
- 'desc' => __( 'This will allow handling API requests for rtMedia sent through any mobile app.', 'rtmedia' ),
452
  ),
453
  'group' => 80,
454
- 'after_content' => __( 'You can refer to the API document from', 'rtmedia' ) . ' <a href="http://docs.rtcamp.com/rtmedia/developers/json-api.html">' . __( 'here', 'rtmedia' ) . '</a>',
455
  ), //
456
  );
457
 
@@ -474,10 +474,10 @@ class RTMediaFormHandler {
474
  $render_options = self::render_general_content( $options );
475
  $render_options = apply_filters( 'rtmedia_general_content_add_itmes', $render_options, $options );
476
  $general_group = array();
477
- $general_group[10] = __( 'Admin Settings' ,'rtmedia' );
478
- $general_group[80] = __( 'API Settings', 'rtmedia' );
479
- $general_group[90] = __( 'Miscellaneous', 'rtmedia' );
480
- $general_group[100] = __( 'Footer Link', 'rtmedia' );
481
  $general_group = apply_filters( 'rtmedia_general_content_groups', $general_group );
482
  ksort( $general_group );
483
  $html = '';
@@ -557,7 +557,7 @@ class RTMediaFormHandler {
557
  <?php do_action( 'rtmedia_media_type_setting_message' ); ?>
558
 
559
  <h3 class="rtm-option-title">
560
- <?php _e( 'Media Types Settings', 'rtmedia' ); ?>
561
  </h3>
562
 
563
  <table class="form-table">
@@ -565,14 +565,14 @@ class RTMediaFormHandler {
565
  <?php do_action( 'rtmedia_type_settings_before_heading' ); ?>
566
 
567
  <tr>
568
- <th><strong><?php _e( 'Media Type', 'rtmedia' ) ?></strong></th>
569
 
570
  <th>
571
 
572
  <span class="rtm-tooltip bottom">
573
- <strong class="rtm-title"><?php _e( 'Allow Upload', 'rtmedia' ); ?></strong>
574
  <span class="rtm-tip-top">
575
- <?php _e( 'Allows you to upload a particular media type on your post.', 'rtmedia' ); ?>
576
  </span>
577
  </span>
578
  </th>
@@ -580,9 +580,9 @@ class RTMediaFormHandler {
580
  <th>
581
 
582
  <span class="rtm-tooltip bottom">
583
- <strong class="rtm-title"><?php _e( 'Set Featured', 'rtmedia' ); ?></strong>
584
  <span class="rtm-tip-top">
585
- <?php _e( 'Place a specific media as a featured content on the post.', 'rtmedia' ); ?>
586
  </span>
587
  </span>
588
  </th>
@@ -624,7 +624,7 @@ class RTMediaFormHandler {
624
  <span class="rtm-tooltip rtm-extensions">
625
  <i class="dashicons dashicons-info rtmicon"></i>
626
  <span class="rtm-tip">
627
- <strong><?php echo __( 'File Extensions', 'rtmedia' ); ?></strong><br />
628
  <hr />
629
  <?php echo $extensions; ?>
630
  </span>
@@ -682,11 +682,11 @@ class RTMediaFormHandler {
682
  $data = explode( '_', $key );
683
  if ( ! isset( $render[ $data[ 1 ] ] ) ) {
684
  $render[ $data[ 1 ] ] = array();
685
- $render[ $data[ 1 ] ][ 'title' ] = __( $data[ 1 ], 'rtmedia' );
686
  }
687
  if ( ! isset( $render[ $data[ 1 ] ][ $data[ 2 ] ] ) ) {
688
  $render[ $data[ 1 ] ][ $data[ 2 ] ] = array();
689
- $render[ $data[ 1 ] ][ $data[ 2 ] ][ 'title' ] = __( $data[ 2 ], 'rtmedia' );
690
  }
691
 
692
  $render[ $data[ 1 ] ][ $data[ 2 ] ][ $data[ 3 ] ] = $value;
@@ -712,16 +712,16 @@ class RTMediaFormHandler {
712
 
713
  <div class="rtm-option-wrapper rtm-img-size-setting">
714
  <h3 class="rtm-option-title">
715
- <?php _e( 'Media Size Settings', 'rtmedia' ); ?>
716
  </h3>
717
 
718
  <table class="form-table">
719
  <tr>
720
- <th><strong><?php _e( 'Category', 'rtmedia' ) ?></strong></th>
721
- <th><strong><?php _e( 'Entity', 'rtmedia' ); ?></strong></th>
722
- <th><strong><?php _e( 'Width', 'rtmedia' ); ?></strong></th>
723
- <th><strong><?php _e( 'Height', 'rtmedia' ); ?></strong></th>
724
- <th><strong><?php _e( 'Crop', 'rtmedia' ); ?></strong></th>
725
  </tr>
726
 
727
  <?php
@@ -774,13 +774,13 @@ class RTMediaFormHandler {
774
 
775
  if ( isset( $rtmedia_encoding_api_key ) && $rtmedia_encoding_api_key != '' && $rtmedia_encoding_api_key ) {
776
  $render_video_thumb = array(
777
- 'title' => __( 'Number of thumbnails to generate on video upload', 'rtmedia' ),
778
  'callback' => array( 'RTMediaFormHandler', 'number' ),
779
  'args' => array(
780
  'key' => 'general_videothumbs',
781
  'value' => $options[ 'general_videothumbs' ],
782
  'class' => array( 'rtmedia-setting-text-box' ),
783
- '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' ),
784
  'min' => 1,
785
  'max' => 10,
786
  )
@@ -788,20 +788,20 @@ class RTMediaFormHandler {
788
  ?>
789
 
790
  <div class="rtm-option-wrapper">
791
- <?php self::render_option_group( __( 'Encoding Settings', 'rtmedia' ) ); ?>
792
  <?php self::render_option_content( $render_video_thumb ); ?>
793
  </div>
794
  <?php
795
  }
796
 
797
  $render_jpeg_image_quality = array(
798
- 'title' => __( 'JPEG/JPG image quality (1-100)', 'rtmedia' ),
799
  'callback' => array( 'RTMediaFormHandler', 'number' ),
800
  'args' => array(
801
  'key' => 'general_jpeg_image_quality',
802
  'value' => $options[ 'general_jpeg_image_quality' ],
803
  'class' => array( 'rtmedia-setting-text-box' ),
804
- 'desc' => __( 'Enter JPEG/JPG Image Quality. Minimum value is 1. 100 is original quality.', 'rtmedia' ),
805
  'min' => 1,
806
  'max' => 100,
807
  )
@@ -809,7 +809,7 @@ class RTMediaFormHandler {
809
  ?>
810
 
811
  <div class="rtm-option-wrapper">
812
- <?php self::render_option_group( __( 'Image Quality', 'rtmedia' ) ); ?>
813
  <?php self::render_option_content( $render_jpeg_image_quality ); ?>
814
  </div>
815
 
@@ -831,7 +831,7 @@ class RTMediaFormHandler {
831
  $render_data = self::custom_css_render_options( $options );
832
 
833
  $render_groups = array();
834
- $render_groups[ 10 ] = __( 'Custom CSS settings', 'rtmedia' );
835
 
836
  self::render_tab_content( $render_data, $render_groups, 10 );
837
  }
@@ -850,24 +850,24 @@ class RTMediaFormHandler {
850
 
851
  $render = array(
852
  'disable_styles' => array(
853
- 'title' => __( 'rtMedia default styles', 'rtmedia' ),
854
  'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
855
  'args' => array(
856
  'id' => 'rtmedia-disable-styles',
857
  'key' => 'styles_enabled',
858
  'value' => $options[ 'styles_enabled' ],
859
- 'desc' => __( 'Load default rtMedia styles. You need to write your own style for rtMedia if you disable it.', 'rtmedia' ),
860
  ),
861
  'group' => 10,
862
  ),
863
  'custom_styles' => array(
864
- 'title' => __( 'Paste your CSS code', 'rtmedia' ),
865
  'callback' => array( 'RTMediaFormHandler', 'textarea' ),
866
  'args' => array(
867
  'id' => 'rtmedia-custom-css',
868
  'key' => 'styles_custom',
869
  'value' => stripcslashes( $options[ 'styles_custom' ] ),
870
- 'desc' => __( 'Custom rtMedia CSS container', 'rtmedia' ),
871
  ),
872
  'group' => 10,
873
  ),
@@ -890,39 +890,39 @@ class RTMediaFormHandler {
890
 
891
  $render = array(
892
  'enable' => array(
893
- 'title' => __( 'Enable privacy', 'rtmedia' ),
894
  'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
895
  'args' => array(
896
  'id' => 'rtmedia-privacy-enable',
897
  'key' => 'privacy_enabled',
898
  'value' => $options[ 'privacy_enabled' ],
899
- 'desc' => __( 'Enable privacy in rtMedia', 'rtmedia' ),
900
  ),
901
  'group' => 10,
902
  ),
903
  'default' => array(
904
- 'title' => __( 'Default privacy', 'rtmedia' ),
905
  'callback' => array( 'RTMediaFormHandler', 'radio' ),
906
  'args' => array(
907
  'key' => 'privacy_default',
908
  'radios' => $rtmedia->privacy_settings[ 'levels' ],
909
  'default' => $options[ 'privacy_default' ],
910
- 'desc' => __( 'Set default privacy for media', 'rtmedia' ),
911
  ),
912
  'group' => 10,
913
  'depends' => 'privacy_enabled'
914
  ),
915
  'user_override' => array(
916
- 'title' => __( 'Allow users to set privacy for their content', 'rtmedia' ),
917
  'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
918
  'args' => array(
919
  'key' => 'privacy_userOverride',
920
  'value' => $options[ 'privacy_userOverride' ],
921
- 'desc' => __( 'If you choose this, users will be able to change privacy of their own uploads.', 'rtmedia' ),
922
  ),
923
  'group' => 10,
924
  'depends' => 'privacy_enabled',
925
- 'after_content' => __( 'For group uploads, BuddyPress groups privacy is used.', 'rtmedia' ),
926
  ),
927
  );
928
 
@@ -964,56 +964,56 @@ class RTMediaFormHandler {
964
  static function buddypress_render_options( $options ) {
965
  $render = array(
966
  'rtmedia-enable-on-profile' => array(
967
- 'title' => __( 'Enable media in profile', 'rtmedia' ),
968
  'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
969
  'args' => array(
970
  'key' => 'buddypress_enableOnProfile',
971
  'value' => $options[ 'buddypress_enableOnProfile' ],
972
- 'desc' => __( 'Enable Media on BuddyPress Profile', 'rtmedia' ),
973
  ),
974
  'group' => 10,
975
  ),
976
  'rtmedia-enable-on-group' => array(
977
- 'title' => __( 'Enable media in group', 'rtmedia' ),
978
  'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
979
  'args' => array(
980
  'key' => 'buddypress_enableOnGroup',
981
  'value' => $options[ 'buddypress_enableOnGroup' ],
982
- 'desc' => __( 'Enable Media on BuddyPress Groups', 'rtmedia' ),
983
  ),
984
  'group' => 10,
985
  ),
986
  'rtmedia-enable-on-activity' => array(
987
- 'title' => __( 'Allow upload from activity stream', 'rtmedia' ),
988
  'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
989
  'args' => array(
990
  'key' => 'buddypress_enableOnActivity',
991
  'value' => $options[ 'buddypress_enableOnActivity' ],
992
- 'desc' => __( 'Allow upload using status update box present on activity stream page', 'rtmedia' ),
993
  'id' => 'rtmedia-bp-enable-activity',
994
  ),
995
  'group' => 10,
996
  ),
997
  'rtmedia-activity-feed-limit' => array(
998
- 'title' => __( 'Number of media items to show in activity stream', 'rtmedia' ),
999
  'callback' => array( 'RTMediaFormHandler', 'number' ),
1000
  'args' => array(
1001
  'key' => 'buddypress_limitOnActivity',
1002
  'value' => $options[ 'buddypress_limitOnActivity' ],
1003
- 'desc' => __( 'With bulk uploads activity, the stream may get flooded. You can control the maximum number of media items or files per activity. This limit will not affect the actual number of uploads. This is only for display. <em>0</em> means unlimited.', 'rtmedia' ),
1004
  'class' => array( 'rtmedia-setting-text-box rtmedia-bp-activity-setting' ),
1005
  'min' => 0,
1006
  ),
1007
  'group' => 10,
1008
  ),
1009
  'general_enableAlbums' => array(
1010
- 'title' => __( 'Organize media into albums', 'rtmedia' ),
1011
  'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
1012
  'args' => array(
1013
  'id' => 'rtmedia-album-enable',
1014
  'key' => 'general_enableAlbums',
1015
  'value' => $options[ 'general_enableAlbums' ],
1016
- 'desc' => __( 'This will add \'album\' tab to BuddyPress profile and group depending on the ^above^ settings.', 'rtmedia' ),
1017
  ),
1018
  'group' => 50,
1019
  ),
62
  extract( $args );
63
 
64
  if ( ! isset( $value ) ) {
65
+ trigger_error( __( 'Please provide a "value" in the argument.', 'buddypress-media' ) );
66
 
67
  return;
68
  }
104
  extract( $args );
105
 
106
  if ( ! isset( $value ) ) {
107
+ trigger_error( __( 'Please provide a "value" in the argument.', 'buddypress-media' ) );
108
 
109
  return;
110
  }
147
  extract( $args );
148
 
149
  if ( 2 > count( $radios ) ) {
150
+ trigger_error( __( 'Need to specify atleast two radios, else use a checkbox instead', 'buddypress-media' ) );
151
 
152
  return;
153
  }
199
  extract( $args );
200
 
201
  if ( ! isset( $value ) ) {
202
+ trigger_error( __( 'Please provide a "value" in the argument.', 'buddypress-media' ) );
203
 
204
  return;
205
  }
234
  extract( $args );
235
 
236
  if ( ! isset( $value ) ) {
237
+ trigger_error( __( 'Please provide a "value" in the argument.', 'buddypress-media' ) );
238
 
239
  return;
240
  }
282
  */
283
  static function display_render_options( $options ){
284
  $radios = array();
285
+ $radios['load_more'] = '<strong>' . __( 'Load More', 'buddypress-media' ) .'</strong>';
286
+ $radios['pagination'] = '<strong>' . __( 'Pagination', 'buddypress-media' ) .'</strong>';
287
 
288
  if ( is_plugin_active( 'regenerate-thumbnails/regenerate-thumbnails.php' ) ) {
289
  $regenerate_link = admin_url( '/tools.php?page=regenerate-thumbnails' );
295
 
296
  $render = array(
297
  'general_enableComments' => array(
298
+ 'title' => __( 'Allow user to comment on uploaded media', 'buddypress-media' ),
299
  'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
300
  'args' => array(
301
  'key' => 'general_enableComments',
302
  'value' => $options[ 'general_enableComments' ],
303
+ 'desc' => __( 'This will display the comment form and comment listing on single media pages as well as inside lightbox (if lightbox is enabled).', 'buddypress-media' ),
304
  ),
305
  'group' => '10',
306
  ),
307
  'general_enableLightbox' => array(
308
+ 'title' => __( 'Use lightbox to display media', 'buddypress-media' ),
309
  'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
310
  'args' => array(
311
  'key' => 'general_enableLightbox',
312
  'value' => $options[ 'general_enableLightbox' ],
313
+ 'desc' => __( 'View single media in facebook style lightbox.', 'buddypress-media' ),
314
  ),
315
  'group' => '15',
316
  ),
317
  'general_perPageMedia' => array(
318
+ 'title' => __( 'Number of media per page', 'buddypress-media' ),
319
  'callback' => array( 'RTMediaFormHandler', 'number' ),
320
  'args' => array(
321
  'key' => 'general_perPageMedia',
322
  'value' => $options[ 'general_perPageMedia' ],
323
  'class' => array( 'rtmedia-setting-text-box' ),
324
+ 'desc' => __( 'Number of media items you want to show per page on front end.', 'buddypress-media' ),
325
  'min' => 1,
326
  ),
327
  'group' => '15',
328
  ),
329
  'general_display_media' => array(
330
+ 'title' => __( 'Media display pagination option', 'buddypress-media' ),
331
  'callback' => array( 'RTMediaFormHandler', 'radio' ),
332
  'args' => array(
333
  'key' => 'general_display_media',
334
  'radios' => $radios,
335
  'default' => $options[ 'general_display_media' ],
336
+ 'desc' => __( 'Choose whether you want the load more button or pagination buttons.', 'buddypress-media' ),
337
  'class' => array( 'rtmedia-load-more-radio' ),
338
  ),
339
  'group' => '15',
340
  ), 'general_masonry_layout' => array(
341
+ 'title' => __( 'Enable', 'buddypress-media' ) . ' <a href="http://masonry.desandro.com/" target="_blank">Masonry</a> ' . __( 'Cascading grid layout', 'buddypress-media' ),
342
  'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
343
  'args' => array(
344
  'key' => 'general_masonry_layout',
345
  'value' => $options[ 'general_masonry_layout' ],
346
+ 'desc' => __( 'If you enable masonry view, it is advisable to', 'buddypress-media' ) . ' <a href="' . $regenerate_link . '">regenerate thumbnail</a> ' . __( 'for masonry view.', 'buddypress-media' ),
347
  'class' => array( 'rtm_enable_masonry_view' ),
348
  ),
349
  'group' => '18',
350
+ 'after_content' => __( 'You might need to', 'buddypress-media' ) . ' <a id="rtm-masonry-change-thumbnail-info" href="' . get_admin_url() . 'admin.php?page=rtmedia-settings#rtmedia-sizes">' . __( 'change thumbnail size', 'buddypress-media' ) . '</a> ' . __( 'and uncheck the crop box for thumbnails.', 'buddypress-media' ) . '<br /><br />' . __( 'To set gallery for fixed width, set image height to 0 and width as per your requirement and vice-versa.', 'buddypress-media' ),
351
  ),
352
  'general_direct_upload' => array(
353
+ 'title' => __( 'Enable Direct Upload', 'buddypress-media' ),
354
  'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
355
  'args' => array(
356
  'key' => 'general_direct_upload',
357
  'value' => $options[ 'general_direct_upload' ],
358
+ 'desc' => __( 'Uploading media directly as soon as it gets selected.', 'buddypress-media' ),
359
  ),
360
  'group' => '19',
361
  ),
381
  // $render_options = apply_filters('rtmedia_general_content_single_view_add_itmes',$render_options, $options);
382
  $render_options = apply_filters( 'rtmedia_display_content_add_itmes', $render_options, $options );
383
  $general_group = array();
384
+ $general_group[10] = __( 'Single Media View', 'buddypress-media' );
385
+ $general_group[15] = __( 'List Media View', 'buddypress-media' );
386
+ $general_group[18] = __( 'Masonry View', 'buddypress-media' );
387
+ $general_group[19] = __( 'Direct Upload', 'buddypress-media' );
388
  $general_group = apply_filters( 'rtmedia_display_content_groups', $general_group );
389
  ksort( $general_group );
390
  self::render_tab_content( $render_options, $general_group, 20 );
402
  static function render_general_content( $options ) {
403
  $render = array(
404
  'general_AllowUserData' => array(
405
+ 'title' => __( 'Allow usage data tracking', 'buddypress-media' ),
406
  'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
407
  'args' => array(
408
  'key' => 'general_AllowUserData',
409
  'value' => $options[ 'general_AllowUserData' ],
410
+ 'desc' => __( 'To make rtMedia better compatible with your sites, you can help the rtMedia team learn what themes and plugins you are using. No private information about your setup will be sent during tracking.', 'buddypress-media' ),
411
  )
412
  ),
413
  'general_showAdminMenu' => array(
414
+ 'title' => __( 'Admin bar menu integration', 'buddypress-media' ),
415
  'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
416
  'args' => array(
417
  'key' => 'general_showAdminMenu',
418
  'value' => $options[ 'general_showAdminMenu' ],
419
+ 'desc' => __( 'Add rtMedia menu to WordPress admin bar for easy access to settings and moderation page (if enabled).', 'buddypress-media' ),
420
  ),
421
  'group' => 10,
422
  ), //
423
  'rtmedia_add_linkback' => array(
424
+ 'title' => __( 'Add a link to rtMedia in footer', 'buddypress-media' ),
425
  'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
426
  'args' => array(
427
  'key' => 'rtmedia_add_linkback',
428
  'value' => $options[ 'rtmedia_add_linkback' ],
429
+ 'desc' => __( 'Help us promote rtMedia.', 'buddypress-media' ),
430
  ),
431
  'group' => 100,
432
  ), //
433
  'rtmedia_affiliate_id' => array(
434
+ 'title' => __( 'Also add my affiliate-id to rtMedia footer link', 'buddypress-media' ),
435
  'callback' => array( 'RTMediaFormHandler', 'textbox' ),
436
  'args' => array(
437
  'key' => 'rtmedia_affiliate_id',
438
  'value' => $options[ 'rtmedia_affiliate_id' ],
439
+ 'desc' => __( 'Add your affiliate-id along with footer link and get rewarded by our affiliation program.', 'buddypress-media' ),
440
  ),
441
  'group' => 100,
442
  'depends' => 'rtmedia_add_linkback',
443
+ 'after_content' => __( 'Signup for', 'buddypress-media' ) . ' rtMedia ' . __( 'affiliate program', 'buddypress-media' ) . ' <a href="https://rtcamp.com/affiliates">' . __( 'here', 'buddypress-media' ) . '</a>',
444
  ), //
445
  'rtmedia_enable_api' => array(
446
+ 'title' => __( 'Enable JSON API', 'buddypress-media' ),
447
  'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
448
  'args' => array(
449
  'key' => 'rtmedia_enable_api',
450
  'value' => $options[ 'rtmedia_enable_api' ],
451
+ 'desc' => __( 'This will allow handling API requests for rtMedia sent through any mobile app.', 'buddypress-media' ),
452
  ),
453
  'group' => 80,
454
+ 'after_content' => __( 'You can refer to the API document from', 'buddypress-media' ) . ' <a href="http://docs.rtcamp.com/rtmedia/developers/json-api.html">' . __( 'here', 'buddypress-media' ) . '</a>',
455
  ), //
456
  );
457
 
474
  $render_options = self::render_general_content( $options );
475
  $render_options = apply_filters( 'rtmedia_general_content_add_itmes', $render_options, $options );
476
  $general_group = array();
477
+ $general_group[10] = __( 'Admin Settings' ,'buddypress-media' );
478
+ $general_group[80] = __( 'API Settings', 'buddypress-media' );
479
+ $general_group[90] = __( 'Miscellaneous', 'buddypress-media' );
480
+ $general_group[100] = __( 'Footer Link', 'buddypress-media' );
481
  $general_group = apply_filters( 'rtmedia_general_content_groups', $general_group );
482
  ksort( $general_group );
483
  $html = '';
557
  <?php do_action( 'rtmedia_media_type_setting_message' ); ?>
558
 
559
  <h3 class="rtm-option-title">
560
+ <?php _e( 'Media Types Settings', 'buddypress-media' ); ?>
561
  </h3>
562
 
563
  <table class="form-table">
565
  <?php do_action( 'rtmedia_type_settings_before_heading' ); ?>
566
 
567
  <tr>
568
+ <th><strong><?php _e( 'Media Type', 'buddypress-media' ) ?></strong></th>
569
 
570
  <th>
571
 
572
  <span class="rtm-tooltip bottom">
573
+ <strong class="rtm-title"><?php _e( 'Allow Upload', 'buddypress-media' ); ?></strong>
574
  <span class="rtm-tip-top">
575
+ <?php _e( 'Allows you to upload a particular media type on your post.', 'buddypress-media' ); ?>
576
  </span>
577
  </span>
578
  </th>
580
  <th>
581
 
582
  <span class="rtm-tooltip bottom">
583
+ <strong class="rtm-title"><?php _e( 'Set Featured', 'buddypress-media' ); ?></strong>
584
  <span class="rtm-tip-top">
585
+ <?php _e( 'Place a specific media as a featured content on the post.', 'buddypress-media' ); ?>
586
  </span>
587
  </span>
588
  </th>
624
  <span class="rtm-tooltip rtm-extensions">
625
  <i class="dashicons dashicons-info rtmicon"></i>
626
  <span class="rtm-tip">
627
+ <strong><?php echo __( 'File Extensions', 'buddypress-media' ); ?></strong><br />
628
  <hr />
629
  <?php echo $extensions; ?>
630
  </span>
682
  $data = explode( '_', $key );
683
  if ( ! isset( $render[ $data[ 1 ] ] ) ) {
684
  $render[ $data[ 1 ] ] = array();
685
+ $render[ $data[ 1 ] ][ 'title' ] = __( $data[ 1 ], 'buddypress-media' );
686
  }
687
  if ( ! isset( $render[ $data[ 1 ] ][ $data[ 2 ] ] ) ) {
688
  $render[ $data[ 1 ] ][ $data[ 2 ] ] = array();
689
+ $render[ $data[ 1 ] ][ $data[ 2 ] ][ 'title' ] = __( $data[ 2 ], 'buddypress-media' );
690
  }
691
 
692
  $render[ $data[ 1 ] ][ $data[ 2 ] ][ $data[ 3 ] ] = $value;
712
 
713
  <div class="rtm-option-wrapper rtm-img-size-setting">
714
  <h3 class="rtm-option-title">
715
+ <?php _e( 'Media Size Settings', 'buddypress-media' ); ?>
716
  </h3>
717
 
718
  <table class="form-table">
719
  <tr>
720
+ <th><strong><?php _e( 'Category', 'buddypress-media' ) ?></strong></th>
721
+ <th><strong><?php _e( 'Entity', 'buddypress-media' ); ?></strong></th>
722
+ <th><strong><?php _e( 'Width', 'buddypress-media' ); ?></strong></th>
723
+ <th><strong><?php _e( 'Height', 'buddypress-media' ); ?></strong></th>
724
+ <th><strong><?php _e( 'Crop', 'buddypress-media' ); ?></strong></th>
725
  </tr>
726
 
727
  <?php
774
 
775
  if ( isset( $rtmedia_encoding_api_key ) && $rtmedia_encoding_api_key != '' && $rtmedia_encoding_api_key ) {
776
  $render_video_thumb = array(
777
+ 'title' => __( 'Number of thumbnails to generate on video upload', 'buddypress-media' ),
778
  'callback' => array( 'RTMediaFormHandler', 'number' ),
779
  'args' => array(
780
  'key' => 'general_videothumbs',
781
  'value' => $options[ 'general_videothumbs' ],
782
  'class' => array( 'rtmedia-setting-text-box' ),
783
+ '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.', 'buddypress-media' ),
784
  'min' => 1,
785
  'max' => 10,
786
  )
788
  ?>
789
 
790
  <div class="rtm-option-wrapper">
791
+ <?php self::render_option_group( __( 'Encoding Settings', 'buddypress-media' ) ); ?>
792
  <?php self::render_option_content( $render_video_thumb ); ?>
793
  </div>
794
  <?php
795
  }
796
 
797
  $render_jpeg_image_quality = array(
798
+ 'title' => __( 'JPEG/JPG image quality (1-100)', 'buddypress-media' ),
799
  'callback' => array( 'RTMediaFormHandler', 'number' ),
800
  'args' => array(
801
  'key' => 'general_jpeg_image_quality',
802
  'value' => $options[ 'general_jpeg_image_quality' ],
803
  'class' => array( 'rtmedia-setting-text-box' ),
804
+ 'desc' => __( 'Enter JPEG/JPG Image Quality. Minimum value is 1. 100 is original quality.', 'buddypress-media' ),
805
  'min' => 1,
806
  'max' => 100,
807
  )
809
  ?>
810
 
811
  <div class="rtm-option-wrapper">
812
+ <?php self::render_option_group( __( 'Image Quality', 'buddypress-media' ) ); ?>
813
  <?php self::render_option_content( $render_jpeg_image_quality ); ?>
814
  </div>
815
 
831
  $render_data = self::custom_css_render_options( $options );
832
 
833
  $render_groups = array();
834
+ $render_groups[ 10 ] = __( 'Custom CSS settings', 'buddypress-media' );
835
 
836
  self::render_tab_content( $render_data, $render_groups, 10 );
837
  }
850
 
851
  $render = array(
852
  'disable_styles' => array(
853
+ 'title' => __( 'rtMedia default styles', 'buddypress-media' ),
854
  'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
855
  'args' => array(
856
  'id' => 'rtmedia-disable-styles',
857
  'key' => 'styles_enabled',
858
  'value' => $options[ 'styles_enabled' ],
859
+ 'desc' => __( 'Load default rtMedia styles. You need to write your own style for rtMedia if you disable it.', 'buddypress-media' ),
860
  ),
861
  'group' => 10,
862
  ),
863
  'custom_styles' => array(
864
+ 'title' => __( 'Paste your CSS code', 'buddypress-media' ),
865
  'callback' => array( 'RTMediaFormHandler', 'textarea' ),
866
  'args' => array(
867
  'id' => 'rtmedia-custom-css',
868
  'key' => 'styles_custom',
869
  'value' => stripcslashes( $options[ 'styles_custom' ] ),
870
+ 'desc' => __( 'Custom rtMedia CSS container', 'buddypress-media' ),
871
  ),
872
  'group' => 10,
873
  ),
890
 
891
  $render = array(
892
  'enable' => array(
893
+ 'title' => __( 'Enable privacy', 'buddypress-media' ),
894
  'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
895
  'args' => array(
896
  'id' => 'rtmedia-privacy-enable',
897
  'key' => 'privacy_enabled',
898
  'value' => $options[ 'privacy_enabled' ],
899
+ 'desc' => __( 'Enable privacy in rtMedia', 'buddypress-media' ),
900
  ),
901
  'group' => 10,
902
  ),
903
  'default' => array(
904
+ 'title' => __( 'Default privacy', 'buddypress-media' ),
905
  'callback' => array( 'RTMediaFormHandler', 'radio' ),
906
  'args' => array(
907
  'key' => 'privacy_default',
908
  'radios' => $rtmedia->privacy_settings[ 'levels' ],
909
  'default' => $options[ 'privacy_default' ],
910
+ 'desc' => __( 'Set default privacy for media', 'buddypress-media' ),
911
  ),
912
  'group' => 10,
913
  'depends' => 'privacy_enabled'
914
  ),
915
  'user_override' => array(
916
+ 'title' => __( 'Allow users to set privacy for their content', 'buddypress-media' ),
917
  'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
918
  'args' => array(
919
  'key' => 'privacy_userOverride',
920
  'value' => $options[ 'privacy_userOverride' ],
921
+ 'desc' => __( 'If you choose this, users will be able to change privacy of their own uploads.', 'buddypress-media' ),
922
  ),
923
  'group' => 10,
924
  'depends' => 'privacy_enabled',
925
+ 'after_content' => __( 'For group uploads, BuddyPress groups privacy is used.', 'buddypress-media' ),
926
  ),
927
  );
928
 
964
  static function buddypress_render_options( $options ) {
965
  $render = array(
966
  'rtmedia-enable-on-profile' => array(
967
+ 'title' => __( 'Enable media in profile', 'buddypress-media' ),
968
  'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
969
  'args' => array(
970
  'key' => 'buddypress_enableOnProfile',
971
  'value' => $options[ 'buddypress_enableOnProfile' ],
972
+ 'desc' => __( 'Enable Media on BuddyPress Profile', 'buddypress-media' ),
973
  ),
974
  'group' => 10,
975
  ),
976
  'rtmedia-enable-on-group' => array(
977
+ 'title' => __( 'Enable media in group', 'buddypress-media' ),
978
  'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
979
  'args' => array(
980
  'key' => 'buddypress_enableOnGroup',
981
  'value' => $options[ 'buddypress_enableOnGroup' ],
982
+ 'desc' => __( 'Enable Media on BuddyPress Groups', 'buddypress-media' ),
983
  ),
984
  'group' => 10,
985
  ),
986
  'rtmedia-enable-on-activity' => array(
987
+ 'title' => __( 'Allow upload from activity stream', 'buddypress-media' ),
988
  'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
989
  'args' => array(
990
  'key' => 'buddypress_enableOnActivity',
991
  'value' => $options[ 'buddypress_enableOnActivity' ],
992
+ 'desc' => __( 'Allow upload using status update box present on activity stream page', 'buddypress-media' ),
993
  'id' => 'rtmedia-bp-enable-activity',
994
  ),
995
  'group' => 10,
996
  ),
997
  'rtmedia-activity-feed-limit' => array(
998
+ 'title' => __( 'Number of media items to show in activity stream', 'buddypress-media' ),
999
  'callback' => array( 'RTMediaFormHandler', 'number' ),
1000
  'args' => array(
1001
  'key' => 'buddypress_limitOnActivity',
1002
  'value' => $options[ 'buddypress_limitOnActivity' ],
1003
+ 'desc' => __( 'With bulk uploads activity, the stream may get flooded. You can control the maximum number of media items or files per activity. This limit will not affect the actual number of uploads. This is only for display. <em>0</em> means unlimited.', 'buddypress-media' ),
1004
  'class' => array( 'rtmedia-setting-text-box rtmedia-bp-activity-setting' ),
1005
  'min' => 0,
1006
  ),
1007
  'group' => 10,
1008
  ),
1009
  'general_enableAlbums' => array(
1010
+ 'title' => __( 'Organize media into albums', 'buddypress-media' ),
1011
  'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
1012
  'args' => array(
1013
  'id' => 'rtmedia-album-enable',
1014
  'key' => 'general_enableAlbums',
1015
  'value' => $options[ 'general_enableAlbums' ],
1016
+ 'desc' => __( 'This will add \'album\' tab to BuddyPress profile and group depending on the ^above^ settings.', 'buddypress-media' ),
1017
  ),
1018
  'group' => 50,
1019
  ),
app/helper/RTMediaAddon.php CHANGED
@@ -76,16 +76,16 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
76
  $tabs = array();
77
  global $rtmedia_admin;
78
  $tabs[] = array(
79
- 'title' => __( 'Plugins', 'rtmedia' ),
80
- 'name' => __( 'Plugins', 'rtmedia' ),
81
  'href' => '#rtm-plugins',
82
  'icon' => 'dashicons-admin-plugins',
83
  'callback' => array( $this, 'plugins_content' )
84
  );
85
 
86
  $tabs[] = array(
87
- 'title' => __( 'Audio/Video Encoding', 'rtmedia' ),
88
- 'name' => __( 'Audio/Video Encoding', 'rtmedia' ),
89
  'href' => '#rtm-services',
90
  'icon' => 'dashicons-playlist-video',
91
  'callback' => array( $rtmedia_admin->rtmedia_encoding, 'encoding_service_intro' )
@@ -108,20 +108,20 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
108
  $rtcamp_upload_url = 'https://rtcamp.r.worldssl.net/wp-content/uploads/';
109
  $addons = array(
110
  array(
111
- 'title' => __( 'SEO', 'rtmedia' ),
112
  'img_src' => $rtcamp_upload_url . 'edd/2015/08/seo-xml.png',
113
  'product_link' => 'https://rtcamp.com/products/rtmedia-seo/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
114
- 'desc' => '<p>' . __( 'Generate an XML sitemap for all the public media files uploaded via rtMedia plugin. These sitemaps can be useful to index search engine to improve website SEO.', 'rtmedia' ) . '</p>',
115
  'price' => '$29',
116
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
117
  'buy_now' => 'https://rtcamp.com/products/rtmedia-seo/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
118
  'category' => 'general',
119
  'purchased' => ( defined( 'RTMEDIA_SEO_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-seo/index.php' ) ) ? true : false,
120
  ),array(
121
- 'title' => __( 'Moderation', 'rtmedia' ),
122
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-moderation.jpg',
123
  'product_link' => 'https://rtcamp.com/products/rtmedia-moderation/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
124
- 'desc' => '<p>' . __( 'Report media if they find offensive. Set number of reports to automatically take down media from site.', 'rtmedia' ) . '</p>',
125
  'price' => '$49',
126
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
127
  'buy_now' => 'https://rtcamp.com/products/rtmedia-moderation/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
@@ -129,10 +129,10 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
129
  'purchased' => ( defined( 'RTMEDIA_MODERATION_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-moderation/index.php' ) ) ? true : false,
130
  ),
131
  array(
132
- 'title' => __( 'Custom Attributes', 'rtmedia' ),
133
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-custom-attributes.jpg',
134
  'product_link' => 'https://rtcamp.com/products/rtmedia-custom-attributes/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
135
- 'desc' => '<p>' . __( 'Categories media based on attributes. Site owner need to create attributes. When user upload a media, can select in which attribute that media can add.', 'rtmedia' ) . '</p>',
136
  'price' => '$29',
137
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
138
  'buy_now' => 'https://rtcamp.com/products/rtmedia-custom-attributes/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
@@ -140,10 +140,10 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
140
  'purchased' => ( defined( 'RTMEDIA_ATTRIBUTES_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-custom-attributes/index.php' ) ) ? true : false,
141
  ),
142
  array(
143
- 'title' => __( 'Docs and Other files', 'rtmedia' ),
144
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-docs-files.jpg',
145
  'product_link' => 'https://rtcamp.com/products/rtmedia-docs-files/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
146
- 'desc' => '<p>' . __( 'Allow users to upload documents and other file type using rtMedia upload box. This addon support all the file extensions which WordPress allows.', 'rtmedia' ) . '</p>',
147
  'price' => '$29',
148
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
149
  'buy_now' => 'https://rtcamp.com/products/rtmedia-docs-files/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
@@ -151,10 +151,10 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
151
  'purchased' => ( defined( 'RTMEDIA_OTHER_FILES_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-docs-files/index.php' ) ) ? true : false,
152
  ),
153
  array(
154
- 'title' => __( 'Default Albums', 'rtmedia' ),
155
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-default-albums.jpg',
156
  'product_link' => 'https://rtcamp.com/products/rtmedia-default-albums/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
157
- 'desc' => '<p>' . __( 'This plugin allows the creation of multiple default albums for rtMedia uploads. One of these albums can be set as the default global album.', 'rtmedia' ) . '</p>',
158
  'price' => '$19',
159
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
160
  'buy_now' => 'https://rtcamp.com/products/rtmedia-default-albums/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
@@ -162,10 +162,10 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
162
  'purchased' => ( defined( 'RTMEDIA_DEFAULT_ALBUMS_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-default-albums/index.php' ) ) ? true : false,
163
  ),
164
  array(
165
- 'title' => __( 'Podcast (RSS and Atom feeds)', 'rtmedia' ),
166
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-podcast-feed.jpg',
167
  'product_link' => 'https://rtcamp.com/products/rtmedia-podcast-feed/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
168
- 'desc' => '<p>' . __( 'Read rtMedia uploads from iTunes as well as any RSS feed-reader/podcasting software.', 'rtmedia' ) . '</p>',
169
  'price' => '$29',
170
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
171
  'buy_now' => 'https://rtcamp.com/products/rtmedia-podcast-feed/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
@@ -173,10 +173,10 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
173
  'purchased' => ( defined( 'RTMEDIA_RSS_ATOM_FEED_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-podcast-feed/index.php' ) ) ? true : false,
174
  ),
175
  array(
176
- 'title' => __( 'Playlists', 'rtmedia' ),
177
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-playlists.jpg',
178
  'product_link' => 'https://rtcamp.com/products/rtmedia-playlists/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
179
- 'desc' => '<p>' . __( 'Audio can be grouped into playlists. Once the user upload any audio file, can create a playlist or use existing one to manage audio files.', 'rtmedia' ) . '</p>',
180
  'price' => '$29',
181
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
182
  'buy_now' => 'https://rtcamp.com/products/rtmedia-playlists/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
@@ -184,10 +184,10 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
184
  'purchased' => ( defined( 'RTMEDIA_PLAYLIST_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-playlists/index.php' ) ) ? true : false,
185
  ),
186
  array(
187
- 'title' => __( 'Favorites', 'rtmedia' ),
188
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-favorites.jpg',
189
  'product_link' => 'https://rtcamp.com/products/rtmedia-favorites/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
190
- 'desc' => '<p>' . __( 'Users can create their list of favorite media in which they can add media previously uploaded by any user.', 'rtmedia' ) . '</p>',
191
  'price' => '$29',
192
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
193
  'buy_now' => 'https://rtcamp.com/products/rtmedia-favorites/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
@@ -195,10 +195,10 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
195
  'purchased' => ( defined( 'RTMEDIA_FAVORITES_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-favorites/index.php' ) ) ? true : false,
196
  ),
197
  array(
198
- 'title' => __( 'Restrictions', 'rtmedia' ),
199
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-restrictions.jpg',
200
  'product_link' => 'https://rtcamp.com/products/rtmedia-restrictions/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
201
- 'desc' => '<p>' . __( 'Site admin can set an upload limit on the basis of time span, file size (MB) and number of files user can upload.', 'rtmedia' ) . '</p>',
202
  'price' => '$19',
203
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
204
  'buy_now' => 'https://rtcamp.com/products/rtmedia-podcast-feed/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
@@ -206,10 +206,10 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
206
  'purchased' => ( defined( 'RTMEDIA_RSS_ATOM_FEED_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-podcast-feed/index.php' ) ) ? true : false,
207
  ),
208
  array(
209
- 'title' => __( 'bbPress Attachments', 'rtmedia' ),
210
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-bbpress-attachments.jpg',
211
  'product_link' => 'https://rtcamp.com/products/rtmedia-bbpress-attachments/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
212
- 'desc' => '<p>' . __( 'Attach media files to bbPress forum topics and replies.', 'rtmedia' ) . '</p>',
213
  'price' => '$19',
214
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
215
  'buy_now' => 'https://rtcamp.com/products/rtmedia-bbpress-attachments/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
@@ -217,10 +217,10 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
217
  'purchased' => ( defined( 'RTMEDIA_BBPRESS_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-bbpress-attachments/index.php' ) ) ? true : false,
218
  ),
219
  array(
220
- 'title' => __( 'WordPress Sitewide Gallery', 'rtmedia' ),
221
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-wordpress-sitewide-gallery.jpg',
222
  'product_link' => 'https://rtcamp.com/products/rtmedia-wordpress-sitewide-gallery/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
223
- 'desc' => '<p>' . __( 'Site admin can create and upload media into WordPress album. Create album without being dependent on BuddyPress.', 'rtmedia' ) . '</p>',
224
  'price' => '$19',
225
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
226
  'buy_now' => 'https://rtcamp.com/products/rtmedia-wordpress-sitewide-gallery/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
@@ -228,10 +228,10 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
228
  'purchased' => ( defined( 'RTMEDIA_WORDPRESS_SITEWIDE_GALLERY_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-wordpress-sitewide-gallery/index.php' ) ) ? true : false,
229
  ),
230
  array(
231
- 'title' => __( 'WordPress Comment Attachments', 'rtmedia' ),
232
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-wordpress-comment-attachments.jpg',
233
  'product_link' => 'https://rtcamp.com/products/rtmedia-wordpress-comment-attachments/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
234
- 'desc' => '<p>' . __( 'Allow users to upload a media file in WordPress comment attachment box. It will display a thumbnail of attached file.', 'rtmedia' ) . '</p>',
235
  'price' => '$19',
236
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
237
  'buy_now' => 'https://rtcamp.com/products/rtmedia-wordpress-comment-attachments/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
@@ -239,10 +239,10 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
239
  'purchased' => ( defined( 'RTMEDIA_WORDPRESS_COMMENT_ATTACHMENT_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-wordpress-comment-attachments/index.php' ) ) ? true : false,
240
  ),
241
  array(
242
- 'title' => __( 'Social Sharing', 'rtmedia' ),
243
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-social-sharing.jpg',
244
  'product_link' => 'https://rtcamp.com/products/rtmedia-social-sharing/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
245
- 'desc' => '<p>' . __( 'Share uploaded media on social network sites like Facebook, twitter, linkedin, Google +. This addon integrate with rtSocial plugin.', 'rtmedia' ) . '</p>',
246
  'price' => '$19',
247
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
248
  'buy_now' => 'https://rtcamp.com/products/rtmedia-social-sharing/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
@@ -250,10 +250,10 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
250
  'purchased' => ( defined( 'RTMEDIA_SOCIAL_SHARING_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-social-sharing/index.php' ) ) ? true : false,
251
  ),
252
  array(
253
- 'title' => __( 'Sidebar Widgets', 'rtmedia' ),
254
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-sidebar-widgets.jpg',
255
  'product_link' => 'https://rtcamp.com/products/rtmedia-sidebar-widgets/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
256
- 'desc' => '<p>' . __( 'This addon provide widgets to upload media and display gallery for rtMedia plugin.', 'rtmedia' ) . '</p>',
257
  'price' => '$19',
258
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
259
  'buy_now' => 'https://rtcamp.com/products/rtmedia-sidebar-widgets/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
@@ -261,10 +261,10 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
261
  'purchased' => ( defined( 'RTMEDIA_WIDGETS_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-sidebar-widgets/index.php' ) ) ? true : false,
262
  ),
263
  array(
264
- 'title' => __( '5 Star Ratings', 'rtmedia' ),
265
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-ratings.jpg',
266
  'product_link' => 'https://rtcamp.com/products/rtmedia-ratings/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
267
- 'desc' => '<p>' . __( 'Display 5 star rating for all the uploaded media. User can rate the media files from 1 to 5 star.', 'rtmedia' ) . '</p>',
268
  'price' => '$19',
269
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
270
  'buy_now' => 'https://rtcamp.com/products/rtmedia-ratings/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
@@ -272,10 +272,10 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
272
  'purchased' => ( defined( 'RTMEDIA_RATINGS_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-ratings/index.php' ) ) ? true : false,
273
  ),
274
  array(
275
- 'title' => __( 'Edit Mp3 Info (ID3 Tags)', 'rtmedia' ),
276
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-edit-mp3-info.jpg',
277
  'product_link' => 'https://rtcamp.com/products/rtmedia-edit-mp3-info/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
278
- 'desc' => '<p>' . __( 'Allow user to edit MP3 FIle Audio tags (ID 3 tags).', 'rtmedia' ) . '</p>',
279
  'price' => '$19',
280
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
281
  'buy_now' => 'https://rtcamp.com/products/rtmedia-edit-mp3-info/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
@@ -283,10 +283,10 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
283
  'purchased' => ( defined( 'RTMEDIA_AUDIO_TAGS_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-edit-mp3-info/index.php' ) ) ? true : false,
284
  ),
285
  array(
286
- 'title' => __( 'Media Sorting', 'rtmedia' ),
287
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-sorting.jpg',
288
  'product_link' => 'https://rtcamp.com/products/rtmedia-sorting/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
289
- 'desc' => '<p>' . __( 'Sort uploaded media based on file size, ascending/descending title, upload date of media.', 'rtmedia' ) . '</p>',
290
  'price' => '$19',
291
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
292
  'buy_now' => 'https://rtcamp.com/products/rtmedia-sorting/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
@@ -294,10 +294,10 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
294
  'purchased' => ( defined( 'RTMEDIA_SORTING_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-sorting/index.php' ) ) ? true : false,
295
  ),
296
  array(
297
- 'title' => __( 'Bulk Edit', 'rtmedia' ),
298
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-bulk-edit.jpg',
299
  'product_link' => 'https://rtcamp.com/products/rtmedia-bulk-edit/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
300
- 'desc' => '<p>' . __( 'Bulk edit option will allow user to quickly select media files and do required actions like move files from one album to another, change attributes, change privacy, delete files.', 'rtmedia' ) . '</p>',
301
  'price' => '$19',
302
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
303
  'buy_now' => 'https://rtcamp.com/products/rtmedia-bulk-edit/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
@@ -305,10 +305,10 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
305
  'purchased' => ( defined( 'RTMEDIA_BULK_EDIT_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-bulk-edit/index.php' ) ) ? true : false,
306
  ),
307
  array(
308
- 'title' => __( 'BuddyPress Profile Picture', 'rtmedia' ),
309
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-buddypress-profile-picture.jpg',
310
  'product_link' => 'https://rtcamp.com/products/rtmedia-buddypress-profile-picture/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
311
- 'desc' => '<p>' . __( 'User can easily set his/her profile picture from media uploaded via rtMedia.', 'rtmedia' ) . '</p>',
312
  'price' => '$19',
313
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
314
  'buy_now' => 'https://rtcamp.com/products/rtmedia-buddypress-profile-picture/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
@@ -316,10 +316,10 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
316
  'purchased' => ( defined( 'RTMEDIA_BUDDYPRESS_PROFILE_PICTURE_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-buddypress-profile-picture/index.php' ) ) ? true : false,
317
  ),
318
  array(
319
- 'title' => __( 'Album Cover Art', 'rtmedia' ),
320
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-album-cover-art.jpg',
321
  'product_link' => 'https://rtcamp.com/products/rtmedia-album-cover-art/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
322
- 'desc' => '<p>' . __( 'User can easily set any of the image of the album as album cover photo', 'rtmedia' ) . '</p>',
323
  'price' => '$19',
324
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
325
  'buy_now' => 'https://rtcamp.com/products/rtmedia-album-cover-art/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
@@ -327,10 +327,10 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
327
  'purchased' => ( defined( 'RTMEDIA_ALBUM_COVER_ART_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-album-cover-art/index.php' ) ) ? true : false,
328
  ),
329
  array(
330
- 'title' => __( 'Direct Download Link', 'rtmedia' ),
331
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-direct-download-link.jpg',
332
  'product_link' => 'https://rtcamp.com/products/rtmedia-direct-download-link/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
333
- 'desc' => '<p>' . __( 'User can download media from website. Site owner can restrict which media type can be allowed to download.', 'rtmedia' ) . '</p>',
334
  'price' => '$19',
335
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
336
  'buy_now' => 'https://rtcamp.com/products/rtmedia-direct-download-link/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
@@ -338,10 +338,10 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
338
  'purchased' => ( defined( 'RTMEDIA_DOWNLOADS_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-direct-download-link/index.php' ) ) ? true : false,
339
  ),
340
  array(
341
- 'title' => __( 'Upload by URL', 'rtmedia' ),
342
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-upload-by-url.jpg',
343
  'product_link' => 'https://rtcamp.com/products/rtmedia-upload-by-url/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
344
- 'desc' => '<p>' . __( 'Users do not need to download media files from a URL and then upload it with rtMedia. Just provide the absolute URL for the media and it will upload on site.', 'rtmedia' ) . '</p>',
345
  'price' => '$19',
346
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
347
  'buy_now' => 'https://rtcamp.com/products/rtmedia-upload-by-url/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
@@ -349,10 +349,10 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
349
  'purchased' => ( defined( 'RTMEDIA_DOWNLOADS_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-upload-by-url/index.php' ) ) ? true : false,
350
  ),
351
  array(
352
- 'title' => __( 'Media Likes', 'rtmedia' ),
353
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-likes.jpg',
354
  'product_link' => 'https://rtcamp.com/products/rtmedia-likes/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
355
- 'desc' => '<p>' . __( 'This add-on let you know who liked the media. User can also see which media they liked under their profile.', 'rtmedia' ) . '</p>',
356
  'price' => '$19',
357
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
358
  'buy_now' => 'https://rtcamp.com/products/rtmedia-likes/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
@@ -360,10 +360,10 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
360
  'purchased' => ( defined( 'RTMEDIA_LIKES_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-likes/index.php' ) ) ? true : false,
361
  ),
362
  array(
363
- 'title' => __( 'Activity URL Preview', 'rtmedia' ),
364
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-activity-url-preview.jpg',
365
  'product_link' => 'https://rtcamp.com/products/rtmedia-activity-url-preview/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
366
- 'desc' => '<p>' . __( 'This addon provides a preview of the URL that is shared in BuddyPress activity. Just enter the URL you want to share on your site and see a preview of it before it is shared.', 'rtmedia' ) . '</p>',
367
  'price' => '$19',
368
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
369
  'buy_now' => 'https://rtcamp.com/products/rtmedia-activity-url-preview/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
@@ -371,10 +371,10 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
371
  'purchased' => ( defined( 'RTMEDIA_ACTIVITY_URL_PREVIEW_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-activity-url-preview/index.php' ) ) ? true : false,
372
  ),
373
  array(
374
- 'title' => __( 'View Counter', 'rtmedia' ),
375
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-view-counter.jpg',
376
  'product_link' => 'https://rtcamp.com/products/rtmedia-view-counter/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
377
- 'desc' => '<p>' . __( 'Enable view count for all the uploaded media. Whenever user open that media file in lightbox or in single media view, that view count will be calculated and display next to media file.', 'rtmedia' ) . '</p>',
378
  'price' => '$19',
379
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
380
  'buy_now' => 'https://rtcamp.com/products/rtmedia-view-counter/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
@@ -382,10 +382,10 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
382
  'purchased' => ( defined( 'RTMEDIA_VIEW_COUNT_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-view-counter/index.php' ) ) ? true : false,
383
  ),
384
  array(
385
- 'title' => __( 'Shortcode Generator', 'rtmedia' ),
386
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-shortcode-generator.jpg',
387
  'product_link' => 'https://rtcamp.com/products/rtmedia-shortcode-generator/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
388
- 'desc' => '<p>' . __( 'This add-on will add shortcode generator button in WordPress post and page editor for all the rtMedia shortcodes.', 'rtmedia' ) . '</p>',
389
  'price' => '$19',
390
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
391
  'buy_now' => 'https://rtcamp.com/products/rtmedia-shortcode-generator/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
@@ -393,10 +393,10 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
393
  'purchased' => ( defined( 'RTMEDIA_SHORTCODE_GENERATOR_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-shortcode-generator/index.php' ) ) ? true : false,
394
  ),
395
  array(
396
- 'title' => __( 'Album Privacy', 'rtmedia' ),
397
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-album-privacy.jpg',
398
  'product_link' => 'https://rtcamp.com/products/rtmedia-album-privacy/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
399
- 'desc' => '<p>' . __( 'Set album privacy when user create an album or change album privacy when editing existing albums. The privacy levels are Public, Logged in user, Friends and Private.', 'rtmedia' ) . '</p>',
400
  'price' => '$29',
401
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
402
  'buy_now' => 'https://rtcamp.com/products/rtmedia-album-privacy/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
@@ -404,10 +404,10 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
404
  'purchased' => ( defined( 'RTMEDIA_ALBUM_PRIVACY_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-album-privacy/index.php' ) ) ? true : false,
405
  ),
406
  array(
407
- 'title' => __( 'BuddyPress Group Media Control', 'rtmedia' ),
408
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-buddypress-group-media-control.jpg',
409
  'product_link' => 'https://rtcamp.com/products/rtmedia-buddypress-group-media-control/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
410
- 'desc' => '<p>' . __( 'This add-on allows group owner to manage media upload feature group wise.', 'rtmedia' ) . '</p>',
411
  'price' => '$19',
412
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
413
  'buy_now' => 'https://rtcamp.com/products/rtmedia-buddypress-group-media-control/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
@@ -415,10 +415,10 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
415
  'purchased' => ( defined( 'RTMEDIA_GROUP_MEDIA_CONTROL_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-buddypress-group-media-control/index.php' ) ) ? true : false,
416
  ),
417
  array(
418
- 'title' => __( 'Set Custom Thumbnail for Audio/Video', 'rtmedia' ),
419
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-set-custom-thumbnail.jpg',
420
  'product_link' => 'https://rtcamp.com/products/rtmedia-set-custom-thumbnail/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
421
- 'desc' => '<p>' . __( 'Allow media owner to change the thumbnail of uploaded audio/video files. The File Upload box will be provided to change media thumbnail.', 'rtmedia' ) . '</p>',
422
  'price' => '$29',
423
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
424
  'buy_now' => 'https://rtcamp.com/products/rtmedia-set-custom-thumbnail/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
@@ -426,10 +426,10 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
426
  'purchased' => ( defined( 'RTMEDIA_MEDIA_CUSTOM_THUMBNAIL_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-set-custom-thumbnail/index.php' ) ) ? true : false,
427
  ),
428
  array(
429
- 'title' => __( 'myCRED', 'rtmedia' ),
430
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-mycred.jpg',
431
  'product_link' => 'https://rtcamp.com/products/rtmedia-mycred/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
432
- 'desc' => '<p>' . __( 'This plugin integrates rtMedia and myCRED plugin, users can be can award virtual points for various rtMedia activities, like media upload, likes, deleted etc.', 'rtmedia' ) . '</p>',
433
  'price' => '$19',
434
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
435
  'buy_now' => 'https://rtcamp.com/products/rtmedia-mycred/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
@@ -437,10 +437,10 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
437
  'purchased' => ( defined( 'RTMEDIA_MYCRED_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-mycred/index.php' ) ) ? true : false,
438
  ),
439
  array(
440
- 'title' => __( 'Upload terms', 'rtmedia' ),
441
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-upload-terms.jpg',
442
  'product_link' => 'https://rtcamp.com/products/rtmedia-upload-terms/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
443
- 'desc' => '<p>' . __( 'User must have to check the terms and conditions checkbox before uploading the media.', 'rtmedia' ) . '</p>',
444
  'price' => '$19',
445
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
446
  'buy_now' => 'https://rtcamp.com/products/rtmedia-upload-terms/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
@@ -448,10 +448,10 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
448
  'purchased' => ( defined( 'RTMEDIA_UPLOAD_TERMS_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-upload-terms/index.php' ) ) ? true : false,
449
  ),
450
  array(
451
- 'title' => __( 'CubePoints', 'rtmedia' ),
452
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-cubepoints.jpg',
453
  'product_link' => 'https://rtcamp.com/products/rtmedia-cubepoints/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
454
- 'desc' => '<p>' . __( 'If you are using CubePoints plugin on your website than rtMedia CubePoint add-on can be integrate with that plugin to setup point management system for rtMedia related activities.', 'rtmedia' ) . '</p>',
455
  'price' => '$19',
456
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
457
  'buy_now' => 'https://rtcamp.com/products/rtmedia-cubepoints/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
@@ -459,10 +459,10 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
459
  'purchased' => ( defined( 'RTMEDIA_CUBEPOINTS_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-cubepoints/index.php' ) ) ? true : false,
460
  ),
461
  array(
462
- 'title' => __( 'Social Sync', 'rtmedia' ),
463
  'img_src' => $rtcamp_upload_url . 'edd/2015/08/rtMedia-Social-Sync.png',
464
  'product_link' => 'https://rtcamp.com/products/rtmedia-social-sync/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
465
- 'desc' => '<p>' . __( 'rtMedia Social Sync allows you to import media from your Facebook account.', 'rtmedia' ) . '</p>',
466
  'price' => '$49',
467
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
468
  'buy_now' => 'https://rtcamp.com/products/rtmedia-social-sync/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
@@ -470,10 +470,10 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
470
  'purchased' => ( defined( 'RTMEDIA_SOCIAL_SYNC_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-social-sync/index.php' ) ) ? true : false,
471
  ),
472
  array(
473
- 'title' => __( 'Photo Watermark', 'rtmedia' ),
474
  'img_src' => $rtcamp_upload_url . 'edd/2015/08/rtMedia-Photo-Watermark.png',
475
  'product_link' => 'http://rtcamp.com/products/rtmedia-photo-watermark/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
476
- 'desc' => '<p>' . __( 'rtMedia Photo Watermark let you add watermark on your images uploaded using rtMedia.', 'rtmedia' ) . '</p>',
477
  'price' => '$49',
478
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
479
  'buy_now' => 'https://rtcamp.com/products/rtmedia-photo-watermark/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
@@ -481,10 +481,10 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
481
  'purchased' => ( defined( 'RTMEDIA_WATERMARK_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-photo-watermak/index.php' ) ) ? true : false,
482
  ),
483
  array(
484
- 'title' => __( 'Photo Tagging', 'rtmedia' ),
485
  'img_src' => $rtcamp_upload_url . 'edd/2015/08/rtMedia-Photo-Tagging.png',
486
  'product_link' => 'http://rtcamp.com/products/rtmedia-photo-tagging/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
487
- 'desc' => '<p>' . __( 'rtMedia Photo Tagging enable users to tag their friends on photos uploaded using rtMedia.', 'rtmedia' ) . '</p>',
488
  'price' => '$49',
489
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
490
  'buy_now' => 'https://rtcamp.com/products/rtmedia-photo-tagging/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
@@ -492,10 +492,10 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
492
  'purchased' => ( defined( 'RTMEDIA_PHOTO_TAGGING_URL' ) || file_exists( WP_PLUGIN_DIR . '/bpm-photo-tag/index.php' ) ) ? true : false,
493
  ),
494
  array(
495
- 'title' => __( 'Photo Filters', 'rtmedia' ),
496
  'img_src' => $rtcamp_upload_url . 'edd/2015/08/rtMedia-Photo-Filters.png',
497
  'product_link' => 'http://rtcamp.com/products/rtmedia-photo-filters/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
498
- 'desc' => '<p>' . __( 'rtMedia Photo Filters adds Instagram like filters to images uploaded with rtMedia.', 'rtmedia' ) . '</p>',
499
  'price' => '$49',
500
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
501
  'buy_now' => 'https://rtcamp.com/products/rtmedia-photo-filters/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
@@ -503,10 +503,10 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
503
  'purchased' => ( defined( 'RTMEDIA_INSTAGRAM_URL' ) || file_exists( WP_PLUGIN_DIR . '/bpm-instagram/index.php' ) || defined( 'RTMEDIA_PHOTO_FILTERS_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-photo-filters/index.php' ) ) ? true : false,
504
  ),
505
  array(
506
- 'title' => __( 'Kaltura Add-on', 'rtmedia' ),
507
  'img_src' => $rtcamp_upload_url . 'edd/2015/08/rtMedia-Kaltura-Add-on.png',
508
  'product_link' => 'http://rtcamp.com/products/rtmedia-kaltura-add-on/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
509
- 'desc' => '<p>' . __( 'Add support for more video formats using Kaltura video solution. It works with Kaltura.com, self-hosted Kaltura-CE and Kaltura-on-premise.', 'rtmedia' ) . '</p>',
510
  'price' => '$199',
511
  'demo_link' => 'http://demo.rtcamp.com/bpm-kaltura/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
512
  'buy_now' => 'https://rtcamp.com/products/rtmedia-kaltura/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
@@ -514,10 +514,10 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
514
  'purchased' => ( defined( 'RTMEDIA_KALTURA_PATH' ) || file_exists( WP_PLUGIN_DIR . '/bpm-kaltura/index.php' ) ) ? true : false,
515
  ),
516
  array(
517
- 'title' => __( 'FFMPEG Add-on', 'rtmedia' ),
518
  'img_src' => $rtcamp_upload_url . 'edd/2015/08/rtMedia-FFMPEG-Addon.png',
519
  'product_link' => 'http://rtcamp.com/products/buddypress-media-ffmpeg-converter/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
520
- 'desc' => '<p>' . __( 'Add supports for more audio & video formats using open-source media-node. Media node comes with automated setup script for Ubuntu/Debian.', 'rtmedia' ) . '</p>',
521
  'price' => '$199',
522
  'demo_link' => 'http://demo.rtcamp.com/bpm-media/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
523
  'buy_now' => 'https://rtcamp.com/products/rtmedia-ffmpeg/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
@@ -525,10 +525,10 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
525
  'purchased' => ( defined( 'RTMEDIA_FFMPEG_URL' ) || file_exists( WP_PLUGIN_DIR . '/bpm-ffmpeg/index.php' ) ) ? true : false,
526
  ),
527
  array(
528
- 'title' => __( 'Membership Add-on', 'rtmedia' ),
529
  'img_src' => $rtcamp_upload_url . 'edd/2015/08/rtMedia-Membership.png',
530
  'product_link' => 'https://rtcamp.com/products/rtmedia-membership/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
531
- 'desc' => '<p>' . __( 'rtMedia Membership add-on provides membership functionality in your site in terms of media upload.', 'rtmedia' ),
532
  'price' => '$99',
533
  'buy_now' => 'https://rtcamp.com/products/rtmedia-membership/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
534
  'category' => 'membership',
@@ -568,7 +568,7 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
568
  * @return void
569
  */
570
  public function themes_content( $args = '' ) {
571
- echo '<h3>' . __( 'Coming Soon !!', 'rtmedia' ) . '</h3>';
572
  }
573
 
574
  /**
@@ -601,9 +601,9 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
601
  $coming_soon ? ' coming-soon' : '';
602
 
603
  if ( $purchased ) {
604
- $purchase_link = '<span class="rtm-addon-purchased button-primary disabled alignright product_type_simple">' . __( 'Purchased', 'rtmedia' ) . '</span>';
605
  } else {
606
- $purchase_link = '<a class="button-primary alignright product_type_simple" href="' . $buy_now . '" target="_blank">' . __( 'Buy Now', 'rtmedia' ) . '</a>';
607
  }
608
 
609
  $coming_soon_div = ( $coming_soon ) ? $this->coming_soon_div() : '';
@@ -632,7 +632,7 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
632
  echo $purchase_link;
633
 
634
  if ( $demo_link != '' ) {
635
- echo '<a class="alignright rtm-live-demo button" href="' . $demo_link . '" title="' . $title . '" target="_blank">' . __( 'Live Demo', 'rtmedia' ) . '</a>';
636
  }
637
  ?>
638
  </div>
76
  $tabs = array();
77
  global $rtmedia_admin;
78
  $tabs[] = array(
79
+ 'title' => __( 'Plugins', 'buddypress-media' ),
80
+ 'name' => __( 'Plugins', 'buddypress-media' ),
81
  'href' => '#rtm-plugins',
82
  'icon' => 'dashicons-admin-plugins',
83
  'callback' => array( $this, 'plugins_content' )
84
  );
85
 
86
  $tabs[] = array(
87
+ 'title' => __( 'Audio/Video Encoding', 'buddypress-media' ),
88
+ 'name' => __( 'Audio/Video Encoding', 'buddypress-media' ),
89
  'href' => '#rtm-services',
90
  'icon' => 'dashicons-playlist-video',
91
  'callback' => array( $rtmedia_admin->rtmedia_encoding, 'encoding_service_intro' )
108
  $rtcamp_upload_url = 'https://rtcamp.r.worldssl.net/wp-content/uploads/';
109
  $addons = array(
110
  array(
111
+ 'title' => __( 'SEO', 'buddypress-media' ),
112
  'img_src' => $rtcamp_upload_url . 'edd/2015/08/seo-xml.png',
113
  'product_link' => 'https://rtcamp.com/products/rtmedia-seo/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
114
+ 'desc' => '<p>' . __( 'Generate an XML sitemap for all the public media files uploaded via rtMedia plugin. These sitemaps can be useful to index search engine to improve website SEO.', 'buddypress-media' ) . '</p>',
115
  'price' => '$29',
116
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
117
  'buy_now' => 'https://rtcamp.com/products/rtmedia-seo/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
118
  'category' => 'general',
119
  'purchased' => ( defined( 'RTMEDIA_SEO_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-seo/index.php' ) ) ? true : false,
120
  ),array(
121
+ 'title' => __( 'Moderation', 'buddypress-media' ),
122
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-moderation.jpg',
123
  'product_link' => 'https://rtcamp.com/products/rtmedia-moderation/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
124
+ 'desc' => '<p>' . __( 'Report media if they find offensive. Set number of reports to automatically take down media from site.', 'buddypress-media' ) . '</p>',
125
  'price' => '$49',
126
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
127
  'buy_now' => 'https://rtcamp.com/products/rtmedia-moderation/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
129
  'purchased' => ( defined( 'RTMEDIA_MODERATION_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-moderation/index.php' ) ) ? true : false,
130
  ),
131
  array(
132
+ 'title' => __( 'Custom Attributes', 'buddypress-media' ),
133
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-custom-attributes.jpg',
134
  'product_link' => 'https://rtcamp.com/products/rtmedia-custom-attributes/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
135
+ 'desc' => '<p>' . __( 'Categories media based on attributes. Site owner need to create attributes. When user upload a media, can select in which attribute that media can add.', 'buddypress-media' ) . '</p>',
136
  'price' => '$29',
137
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
138
  'buy_now' => 'https://rtcamp.com/products/rtmedia-custom-attributes/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
140
  'purchased' => ( defined( 'RTMEDIA_ATTRIBUTES_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-custom-attributes/index.php' ) ) ? true : false,
141
  ),
142
  array(
143
+ 'title' => __( 'Docs and Other files', 'buddypress-media' ),
144
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-docs-files.jpg',
145
  'product_link' => 'https://rtcamp.com/products/rtmedia-docs-files/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
146
+ 'desc' => '<p>' . __( 'Allow users to upload documents and other file type using rtMedia upload box. This addon support all the file extensions which WordPress allows.', 'buddypress-media' ) . '</p>',
147
  'price' => '$29',
148
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
149
  'buy_now' => 'https://rtcamp.com/products/rtmedia-docs-files/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
151
  'purchased' => ( defined( 'RTMEDIA_OTHER_FILES_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-docs-files/index.php' ) ) ? true : false,
152
  ),
153
  array(
154
+ 'title' => __( 'Default Albums', 'buddypress-media' ),
155
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-default-albums.jpg',
156
  'product_link' => 'https://rtcamp.com/products/rtmedia-default-albums/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
157
+ 'desc' => '<p>' . __( 'This plugin allows the creation of multiple default albums for rtMedia uploads. One of these albums can be set as the default global album.', 'buddypress-media' ) . '</p>',
158
  'price' => '$19',
159
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
160
  'buy_now' => 'https://rtcamp.com/products/rtmedia-default-albums/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
162
  'purchased' => ( defined( 'RTMEDIA_DEFAULT_ALBUMS_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-default-albums/index.php' ) ) ? true : false,
163
  ),
164
  array(
165
+ 'title' => __( 'Podcast (RSS and Atom feeds)', 'buddypress-media' ),
166
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-podcast-feed.jpg',
167
  'product_link' => 'https://rtcamp.com/products/rtmedia-podcast-feed/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
168
+ 'desc' => '<p>' . __( 'Read rtMedia uploads from iTunes as well as any RSS feed-reader/podcasting software.', 'buddypress-media' ) . '</p>',
169
  'price' => '$29',
170
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
171
  'buy_now' => 'https://rtcamp.com/products/rtmedia-podcast-feed/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
173
  'purchased' => ( defined( 'RTMEDIA_RSS_ATOM_FEED_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-podcast-feed/index.php' ) ) ? true : false,
174
  ),
175
  array(
176
+ 'title' => __( 'Playlists', 'buddypress-media' ),
177
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-playlists.jpg',
178
  'product_link' => 'https://rtcamp.com/products/rtmedia-playlists/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
179
+ 'desc' => '<p>' . __( 'Audio can be grouped into playlists. Once the user upload any audio file, can create a playlist or use existing one to manage audio files.', 'buddypress-media' ) . '</p>',
180
  'price' => '$29',
181
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
182
  'buy_now' => 'https://rtcamp.com/products/rtmedia-playlists/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
184
  'purchased' => ( defined( 'RTMEDIA_PLAYLIST_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-playlists/index.php' ) ) ? true : false,
185
  ),
186
  array(
187
+ 'title' => __( 'Favorites', 'buddypress-media' ),
188
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-favorites.jpg',
189
  'product_link' => 'https://rtcamp.com/products/rtmedia-favorites/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
190
+ 'desc' => '<p>' . __( 'Users can create their list of favorite media in which they can add media previously uploaded by any user.', 'buddypress-media' ) . '</p>',
191
  'price' => '$29',
192
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
193
  'buy_now' => 'https://rtcamp.com/products/rtmedia-favorites/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
195
  'purchased' => ( defined( 'RTMEDIA_FAVORITES_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-favorites/index.php' ) ) ? true : false,
196
  ),
197
  array(
198
+ 'title' => __( 'Restrictions', 'buddypress-media' ),
199
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-restrictions.jpg',
200
  'product_link' => 'https://rtcamp.com/products/rtmedia-restrictions/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
201
+ 'desc' => '<p>' . __( 'Site admin can set an upload limit on the basis of time span, file size (MB) and number of files user can upload.', 'buddypress-media' ) . '</p>',
202
  'price' => '$19',
203
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
204
  'buy_now' => 'https://rtcamp.com/products/rtmedia-podcast-feed/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
206
  'purchased' => ( defined( 'RTMEDIA_RSS_ATOM_FEED_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-podcast-feed/index.php' ) ) ? true : false,
207
  ),
208
  array(
209
+ 'title' => __( 'bbPress Attachments', 'buddypress-media' ),
210
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-bbpress-attachments.jpg',
211
  'product_link' => 'https://rtcamp.com/products/rtmedia-bbpress-attachments/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
212
+ 'desc' => '<p>' . __( 'Attach media files to bbPress forum topics and replies.', 'buddypress-media' ) . '</p>',
213
  'price' => '$19',
214
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
215
  'buy_now' => 'https://rtcamp.com/products/rtmedia-bbpress-attachments/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
217
  'purchased' => ( defined( 'RTMEDIA_BBPRESS_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-bbpress-attachments/index.php' ) ) ? true : false,
218
  ),
219
  array(
220
+ 'title' => __( 'WordPress Sitewide Gallery', 'buddypress-media' ),
221
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-wordpress-sitewide-gallery.jpg',
222
  'product_link' => 'https://rtcamp.com/products/rtmedia-wordpress-sitewide-gallery/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
223
+ 'desc' => '<p>' . __( 'Site admin can create and upload media into WordPress album. Create album without being dependent on BuddyPress.', 'buddypress-media' ) . '</p>',
224
  'price' => '$19',
225
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
226
  'buy_now' => 'https://rtcamp.com/products/rtmedia-wordpress-sitewide-gallery/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
228
  'purchased' => ( defined( 'RTMEDIA_WORDPRESS_SITEWIDE_GALLERY_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-wordpress-sitewide-gallery/index.php' ) ) ? true : false,
229
  ),
230
  array(
231
+ 'title' => __( 'WordPress Comment Attachments', 'buddypress-media' ),
232
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-wordpress-comment-attachments.jpg',
233
  'product_link' => 'https://rtcamp.com/products/rtmedia-wordpress-comment-attachments/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
234
+ 'desc' => '<p>' . __( 'Allow users to upload a media file in WordPress comment attachment box. It will display a thumbnail of attached file.', 'buddypress-media' ) . '</p>',
235
  'price' => '$19',
236
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
237
  'buy_now' => 'https://rtcamp.com/products/rtmedia-wordpress-comment-attachments/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
239
  'purchased' => ( defined( 'RTMEDIA_WORDPRESS_COMMENT_ATTACHMENT_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-wordpress-comment-attachments/index.php' ) ) ? true : false,
240
  ),
241
  array(
242
+ 'title' => __( 'Social Sharing', 'buddypress-media' ),
243
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-social-sharing.jpg',
244
  'product_link' => 'https://rtcamp.com/products/rtmedia-social-sharing/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
245
+ 'desc' => '<p>' . __( 'Share uploaded media on social network sites like Facebook, twitter, linkedin, Google +. This addon integrate with rtSocial plugin.', 'buddypress-media' ) . '</p>',
246
  'price' => '$19',
247
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
248
  'buy_now' => 'https://rtcamp.com/products/rtmedia-social-sharing/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
250
  'purchased' => ( defined( 'RTMEDIA_SOCIAL_SHARING_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-social-sharing/index.php' ) ) ? true : false,
251
  ),
252
  array(
253
+ 'title' => __( 'Sidebar Widgets', 'buddypress-media' ),
254
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-sidebar-widgets.jpg',
255
  'product_link' => 'https://rtcamp.com/products/rtmedia-sidebar-widgets/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
256
+ 'desc' => '<p>' . __( 'This addon provide widgets to upload media and display gallery for rtMedia plugin.', 'buddypress-media' ) . '</p>',
257
  'price' => '$19',
258
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
259
  'buy_now' => 'https://rtcamp.com/products/rtmedia-sidebar-widgets/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
261
  'purchased' => ( defined( 'RTMEDIA_WIDGETS_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-sidebar-widgets/index.php' ) ) ? true : false,
262
  ),
263
  array(
264
+ 'title' => __( '5 Star Ratings', 'buddypress-media' ),
265
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-ratings.jpg',
266
  'product_link' => 'https://rtcamp.com/products/rtmedia-ratings/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
267
+ 'desc' => '<p>' . __( 'Display 5 star rating for all the uploaded media. User can rate the media files from 1 to 5 star.', 'buddypress-media' ) . '</p>',
268
  'price' => '$19',
269
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
270
  'buy_now' => 'https://rtcamp.com/products/rtmedia-ratings/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
272
  'purchased' => ( defined( 'RTMEDIA_RATINGS_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-ratings/index.php' ) ) ? true : false,
273
  ),
274
  array(
275
+ 'title' => __( 'Edit Mp3 Info (ID3 Tags)', 'buddypress-media' ),
276
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-edit-mp3-info.jpg',
277
  'product_link' => 'https://rtcamp.com/products/rtmedia-edit-mp3-info/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
278
+ 'desc' => '<p>' . __( 'Allow user to edit MP3 FIle Audio tags (ID 3 tags).', 'buddypress-media' ) . '</p>',
279
  'price' => '$19',
280
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
281
  'buy_now' => 'https://rtcamp.com/products/rtmedia-edit-mp3-info/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
283
  'purchased' => ( defined( 'RTMEDIA_AUDIO_TAGS_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-edit-mp3-info/index.php' ) ) ? true : false,
284
  ),
285
  array(
286
+ 'title' => __( 'Media Sorting', 'buddypress-media' ),
287
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-sorting.jpg',
288
  'product_link' => 'https://rtcamp.com/products/rtmedia-sorting/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
289
+ 'desc' => '<p>' . __( 'Sort uploaded media based on file size, ascending/descending title, upload date of media.', 'buddypress-media' ) . '</p>',
290
  'price' => '$19',
291
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
292
  'buy_now' => 'https://rtcamp.com/products/rtmedia-sorting/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
294
  'purchased' => ( defined( 'RTMEDIA_SORTING_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-sorting/index.php' ) ) ? true : false,
295
  ),
296
  array(
297
+ 'title' => __( 'Bulk Edit', 'buddypress-media' ),
298
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-bulk-edit.jpg',
299
  'product_link' => 'https://rtcamp.com/products/rtmedia-bulk-edit/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
300
+ 'desc' => '<p>' . __( 'Bulk edit option will allow user to quickly select media files and do required actions like move files from one album to another, change attributes, change privacy, delete files.', 'buddypress-media' ) . '</p>',
301
  'price' => '$19',
302
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
303
  'buy_now' => 'https://rtcamp.com/products/rtmedia-bulk-edit/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
305
  'purchased' => ( defined( 'RTMEDIA_BULK_EDIT_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-bulk-edit/index.php' ) ) ? true : false,
306
  ),
307
  array(
308
+ 'title' => __( 'BuddyPress Profile Picture', 'buddypress-media' ),
309
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-buddypress-profile-picture.jpg',
310
  'product_link' => 'https://rtcamp.com/products/rtmedia-buddypress-profile-picture/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
311
+ 'desc' => '<p>' . __( 'User can easily set his/her profile picture from media uploaded via rtMedia.', 'buddypress-media' ) . '</p>',
312
  'price' => '$19',
313
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
314
  'buy_now' => 'https://rtcamp.com/products/rtmedia-buddypress-profile-picture/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
316
  'purchased' => ( defined( 'RTMEDIA_BUDDYPRESS_PROFILE_PICTURE_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-buddypress-profile-picture/index.php' ) ) ? true : false,
317
  ),
318
  array(
319
+ 'title' => __( 'Album Cover Art', 'buddypress-media' ),
320
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-album-cover-art.jpg',
321
  'product_link' => 'https://rtcamp.com/products/rtmedia-album-cover-art/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
322
+ 'desc' => '<p>' . __( 'User can easily set any of the image of the album as album cover photo', 'buddypress-media' ) . '</p>',
323
  'price' => '$19',
324
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
325
  'buy_now' => 'https://rtcamp.com/products/rtmedia-album-cover-art/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
327
  'purchased' => ( defined( 'RTMEDIA_ALBUM_COVER_ART_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-album-cover-art/index.php' ) ) ? true : false,
328
  ),
329
  array(
330
+ 'title' => __( 'Direct Download Link', 'buddypress-media' ),
331
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-direct-download-link.jpg',
332
  'product_link' => 'https://rtcamp.com/products/rtmedia-direct-download-link/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
333
+ 'desc' => '<p>' . __( 'User can download media from website. Site owner can restrict which media type can be allowed to download.', 'buddypress-media' ) . '</p>',
334
  'price' => '$19',
335
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
336
  'buy_now' => 'https://rtcamp.com/products/rtmedia-direct-download-link/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
338
  'purchased' => ( defined( 'RTMEDIA_DOWNLOADS_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-direct-download-link/index.php' ) ) ? true : false,
339
  ),
340
  array(
341
+ 'title' => __( 'Upload by URL', 'buddypress-media' ),
342
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-upload-by-url.jpg',
343
  'product_link' => 'https://rtcamp.com/products/rtmedia-upload-by-url/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
344
+ 'desc' => '<p>' . __( 'Users do not need to download media files from a URL and then upload it with rtMedia. Just provide the absolute URL for the media and it will upload on site.', 'buddypress-media' ) . '</p>',
345
  'price' => '$19',
346
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
347
  'buy_now' => 'https://rtcamp.com/products/rtmedia-upload-by-url/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
349
  'purchased' => ( defined( 'RTMEDIA_DOWNLOADS_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-upload-by-url/index.php' ) ) ? true : false,
350
  ),
351
  array(
352
+ 'title' => __( 'Media Likes', 'buddypress-media' ),
353
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-likes.jpg',
354
  'product_link' => 'https://rtcamp.com/products/rtmedia-likes/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
355
+ 'desc' => '<p>' . __( 'This add-on let you know who liked the media. User can also see which media they liked under their profile.', 'buddypress-media' ) . '</p>',
356
  'price' => '$19',
357
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
358
  'buy_now' => 'https://rtcamp.com/products/rtmedia-likes/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
360
  'purchased' => ( defined( 'RTMEDIA_LIKES_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-likes/index.php' ) ) ? true : false,
361
  ),
362
  array(
363
+ 'title' => __( 'Activity URL Preview', 'buddypress-media' ),
364
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-activity-url-preview.jpg',
365
  'product_link' => 'https://rtcamp.com/products/rtmedia-activity-url-preview/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
366
+ 'desc' => '<p>' . __( 'This addon provides a preview of the URL that is shared in BuddyPress activity. Just enter the URL you want to share on your site and see a preview of it before it is shared.', 'buddypress-media' ) . '</p>',
367
  'price' => '$19',
368
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
369
  'buy_now' => 'https://rtcamp.com/products/rtmedia-activity-url-preview/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
371
  'purchased' => ( defined( 'RTMEDIA_ACTIVITY_URL_PREVIEW_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-activity-url-preview/index.php' ) ) ? true : false,
372
  ),
373
  array(
374
+ 'title' => __( 'View Counter', 'buddypress-media' ),
375
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-view-counter.jpg',
376
  'product_link' => 'https://rtcamp.com/products/rtmedia-view-counter/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
377
+ 'desc' => '<p>' . __( 'Enable view count for all the uploaded media. Whenever user open that media file in lightbox or in single media view, that view count will be calculated and display next to media file.', 'buddypress-media' ) . '</p>',
378
  'price' => '$19',
379
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
380
  'buy_now' => 'https://rtcamp.com/products/rtmedia-view-counter/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
382
  'purchased' => ( defined( 'RTMEDIA_VIEW_COUNT_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-view-counter/index.php' ) ) ? true : false,
383
  ),
384
  array(
385
+ 'title' => __( 'Shortcode Generator', 'buddypress-media' ),
386
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-shortcode-generator.jpg',
387
  'product_link' => 'https://rtcamp.com/products/rtmedia-shortcode-generator/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
388
+ 'desc' => '<p>' . __( 'This add-on will add shortcode generator button in WordPress post and page editor for all the rtMedia shortcodes.', 'buddypress-media' ) . '</p>',
389
  'price' => '$19',
390
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
391
  'buy_now' => 'https://rtcamp.com/products/rtmedia-shortcode-generator/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
393
  'purchased' => ( defined( 'RTMEDIA_SHORTCODE_GENERATOR_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-shortcode-generator/index.php' ) ) ? true : false,
394
  ),
395
  array(
396
+ 'title' => __( 'Album Privacy', 'buddypress-media' ),
397
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-album-privacy.jpg',
398
  'product_link' => 'https://rtcamp.com/products/rtmedia-album-privacy/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
399
+ 'desc' => '<p>' . __( 'Set album privacy when user create an album or change album privacy when editing existing albums. The privacy levels are Public, Logged in user, Friends and Private.', 'buddypress-media' ) . '</p>',
400
  'price' => '$29',
401
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
402
  'buy_now' => 'https://rtcamp.com/products/rtmedia-album-privacy/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
404
  'purchased' => ( defined( 'RTMEDIA_ALBUM_PRIVACY_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-album-privacy/index.php' ) ) ? true : false,
405
  ),
406
  array(
407
+ 'title' => __( 'BuddyPress Group Media Control', 'buddypress-media' ),
408
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-buddypress-group-media-control.jpg',
409
  'product_link' => 'https://rtcamp.com/products/rtmedia-buddypress-group-media-control/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
410
+ 'desc' => '<p>' . __( 'This add-on allows group owner to manage media upload feature group wise.', 'buddypress-media' ) . '</p>',
411
  'price' => '$19',
412
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
413
  'buy_now' => 'https://rtcamp.com/products/rtmedia-buddypress-group-media-control/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
415
  'purchased' => ( defined( 'RTMEDIA_GROUP_MEDIA_CONTROL_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-buddypress-group-media-control/index.php' ) ) ? true : false,
416
  ),
417
  array(
418
+ 'title' => __( 'Set Custom Thumbnail for Audio/Video', 'buddypress-media' ),
419
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-set-custom-thumbnail.jpg',
420
  'product_link' => 'https://rtcamp.com/products/rtmedia-set-custom-thumbnail/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
421
+ 'desc' => '<p>' . __( 'Allow media owner to change the thumbnail of uploaded audio/video files. The File Upload box will be provided to change media thumbnail.', 'buddypress-media' ) . '</p>',
422
  'price' => '$29',
423
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
424
  'buy_now' => 'https://rtcamp.com/products/rtmedia-set-custom-thumbnail/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
426
  'purchased' => ( defined( 'RTMEDIA_MEDIA_CUSTOM_THUMBNAIL_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-set-custom-thumbnail/index.php' ) ) ? true : false,
427
  ),
428
  array(
429
+ 'title' => __( 'myCRED', 'buddypress-media' ),
430
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-mycred.jpg',
431
  'product_link' => 'https://rtcamp.com/products/rtmedia-mycred/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
432
+ 'desc' => '<p>' . __( 'This plugin integrates rtMedia and myCRED plugin, users can be can award virtual points for various rtMedia activities, like media upload, likes, deleted etc.', 'buddypress-media' ) . '</p>',
433
  'price' => '$19',
434
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
435
  'buy_now' => 'https://rtcamp.com/products/rtmedia-mycred/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
437
  'purchased' => ( defined( 'RTMEDIA_MYCRED_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-mycred/index.php' ) ) ? true : false,
438
  ),
439
  array(
440
+ 'title' => __( 'Upload terms', 'buddypress-media' ),
441
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-upload-terms.jpg',
442
  'product_link' => 'https://rtcamp.com/products/rtmedia-upload-terms/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
443
+ 'desc' => '<p>' . __( 'User must have to check the terms and conditions checkbox before uploading the media.', 'buddypress-media' ) . '</p>',
444
  'price' => '$19',
445
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
446
  'buy_now' => 'https://rtcamp.com/products/rtmedia-upload-terms/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
448
  'purchased' => ( defined( 'RTMEDIA_UPLOAD_TERMS_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-upload-terms/index.php' ) ) ? true : false,
449
  ),
450
  array(
451
+ 'title' => __( 'CubePoints', 'buddypress-media' ),
452
  'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-cubepoints.jpg',
453
  'product_link' => 'https://rtcamp.com/products/rtmedia-cubepoints/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
454
+ 'desc' => '<p>' . __( 'If you are using CubePoints plugin on your website than rtMedia CubePoint add-on can be integrate with that plugin to setup point management system for rtMedia related activities.', 'buddypress-media' ) . '</p>',
455
  'price' => '$19',
456
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
457
  'buy_now' => 'https://rtcamp.com/products/rtmedia-cubepoints/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
459
  'purchased' => ( defined( 'RTMEDIA_CUBEPOINTS_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-cubepoints/index.php' ) ) ? true : false,
460
  ),
461
  array(
462
+ 'title' => __( 'Social Sync', 'buddypress-media' ),
463
  'img_src' => $rtcamp_upload_url . 'edd/2015/08/rtMedia-Social-Sync.png',
464
  'product_link' => 'https://rtcamp.com/products/rtmedia-social-sync/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
465
+ 'desc' => '<p>' . __( 'rtMedia Social Sync allows you to import media from your Facebook account.', 'buddypress-media' ) . '</p>',
466
  'price' => '$49',
467
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
468
  'buy_now' => 'https://rtcamp.com/products/rtmedia-social-sync/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
470
  'purchased' => ( defined( 'RTMEDIA_SOCIAL_SYNC_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-social-sync/index.php' ) ) ? true : false,
471
  ),
472
  array(
473
+ 'title' => __( 'Photo Watermark', 'buddypress-media' ),
474
  'img_src' => $rtcamp_upload_url . 'edd/2015/08/rtMedia-Photo-Watermark.png',
475
  'product_link' => 'http://rtcamp.com/products/rtmedia-photo-watermark/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
476
+ 'desc' => '<p>' . __( 'rtMedia Photo Watermark let you add watermark on your images uploaded using rtMedia.', 'buddypress-media' ) . '</p>',
477
  'price' => '$49',
478
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
479
  'buy_now' => 'https://rtcamp.com/products/rtmedia-photo-watermark/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
481
  'purchased' => ( defined( 'RTMEDIA_WATERMARK_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-photo-watermak/index.php' ) ) ? true : false,
482
  ),
483
  array(
484
+ 'title' => __( 'Photo Tagging', 'buddypress-media' ),
485
  'img_src' => $rtcamp_upload_url . 'edd/2015/08/rtMedia-Photo-Tagging.png',
486
  'product_link' => 'http://rtcamp.com/products/rtmedia-photo-tagging/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
487
+ 'desc' => '<p>' . __( 'rtMedia Photo Tagging enable users to tag their friends on photos uploaded using rtMedia.', 'buddypress-media' ) . '</p>',
488
  'price' => '$49',
489
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
490
  'buy_now' => 'https://rtcamp.com/products/rtmedia-photo-tagging/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
492
  'purchased' => ( defined( 'RTMEDIA_PHOTO_TAGGING_URL' ) || file_exists( WP_PLUGIN_DIR . '/bpm-photo-tag/index.php' ) ) ? true : false,
493
  ),
494
  array(
495
+ 'title' => __( 'Photo Filters', 'buddypress-media' ),
496
  'img_src' => $rtcamp_upload_url . 'edd/2015/08/rtMedia-Photo-Filters.png',
497
  'product_link' => 'http://rtcamp.com/products/rtmedia-photo-filters/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
498
+ 'desc' => '<p>' . __( 'rtMedia Photo Filters adds Instagram like filters to images uploaded with rtMedia.', 'buddypress-media' ) . '</p>',
499
  'price' => '$49',
500
  'demo_link' => 'http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
501
  'buy_now' => 'https://rtcamp.com/products/rtmedia-photo-filters/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
503
  'purchased' => ( defined( 'RTMEDIA_INSTAGRAM_URL' ) || file_exists( WP_PLUGIN_DIR . '/bpm-instagram/index.php' ) || defined( 'RTMEDIA_PHOTO_FILTERS_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-photo-filters/index.php' ) ) ? true : false,
504
  ),
505
  array(
506
+ 'title' => __( 'Kaltura Add-on', 'buddypress-media' ),
507
  'img_src' => $rtcamp_upload_url . 'edd/2015/08/rtMedia-Kaltura-Add-on.png',
508
  'product_link' => 'http://rtcamp.com/products/rtmedia-kaltura-add-on/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
509
+ 'desc' => '<p>' . __( 'Add support for more video formats using Kaltura video solution. It works with Kaltura.com, self-hosted Kaltura-CE and Kaltura-on-premise.', 'buddypress-media' ) . '</p>',
510
  'price' => '$199',
511
  'demo_link' => 'http://demo.rtcamp.com/bpm-kaltura/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
512
  'buy_now' => 'https://rtcamp.com/products/rtmedia-kaltura/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
514
  'purchased' => ( defined( 'RTMEDIA_KALTURA_PATH' ) || file_exists( WP_PLUGIN_DIR . '/bpm-kaltura/index.php' ) ) ? true : false,
515
  ),
516
  array(
517
+ 'title' => __( 'FFMPEG Add-on', 'buddypress-media' ),
518
  'img_src' => $rtcamp_upload_url . 'edd/2015/08/rtMedia-FFMPEG-Addon.png',
519
  'product_link' => 'http://rtcamp.com/products/buddypress-media-ffmpeg-converter/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
520
+ 'desc' => '<p>' . __( 'Add supports for more audio & video formats using open-source media-node. Media node comes with automated setup script for Ubuntu/Debian.', 'buddypress-media' ) . '</p>',
521
  'price' => '$199',
522
  'demo_link' => 'http://demo.rtcamp.com/bpm-media/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
523
  'buy_now' => 'https://rtcamp.com/products/rtmedia-ffmpeg/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
525
  'purchased' => ( defined( 'RTMEDIA_FFMPEG_URL' ) || file_exists( WP_PLUGIN_DIR . '/bpm-ffmpeg/index.php' ) ) ? true : false,
526
  ),
527
  array(
528
+ 'title' => __( 'Membership Add-on', 'buddypress-media' ),
529
  'img_src' => $rtcamp_upload_url . 'edd/2015/08/rtMedia-Membership.png',
530
  'product_link' => 'https://rtcamp.com/products/rtmedia-membership/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
531
+ 'desc' => '<p>' . __( 'rtMedia Membership add-on provides membership functionality in your site in terms of media upload.', 'buddypress-media' ),
532
  'price' => '$99',
533
  'buy_now' => 'https://rtcamp.com/products/rtmedia-membership/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
534
  'category' => 'membership',
568
  * @return void
569
  */
570
  public function themes_content( $args = '' ) {
571
+ echo '<h3>' . __( 'Coming Soon !!', 'buddypress-media' ) . '</h3>';
572
  }
573
 
574
  /**
601
  $coming_soon ? ' coming-soon' : '';
602
 
603
  if ( $purchased ) {
604
+ $purchase_link = '<span class="rtm-addon-purchased button-primary disabled alignright product_type_simple">' . __( 'Purchased', 'buddypress-media' ) . '</span>';
605
  } else {
606
+ $purchase_link = '<a class="button-primary alignright product_type_simple" href="' . $buy_now . '" target="_blank">' . __( 'Buy Now', 'buddypress-media' ) . '</a>';
607
  }
608
 
609
  $coming_soon_div = ( $coming_soon ) ? $this->coming_soon_div() : '';
632
  echo $purchase_link;
633
 
634
  if ( $demo_link != '' ) {
635
+ echo '<a class="alignright rtm-live-demo button" href="' . $demo_link . '" title="' . $title . '" target="_blank">' . __( 'Live Demo', 'buddypress-media' ) . '</a>';
636
  }
637
  ?>
638
  </div>
app/helper/RTMediaAdminWidget.php CHANGED
@@ -29,7 +29,7 @@ if ( ! class_exists( 'RTMediaAdminWidget' ) ){
29
  <div class="inside"><?php echo $content; ?></div>
30
  </div><?php
31
  } else {
32
- trigger_error( __( 'Argument missing. id is required.', 'rtmedia' ) );
33
  }
34
  }
35
 
29
  <div class="inside"><?php echo $content; ?></div>
30
  </div><?php
31
  } else {
32
+ trigger_error( __( 'Argument missing. id is required.', 'buddypress-media' ) );
33
  }
34
  }
35
 
app/helper/RTMediaFeed.php CHANGED
@@ -49,13 +49,13 @@ class RTMediaFeed {
49
  ?>
50
  <ul><?php
51
  if ( 0 == $maxitems ) {
52
- echo '<li>' . __( 'No items', 'rtmedia' ) . '.</li>';
53
  } else {
54
  // Loop through each feed item and display each item as a hyperlink.
55
  foreach ( $rss_items as $item ) {
56
  ?>
57
  <li>
58
- <a href='<?php echo $item->get_permalink(); ?>?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media' title='<?php echo __( 'Posted ', 'rtmedia' ) . $item->get_date( 'j F Y | g:i a' ); ?>'><?php echo $item->get_title(); ?></a>
59
  </li><?php
60
  }
61
  }
49
  ?>
50
  <ul><?php
51
  if ( 0 == $maxitems ) {
52
+ echo '<li>' . __( 'No items', 'buddypress-media' ) . '.</li>';
53
  } else {
54
  // Loop through each feed item and display each item as a hyperlink.
55
  foreach ( $rss_items as $item ) {
56
  ?>
57
  <li>
58
+ <a href='<?php echo $item->get_permalink(); ?>?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media' title='<?php echo __( 'Posted ', 'buddypress-media' ) . $item->get_date( 'j F Y | g:i a' ); ?>'><?php echo $item->get_title(); ?></a>
59
  </li><?php
60
  }
61
  }
app/helper/RTMediaLicense.php CHANGED
@@ -53,10 +53,10 @@ class RTMediaLicense {
53
 
54
  if ( $status !== false && $status == 'valid' ) {
55
  $status_class = 'activated rtm-success';
56
- $status_value = __( 'Activated', 'rtmedia' );
57
  } else {
58
  $status_class = 'deactivated rtm-warning';
59
- $status_value = __( 'Deactivated', 'rtmedia' );
60
  }
61
 
62
  $el_id = $args[ 'addon_id' ];
@@ -65,7 +65,7 @@ class RTMediaLicense {
65
  ?>
66
  <div class="rtm-addon-license">
67
  <div class="rtm-license-status-wrap <?php echo $status_class ?>">
68
- <span class="rtm-addon-license-status-label"><?php _e( 'Status: ', 'rtmedia' ); ?></span>
69
  <span class="rtm-addon-license-status"><?php echo $status_value; ?></span>
70
  </div>
71
 
@@ -74,7 +74,7 @@ class RTMediaLicense {
74
  <tbody>
75
  <tr>
76
  <th scope="row">
77
- <?php _e( 'License Key', 'rtmedia' ); ?>
78
  </th>
79
  <td>
80
  <input id="<?php echo $license_key_id ?>" name="<?php echo $license_key_id ?>" type="text"
@@ -85,7 +85,7 @@ class RTMediaLicense {
85
  <?php if ( false !== $license ) { ?>
86
  <tr>
87
  <th scope="row">
88
- <?php _e( 'Activate / Deactivate License', 'rtmedia' ); ?>
89
  </th>
90
  <td>
91
  <?php
@@ -93,10 +93,10 @@ class RTMediaLicense {
93
  $nonce_name = 'edd_' . $el_id . '_nonce';
94
  if ( $status !== false && $status == 'valid' ) {
95
  $btn_name = 'edd_' . $el_id . '_license_deactivate';
96
- $btn_val = __( 'Deactivate License', 'rtmedia' );
97
  } else {
98
  $btn_name = 'edd_' . $el_id . '_license_activate';
99
- $btn_val = __( 'Activate License', 'rtmedia' );
100
  }
101
  ?>
102
  <?php wp_nonce_field( $nonce_action, $nonce_name ); ?>
53
 
54
  if ( $status !== false && $status == 'valid' ) {
55
  $status_class = 'activated rtm-success';
56
+ $status_value = __( 'Activated', 'buddypress-media' );
57
  } else {
58
  $status_class = 'deactivated rtm-warning';
59
+ $status_value = __( 'Deactivated', 'buddypress-media' );
60
  }
61
 
62
  $el_id = $args[ 'addon_id' ];
65
  ?>
66
  <div class="rtm-addon-license">
67
  <div class="rtm-license-status-wrap <?php echo $status_class ?>">
68
+ <span class="rtm-addon-license-status-label"><?php _e( 'Status: ', 'buddypress-media' ); ?></span>
69
  <span class="rtm-addon-license-status"><?php echo $status_value; ?></span>
70
  </div>
71
 
74
  <tbody>
75
  <tr>
76
  <th scope="row">
77
+ <?php _e( 'License Key', 'buddypress-media' ); ?>
78
  </th>
79
  <td>
80
  <input id="<?php echo $license_key_id ?>" name="<?php echo $license_key_id ?>" type="text"
85
  <?php if ( false !== $license ) { ?>
86
  <tr>
87
  <th scope="row">
88
+ <?php _e( 'Activate / Deactivate License', 'buddypress-media' ); ?>
89
  </th>
90
  <td>
91
  <?php
93
  $nonce_name = 'edd_' . $el_id . '_nonce';
94
  if ( $status !== false && $status == 'valid' ) {
95
  $btn_name = 'edd_' . $el_id . '_license_deactivate';
96
+ $btn_val = __( 'Deactivate License', 'buddypress-media' );
97
  } else {
98
  $btn_name = 'edd_' . $el_id . '_license_activate';
99
+ $btn_val = __( 'Activate License', 'buddypress-media' );
100
  }
101
  ?>
102
  <?php wp_nonce_field( $nonce_action, $nonce_name ); ?>
app/helper/RTMediaSettings.php CHANGED
@@ -29,7 +29,7 @@ if ( ! class_exists( 'RTMediaSettings' ) ){
29
  * Get default options.
30
  *
31
  * @access public
32
- * @global string 'rtmedia'
33
  *
34
  * @param void
35
  *
@@ -202,21 +202,21 @@ if ( ! class_exists( 'RTMediaSettings' ) ){
202
 
203
  if ( function_exists( 'add_settings_section' ) ){
204
  $rtmedia_addon = new RTMediaAddon();
205
- add_settings_section( 'rtm-addons', __( 'BuddyPress Media Addons for Photos', 'rtmedia' ), array( $rtmedia_addon, 'get_addons' ), 'rtmedia-addons' );
206
  $rtmedia_support = new RTMediaSupport( false );
207
- add_settings_section( 'rtm-support', __( 'Support', 'rtmedia' ), array( $rtmedia_support, 'get_support_content' ), 'rtmedia-support' );
208
  $rtmedia_themes = new RTMediaThemes();
209
- add_settings_section( 'rtm-themes', __( 'rtMedia Themes', 'rtmedia' ), array( $rtmedia_themes, 'get_themes' ), 'rtmedia-themes' );
210
  }
211
 
212
  // if (!BPMediaPrivacy::is_installed()) {
213
  // $rtmedia_privacy = new BPMediaPrivacySettings();
214
  // add_filter('rtmedia_add_sub_tabs', array($rtmedia_privacy, 'ui'), 99, 2);
215
- // add_settings_section('rtm-privacy', __('Update Database', 'rtmedia'), array($rtmedia_privacy, 'init'), 'rtmedia-privacy');
216
  // }
217
  //$rtmedia_album_importer = new BPMediaAlbumimporter();
218
- //add_settings_section('rtm-rt-album-importer', __('BP-Album Importer', 'rtmedia'), array($rtmedia_album_importer, 'ui'), 'rtmedia-importer');
219
- //register_setting('rtmedia', 'rtmedia_options', array($this, 'sanitize'));
220
  if ( ! isset( $rtmedia_save_setting_single ) ){
221
  $rtmedia_save_setting_single = true;
222
  }
@@ -279,7 +279,7 @@ if ( ! class_exists( 'RTMediaSettings' ) ){
279
  $allowed_types = rtmedia_get_site_option( 'upload_filetypes', 'jpg jpeg png gif' );
280
  $allowed_types = explode( ' ', $allowed_types );
281
  $allowed_types = implode( ', ', $allowed_types );
282
- echo '<span class="description">' . sprintf( __( 'Currently your network allows uploading of the following file types. You can change the settings <a href="%s">here</a>.<br /><code>%s</code></span>', 'rtmedia' ), network_admin_url( 'settings.php#upload_filetypes' ), $allowed_types );
283
  }
284
 
285
  /**
@@ -297,30 +297,30 @@ if ( ! class_exists( 'RTMediaSettings' ) ){
297
  if ( isset( $_POST['refresh-count'] ) ){
298
  if ( $rtmedia_admin->update_count() ){
299
  if ( is_multisite() ){
300
- rtmedia_update_site_option( 'rtm-recount-success', __( 'Recounting of media files done successfully', 'rtmedia' ) );
301
  } else {
302
- add_settings_error( __( 'Recount Success', 'rtmedia' ), 'rtm-recount-success', __( 'Recounting of media files done successfully', 'rtmedia' ), 'updated' );
303
  }
304
  } else {
305
  if ( is_multisite() ){
306
- rtmedia_update_site_option( 'rtm-recount-fail', __( 'Recounting Failed', 'rtmedia' ) );
307
  } else {
308
- add_settings_error( __( 'Recount Fail', 'rtmedia' ), 'rtm-recount-fail', __( 'Recounting Failed', 'rtmedia' ) );
309
  }
310
  }
311
  }
312
  // if (!isset($_POST['rtmedia_options']['enable_on_profile']) && !isset($_POST['rtmedia_options']['enable_on_group'])) {
313
  // if (is_multisite())
314
- // update_site_option('rtm-media-enable', __('Enable BuddyPress Media on either User Profiles or Groups or both. Atleast one should be selected.', 'rtmedia'));
315
  // else
316
- // add_settings_error(__('Enable BuddyPress Media', 'rtmedia'), 'rtm-media-enable', __('Enable BuddyPress Media on either User Profiles or Groups or both. Atleast one should be selected.', 'rtmedia'));
317
  // $input['enable_on_profile'] = 1;
318
  // }
319
  if ( ! isset( $_POST['rtmedia_options']['videos_enabled'] ) && ! isset( $_POST['rtmedia_options']['audio_enabled'] ) && ! isset( $_POST['rtmedia_options']['images_enabled'] ) ){
320
  if ( is_multisite() ){
321
- rtmedia_update_site_option( 'rtm-media-type', __( 'Atleast one Media Type Must be selected', 'rtmedia' ) );
322
  } else {
323
- add_settings_error( __( 'Media Type', 'rtmedia' ), 'rtm-media-type', __( 'Atleast one Media Type Must be selected', 'rtmedia' ) );
324
  }
325
  $input['images_enabled'] = 1;
326
  }
@@ -329,14 +329,14 @@ if ( ! class_exists( 'RTMediaSettings' ) ){
329
 
330
  if ( ! is_int( $input['default_count'] ) || ( $input['default_count'] < 0 ) || empty( $input['default_count'] ) ){
331
  if ( is_multisite() ){
332
- rtmedia_update_site_option( 'rtm-media-default-count', __( '"Number of media" count value should be numeric and greater than 0.', 'rtmedia' ) );
333
  } else {
334
- add_settings_error( __( 'Default Count', 'rtmedia' ), 'rtm-media-default-count', __( '"Number of media" count value should be numeric and greater than 0.', 'rtmedia' ) );
335
  }
336
  $input['default_count'] = 10;
337
  }
338
  if ( is_multisite() ){
339
- rtmedia_update_site_option( 'rtm-settings-saved', __( 'Settings saved.', 'rtmedia' ) );
340
  }
341
  do_action( 'rtmedia_sanitize_settings', $_POST, $input );
342
 
@@ -360,7 +360,7 @@ if ( ! class_exists( 'RTMediaSettings' ) ){
360
  } else {
361
  $regenerate_link = wp_nonce_url( admin_url( 'update.php?action=install-plugin&plugin=regenerate-thumbnails' ), 'install-plugin_regenerate-thumbnails' );
362
  }
363
- echo '<span class="description">' . sprintf( __( 'If you make changes to width, height or crop settings, you must use "<a href="%s">Regenerate Thumbnail Plugin</a>" to regenerate old images."', 'rtmedia' ), $regenerate_link ) . '</span>';
364
  echo '<div class="clearfix">&nbsp;</div>';
365
  }
366
 
@@ -381,7 +381,7 @@ if ( ! class_exists( 'RTMediaSettings' ) ){
381
 
382
  $notice = '
383
  <div class="error">
384
- <p>' . __( 'BuddyPress Media 2.6 requires a database upgrade. ', 'rtmedia' ) . '<a href="' . $url . '">' . __( 'Update Database', 'rtmedia' ) . '.</a></p>
385
  </div>
386
  ';
387
  echo $notice;
@@ -398,8 +398,8 @@ if ( ! class_exists( 'RTMediaSettings' ) ){
398
  * @return void
399
  */
400
  public function rtmedia_support_intro(){
401
- echo '<p>' . __( 'If your site has some issues due to BuddyPress Media and you want one on one support then you can create a support topic on the <a target="_blank" href="http://community.rtcamp.com/c/rtmedia?utm_source=dashboard&utm_medium=plugin&utm_campaign=rtmedia">rtCamp Support Forum</a>.', 'rtmedia' ) . '</p>';
402
- echo '<p>' . __( 'If you have any suggestions, enhancements or bug reports, then you can open a new issue on <a target="_blank" href="https://github.com/rtCamp/rtmedia/issues/new">GitHub</a>.', 'rtmedia' ) . '</p>';
403
  }
404
 
405
  }
29
  * Get default options.
30
  *
31
  * @access public
32
+ * @global string 'buddypress-media'
33
  *
34
  * @param void
35
  *
202
 
203
  if ( function_exists( 'add_settings_section' ) ){
204
  $rtmedia_addon = new RTMediaAddon();
205
+ add_settings_section( 'rtm-addons', __( 'BuddyPress Media Addons for Photos', 'buddypress-media' ), array( $rtmedia_addon, 'get_addons' ), 'rtmedia-addons' );
206
  $rtmedia_support = new RTMediaSupport( false );
207
+ add_settings_section( 'rtm-support', __( 'Support', 'buddypress-media' ), array( $rtmedia_support, 'get_support_content' ), 'rtmedia-support' );
208
  $rtmedia_themes = new RTMediaThemes();
209
+ add_settings_section( 'rtm-themes', __( 'rtMedia Themes', 'buddypress-media' ), array( $rtmedia_themes, 'get_themes' ), 'rtmedia-themes' );
210
  }
211
 
212
  // if (!BPMediaPrivacy::is_installed()) {
213
  // $rtmedia_privacy = new BPMediaPrivacySettings();
214
  // add_filter('rtmedia_add_sub_tabs', array($rtmedia_privacy, 'ui'), 99, 2);
215
+ // add_settings_section('rtm-privacy', __('Update Database', 'buddypress-media'), array($rtmedia_privacy, 'init'), 'rtmedia-privacy');
216
  // }
217
  //$rtmedia_album_importer = new BPMediaAlbumimporter();
218
+ //add_settings_section('rtm-rt-album-importer', __('BP-Album Importer', 'buddypress-media'), array($rtmedia_album_importer, 'ui'), 'rtmedia-importer');
219
+ //register_setting('buddypress-media', 'rtmedia_options', array($this, 'sanitize'));
220
  if ( ! isset( $rtmedia_save_setting_single ) ){
221
  $rtmedia_save_setting_single = true;
222
  }
279
  $allowed_types = rtmedia_get_site_option( 'upload_filetypes', 'jpg jpeg png gif' );
280
  $allowed_types = explode( ' ', $allowed_types );
281
  $allowed_types = implode( ', ', $allowed_types );
282
+ echo '<span class="description">' . sprintf( __( 'Currently your network allows uploading of the following file types. You can change the settings <a href="%s">here</a>.<br /><code>%s</code></span>', 'buddypress-media' ), network_admin_url( 'settings.php#upload_filetypes' ), $allowed_types );
283
  }
284
 
285
  /**
297
  if ( isset( $_POST['refresh-count'] ) ){
298
  if ( $rtmedia_admin->update_count() ){
299
  if ( is_multisite() ){
300
+ rtmedia_update_site_option( 'rtm-recount-success', __( 'Recounting of media files done successfully', 'buddypress-media' ) );
301
  } else {
302
+ add_settings_error( __( 'Recount Success', 'buddypress-media' ), 'rtm-recount-success', __( 'Recounting of media files done successfully', 'buddypress-media' ), 'updated' );
303
  }
304
  } else {
305
  if ( is_multisite() ){
306
+ rtmedia_update_site_option( 'rtm-recount-fail', __( 'Recounting Failed', 'buddypress-media' ) );
307
  } else {
308
+ add_settings_error( __( 'Recount Fail', 'buddypress-media' ), 'rtm-recount-fail', __( 'Recounting Failed', 'buddypress-media' ) );
309
  }
310
  }
311
  }
312
  // if (!isset($_POST['rtmedia_options']['enable_on_profile']) && !isset($_POST['rtmedia_options']['enable_on_group'])) {
313
  // if (is_multisite())
314
+ // update_site_option('rtm-media-enable', __('Enable BuddyPress Media on either User Profiles or Groups or both. Atleast one should be selected.', 'buddypress-media'));
315
  // else
316
+ // add_settings_error(__('Enable BuddyPress Media', 'buddypress-media'), 'rtm-media-enable', __('Enable BuddyPress Media on either User Profiles or Groups or both. Atleast one should be selected.', 'buddypress-media'));
317
  // $input['enable_on_profile'] = 1;
318
  // }
319
  if ( ! isset( $_POST['rtmedia_options']['videos_enabled'] ) && ! isset( $_POST['rtmedia_options']['audio_enabled'] ) && ! isset( $_POST['rtmedia_options']['images_enabled'] ) ){
320
  if ( is_multisite() ){
321
+ rtmedia_update_site_option( 'rtm-media-type', __( 'Atleast one Media Type Must be selected', 'buddypress-media' ) );
322
  } else {
323
+ add_settings_error( __( 'Media Type', 'buddypress-media' ), 'rtm-media-type', __( 'Atleast one Media Type Must be selected', 'buddypress-media' ) );
324
  }
325
  $input['images_enabled'] = 1;
326
  }
329
 
330
  if ( ! is_int( $input['default_count'] ) || ( $input['default_count'] < 0 ) || empty( $input['default_count'] ) ){
331
  if ( is_multisite() ){
332
+ rtmedia_update_site_option( 'rtm-media-default-count', __( '"Number of media" count value should be numeric and greater than 0.', 'buddypress-media' ) );
333
  } else {
334
+ add_settings_error( __( 'Default Count', 'buddypress-media' ), 'rtm-media-default-count', __( '"Number of media" count value should be numeric and greater than 0.', 'buddypress-media' ) );
335
  }
336
  $input['default_count'] = 10;
337
  }
338
  if ( is_multisite() ){
339
+ rtmedia_update_site_option( 'rtm-settings-saved', __( 'Settings saved.', 'buddypress-media' ) );
340
  }
341
  do_action( 'rtmedia_sanitize_settings', $_POST, $input );
342
 
360
  } else {
361
  $regenerate_link = wp_nonce_url( admin_url( 'update.php?action=install-plugin&plugin=regenerate-thumbnails' ), 'install-plugin_regenerate-thumbnails' );
362
  }
363
+ echo '<span class="description">' . sprintf( __( 'If you make changes to width, height or crop settings, you must use "<a href="%s">Regenerate Thumbnail Plugin</a>" to regenerate old images."', 'buddypress-media' ), $regenerate_link ) . '</span>';
364
  echo '<div class="clearfix">&nbsp;</div>';
365
  }
366
 
381
 
382
  $notice = '
383
  <div class="error">
384
+ <p>' . __( 'BuddyPress Media 2.6 requires a database upgrade. ', 'buddypress-media' ) . '<a href="' . $url . '">' . __( 'Update Database', 'buddypress-media' ) . '.</a></p>
385
  </div>
386
  ';
387
  echo $notice;
398
  * @return void
399
  */
400
  public function rtmedia_support_intro(){
401
+ echo '<p>' . __( 'If your site has some issues due to BuddyPress Media and you want one on one support then you can create a support topic on the <a target="_blank" href="http://community.rtcamp.com/c/rtmedia?utm_source=dashboard&utm_medium=plugin&utm_campaign=rtmedia">rtCamp Support Forum</a>.', 'buddypress-media' ) . '</p>';
402
+ echo '<p>' . __( 'If you have any suggestions, enhancements or bug reports, then you can open a new issue on <a target="_blank" href="https://github.com/rtCamp/rtmedia/issues/new">GitHub</a>.', 'buddypress-media' ) . '</p>';
403
  }
404
 
405
  }
app/helper/RTMediaSupport.php CHANGED
@@ -48,23 +48,23 @@ if ( ! class_exists( 'RTMediaSupport' ) ) {
48
  $tabs = array();
49
  global $rtmedia_admin;
50
  $tabs[] = array(
51
- 'title' => __( 'Support', 'rtmedia' ),
52
- 'name' => __( 'Support', 'rtmedia' ),
53
  'href' => '#support',
54
  'icon' => 'dashicons-businessman',
55
  'callback' => array( $this, 'call_get_form' ),
56
  );
57
  $tabs[] = array(
58
- 'title' => __( 'Debug Info', 'rtmedia' ),
59
- 'name' => __( 'Debug Info', 'rtmedia' ),
60
  'href' => '#debug',
61
  'icon' => 'dashicons-admin-tools',
62
  'callback' => array( $this, 'debug_info_html' ),
63
  );
64
  if ( $this->is_migration_required() ) { //if any un-migrated media is there
65
  $tabs[] = array(
66
- 'title' => __( 'Migration', 'rtmedia' ),
67
- 'name' => __( 'Migration', 'rtmedia' ),
68
  'href' => '#migration',
69
  'callback' => array( $this, 'migration_html' ),
70
  );
@@ -125,28 +125,28 @@ if ( ! class_exists( 'RTMediaSupport' ) ) {
125
  <div>
126
  <form name="rtmedia_service_select_form" method="post">
127
  <p>
128
- <label class="bp-media-label" for="select_support"><?php _e( 'Service', 'rtmedia' ); ?>:</label>
129
  <select name="rtmedia_service_select">
130
  <option
131
  value="premium_support" <?php
132
  if ( 'premium_support' == $_POST[ 'form' ] ) {
133
  echo 'selected';
134
  }
135
- ?>><?php _e( 'Premium Support', 'rtmedia' ); ?></option>
136
  <option
137
  value="bug_report" <?php
138
  if ( 'bug_report' == $_POST[ 'form' ] ) {
139
  echo 'selected';
140
  }
141
- ?>><?php _e( 'Bug Report', 'rtmedia' ); ?></option>
142
  <option
143
  value="new_feature" <?php
144
  if ( 'new_feature' == $_POST[ 'form' ] ) {
145
  echo 'selected';
146
  }
147
- ?>><?php _e( 'New Feature', 'rtmedia' ); ?></option>
148
  </select>
149
- <input name="support_submit" value="<?php esc_attr_e( 'Submit', 'rtmedia' ); ?>" type="submit" class="button"/>
150
  </p>
151
  </form>
152
  </div>
@@ -192,7 +192,7 @@ if ( ! class_exists( 'RTMediaSupport' ) ) {
192
  $plugin_data = @get_plugin_data( WP_PLUGIN_DIR . '/' . $plugin );
193
  $version_string = '';
194
  if ( ! empty( $plugin_data[ 'Name' ] ) ) {
195
- $rtmedia_plugins[] = $plugin_data[ 'Name' ] . ' ' . __( 'by', 'rtmedia' ) . ' ' . $plugin_data[ 'Author' ] . ' ' . __( 'version', 'rtmedia' ) . ' ' . $plugin_data[ 'Version' ] . $version_string;
196
  }
197
  }
198
  if ( 0 == sizeof( $rtmedia_plugins ) ) {
@@ -302,7 +302,7 @@ if ( ! class_exists( 'RTMediaSupport' ) ) {
302
  $this->debug_info();
303
  ?>
304
  <div id="debug-info" class="rtm-option-wrapper">
305
- <h3 class="rtm-option-title"><?php _e( 'Debug Info', 'rtmedia' ); ?></h3>
306
  <table class="form-table rtm-debug-info">
307
  <tbody>
308
  <?php
@@ -354,13 +354,13 @@ if ( ! class_exists( 'RTMediaSupport' ) ) {
354
  $content = ' ';
355
  $flag = true;
356
  if ( ( false === $pending_rtmedia_migrate || 0 == $pending_rtmedia_migrate ) ) {
357
- $content .= __( 'There is no media found to migrate.', 'rtmedia' );
358
  $flag = false;
359
  }
360
  $content = apply_filters( 'rtmedia_migration_content_filter', $content );
361
  if ( $flag ) {
362
  $content .= ' <div class="rtmedia-migration-support">';
363
- $content .= ' <p>' . __( 'Click', 'rtmedia' ) . ' <a href="' . get_admin_url() . 'admin.php?page=rtmedia-migration">' . __( 'here', 'rtmedia' ) . '</a>' . __( 'here to migrate media from rtMedia 2.x to rtMedia 3.0+.', 'rtmedia' ) . '</p>';
364
  $content .= '</div>';
365
  }
366
  ?>
@@ -389,21 +389,21 @@ if ( ! class_exists( 'RTMediaSupport' ) ) {
389
  global $current_user;
390
  switch ( $form ) {
391
  case 'bug_report':
392
- $meta_title = __( 'Submit a Bug Report', 'rtmedia' );
393
  break;
394
  case 'new_feature':
395
- $meta_title = __( 'Submit a New Feature Request', 'rtmedia' );
396
  break;
397
  case 'premium_support':
398
- $meta_title = __( 'Submit Support Request', 'rtmedia' );
399
  break;
400
  }
401
 
402
  if ( 'premium_support' == $form ) {
403
  if ( ! defined( 'RTMEDIA_PRO_VERSION' ) ) {
404
  $content = '<h3 class="rtm-option-title">' . $meta_title . '</h3>';
405
- $content .= '<p>' . __( 'If your site has some issues due to rtMedia and you want support, feel free to create a support topic on <a target="_blank" href="http://community.rtcamp.com/c/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media">Community Forum</a>.', 'rtmedia' ) . '</p>';
406
- $content .= '<p>' . __( 'If you have any suggestions, enhancements or bug reports, you can open a new issue on <a target="_blank" href="https://github.com/rtCamp/rtMedia/issues/new">GitHub</a>.', 'rtmedia' ) . '</p>';
407
 
408
  echo $content;
409
  } else {
@@ -412,39 +412,39 @@ if ( ! class_exists( 'RTMediaSupport' ) ) {
412
  <div id="support-form" class="bp-media-form rtm-support-form rtm-option-wrapper">
413
 
414
  <div class="rtm-form-filed clearfix">
415
- <label class="bp-media-label" for="name"><?php _e( 'Name', 'rtmedia' ); ?></label>
416
  <input class="bp-media-input" id="name" type="text" name="name" value="" required />
417
  <span class="rtm-tooltip">
418
  <i class="dashicons dashicons-info rtmicon"></i>
419
  <span class="rtm-tip">
420
- <?php _e( 'Use actual user name which used during purchased.', 'rtmedia' ); ?>
421
  </span>
422
  </span>
423
  </div>
424
 
425
  <div class="rtm-form-filed clearfix">
426
- <label class="bp-media-label" for="email"><?php _e( 'Email', 'rtmedia' ); ?></label>
427
  <input id="email" class="bp-media-input" type="text" name="email" value="" required />
428
  <span class="rtm-tooltip">
429
  <i class="dashicons dashicons-info rtmicon"></i>
430
  <span class="rtm-tip">
431
- <?php _e( 'Use email id which used during purchased', 'rtmedia' ); ?>
432
  </span>
433
  </span>
434
  </div>
435
 
436
  <div class="rtm-form-filed clearfix">
437
- <label class="bp-media-label" for="website"><?php _e( 'Website', 'rtmedia' ); ?></label>
438
  <input id="website" class="bp-media-input" type="text" name="website" value="<?php echo ( isset( $_REQUEST[ 'website' ] ) ) ? esc_attr( stripslashes( trim( $_REQUEST[ 'website' ] ) ) ) : get_bloginfo( 'url' ); ?>" required />
439
  </div>
440
 
441
  <div class="rtm-form-filed clearfix">
442
- <label class="bp-media-label" for="subject"><?php _e( 'Subject', 'rtmedia' ); ?></label>
443
  <input id="subject" class="bp-media-input" type="text" name="subject" value="<?php echo ( isset( $_REQUEST[ 'subject' ] ) ) ? esc_attr( stripslashes( trim( $_REQUEST[ 'subject' ] ) ) ) : ''; ?>" required />
444
  </div>
445
 
446
  <div class="rtm-form-filed clearfix">
447
- <label class="bp-media-label" for="details"><?php _e( 'Details', 'rtmedia' ); ?></label>
448
  <textarea id="details" class="bp-media-textarea" name="details" required><?php echo ( isset( $_REQUEST[ 'details' ] ) ) ? esc_textarea( stripslashes( trim( $_REQUEST[ 'details' ] ) ) ) : ''; ?></textarea>
449
 
450
  <input type="hidden" name="request_type" value="<?php echo $form; ?>" />
@@ -487,16 +487,16 @@ if ( ! class_exists( 'RTMediaSupport' ) ) {
487
  }
488
  if ( 'premium_support' == $form_data[ 'request_type' ] ) {
489
  $mail_type = 'Premium Support';
490
- $title = __( 'rtMedia Premium Support Request from', 'rtmedia' );
491
  } elseif ( 'new_feature' == $form_data[ 'request_type' ] ) {
492
  $mail_type = 'New Feature Request';
493
- $title = __( 'rtMedia New Feature Request from', 'rtmedia' );
494
  } elseif ( 'bug_report' == $form_data[ 'request_type' ] ) {
495
  $mail_type = 'Bug Report';
496
- $title = __( 'rtMedia Bug Report from', 'rtmedia' );
497
  } else {
498
  $mail_type = 'Bug Report';
499
- $title = __( 'rtMedia Contact from', 'rtmedia' );
500
  }
501
  $message = '<html>
502
  <head>
@@ -557,7 +557,7 @@ if ( ! class_exists( 'RTMediaSupport' ) ) {
557
  }
558
  $message .= '</table>';
559
  if ( $this->debug_info ) {
560
- $message .= '<h3>' . __( 'Debug Info', 'rtmedia' ) . '</h3>';
561
  $message .= '<table>';
562
  foreach ( $this->debug_info as $configuration => $value ) {
563
  $message .= '<tr>
@@ -570,26 +570,21 @@ if ( ! class_exists( 'RTMediaSupport' ) ) {
570
  </html>';
571
  add_filter( 'wp_mail_content_type', create_function( '', 'return "text/html";' ) );
572
  $headers = 'From: ' . $form_data[ 'name' ] . ' <' . $form_data[ 'email' ] . '>' . "\r\n";
573
- if ( isset( $rtmedia->support_email ) ) {
574
- $support_email = $rtmedia->support_email;
575
- } else {
576
- $support_email = 'support@rtcamp.com';
577
- }
578
  $support_email = 'support@rtcamp.com';
579
  if ( wp_mail( $support_email, '[rtmedia] ' . $mail_type . ' from ' . str_replace( array( 'http://', 'https://' ), '', $form_data[ 'website' ] ), stripslashes( $message ), $headers ) ) {
580
  echo '<div class="rtmedia-success" style="margin:10px 0;">';
581
  if ( 'new_feature' == $form_data[ 'request_type' ] ) {
582
- echo '<p>' . __( 'Thank you for your Feedback/Suggestion.', 'rtmedia' ) . '</p>';
583
  } else {
584
- echo '<p>' . __( 'Thank you for posting your support request.', 'rtmedia' ) . '</p>';
585
- echo '<p>' . __( 'We will get back to you shortly.', 'rtmedia' ) . '</p>';
586
  }
587
  echo '</div>';
588
  } else {
589
  echo '<div class="rtmedia-error">';
590
- echo '<p>' . __( 'Your server failed to send an email.', 'rtmedia' ) . '</p>';
591
- echo '<p>' . __( 'Kindly contact your server support to fix this.', 'rtmedia' ) . '</p>';
592
- echo '<p>' . sprintf( __( 'You can alternatively create a support request <a href="%s">here</a>', 'rtmedia' ), $rtmedia->support_url ) . '</p>';
593
  echo '</div>';
594
  }
595
  die();
48
  $tabs = array();
49
  global $rtmedia_admin;
50
  $tabs[] = array(
51
+ 'title' => __( 'Support', 'buddypress-media' ),
52
+ 'name' => __( 'Support', 'buddypress-media' ),
53
  'href' => '#support',
54
  'icon' => 'dashicons-businessman',
55
  'callback' => array( $this, 'call_get_form' ),
56
  );
57
  $tabs[] = array(
58
+ 'title' => __( 'Debug Info', 'buddypress-media' ),
59
+ 'name' => __( 'Debug Info', 'buddypress-media' ),
60
  'href' => '#debug',
61
  'icon' => 'dashicons-admin-tools',
62
  'callback' => array( $this, 'debug_info_html' ),
63
  );
64
  if ( $this->is_migration_required() ) { //if any un-migrated media is there
65
  $tabs[] = array(
66
+ 'title' => __( 'Migration', 'buddypress-media' ),
67
+ 'name' => __( 'Migration', 'buddypress-media' ),
68
  'href' => '#migration',
69
  'callback' => array( $this, 'migration_html' ),
70
  );
125
  <div>
126
  <form name="rtmedia_service_select_form" method="post">
127
  <p>
128
+ <label class="bp-media-label" for="select_support"><?php _e( 'Service', 'buddypress-media' ); ?>:</label>
129
  <select name="rtmedia_service_select">
130
  <option
131
  value="premium_support" <?php
132
  if ( 'premium_support' == $_POST[ 'form' ] ) {
133
  echo 'selected';
134
  }
135
+ ?>><?php _e( 'Premium Support', 'buddypress-media' ); ?></option>
136
  <option
137
  value="bug_report" <?php
138
  if ( 'bug_report' == $_POST[ 'form' ] ) {
139
  echo 'selected';
140
  }
141
+ ?>><?php _e( 'Bug Report', 'buddypress-media' ); ?></option>
142
  <option
143
  value="new_feature" <?php
144
  if ( 'new_feature' == $_POST[ 'form' ] ) {
145
  echo 'selected';
146
  }
147
+ ?>><?php _e( 'New Feature', 'buddypress-media' ); ?></option>
148
  </select>
149
+ <input name="support_submit" value="<?php esc_attr_e( 'Submit', 'buddypress-media' ); ?>" type="submit" class="button"/>
150
  </p>
151
  </form>
152
  </div>
192
  $plugin_data = @get_plugin_data( WP_PLUGIN_DIR . '/' . $plugin );
193
  $version_string = '';
194
  if ( ! empty( $plugin_data[ 'Name' ] ) ) {
195
+ $rtmedia_plugins[] = $plugin_data[ 'Name' ] . ' ' . __( 'by', 'buddypress-media' ) . ' ' . $plugin_data[ 'Author' ] . ' ' . __( 'version', 'buddypress-media' ) . ' ' . $plugin_data[ 'Version' ] . $version_string;
196
  }
197
  }
198
  if ( 0 == sizeof( $rtmedia_plugins ) ) {
302
  $this->debug_info();
303
  ?>
304
  <div id="debug-info" class="rtm-option-wrapper">
305
+ <h3 class="rtm-option-title"><?php _e( 'Debug Info', 'buddypress-media' ); ?></h3>
306
  <table class="form-table rtm-debug-info">
307
  <tbody>
308
  <?php
354
  $content = ' ';
355
  $flag = true;
356
  if ( ( false === $pending_rtmedia_migrate || 0 == $pending_rtmedia_migrate ) ) {
357
+ $content .= __( 'There is no media found to migrate.', 'buddypress-media' );
358
  $flag = false;
359
  }
360
  $content = apply_filters( 'rtmedia_migration_content_filter', $content );
361
  if ( $flag ) {
362
  $content .= ' <div class="rtmedia-migration-support">';
363
+ $content .= ' <p>' . __( 'Click', 'buddypress-media' ) . ' <a href="' . get_admin_url() . 'admin.php?page=rtmedia-migration">' . __( 'here', 'buddypress-media' ) . '</a>' . __( 'here to migrate media from rtMedia 2.x to rtMedia 3.0+.', 'buddypress-media' ) . '</p>';
364
  $content .= '</div>';
365
  }
366
  ?>
389
  global $current_user;
390
  switch ( $form ) {
391
  case 'bug_report':
392
+ $meta_title = __( 'Submit a Bug Report', 'buddypress-media' );
393
  break;
394
  case 'new_feature':
395
+ $meta_title = __( 'Submit a New Feature Request', 'buddypress-media' );
396
  break;
397
  case 'premium_support':
398
+ $meta_title = __( 'Submit Support Request', 'buddypress-media' );
399
  break;
400
  }
401
 
402
  if ( 'premium_support' == $form ) {
403
  if ( ! defined( 'RTMEDIA_PRO_VERSION' ) ) {
404
  $content = '<h3 class="rtm-option-title">' . $meta_title . '</h3>';
405
+ $content .= '<p>' . __( 'If your site has some issues due to rtMedia and you want support, feel free to create a support topic on <a target="_blank" href="http://community.rtcamp.com/c/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media">Community Forum</a>.', 'buddypress-media' ) . '</p>';
406
+ $content .= '<p>' . __( 'If you have any suggestions, enhancements or bug reports, you can open a new issue on <a target="_blank" href="https://github.com/rtCamp/rtMedia/issues/new">GitHub</a>.', 'buddypress-media' ) . '</p>';
407
 
408
  echo $content;
409
  } else {
412
  <div id="support-form" class="bp-media-form rtm-support-form rtm-option-wrapper">
413
 
414
  <div class="rtm-form-filed clearfix">
415
+ <label class="bp-media-label" for="name"><?php _e( 'Name', 'buddypress-media' ); ?></label>
416
  <input class="bp-media-input" id="name" type="text" name="name" value="" required />
417
  <span class="rtm-tooltip">
418
  <i class="dashicons dashicons-info rtmicon"></i>
419
  <span class="rtm-tip">
420
+ <?php _e( 'Use actual user name which used during purchased.', 'buddypress-media' ); ?>
421
  </span>
422
  </span>
423
  </div>
424
 
425
  <div class="rtm-form-filed clearfix">
426
+ <label class="bp-media-label" for="email"><?php _e( 'Email', 'buddypress-media' ); ?></label>
427
  <input id="email" class="bp-media-input" type="text" name="email" value="" required />
428
  <span class="rtm-tooltip">
429
  <i class="dashicons dashicons-info rtmicon"></i>
430
  <span class="rtm-tip">
431
+ <?php _e( 'Use email id which used during purchased', 'buddypress-media' ); ?>
432
  </span>
433
  </span>
434
  </div>
435
 
436
  <div class="rtm-form-filed clearfix">
437
+ <label class="bp-media-label" for="website"><?php _e( 'Website', 'buddypress-media' ); ?></label>
438
  <input id="website" class="bp-media-input" type="text" name="website" value="<?php echo ( isset( $_REQUEST[ 'website' ] ) ) ? esc_attr( stripslashes( trim( $_REQUEST[ 'website' ] ) ) ) : get_bloginfo( 'url' ); ?>" required />
439
  </div>
440
 
441
  <div class="rtm-form-filed clearfix">
442
+ <label class="bp-media-label" for="subject"><?php _e( 'Subject', 'buddypress-media' ); ?></label>
443
  <input id="subject" class="bp-media-input" type="text" name="subject" value="<?php echo ( isset( $_REQUEST[ 'subject' ] ) ) ? esc_attr( stripslashes( trim( $_REQUEST[ 'subject' ] ) ) ) : ''; ?>" required />
444
  </div>
445
 
446
  <div class="rtm-form-filed clearfix">
447
+ <label class="bp-media-label" for="details"><?php _e( 'Details', 'buddypress-media' ); ?></label>
448
  <textarea id="details" class="bp-media-textarea" name="details" required><?php echo ( isset( $_REQUEST[ 'details' ] ) ) ? esc_textarea( stripslashes( trim( $_REQUEST[ 'details' ] ) ) ) : ''; ?></textarea>
449
 
450
  <input type="hidden" name="request_type" value="<?php echo $form; ?>" />
487
  }
488
  if ( 'premium_support' == $form_data[ 'request_type' ] ) {
489
  $mail_type = 'Premium Support';
490
+ $title = __( 'rtMedia Premium Support Request from', 'buddypress-media' );
491
  } elseif ( 'new_feature' == $form_data[ 'request_type' ] ) {
492
  $mail_type = 'New Feature Request';
493
+ $title = __( 'rtMedia New Feature Request from', 'buddypress-media' );
494
  } elseif ( 'bug_report' == $form_data[ 'request_type' ] ) {
495
  $mail_type = 'Bug Report';
496
+ $title = __( 'rtMedia Bug Report from', 'buddypress-media' );
497
  } else {
498
  $mail_type = 'Bug Report';
499
+ $title = __( 'rtMedia Contact from', 'buddypress-media' );
500
  }
501
  $message = '<html>
502
  <head>
557
  }
558
  $message .= '</table>';
559
  if ( $this->debug_info ) {
560
+ $message .= '<h3>' . __( 'Debug Info', 'buddypress-media' ) . '</h3>';
561
  $message .= '<table>';
562
  foreach ( $this->debug_info as $configuration => $value ) {
563
  $message .= '<tr>
570
  </html>';
571
  add_filter( 'wp_mail_content_type', create_function( '', 'return "text/html";' ) );
572
  $headers = 'From: ' . $form_data[ 'name' ] . ' <' . $form_data[ 'email' ] . '>' . "\r\n";
 
 
 
 
 
573
  $support_email = 'support@rtcamp.com';
574
  if ( wp_mail( $support_email, '[rtmedia] ' . $mail_type . ' from ' . str_replace( array( 'http://', 'https://' ), '', $form_data[ 'website' ] ), stripslashes( $message ), $headers ) ) {
575
  echo '<div class="rtmedia-success" style="margin:10px 0;">';
576
  if ( 'new_feature' == $form_data[ 'request_type' ] ) {
577
+ echo '<p>' . __( 'Thank you for your Feedback/Suggestion.', 'buddypress-media' ) . '</p>';
578
  } else {
579
+ echo '<p>' . __( 'Thank you for posting your support request.', 'buddypress-media' ) . '</p>';
580
+ echo '<p>' . __( 'We will get back to you shortly.', 'buddypress-media' ) . '</p>';
581
  }
582
  echo '</div>';
583
  } else {
584
  echo '<div class="rtmedia-error">';
585
+ echo '<p>' . __( 'Your server failed to send an email.', 'buddypress-media' ) . '</p>';
586
+ echo '<p>' . __( 'Kindly contact your server support to fix this.', 'buddypress-media' ) . '</p>';
587
+ echo '<p>' . __( 'You can alternatively create a support request <a href="https://rtcamp.com/premium-support/" target="_blank">here</a>', 'buddypress-media' ) . '</p>';
588
  echo '</div>';
589
  }
590
  die();
app/helper/RTMediaThemes.php CHANGED
@@ -57,15 +57,15 @@ class RTMediaThemes {
57
  $tabs = array();
58
  global $rtmedia_admin;
59
  $tabs[] = array(
60
- 'title' => __( 'Themes By rtCamp', 'rtmedia' ),
61
- 'name' => __( 'Themes By rtCamp', 'rtmedia' ),
62
  'href' => '#rtmedia-themes',
63
  'icon' => 'dashicons-admin-appearance',
64
  'callback' => array( $this, 'rtmedia_themes_content' )
65
  );
66
  $tabs[] = array(
67
- 'title' => __( '3rd Party Themes', 'rtmedia' ),
68
- 'name' => __( '3rd Party Themes', 'rtmedia' ),
69
  'href' => '#rtmedia-themes-3',
70
  'icon' => 'dashicons-randomize',
71
  'callback' => array( $this, 'rtmedia_3rd_party_themes_content' )
@@ -102,33 +102,33 @@ class RTMediaThemes {
102
 
103
  $themes = array(
104
  'rtdating' => array(
105
- 'name' => __( 'rtDating', 'rtmedia' ),
106
  'image' => RTMEDIA_URL . 'app/assets/admin/img/rtDating.png',
107
  'demo_url' => 'http://demo.rtcamp.com/rtdating/',
108
- 'author' => __( 'rtCamp', 'rtmedia' ),
109
  'author_url' => 'https://rtcamp.com/',
110
  'buy_url' => 'https://rtcamp.com/products/rtdating/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media',
111
- 'description' => __( 'rtDating is a unique, clean and modern theme only for WordPress. This theme is mostly useful for dating sites and community websites. It can also be use for any other WordPress based website.', 'rtmedia' ),
112
  'tags' => 'black, green, white, light, dark, two-columns, three-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready',
113
  ),
114
  'inspirebook' => array(
115
- 'name' => __( 'InspireBook', 'rtmedia' ),
116
  'image' => RTMEDIA_URL . 'app/assets/admin/img/rtmedia-theme-InspireBook.png',
117
  'demo_url' => 'http://demo.rtcamp.com/inspirebook/',
118
- 'author' => __( 'rtCamp', 'rtmedia' ),
119
  'author_url' => 'https://rtcamp.com/',
120
  'buy_url' => 'https://rtcamp.com/products/inspirebook/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media',
121
- 'description' => __( 'InspireBook is a premium WordPress theme, designed especially for BuddyPress and rtMedia powered social-networks.', 'rtmedia' ),
122
  'tags' => 'black, blue, white, light, one-column, two-columns, right-sidebar, custom-header, custom-background, custom-menu, editor-style, theme-options, threaded-comments, sticky-post, translation-ready, responsive-layout, full-width-template, buddypress',
123
  ),
124
  'foodmania' => array(
125
- 'name' => __( 'Foodmania', 'rtmedia' ),
126
  'image' => 'https://rtcamp-481283.c.cdn77.org/wp-content/uploads/edd/2015/08/foodmania-img1.png',
127
  'demo_url' => 'http://demo.rtcamp.com/foodmania/',
128
- 'author' => __( 'rtCamp', 'rtmedia' ),
129
  'author_url' => 'https://rtcamp.com/',
130
  'buy_url' => 'https://rtcamp.com/products/foodmania/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media',
131
- 'description' => __( 'Its premium WordPress theme, designed especially for Food, recipe and photography community sites.', 'rtmedia' ),
132
  'tags' => 'black, yellow, white, dark, one-column, two-columns, right-sidebar, custom-header, custom-background, custom-menu, editor-style, theme-options, threaded-comments, sticky-post, translation-ready, responsive-layout, full-width-template, buddypress',
133
  )
134
  );
@@ -146,21 +146,21 @@ class RTMediaThemes {
146
  <img src="<?php echo $theme[ 'image' ]; ?>" />
147
  </div>
148
 
149
- <span class="more-details"><?php _e( 'Theme Details', 'rtmedia' ); ?></span>
150
 
151
  <h3 class="theme-name"><?php echo $theme[ 'name' ]; ?></h3>
152
 
153
  <div class="theme-actions">
154
- <a class="button load-customize hide-if-no-customize" href="<?php echo $theme[ 'demo_url' ]; ?>"><?php _e( 'Live Demo', 'rtmedia' ); ?></a>
155
- <a class="button button-primary load-customize hide-if-no-customize" href="<?php echo $theme[ 'buy_url' ]; ?>"><?php _e( 'Buy Now', 'rtmedia' ); ?></a>
156
  </div>
157
 
158
  <div class="rtm-theme-content hide">
159
  <div class="theme-wrap">
160
  <div class="theme-header">
161
- <button class="left rtm-previous dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show previous theme', 'rtmedia' ); ?></span></button>
162
- <button class="right rtm-next dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show next theme', 'rtmedia' ); ?></span></button>
163
- <button class="close rtm-close dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Close overlay', 'rtmedia' ); ?></span></button>
164
  </div>
165
 
166
  <div class="theme-about">
@@ -173,14 +173,14 @@ class RTMediaThemes {
173
  <div class="theme-info">
174
  <h3 class="theme-name"><?php echo $theme[ 'name' ]; ?></h3>
175
  <h4 class="theme-author">By <a href="https://rtcamp.com/"><?php echo $theme[ 'author' ]; ?></a></h4>
176
- <p class="theme-description"><?php echo $theme[ 'description' ]; ?> <a href="<?php echo $theme[ 'buy_url' ]; ?>" class="rtmedia-theme-inner-a" target="_blank"><?php _e( 'Read More', 'rtmedia' ); ?></a></p>
177
- <p class="theme-tags"><span><?php _e( 'Tags:', 'rtmedia' ); ?></span><?php echo $theme[ 'tags' ]; ?></p>
178
  </div>
179
  </div>
180
 
181
  <div class="theme-actions">
182
- <a class="button load-customize hide-if-no-customize" href="<?php echo $theme[ 'demo_url' ]; ?>"><?php _e( 'Live Demo', 'rtmedia' ); ?></a>
183
- <a class="button button-primary load-customize hide-if-no-customize" href="<?php echo $theme[ 'buy_url' ]; ?>"><?php _e( 'Buy Now', 'rtmedia' ); ?></a>
184
  </div>
185
  </div>
186
  </div>
@@ -206,43 +206,43 @@ class RTMediaThemes {
206
 
207
  $themes = array(
208
  'msocial' => array(
209
- 'name' => __( '(M) SOCIAL NETWORK BUDDYPRESS THEME', 'rtmedia' ),
210
  'image' => RTMEDIA_URL . 'app/assets/admin/img/rtmedia-theme-msocial.jpg',
211
  'demo_url' => 'http://rt.cx/msocial',
212
- 'author' => __( 'gavick', 'rtmedia' ),
213
  'author_url' => 'http://rt.cx/msocial',
214
  'buy_url' => 'http://rt.cx/msocial',
215
- 'description' => __( '(M)Social is a sophisticated, vibrant community theme that offers incredible grid layouts, with full BuddyPress support so your users can interact with each other, create their own pages, and share their thoughts and images with the community. ', 'rtmedia' ),
216
  'tags' => 'responsive, WPML, BuddyPress, social, business',
217
  ),
218
  'klein' => array(
219
- 'name' => __( 'Klein', 'rtmedia' ),
220
  'image' => RTMEDIA_URL . 'app/assets/admin/img/rtmedia-theme-klein.jpg',
221
  'demo_url' => 'http://rt.cx/klein',
222
- 'author' => __( 'dunhakdis', 'rtmedia' ),
223
  'author_url' => 'http://rt.cx/klein',
224
  'buy_url' => 'http://rt.cx/klein',
225
- 'description' => __( 'Klein is an innovative WordPress theme built to support BuddyPress, bbPress, and WooCommerce out of the box. Perfect for websites that interacts with many users.', 'rtmedia' ),
226
  'tags' => 'bbpress, bp, buddypress, buddypress flat design, buddypress theme, community, responsive buddypress, responsive buddypress theme, social network, wordpress community theme',
227
  ),
228
  'sweetdate' => array(
229
- 'name' => __( 'SweetDate', 'rtmedia' ),
230
  'image' => RTMEDIA_URL . 'app/assets/admin/img/rtmedia-theme-sweetdate.png',
231
  'demo_url' => 'http://rt.cx/sweetdate',
232
- 'author' => __( 'SeventhQueen', 'rtmedia' ),
233
  'author_url' => 'http://rt.cx/sweetdate',
234
  'buy_url' => 'http://rt.cx/sweetdate',
235
- 'description' => __( 'SweetDate is a unique, clean and modern Premium Wordpress theme. It is perfect for a dating or community website but can be used as well for any other domain. They added all the things you need to create a perfect community system.', 'rtmedia' ),
236
  'tags' => 'bbpress, buddypress, clean, community, creative, dating, facebook, foundation, mailchimp, retina, seo, social, woocommerce, wordpress, zurb',
237
  ),
238
  'kleo' => array(
239
- 'name' => __( 'KLEO', 'rtmedia' ),
240
  'image' => RTMEDIA_URL . 'app/assets/admin/img/rtmedia-theme-kleo.png',
241
  'demo_url' => 'http://rt.cx/kleo',
242
- 'author' => __( 'SeventhQueen', 'rtmedia' ),
243
  'author_url' => 'http://rt.cx/kleo',
244
  'buy_url' => 'http://rt.cx/kleo',
245
- 'description' => __( 'You no longer need to be a professional developer or designer to create an awesome website. Let your imagination run wild and create the site of your dreams. KLEO has all the tools to get you started.', 'rtmedia' ),
246
  'tags' => 'bbpress, Bootstrap 3, buddypress, clean design, community theme, e-commerce theme, multi-purpose, responsive design, retina, woocommerce, wordpress theme',
247
  )
248
  );
@@ -261,21 +261,21 @@ class RTMediaThemes {
261
  <img src="<?php echo $theme[ 'image' ]; ?>" />
262
  </div>
263
 
264
- <span class="more-details"><?php _e( 'Theme Details', 'rtmedia' ); ?></span>
265
 
266
  <h3 class="theme-name"><?php echo $theme[ 'name' ]; ?></h3>
267
 
268
  <div class="theme-actions">
269
- <a class="button load-customize hide-if-no-customize" href="<?php echo $theme[ 'demo_url' ]; ?>"><?php _e( 'Live Demo', 'rtmedia' ); ?></a>
270
- <a class="button button-primary load-customize hide-if-no-customize" href="<?php echo $theme[ 'buy_url' ]; ?>"><?php _e( 'Buy Now', 'rtmedia' ); ?></a>
271
  </div>
272
 
273
  <div class="rtm-theme-content hide">
274
  <div class="theme-wrap">
275
  <div class="theme-header">
276
- <button class="left rtm-previous dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show previous theme', 'rtmedia' ); ?></span></button>
277
- <button class="right rtm-next dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show next theme', 'rtmedia' ); ?></span></button>
278
- <button class="close rtm-close dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Close overlay', 'rtmedia' ); ?></span></button>
279
  </div>
280
 
281
  <div class="theme-about">
@@ -288,14 +288,14 @@ class RTMediaThemes {
288
  <div class="theme-info">
289
  <h3 class="theme-name"><?php echo $theme[ 'name' ]; ?></h3>
290
  <h4 class="theme-author">By <a href="<?php echo $theme[ 'author_url' ]; ?>"><?php echo $theme[ 'author' ]; ?></a></h4>
291
- <p class="theme-description"><?php echo $theme[ 'description' ]; ?> <a href="<?php echo $theme[ 'buy_url' ]; ?>" class="rtmedia-theme-inner-a" target="_blank"><?php _e( 'Read More', 'rtmedia' ); ?></a></p>
292
- <p class="theme-tags"><span><?php _e( 'Tags:', 'rtmedia' ); ?></span><?php echo $theme[ 'tags' ]; ?></p>
293
  </div>
294
  </div>
295
 
296
  <div class="theme-actions">
297
- <a class="button load-customize hide-if-no-customize" href="<?php echo $theme[ 'demo_url' ]; ?>"><?php _e( 'Live Demo', 'rtmedia' ); ?></a>
298
- <a class="button button-primary load-customize hide-if-no-customize" href="<?php echo $theme[ 'buy_url' ]; ?>"><?php _e( 'Buy Now', 'rtmedia' ); ?></a>
299
  </div>
300
  </div>
301
  </div>
@@ -305,14 +305,14 @@ class RTMediaThemes {
305
  </div>
306
  </div>
307
 
308
- <div class="rtmedia-theme-warning rtm-warning"><?php _e( 'These are the third party themes. For any issues or queries regarding these themes please contact theme developers.', 'rtmedia' ) ?></div>
309
 
310
  <div>
311
- <h3 class="rtm-option-title"><?php _e( 'Are you a developer?', 'rtmedia' ); ?></h3>
312
 
313
  <p>
314
- <?php _e( 'If you have developed a rtMedia compatible theme and would like it to list here, please email us at', 'rtmedia' ) ?>
315
- <a href="mailto:product@rtcamp.com"><?php _e( 'product@rtcamp.com', 'rtmedia' ) ?></a>.
316
  </p>
317
  </div>
318
  <?php
57
  $tabs = array();
58
  global $rtmedia_admin;
59
  $tabs[] = array(
60
+ 'title' => __( 'Themes By rtCamp', 'buddypress-media' ),
61
+ 'name' => __( 'Themes By rtCamp', 'buddypress-media' ),
62
  'href' => '#rtmedia-themes',
63
  'icon' => 'dashicons-admin-appearance',
64
  'callback' => array( $this, 'rtmedia_themes_content' )
65
  );
66
  $tabs[] = array(
67
+ 'title' => __( '3rd Party Themes', 'buddypress-media' ),
68
+ 'name' => __( '3rd Party Themes', 'buddypress-media' ),
69
  'href' => '#rtmedia-themes-3',
70
  'icon' => 'dashicons-randomize',
71
  'callback' => array( $this, 'rtmedia_3rd_party_themes_content' )
102
 
103
  $themes = array(
104
  'rtdating' => array(
105
+ 'name' => __( 'rtDating', 'buddypress-media' ),
106
  'image' => RTMEDIA_URL . 'app/assets/admin/img/rtDating.png',
107
  'demo_url' => 'http://demo.rtcamp.com/rtdating/',
108
+ 'author' => __( 'rtCamp', 'buddypress-media' ),
109
  'author_url' => 'https://rtcamp.com/',
110
  'buy_url' => 'https://rtcamp.com/products/rtdating/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media',
111
+ 'description' => __( 'rtDating is a unique, clean and modern theme only for WordPress. This theme is mostly useful for dating sites and community websites. It can also be use for any other WordPress based website.', 'buddypress-media' ),
112
  'tags' => 'black, green, white, light, dark, two-columns, three-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready',
113
  ),
114
  'inspirebook' => array(
115
+ 'name' => __( 'InspireBook', 'buddypress-media' ),
116
  'image' => RTMEDIA_URL . 'app/assets/admin/img/rtmedia-theme-InspireBook.png',
117
  'demo_url' => 'http://demo.rtcamp.com/inspirebook/',
118
+ 'author' => __( 'rtCamp', 'buddypress-media' ),
119
  'author_url' => 'https://rtcamp.com/',
120
  'buy_url' => 'https://rtcamp.com/products/inspirebook/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media',
121
+ 'description' => __( 'InspireBook is a premium WordPress theme, designed especially for BuddyPress and rtMedia powered social-networks.', 'buddypress-media' ),
122
  'tags' => 'black, blue, white, light, one-column, two-columns, right-sidebar, custom-header, custom-background, custom-menu, editor-style, theme-options, threaded-comments, sticky-post, translation-ready, responsive-layout, full-width-template, buddypress',
123
  ),
124
  'foodmania' => array(
125
+ 'name' => __( 'Foodmania', 'buddypress-media' ),
126
  'image' => 'https://rtcamp-481283.c.cdn77.org/wp-content/uploads/edd/2015/08/foodmania-img1.png',
127
  'demo_url' => 'http://demo.rtcamp.com/foodmania/',
128
+ 'author' => __( 'rtCamp', 'buddypress-media' ),
129
  'author_url' => 'https://rtcamp.com/',
130
  'buy_url' => 'https://rtcamp.com/products/foodmania/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media',
131
+ 'description' => __( 'Its premium WordPress theme, designed especially for Food, recipe and photography community sites.', 'buddypress-media' ),
132
  'tags' => 'black, yellow, white, dark, one-column, two-columns, right-sidebar, custom-header, custom-background, custom-menu, editor-style, theme-options, threaded-comments, sticky-post, translation-ready, responsive-layout, full-width-template, buddypress',
133
  )
134
  );
146
  <img src="<?php echo $theme[ 'image' ]; ?>" />
147
  </div>
148
 
149
+ <span class="more-details"><?php _e( 'Theme Details', 'buddypress-media' ); ?></span>
150
 
151
  <h3 class="theme-name"><?php echo $theme[ 'name' ]; ?></h3>
152
 
153
  <div class="theme-actions">
154
+ <a class="button load-customize hide-if-no-customize" href="<?php echo $theme[ 'demo_url' ]; ?>"><?php _e( 'Live Demo', 'buddypress-media' ); ?></a>
155
+ <a class="button button-primary load-customize hide-if-no-customize" href="<?php echo $theme[ 'buy_url' ]; ?>"><?php _e( 'Buy Now', 'buddypress-media' ); ?></a>
156
  </div>
157
 
158
  <div class="rtm-theme-content hide">
159
  <div class="theme-wrap">
160
  <div class="theme-header">
161
+ <button class="left rtm-previous dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show previous theme', 'buddypress-media' ); ?></span></button>
162
+ <button class="right rtm-next dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show next theme', 'buddypress-media' ); ?></span></button>
163
+ <button class="close rtm-close dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Close overlay', 'buddypress-media' ); ?></span></button>
164
  </div>
165
 
166
  <div class="theme-about">
173
  <div class="theme-info">
174
  <h3 class="theme-name"><?php echo $theme[ 'name' ]; ?></h3>
175
  <h4 class="theme-author">By <a href="https://rtcamp.com/"><?php echo $theme[ 'author' ]; ?></a></h4>
176
+ <p class="theme-description"><?php echo $theme[ 'description' ]; ?> <a href="<?php echo $theme[ 'buy_url' ]; ?>" class="rtmedia-theme-inner-a" target="_blank"><?php _e( 'Read More', 'buddypress-media' ); ?></a></p>
177
+ <p class="theme-tags"><span><?php _e( 'Tags:', 'buddypress-media' ); ?></span><?php echo $theme[ 'tags' ]; ?></p>
178
  </div>
179
  </div>
180
 
181
  <div class="theme-actions">
182
+ <a class="button load-customize hide-if-no-customize" href="<?php echo $theme[ 'demo_url' ]; ?>"><?php _e( 'Live Demo', 'buddypress-media' ); ?></a>
183
+ <a class="button button-primary load-customize hide-if-no-customize" href="<?php echo $theme[ 'buy_url' ]; ?>"><?php _e( 'Buy Now', 'buddypress-media' ); ?></a>
184
  </div>
185
  </div>
186
  </div>
206
 
207
  $themes = array(
208
  'msocial' => array(
209
+ 'name' => __( '(M) SOCIAL NETWORK BUDDYPRESS THEME', 'buddypress-media' ),
210
  'image' => RTMEDIA_URL . 'app/assets/admin/img/rtmedia-theme-msocial.jpg',
211
  'demo_url' => 'http://rt.cx/msocial',
212
+ 'author' => __( 'gavick', 'buddypress-media' ),
213
  'author_url' => 'http://rt.cx/msocial',
214
  'buy_url' => 'http://rt.cx/msocial',
215
+ 'description' => __( '(M)Social is a sophisticated, vibrant community theme that offers incredible grid layouts, with full BuddyPress support so your users can interact with each other, create their own pages, and share their thoughts and images with the community. ', 'buddypress-media' ),
216
  'tags' => 'responsive, WPML, BuddyPress, social, business',
217
  ),
218
  'klein' => array(
219
+ 'name' => __( 'Klein', 'buddypress-media' ),
220
  'image' => RTMEDIA_URL . 'app/assets/admin/img/rtmedia-theme-klein.jpg',
221
  'demo_url' => 'http://rt.cx/klein',
222
+ 'author' => __( 'dunhakdis', 'buddypress-media' ),
223
  'author_url' => 'http://rt.cx/klein',
224
  'buy_url' => 'http://rt.cx/klein',
225
+ 'description' => __( 'Klein is an innovative WordPress theme built to support BuddyPress, bbPress, and WooCommerce out of the box. Perfect for websites that interacts with many users.', 'buddypress-media' ),
226
  'tags' => 'bbpress, bp, buddypress, buddypress flat design, buddypress theme, community, responsive buddypress, responsive buddypress theme, social network, wordpress community theme',
227
  ),
228
  'sweetdate' => array(
229
+ 'name' => __( 'SweetDate', 'buddypress-media' ),
230
  'image' => RTMEDIA_URL . 'app/assets/admin/img/rtmedia-theme-sweetdate.png',
231
  'demo_url' => 'http://rt.cx/sweetdate',
232
+ 'author' => __( 'SeventhQueen', 'buddypress-media' ),
233
  'author_url' => 'http://rt.cx/sweetdate',
234
  'buy_url' => 'http://rt.cx/sweetdate',
235
+ 'description' => __( 'SweetDate is a unique, clean and modern Premium Wordpress theme. It is perfect for a dating or community website but can be used as well for any other domain. They added all the things you need to create a perfect community system.', 'buddypress-media' ),
236
  'tags' => 'bbpress, buddypress, clean, community, creative, dating, facebook, foundation, mailchimp, retina, seo, social, woocommerce, wordpress, zurb',
237
  ),
238
  'kleo' => array(
239
+ 'name' => __( 'KLEO', 'buddypress-media' ),
240
  'image' => RTMEDIA_URL . 'app/assets/admin/img/rtmedia-theme-kleo.png',
241
  'demo_url' => 'http://rt.cx/kleo',
242
+ 'author' => __( 'SeventhQueen', 'buddypress-media' ),
243
  'author_url' => 'http://rt.cx/kleo',
244
  'buy_url' => 'http://rt.cx/kleo',
245
+ 'description' => __( 'You no longer need to be a professional developer or designer to create an awesome website. Let your imagination run wild and create the site of your dreams. KLEO has all the tools to get you started.', 'buddypress-media' ),
246
  'tags' => 'bbpress, Bootstrap 3, buddypress, clean design, community theme, e-commerce theme, multi-purpose, responsive design, retina, woocommerce, wordpress theme',
247
  )
248
  );
261
  <img src="<?php echo $theme[ 'image' ]; ?>" />
262
  </div>
263
 
264
+ <span class="more-details"><?php _e( 'Theme Details', 'buddypress-media' ); ?></span>
265
 
266
  <h3 class="theme-name"><?php echo $theme[ 'name' ]; ?></h3>
267
 
268
  <div class="theme-actions">
269
+ <a class="button load-customize hide-if-no-customize" href="<?php echo $theme[ 'demo_url' ]; ?>"><?php _e( 'Live Demo', 'buddypress-media' ); ?></a>
270
+ <a class="button button-primary load-customize hide-if-no-customize" href="<?php echo $theme[ 'buy_url' ]; ?>"><?php _e( 'Buy Now', 'buddypress-media' ); ?></a>
271
  </div>
272
 
273
  <div class="rtm-theme-content hide">
274
  <div class="theme-wrap">
275
  <div class="theme-header">
276
+ <button class="left rtm-previous dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show previous theme', 'buddypress-media' ); ?></span></button>
277
+ <button class="right rtm-next dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show next theme', 'buddypress-media' ); ?></span></button>
278
+ <button class="close rtm-close dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Close overlay', 'buddypress-media' ); ?></span></button>
279
  </div>
280
 
281
  <div class="theme-about">
288
  <div class="theme-info">
289
  <h3 class="theme-name"><?php echo $theme[ 'name' ]; ?></h3>
290
  <h4 class="theme-author">By <a href="<?php echo $theme[ 'author_url' ]; ?>"><?php echo $theme[ 'author' ]; ?></a></h4>
291
+ <p class="theme-description"><?php echo $theme[ 'description' ]; ?> <a href="<?php echo $theme[ 'buy_url' ]; ?>" class="rtmedia-theme-inner-a" target="_blank"><?php _e( 'Read More', 'buddypress-media' ); ?></a></p>
292
+ <p class="theme-tags"><span><?php _e( 'Tags:', 'buddypress-media' ); ?></span><?php echo $theme[ 'tags' ]; ?></p>
293
  </div>
294
  </div>
295
 
296
  <div class="theme-actions">
297
+ <a class="button load-customize hide-if-no-customize" href="<?php echo $theme[ 'demo_url' ]; ?>"><?php _e( 'Live Demo', 'buddypress-media' ); ?></a>
298
+ <a class="button button-primary load-customize hide-if-no-customize" href="<?php echo $theme[ 'buy_url' ]; ?>"><?php _e( 'Buy Now', 'buddypress-media' ); ?></a>
299
  </div>
300
  </div>
301
  </div>
305
  </div>
306
  </div>
307
 
308
+ <div class="rtmedia-theme-warning rtm-warning"><?php _e( 'These are the third party themes. For any issues or queries regarding these themes please contact theme developers.', 'buddypress-media' ) ?></div>
309
 
310
  <div>
311
+ <h3 class="rtm-option-title"><?php _e( 'Are you a developer?', 'buddypress-media' ); ?></h3>
312
 
313
  <p>
314
+ <?php _e( 'If you have developed a rtMedia compatible theme and would like it to list here, please email us at', 'buddypress-media' ) ?>
315
+ <a href="mailto:product@rtcamp.com"><?php _e( 'product@rtcamp.com', 'buddypress-media' ) ?></a>.
316
  </p>
317
  </div>
318
  <?php
app/helper/RTMediaUploadException.php CHANGED
@@ -38,25 +38,25 @@ class RTMediaUploadException extends Exception {
38
  switch ( $code ) {
39
  case UPLOAD_ERR_INI_SIZE:
40
  case UPLOAD_ERR_FORM_SIZE:
41
- $message = apply_filters( 'bp_media_file_size_error', __( 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form', 'rtmedia' ) );
42
  break;
43
  case UPLOAD_ERR_NO_FILE:
44
- $message = apply_filters( 'bp_media_file_null_error', __( 'No file was uploaded', 'rtmedia' ) );
45
  break;
46
  case UPLOAD_ERR_PARTIAL:
47
  case UPLOAD_ERR_NO_TMP_DIR:
48
  case UPLOAD_ERR_CANT_WRITE:
49
- $message = apply_filters( 'bp_media_file_internal_error', __( 'Uploade failed due to internal server error.', 'rtmedia' ) );
50
  break;
51
  case UPLOAD_ERR_EXTENSION:
52
- $message = apply_filters( 'bp_media_file_extension_error', __( 'File type not allowed.', 'rtmedia' ) );
53
  break;
54
 
55
  case $this->upload_err_invalid_context:
56
- $message = apply_filters( 'rtmedia_invalid_context_error', __( 'Invalid Context for upload.', 'rtmedia' ) );
57
  break;
58
  default:
59
- $msg = $msg ? $msg : __( 'Unknown file upload error.', 'rtmedia' );
60
  $message = apply_filters( 'bp_media_file_unknown_error', $msg );
61
  break;
62
  }
38
  switch ( $code ) {
39
  case UPLOAD_ERR_INI_SIZE:
40
  case UPLOAD_ERR_FORM_SIZE:
41
+ $message = apply_filters( 'bp_media_file_size_error', __( 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form', 'buddypress-media' ) );
42
  break;
43
  case UPLOAD_ERR_NO_FILE:
44
+ $message = apply_filters( 'bp_media_file_null_error', __( 'No file was uploaded', 'buddypress-media' ) );
45
  break;
46
  case UPLOAD_ERR_PARTIAL:
47
  case UPLOAD_ERR_NO_TMP_DIR:
48
  case UPLOAD_ERR_CANT_WRITE:
49
+ $message = apply_filters( 'bp_media_file_internal_error', __( 'Uploade failed due to internal server error.', 'buddypress-media' ) );
50
  break;
51
  case UPLOAD_ERR_EXTENSION:
52
+ $message = apply_filters( 'bp_media_file_extension_error', __( 'File type not allowed.', 'buddypress-media' ) );
53
  break;
54
 
55
  case $this->upload_err_invalid_context:
56
+ $message = apply_filters( 'rtmedia_invalid_context_error', __( 'Invalid Context for upload.', 'buddypress-media' ) );
57
  break;
58
  default:
59
+ $msg = $msg ? $msg : __( 'Unknown file upload error.', 'buddypress-media' );
60
  $message = apply_filters( 'bp_media_file_unknown_error', $msg );
61
  break;
62
  }
app/importers/BPMediaAlbumimporter.php CHANGED
@@ -68,16 +68,16 @@ class BPMediaAlbumimporter extends BPMediaImporter {
68
  if ( ( $finished[ 0 ]->media != $total[ 0 ]->media ) || ( $users[ 'total_users' ] > $completed_users_favorites ) ) {
69
  if ( 1 != $bp_album_active ) {
70
  echo '<div id="setting-error-bp-album-importer" class="error settings-error below-h2">
71
- <p><strong>' . __( 'Warning!', 'rtmedia' ) . '</strong> ' . sprintf( __( 'This import process is irreversible. Although everything is tested, please take a <a target="_blank" href="http://codex.wordpress.org/WordPress_Backups">backup of your database and files</a>, before proceeding. If you don\'t know your way around databases and files, consider <a target="_blank" href="%s">hiring us</a>, or another professional.', 'rtmedia' ), 'http://rtcamp.com/contact/?purpose=buddypress&utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media' ) . '</p>';
72
- echo '<p>' . __( 'If you have set "WP_DEBUG" in you wp-config.php file, please make sure it is set to "false", so that it doesn\'t conflict with the import process.', 'rtmedia' ) . '</p></div>';
73
- echo '<div class="bp-album-import-accept"><p><strong><label for="bp-album-import-accept"><input type="checkbox" value="accept" name="bp-album-import-accept" id="bp-album-import-accept" /> ' . __( 'I have taken a backup of the database and files of this site.', 'rtmedia' ) . '</label></strong></p></div>';
74
  echo '<button id="bpmedia-bpalbumimport" class="button button-primary">';
75
- _e( 'Start Import', 'rtmedia' );
76
  echo '</button>';
77
  echo '<div class="bp-album-importer-wizard">';
78
  echo '<div class="bp-album-users">';
79
  echo '<strong>';
80
- echo __( 'Users', 'rtmedia' ) . ': <span class="finished">' . $finished_users[ 0 ]->users . '</span> / <span class="total">' . $total[ 0 ]->users . '</span>';
81
  echo '</strong>';
82
  if ( 0 != $total[ 0 ]->users ) {
83
  $users_progress = $this->progress->progress( $finished_users[ 0 ]->users, $total[ 0 ]->users );
@@ -87,7 +87,7 @@ class BPMediaAlbumimporter extends BPMediaImporter {
87
  echo '<br />';
88
  echo '<div class="bp-album-media">';
89
  echo '<strong>';
90
- echo __( 'Media', 'rtmedia' ) . ': <span class="finished">' . $finished[ 0 ]->media . '</span> / <span class="total">' . $total[ 0 ]->media . '</span>';
91
  echo '</strong>';
92
  $progress = 100;
93
  if ( 0 != $total[ 0 ]->media ) {
@@ -107,20 +107,20 @@ class BPMediaAlbumimporter extends BPMediaImporter {
107
  echo '<div class="bp-album-comments">';
108
  if ( 0 != $total_comments ) {
109
  echo '<strong>';
110
- echo __( 'Comments', 'rtmedia' ) . ': <span class="finished">' . $finished_comments . '</span> / <span class="total">' . $total_comments . '</span>';
111
  echo '</strong>';
112
  $comments_progress = $this->progress->progress( $finished_comments, $total_comments );
113
  $this->progress->progress_ui( $comments_progress );
114
  echo '<br />';
115
  } else {
116
- echo '<p><strong>' . __( 'Comments: 0/0 (No comments to import)', 'rtmedia' ) . '</strong></p>';
117
  }
118
  echo '</div>';
119
  if ( 0 != $completed_users_favorites ) {
120
  echo '<br />';
121
  echo '<div class="bp-album-favorites">';
122
  echo '<strong>';
123
- echo __( 'User\'s Favorites', 'rtmedia' ) . ': <span class="finished">' . $completed_users_favorites . '</span> / <span class="total">' . $users[ 'total_users' ] . '</span>';
124
  echo '</strong>';
125
  $favorites_progress = $this->progress->progress( $completed_users_favorites, $users[ 'total_users' ] );
126
  $this->progress->progress_ui( $favorites_progress );
@@ -129,15 +129,15 @@ class BPMediaAlbumimporter extends BPMediaImporter {
129
  echo '</div>';
130
  } else {
131
  $deactivate_link = wp_nonce_url( admin_url( 'plugins.php?action=deactivate&amp;plugin=' . urlencode( $this->path ) ), 'deactivate-plugin_' . $this->path );
132
- echo '<p>' . __( 'BP-Album is active on your site and will cause problems with the import.', 'rtmedia' ) . '</p>';
133
- echo '<p><a class="button button-primary deactivate-bp-album" href="' . $deactivate_link . '">' . __( 'Click here to deactivate BP-Album and continue importing', 'rtmedia' ) . '</a></p>';
134
  }
135
  } else {
136
  $corrupt_media = BPMediaAlbumimporter::get_corrupt_media();
137
  if ( $corrupt_media ) {
138
  echo '<div class="error below-h2">';
139
- echo '<p><strong>' . __( 'Some of the media failed to import. The file might be corrupt or deleted.', 'rtmedia' ) . '</strong></p>';
140
- echo '<p>' . sprintf( __( 'The following %d BP Album Media id\'s could not be imported', 'rtmedia' ), count( $corrupt_media ) ) . ': </p>';
141
  $corrupt_prefix_path = str_replace( '/wp-content', '', WP_CONTENT_URL );
142
  foreach ( $corrupt_media as $corrupt ) {
143
  echo '<p>' . $corrupt->id . ' => <a href="' . $corrupt_prefix_path . $corrupt->pic_org_url . '">' . $corrupt->title . '</a></p>';
@@ -146,43 +146,43 @@ class BPMediaAlbumimporter extends BPMediaImporter {
146
  } else {
147
  echo '<div class="bp-album-import-accept i-accept">';
148
  echo '<p class="info">';
149
- $message = sprintf( __( 'I just imported bp-album to @rtMediaWP http://rt.cx/rtmedia on %s', 'rtmedia' ), home_url() );
150
- echo '<strong>' . __( 'Congratulations!', 'rtmedia' ) . '</strong> ' . __( 'All media from BP Album has been imported.', 'rtmedia' );
151
- echo ' <a href="http://twitter.com/home/?status=' . $message . '" class="button button-import-tweet" target= "_blank">' . __( 'Tweet this', 'rtmedia' ) . '</a>';
152
  echo '</p>';
153
  echo '</div>';
154
  }
155
- echo '<p>' . __( 'However, a lot of unnecessary files and a database table are still eating up your resources. If everything seems fine, you can clean this data up.', 'rtmedia' ) . '</p>';
156
  echo '<br />';
157
  echo '<button id="bpmedia-bpalbumimport-cleanup" class="button btn-warning">';
158
- _e( 'Clean up Now', 'rtmedia' );
159
  echo '</button>';
160
  echo ' <a href="' . esc_url( add_query_arg( array( 'page' => 'bp-media-settings' ), ( is_multisite() ? network_admin_url( 'admin.php' ) : admin_url( 'admin.php' ) ) ) ) . '" id="bpmedia-bpalbumimport-cleanup-later" class="button">';
161
- _e( 'Clean up Later', 'rtmedia' );
162
  echo '</a>';
163
  echo '<br />';
164
  echo '<br />';
165
  echo '<br />';
166
- echo '<strong>' . __( 'Why don\'t you try adding some instagram like effects to your images?', 'rtmedia' ) . '</strong>';
167
  echo '<div class="bp-media-addon">
168
  <a href="http://rtcamp.com/products/buddypress-media-instagram/?utm_source=dashboard&amp;utm_medium=plugin&amp;utm_campaign=buddypress-media&amp;utm_content=bp-album-importer" title="BuddyPress-Media Instagram" target="_blank">
169
  <img width="240" height="184" title="BuddyPress-Media Instagram" alt="BuddyPress-Media Instagram" src="' . $img_src . 'BuddyPressMedia-Instagram.png?ref=bp-album-importer">
170
  </a>
171
  <h4><a href="http://rtcamp.com/products/buddypress-media-instagram/?utm_source=dashboard&amp;utm_medium=plugin&amp;utm_campaign=buddypress-media&amp;utm_content=bp-album-importer" title="BuddyPress-Media Instagram" target="_blank">BuddyPress-Media Instagram</a></h4>
172
  <div class="product_desc">
173
- <p>' . __( 'BuddyPress Media Instagram adds Instagram like filters to images uploaded with BuddyPress Media.', 'rtmedia' ) . '</p>
174
- <p><strong>' . __( 'Important', 'rtmedia' ) . ':</strong> ' . __( 'You need to have ImageMagick installed on your server for this addon to work.', 'rtmedia' ) . '</p>
175
  </div>
176
  <div class="product_footer">
177
  <span class="price alignleft"><span class="amount">$19</span></span>
178
- <a class="add_to_cart_button alignright product_type_simple" href="http://rtcamp.com/products/?utm_source=dashboard&amp;utm_medium=plugin&amp;utm_campaign=buddypress-media&amp;utm_content=bp-album-importer&amp;add-to-cart=34379" target="_blank">' . __( 'Buy Now', 'rtmedia' ) . '</a>
179
- <a class="alignleft product_demo_link" href="http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&amp;utm_medium=plugin&amp;utm_campaign=buddypress-media&amp;utm_content=bp-album-importer" title="BuddyPress-Media Instagram" target="_blank">' . __( 'Live Demo', 'rtmedia' ) . '</a>
180
  </div></div>';
181
  }
182
  echo '</div>';
183
  } else {
184
- echo '<p>' . __( 'Looks like you don\'t use BP Album. Is there any other BuddyPress Plugin you want an importer for?', 'rtmedia' ) . '</p>';
185
- echo '<p>' . sprintf( __( '<a href="%s">Create an issue</a> on GitHub requesting the same.', 'rtmedia' ), 'https://github.com/rtCamp/rtMedia/issues/new' ) . '</p>';
186
  }
187
  }
188
 
68
  if ( ( $finished[ 0 ]->media != $total[ 0 ]->media ) || ( $users[ 'total_users' ] > $completed_users_favorites ) ) {
69
  if ( 1 != $bp_album_active ) {
70
  echo '<div id="setting-error-bp-album-importer" class="error settings-error below-h2">
71
+ <p><strong>' . __( 'Warning!', 'buddypress-media' ) . '</strong> ' . sprintf( __( 'This import process is irreversible. Although everything is tested, please take a <a target="_blank" href="http://codex.wordpress.org/WordPress_Backups">backup of your database and files</a>, before proceeding. If you don\'t know your way around databases and files, consider <a target="_blank" href="%s">hiring us</a>, or another professional.', 'buddypress-media' ), 'http://rtcamp.com/contact/?purpose=buddypress&utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media' ) . '</p>';
72
+ echo '<p>' . __( 'If you have set "WP_DEBUG" in you wp-config.php file, please make sure it is set to "false", so that it doesn\'t conflict with the import process.', 'buddypress-media' ) . '</p></div>';
73
+ echo '<div class="bp-album-import-accept"><p><strong><label for="bp-album-import-accept"><input type="checkbox" value="accept" name="bp-album-import-accept" id="bp-album-import-accept" /> ' . __( 'I have taken a backup of the database and files of this site.', 'buddypress-media' ) . '</label></strong></p></div>';
74
  echo '<button id="bpmedia-bpalbumimport" class="button button-primary">';
75
+ _e( 'Start Import', 'buddypress-media' );
76
  echo '</button>';
77
  echo '<div class="bp-album-importer-wizard">';
78
  echo '<div class="bp-album-users">';
79
  echo '<strong>';
80
+ echo __( 'Users', 'buddypress-media' ) . ': <span class="finished">' . $finished_users[ 0 ]->users . '</span> / <span class="total">' . $total[ 0 ]->users . '</span>';
81
  echo '</strong>';
82
  if ( 0 != $total[ 0 ]->users ) {
83
  $users_progress = $this->progress->progress( $finished_users[ 0 ]->users, $total[ 0 ]->users );
87
  echo '<br />';
88
  echo '<div class="bp-album-media">';
89
  echo '<strong>';
90
+ echo __( 'Media', 'buddypress-media' ) . ': <span class="finished">' . $finished[ 0 ]->media . '</span> / <span class="total">' . $total[ 0 ]->media . '</span>';
91
  echo '</strong>';
92
  $progress = 100;
93
  if ( 0 != $total[ 0 ]->media ) {
107
  echo '<div class="bp-album-comments">';
108
  if ( 0 != $total_comments ) {
109
  echo '<strong>';
110
+ echo __( 'Comments', 'buddypress-media' ) . ': <span class="finished">' . $finished_comments . '</span> / <span class="total">' . $total_comments . '</span>';
111
  echo '</strong>';
112
  $comments_progress = $this->progress->progress( $finished_comments, $total_comments );
113
  $this->progress->progress_ui( $comments_progress );
114
  echo '<br />';
115
  } else {
116
+ echo '<p><strong>' . __( 'Comments: 0/0 (No comments to import)', 'buddypress-media' ) . '</strong></p>';
117
  }
118
  echo '</div>';
119
  if ( 0 != $completed_users_favorites ) {
120
  echo '<br />';
121
  echo '<div class="bp-album-favorites">';
122
  echo '<strong>';
123
+ echo __( 'User\'s Favorites', 'buddypress-media' ) . ': <span class="finished">' . $completed_users_favorites . '</span> / <span class="total">' . $users[ 'total_users' ] . '</span>';
124
  echo '</strong>';
125
  $favorites_progress = $this->progress->progress( $completed_users_favorites, $users[ 'total_users' ] );
126
  $this->progress->progress_ui( $favorites_progress );
129
  echo '</div>';
130
  } else {
131
  $deactivate_link = wp_nonce_url( admin_url( 'plugins.php?action=deactivate&amp;plugin=' . urlencode( $this->path ) ), 'deactivate-plugin_' . $this->path );
132
+ echo '<p>' . __( 'BP-Album is active on your site and will cause problems with the import.', 'buddypress-media' ) . '</p>';
133
+ echo '<p><a class="button button-primary deactivate-bp-album" href="' . $deactivate_link . '">' . __( 'Click here to deactivate BP-Album and continue importing', 'buddypress-media' ) . '</a></p>';
134
  }
135
  } else {
136
  $corrupt_media = BPMediaAlbumimporter::get_corrupt_media();
137
  if ( $corrupt_media ) {
138
  echo '<div class="error below-h2">';
139
+ echo '<p><strong>' . __( 'Some of the media failed to import. The file might be corrupt or deleted.', 'buddypress-media' ) . '</strong></p>';
140
+ echo '<p>' . sprintf( __( 'The following %d BP Album Media id\'s could not be imported', 'buddypress-media' ), count( $corrupt_media ) ) . ': </p>';
141
  $corrupt_prefix_path = str_replace( '/wp-content', '', WP_CONTENT_URL );
142
  foreach ( $corrupt_media as $corrupt ) {
143
  echo '<p>' . $corrupt->id . ' => <a href="' . $corrupt_prefix_path . $corrupt->pic_org_url . '">' . $corrupt->title . '</a></p>';
146
  } else {
147
  echo '<div class="bp-album-import-accept i-accept">';
148
  echo '<p class="info">';
149
+ $message = sprintf( __( 'I just imported bp-album to @rtMediaWP http://rt.cx/rtmedia on %s', 'buddypress-media' ), home_url() );
150
+ echo '<strong>' . __( 'Congratulations!', 'buddypress-media' ) . '</strong> ' . __( 'All media from BP Album has been imported.', 'buddypress-media' );
151
+ echo ' <a href="http://twitter.com/home/?status=' . $message . '" class="button button-import-tweet" target= "_blank">' . __( 'Tweet this', 'buddypress-media' ) . '</a>';
152
  echo '</p>';
153
  echo '</div>';
154
  }
155
+ echo '<p>' . __( 'However, a lot of unnecessary files and a database table are still eating up your resources. If everything seems fine, you can clean this data up.', 'buddypress-media' ) . '</p>';
156
  echo '<br />';
157
  echo '<button id="bpmedia-bpalbumimport-cleanup" class="button btn-warning">';
158
+ _e( 'Clean up Now', 'buddypress-media' );
159
  echo '</button>';
160
  echo ' <a href="' . esc_url( add_query_arg( array( 'page' => 'bp-media-settings' ), ( is_multisite() ? network_admin_url( 'admin.php' ) : admin_url( 'admin.php' ) ) ) ) . '" id="bpmedia-bpalbumimport-cleanup-later" class="button">';
161
+ _e( 'Clean up Later', 'buddypress-media' );
162
  echo '</a>';
163
  echo '<br />';
164
  echo '<br />';
165
  echo '<br />';
166
+ echo '<strong>' . __( 'Why don\'t you try adding some instagram like effects to your images?', 'buddypress-media' ) . '</strong>';
167
  echo '<div class="bp-media-addon">
168
  <a href="http://rtcamp.com/products/buddypress-media-instagram/?utm_source=dashboard&amp;utm_medium=plugin&amp;utm_campaign=buddypress-media&amp;utm_content=bp-album-importer" title="BuddyPress-Media Instagram" target="_blank">
169
  <img width="240" height="184" title="BuddyPress-Media Instagram" alt="BuddyPress-Media Instagram" src="' . $img_src . 'BuddyPressMedia-Instagram.png?ref=bp-album-importer">
170
  </a>
171
  <h4><a href="http://rtcamp.com/products/buddypress-media-instagram/?utm_source=dashboard&amp;utm_medium=plugin&amp;utm_campaign=buddypress-media&amp;utm_content=bp-album-importer" title="BuddyPress-Media Instagram" target="_blank">BuddyPress-Media Instagram</a></h4>
172
  <div class="product_desc">
173
+ <p>' . __( 'BuddyPress Media Instagram adds Instagram like filters to images uploaded with BuddyPress Media.', 'buddypress-media' ) . '</p>
174
+ <p><strong>' . __( 'Important', 'buddypress-media' ) . ':</strong> ' . __( 'You need to have ImageMagick installed on your server for this addon to work.', 'buddypress-media' ) . '</p>
175
  </div>
176
  <div class="product_footer">
177
  <span class="price alignleft"><span class="amount">$19</span></span>
178
+ <a class="add_to_cart_button alignright product_type_simple" href="http://rtcamp.com/products/?utm_source=dashboard&amp;utm_medium=plugin&amp;utm_campaign=buddypress-media&amp;utm_content=bp-album-importer&amp;add-to-cart=34379" target="_blank">' . __( 'Buy Now', 'buddypress-media' ) . '</a>
179
+ <a class="alignleft product_demo_link" href="http://demo.rtcamp.com/rtmedia/?utm_source=dashboard&amp;utm_medium=plugin&amp;utm_campaign=buddypress-media&amp;utm_content=bp-album-importer" title="BuddyPress-Media Instagram" target="_blank">' . __( 'Live Demo', 'buddypress-media' ) . '</a>
180
  </div></div>';
181
  }
182
  echo '</div>';
183
  } else {
184
+ echo '<p>' . __( 'Looks like you don\'t use BP Album. Is there any other BuddyPress Plugin you want an importer for?', 'buddypress-media' ) . '</p>';
185
+ echo '<p>' . sprintf( __( '<a href="%s">Create an issue</a> on GitHub requesting the same.', 'buddypress-media' ), 'https://github.com/rtCamp/rtMedia/issues/new' ) . '</p>';
186
  }
187
  }
188
 
app/importers/RTMediaActivityUpgrade.php CHANGED
@@ -17,7 +17,7 @@ class RTMediaActivityUpgrade {
17
  }
18
 
19
  function menu(){
20
- add_submenu_page( 'rtmedia-setting', __( 'Media activity upgrade', 'rtmedia' ), __( 'Media activity upgrade', 'rtmedia' ), 'manage_options', 'rtmedia-activity-upgrade', array( $this, 'init' ) );
21
  }
22
 
23
  function rtmedia_add_admin_page_array( $admin_pages ){
17
  }
18
 
19
  function menu(){
20
+ add_submenu_page( 'rtmedia-setting', __( 'Media activity upgrade', 'buddypress-media' ), __( 'Media activity upgrade', 'buddypress-media' ), 'manage_options', 'rtmedia-activity-upgrade', array( $this, 'init' ) );
21
  }
22
 
23
  function rtmedia_add_admin_page_array( $admin_pages ){
app/importers/RTMediaMediaSizeImporter.php CHANGED
@@ -22,7 +22,7 @@ class RTMediaMediaSizeImporter {
22
  }
23
 
24
  function menu(){
25
- add_submenu_page( 'rtmedia-setting', __( 'Media Size Import', 'rtmedia' ), __( 'Media Size Import', 'rtmedia' ), 'manage_options', 'rtmedia-migration-media-size-import', array( $this, 'init' ) );
26
  }
27
 
28
  function rtmedia_add_admin_page_array( $admin_pages ){
@@ -63,7 +63,7 @@ class RTMediaMediaSizeImporter {
63
 
64
  function add_rtmedia_media_size_import_notice(){
65
  if ( current_user_can( 'manage_options' ) ){
66
- $this->create_notice( "<p><strong>rtMedia</strong>: Database table structure for rtMedia has been updated. Please <a href='" . admin_url( 'admin.php?page=rtmedia-migration-media-size-import&force=true' ) . "'>Click Here</a> to import media sizes. <a href='#' onclick='rtmedia_hide_media_size_import_notice()' style='float:right'>" . __( 'Hide', 'rtmedia' ) . '</a> </p>' );
67
  ?>
68
  <script type="text/javascript">
69
  function rtmedia_hide_media_size_import_notice() {
22
  }
23
 
24
  function menu(){
25
+ add_submenu_page( 'rtmedia-setting', __( 'Media Size Import', 'buddypress-media' ), __( 'Media Size Import', 'buddypress-media' ), 'manage_options', 'rtmedia-migration-media-size-import', array( $this, 'init' ) );
26
  }
27
 
28
  function rtmedia_add_admin_page_array( $admin_pages ){
63
 
64
  function add_rtmedia_media_size_import_notice(){
65
  if ( current_user_can( 'manage_options' ) ){
66
+ $this->create_notice( "<p><strong>rtMedia</strong>: Database table structure for rtMedia has been updated. Please <a href='" . admin_url( 'admin.php?page=rtmedia-migration-media-size-import&force=true' ) . "'>Click Here</a> to import media sizes. <a href='#' onclick='rtmedia_hide_media_size_import_notice()' style='float:right'>" . __( 'Hide', 'buddypress-media' ) . '</a> </p>' );
67
  ?>
68
  <script type="text/javascript">
69
  function rtmedia_hide_media_size_import_notice() {
app/importers/RTMediaMigration.php CHANGED
@@ -61,7 +61,7 @@ class RTMediaMigration {
61
 
62
  function add_migration_notice(){
63
  if ( current_user_can( 'manage_options' ) ){
64
- $this->create_notice( '<p><strong>rtMedia</strong>: ' . __( 'Please Migrate your Database', 'rtmedia' ) . " <a href='" . admin_url( 'admin.php?page=rtmedia-migration&force=true' ) . "'>" . __( 'Click Here', 'rtmedia' ) . "</a>. <a href='" . admin_url( 'admin.php?page=rtmedia-migration&hide=true' ) . "' style='float:right'>" . __( 'Hide', 'rtmedia' ) . '</a> </p>' );
65
  }
66
  }
67
 
@@ -80,7 +80,7 @@ class RTMediaMigration {
80
  }
81
 
82
  function menu(){
83
- add_submenu_page( 'rtmedia-setting', __( 'Migration', 'rtmedia' ), __( 'Migration', 'rtmedia' ), 'manage_options', 'rtmedia-migration', array( $this, 'test' ) );
84
  }
85
 
86
  function get_total_count(){
@@ -372,7 +372,7 @@ class RTMediaMigration {
372
  } else {
373
  ?>
374
  <div class="error">
375
- <p><?php _e( 'Please Backup your <strong>DATABASE</strong> and <strong>UPLOAD</strong> folder before Migration.', 'rtmedia' ); ?></p>
376
  </div>
377
  <?php
378
  }
@@ -380,9 +380,9 @@ class RTMediaMigration {
380
 
381
  <div class="wrap">
382
 
383
- <h2><?php _e( 'rtMedia Migration', 'rtmedia' ); ?></h2>
384
 
385
- <h3><?php _e( 'It will migrate following things', 'rtmedia' ); ?> </h3>
386
  User Albums : <?php echo $_SESSION['migration_user_album']; ?><br/>
387
  <?php if ( isset( $_SESSION['migration_group_album'] ) ){ ?>
388
  Groups Albums : <?php echo $_SESSION['migration_group_album']; ?><br/>
@@ -450,7 +450,7 @@ class RTMediaMigration {
450
  }
451
  },
452
  error: function () {
453
- alert( "<?php _e( 'Error During Migration, Please Refresh Page then try again', 'rtmedia' ); ?>" );
454
  jQuery( "#submit" ).removeAttr( 'disabled' );
455
  }
456
  } );
@@ -470,7 +470,7 @@ class RTMediaMigration {
470
  </script>
471
  <hr/>
472
  <?php if ( ! ( isset( $rtmedia_error ) && true === $rtmedia_error ) ){ ?>
473
- <input type="button" id="submit" value="<?php esc_attr_e( 'Start', 'rtmedia' ); ?>"
474
  class="button button-primary"/>
475
  <?php } ?>
476
 
@@ -1021,25 +1021,25 @@ class RTMediaMigration {
1021
  $timeComponents = array();
1022
 
1023
  if ( $days > 0 ){
1024
- $timeComponents[] = $days . __( ' day', 'rtmedia' ) . ( $days > 1 ? 's' : '' );
1025
  }
1026
 
1027
  if ( $hours > 0 ){
1028
- $timeComponents[] = $hours . __( ' hour', 'rtmedia' ) . ( $hours > 1 ? 's' : '' );
1029
  }
1030
 
1031
  if ( $minutes > 0 ){
1032
- $timeComponents[] = $minutes . __( ' minute', 'rtmedia' ) . ( $minutes > 1 ? 's' : '' );
1033
  }
1034
 
1035
  if ( $seconds > 0 ){
1036
- $timeComponents[] = $seconds . __( ' second', 'rtmedia' ) . ( $seconds > 1 ? 's' : '' );
1037
  }
1038
  if ( count( $timeComponents ) > 0 ){
1039
  $formattedTimeRemaining = implode( ', ', $timeComponents );
1040
  $formattedTimeRemaining = trim( $formattedTimeRemaining );
1041
  } else {
1042
- $formattedTimeRemaining = __( 'No time remaining.', 'rtmedia' );
1043
  }
1044
 
1045
  return $formattedTimeRemaining;
61
 
62
  function add_migration_notice(){
63
  if ( current_user_can( 'manage_options' ) ){
64
+ $this->create_notice( '<p><strong>rtMedia</strong>: ' . __( 'Please Migrate your Database', 'buddypress-media' ) . " <a href='" . admin_url( 'admin.php?page=rtmedia-migration&force=true' ) . "'>" . __( 'Click Here', 'buddypress-media' ) . "</a>. <a href='" . admin_url( 'admin.php?page=rtmedia-migration&hide=true' ) . "' style='float:right'>" . __( 'Hide', 'buddypress-media' ) . '</a> </p>' );
65
  }
66
  }
67
 
80
  }
81
 
82
  function menu(){
83
+ add_submenu_page( 'rtmedia-setting', __( 'Migration', 'buddypress-media' ), __( 'Migration', 'buddypress-media' ), 'manage_options', 'rtmedia-migration', array( $this, 'test' ) );
84
  }
85
 
86
  function get_total_count(){
372
  } else {
373
  ?>
374
  <div class="error">
375
+ <p><?php _e( 'Please Backup your <strong>DATABASE</strong> and <strong>UPLOAD</strong> folder before Migration.', 'buddypress-media' ); ?></p>
376
  </div>
377
  <?php
378
  }
380
 
381
  <div class="wrap">
382
 
383
+ <h2><?php _e( 'rtMedia Migration', 'buddypress-media' ); ?></h2>
384
 
385
+ <h3><?php _e( 'It will migrate following things', 'buddypress-media' ); ?> </h3>
386
  User Albums : <?php echo $_SESSION['migration_user_album']; ?><br/>
387
  <?php if ( isset( $_SESSION['migration_group_album'] ) ){ ?>
388
  Groups Albums : <?php echo $_SESSION['migration_group_album']; ?><br/>
450
  }
451
  },
452
  error: function () {
453
+ alert( "<?php _e( 'Error During Migration, Please Refresh Page then try again', 'buddypress-media' ); ?>" );
454
  jQuery( "#submit" ).removeAttr( 'disabled' );
455
  }
456
  } );
470
  </script>
471
  <hr/>
472
  <?php if ( ! ( isset( $rtmedia_error ) && true === $rtmedia_error ) ){ ?>
473
+ <input type="button" id="submit" value="<?php esc_attr_e( 'Start', 'buddypress-media' ); ?>"
474
  class="button button-primary"/>
475
  <?php } ?>
476
 
1021
  $timeComponents = array();
1022
 
1023
  if ( $days > 0 ){
1024
+ $timeComponents[] = $days . __( ' day', 'buddypress-media' ) . ( $days > 1 ? 's' : '' );
1025
  }
1026
 
1027
  if ( $hours > 0 ){
1028
+ $timeComponents[] = $hours . __( ' hour', 'buddypress-media' ) . ( $hours > 1 ? 's' : '' );
1029
  }
1030
 
1031
  if ( $minutes > 0 ){
1032
+ $timeComponents[] = $minutes . __( ' minute', 'buddypress-media' ) . ( $minutes > 1 ? 's' : '' );
1033
  }
1034
 
1035
  if ( $seconds > 0 ){
1036
+ $timeComponents[] = $seconds . __( ' second', 'buddypress-media' ) . ( $seconds > 1 ? 's' : '' );
1037
  }
1038
  if ( count( $timeComponents ) > 0 ){
1039
  $formattedTimeRemaining = implode( ', ', $timeComponents );
1040
  $formattedTimeRemaining = trim( $formattedTimeRemaining );
1041
  } else {
1042
+ $formattedTimeRemaining = __( 'No time remaining.', 'buddypress-media' );
1043
  }
1044
 
1045
  return $formattedTimeRemaining;
app/main/RTMedia.php CHANGED
@@ -299,8 +299,8 @@ class RTMedia {
299
  'photo' => array(
300
  'name' => 'photo',
301
  'plural' => 'photos',
302
- 'label' => __( 'Photo', 'rtmedia' ),
303
- 'plural_label' => __( 'Photos', 'rtmedia' ),
304
  'extn' => array( 'jpg', 'jpeg', 'png', 'gif' ),
305
  'thumbnail' => RTMEDIA_URL . 'app/assets/admin/img/image_thumb.png',
306
  'settings_visibility' => true
@@ -308,8 +308,8 @@ class RTMedia {
308
  'video' => array(
309
  'name' => 'video',
310
  'plural' => 'videos',
311
- 'label' => __( 'Video', 'rtmedia' ),
312
- 'plural_label' => __( 'Videos', 'rtmedia' ),
313
  'extn' => array( 'mp4' ),
314
  'thumbnail' => RTMEDIA_URL . 'app/assets/admin/img/video_thumb.png',
315
  'settings_visibility' => true
@@ -317,8 +317,8 @@ class RTMedia {
317
  'music' => array(
318
  'name' => 'music',
319
  'plural' => 'music',
320
- 'label' => __( 'Music', 'rtmedia' ),
321
- 'plural_label' => __( 'Music', 'rtmedia' ),
322
  'extn' => array( 'mp3' ),
323
  'thumbnail' => RTMEDIA_URL . 'app/assets/admin/img/audio_thumb.png',
324
  'settings_visibility' => true
@@ -405,10 +405,10 @@ class RTMedia {
405
 
406
  $this->privacy_settings = array(
407
  'levels' => array(
408
- 60 => __( 'Private - Visible only to the user', 'rtmedia' ),
409
- 40 => __( 'Friends - Visible to user\'s friends', 'rtmedia' ),
410
- 20 => __( 'Logged in Users - Visible to registered users', 'rtmedia' ),
411
- 0 => __( 'Public - Visible to the world', 'rtmedia' )
412
  )
413
  );
414
  $this->privacy_settings = apply_filters( 'rtmedia_privacy_levels', $this->privacy_settings );
@@ -559,13 +559,13 @@ class RTMedia {
559
  define( 'RTMEDIA_MEDIA_SLUG', 'media' );
560
 
561
  if ( ! defined( 'RTMEDIA_MEDIA_LABEL' ) )
562
- define( 'RTMEDIA_MEDIA_LABEL', __( 'Media', 'rtmedia' ) );
563
 
564
  if ( ! defined( 'RTMEDIA_ALL_SLUG' ) )
565
  define( 'RTMEDIA_ALL_SLUG', 'all' );
566
 
567
  if ( ! defined( 'RTMEDIA_ALL_LABEL' ) )
568
- define( 'RTMEDIA_ALL_LABEL', __( 'All', 'rtmedia' ) );
569
 
570
  if ( ! defined( 'RTMEDIA_ALBUM_SLUG' ) )
571
  define( 'RTMEDIA_ALBUM_SLUG', 'album' );
@@ -574,10 +574,10 @@ class RTMedia {
574
  define( 'RTMEDIA_ALBUM_PLURAL_SLUG', 'albums' );
575
 
576
  if ( ! defined( 'RTMEDIA_ALBUM_LABEL' ) )
577
- define( 'RTMEDIA_ALBUM_LABEL', __( 'Album', 'rtmedia' ) );
578
 
579
  if ( ! defined( 'RTMEDIA_ALBUM_PLURAL_LABEL' ) )
580
- define( 'RTMEDIA_ALBUM_PLURAL_LABEL', __( 'Albums', 'rtmedia' ) );
581
 
582
  /* Upload slug */
583
  if ( ! defined( 'RTMEDIA_UPLOAD_SLUG' ) )
@@ -585,11 +585,11 @@ class RTMedia {
585
 
586
  /* Upload slug */
587
  if ( ! defined( 'RTMEDIA_UPLOAD_LABEL' ) )
588
- define( 'RTMEDIA_UPLOAD_LABEL', __( 'Upload', 'rtmedia' ) );
589
 
590
  /* Global Album/Wall Post */
591
  if ( ! defined( 'RTMEDIA_GLOBAL_ALBUM_LABEL' ) )
592
- define( 'RTMEDIA_GLOBAL_ALBUM_LABEL', __( 'Wall Post', 'rtmedia' ) );
593
 
594
  $this->define_type_constants();
595
  }
@@ -784,7 +784,7 @@ class RTMedia {
784
  */
785
  static
786
  function load_translation() {
787
- load_plugin_textdomain( 'rtmedia', false, basename( RTMEDIA_PATH ) . '/languages/' );
788
  }
789
 
790
  function check_global_album() {
@@ -800,7 +800,7 @@ class RTMedia {
800
  if (isset($rtmedia_error) && $rtmedia_error === true)
801
  return false;
802
  if (!$global_album) {
803
- $global_album = $album->add_global( __( "Wall Posts", "rtmedia" ) );
804
  }
805
 
806
  // fix multisite global album doesn't exist issue.
@@ -809,7 +809,7 @@ class RTMedia {
809
  $global_albums = rtmedia_global_albums();
810
  $album_objects = $model->get_media( array( 'id' => ( $global_albums ) ), false, false );
811
  if( empty( $album_objects ) ){
812
- $global_album = $album->add_global( __( "Wall Posts", "rtmedia" ) );
813
  }
814
  rtmedia_update_site_option( 'rtmedia_fix_multisite_global_albums', true );
815
  }
@@ -852,7 +852,7 @@ class RTMedia {
852
  function create_table_error_notice() {
853
  global $rtmedia_error;
854
  $rtmedia_error = true;
855
- echo "<div class='error'><p><strong>rtMedia</strong>" . __( ": Can't Create Database table. Please check create table permission.", "rtmedia" ) . "</p></div>";
856
  }
857
 
858
  function enqueue_scripts_styles() {
@@ -896,37 +896,37 @@ class RTMedia {
896
  wp_localize_script( 'rtmedia-main', 'rtmedia_gallery_reload_on_upload', '1' );
897
 
898
  //javascript messages
899
- wp_localize_script( 'rtmedia-magnific', 'rtmedia_load_more', __( 'Loading media', "rtmedia" ) );
900
- wp_localize_script( 'rtmedia-main', 'rtmedia_empty_activity_msg', __( 'Please enter some content to post.', "rtmedia" ) );
901
- wp_localize_script( 'rtmedia-main', 'rtmedia_empty_comment_msg', __( 'Empty Comment is not allowed.', "rtmedia" ) );
902
- wp_localize_script( 'rtmedia-main', 'rtmedia_media_delete_confirmation', __( 'Are you sure you want to delete this media?', "rtmedia" ) );
903
- wp_localize_script( 'rtmedia-main', 'rtmedia_media_comment_delete_confirmation', __( 'Are you sure you want to delete this comment?', "rtmedia" ) );
904
- wp_localize_script( 'rtmedia-main', 'rtmedia_album_delete_confirmation', __( 'Are you sure you want to delete this Album?', "rtmedia" ) );
905
- wp_localize_script( 'rtmedia-main', 'rtmedia_drop_media_msg', __( 'Drop files here', "rtmedia" ) );
906
- wp_localize_script( 'rtmedia-main', 'rtmedia_album_created_msg', ' ' . __( 'album created successfully.', "rtmedia" ) );
907
- wp_localize_script( 'rtmedia-main', 'rtmedia_something_wrong_msg', __( 'Something went wrong. Please try again.', "rtmedia" ) );
908
- wp_localize_script( 'rtmedia-main', 'rtmedia_empty_album_name_msg', __( 'Enter an album name.', "rtmedia" ) );
909
- wp_localize_script( 'rtmedia-main', 'rtmedia_max_file_msg', __( 'Max file Size Limit : ', "rtmedia" ) );
910
- wp_localize_script( 'rtmedia-main', 'rtmedia_allowed_file_formats', __( 'Allowed File Formats', "rtmedia" ) );
911
- wp_localize_script( 'rtmedia-main', 'rtmedia_select_all_visible', __( 'Select All Visible', "rtmedia" ) );
912
- wp_localize_script( 'rtmedia-main', 'rtmedia_unselect_all_visible', __( 'Unselect All Visible', "rtmedia" ) );
913
- wp_localize_script( 'rtmedia-main', 'rtmedia_no_media_selected', __( 'Please select some media.', "rtmedia" ) );
914
- wp_localize_script( 'rtmedia-main', 'rtmedia_selected_media_delete_confirmation', __( 'Are you sure you want to delete the selected media?', "rtmedia" ) );
915
- wp_localize_script( 'rtmedia-main', 'rtmedia_selected_media_move_confirmation', __( 'Are you sure you want to move the selected media?', "rtmedia" ) );
916
- wp_localize_script( 'rtmedia-main', 'rtmedia_waiting_msg', __( 'Waiting', "rtmedia" ) );
917
- wp_localize_script( 'rtmedia-main', 'rtmedia_uploaded_msg', __( 'Uploaded', "rtmedia" ) );
918
- wp_localize_script( 'rtmedia-main', 'rtmedia_uploading_msg', __( 'Uploading', "rtmedia" ) );
919
- wp_localize_script( 'rtmedia-main', 'rtmedia_upload_failed_msg', __( 'Failed', "rtmedia" ) );
920
- wp_localize_script( 'rtmedia-main', 'rtmedia_close', __( 'Close', "rtmedia" ) );
921
- wp_localize_script( 'rtmedia-main', 'rtmedia_edit', __( 'Edit', "rtmedia" ) );
922
- wp_localize_script( 'rtmedia-main', 'rtmedia_delete', __( 'Delete', "rtmedia" ) );
923
- wp_localize_script( 'rtmedia-main', 'rtmedia_edit_media', __( 'Edit Media', "rtmedia" ) );
924
- wp_localize_script( 'rtmedia-main', 'rtmedia_remove_from_queue', __( 'Remove from queue', "rtmedia" ) );
925
- wp_localize_script( 'rtmedia-main', 'rtmedia_add_more_files_msg', __( 'Add more files', "rtmedia" ) );
926
- wp_localize_script( 'rtmedia-main', 'rtmedia_file_extension_error_msg', __( 'File not supported', "rtmedia" ) );
927
- wp_localize_script( 'rtmedia-main', 'rtmedia_more', __( 'more', "rtmedia" ) );
928
- wp_localize_script( 'rtmedia-main', 'rtmedia_less', __( 'less', "rtmedia" ) );
929
- wp_localize_script( 'rtmedia-main', 'rtmedia_delete_uploaded_media', __( 'This media is uploaded. Are you sure you want to delete this media?', "rtmedia" ) );
930
  wp_localize_script( 'rtmedia-main', 'rtm_wp_version', get_bloginfo( 'version' ) );
931
  wp_localize_script( 'rtmedia-backbone', 'rMedia_loading_media', RTMEDIA_URL . "app/assets/admin/img/boxspinner.gif" );
932
  $rtmedia_media_thumbs = array();
@@ -934,8 +934,8 @@ class RTMedia {
934
  $rtmedia_media_thumbs[ $key_type ] = $value_type[ 'thumbnail' ];
935
  }
936
  wp_localize_script( 'rtmedia-backbone', 'rtmedia_media_thumbs', $rtmedia_media_thumbs );
937
- wp_localize_script( 'rtmedia-backbone', 'rtmedia_set_featured_image_msg', __( 'Featured media set successfully.', "rtmedia" ) );
938
- wp_localize_script( 'rtmedia-backbone', 'rtmedia_unset_featured_image_msg', __( 'Featured media removed successfully.', "rtmedia" ) );
939
 
940
  // We are not using it anymore and hence commenting
941
  // global $rtmedia_query;
@@ -972,7 +972,7 @@ class RTMedia {
972
  wp_localize_script( 'rtmedia-backbone', 'rtmedia_bp_enable_activity', '0' );
973
  }
974
 
975
- wp_localize_script( 'rtmedia-backbone', 'rtmedia_upload_progress_error_message', __( "There are some uploads in progress. Do you want to cancel them?", 'rtmedia' ) );
976
 
977
  // localise media size config
978
  $media_size_config = array(
299
  'photo' => array(
300
  'name' => 'photo',
301
  'plural' => 'photos',
302
+ 'label' => __( 'Photo', 'buddypress-media' ),
303
+ 'plural_label' => __( 'Photos', 'buddypress-media' ),
304
  'extn' => array( 'jpg', 'jpeg', 'png', 'gif' ),
305
  'thumbnail' => RTMEDIA_URL . 'app/assets/admin/img/image_thumb.png',
306
  'settings_visibility' => true
308
  'video' => array(
309
  'name' => 'video',
310
  'plural' => 'videos',
311
+ 'label' => __( 'Video', 'buddypress-media' ),
312
+ 'plural_label' => __( 'Videos', 'buddypress-media' ),
313
  'extn' => array( 'mp4' ),
314
  'thumbnail' => RTMEDIA_URL . 'app/assets/admin/img/video_thumb.png',
315
  'settings_visibility' => true
317
  'music' => array(
318
  'name' => 'music',
319
  'plural' => 'music',
320
+ 'label' => __( 'Music', 'buddypress-media' ),
321
+ 'plural_label' => __( 'Music', 'buddypress-media' ),
322
  'extn' => array( 'mp3' ),
323
  'thumbnail' => RTMEDIA_URL . 'app/assets/admin/img/audio_thumb.png',
324
  'settings_visibility' => true
405
 
406
  $this->privacy_settings = array(
407
  'levels' => array(
408
+ 60 => __( 'Private - Visible only to the user', 'buddypress-media' ),
409
+ 40 => __( 'Friends - Visible to user\'s friends', 'buddypress-media' ),
410
+ 20 => __( 'Logged in Users - Visible to registered users', 'buddypress-media' ),
411
+ 0 => __( 'Public - Visible to the world', 'buddypress-media' )
412
  )
413
  );
414
  $this->privacy_settings = apply_filters( 'rtmedia_privacy_levels', $this->privacy_settings );
559
  define( 'RTMEDIA_MEDIA_SLUG', 'media' );
560
 
561
  if ( ! defined( 'RTMEDIA_MEDIA_LABEL' ) )
562
+ define( 'RTMEDIA_MEDIA_LABEL', __( 'Media', 'buddypress-media' ) );
563
 
564
  if ( ! defined( 'RTMEDIA_ALL_SLUG' ) )
565
  define( 'RTMEDIA_ALL_SLUG', 'all' );
566
 
567
  if ( ! defined( 'RTMEDIA_ALL_LABEL' ) )
568
+ define( 'RTMEDIA_ALL_LABEL', __( 'All', 'buddypress-media' ) );
569
 
570
  if ( ! defined( 'RTMEDIA_ALBUM_SLUG' ) )
571
  define( 'RTMEDIA_ALBUM_SLUG', 'album' );
574
  define( 'RTMEDIA_ALBUM_PLURAL_SLUG', 'albums' );
575
 
576
  if ( ! defined( 'RTMEDIA_ALBUM_LABEL' ) )
577
+ define( 'RTMEDIA_ALBUM_LABEL', __( 'Album', 'buddypress-media' ) );
578
 
579
  if ( ! defined( 'RTMEDIA_ALBUM_PLURAL_LABEL' ) )
580
+ define( 'RTMEDIA_ALBUM_PLURAL_LABEL', __( 'Albums', 'buddypress-media' ) );
581
 
582
  /* Upload slug */
583
  if ( ! defined( 'RTMEDIA_UPLOAD_SLUG' ) )
585
 
586
  /* Upload slug */
587
  if ( ! defined( 'RTMEDIA_UPLOAD_LABEL' ) )
588
+ define( 'RTMEDIA_UPLOAD_LABEL', __( 'Upload', 'buddypress-media' ) );
589
 
590
  /* Global Album/Wall Post */
591
  if ( ! defined( 'RTMEDIA_GLOBAL_ALBUM_LABEL' ) )
592
+ define( 'RTMEDIA_GLOBAL_ALBUM_LABEL', __( 'Wall Post', 'buddypress-media' ) );
593
 
594
  $this->define_type_constants();
595
  }
784
  */
785
  static
786
  function load_translation() {
787
+ load_plugin_textdomain( 'buddypress-media', false, basename( RTMEDIA_PATH ) . '/languages/' );
788
  }
789
 
790
  function check_global_album() {
800
  if (isset($rtmedia_error) && $rtmedia_error === true)
801
  return false;
802
  if (!$global_album) {
803
+ $global_album = $album->add_global( __( "Wall Posts", 'buddypress-media' ) );
804
  }
805
 
806
  // fix multisite global album doesn't exist issue.
809
  $global_albums = rtmedia_global_albums();
810
  $album_objects = $model->get_media( array( 'id' => ( $global_albums ) ), false, false );
811
  if( empty( $album_objects ) ){
812
+ $global_album = $album->add_global( __( "Wall Posts", 'buddypress-media' ) );
813
  }
814
  rtmedia_update_site_option( 'rtmedia_fix_multisite_global_albums', true );
815
  }
852
  function create_table_error_notice() {
853
  global $rtmedia_error;
854
  $rtmedia_error = true;
855
+ echo "<div class='error'><p><strong>rtMedia</strong>" . __( ": Can't Create Database table. Please check create table permission.", 'buddypress-media' ) . "</p></div>";
856
  }
857
 
858
  function enqueue_scripts_styles() {
896
  wp_localize_script( 'rtmedia-main', 'rtmedia_gallery_reload_on_upload', '1' );
897
 
898
  //javascript messages
899
+ wp_localize_script( 'rtmedia-magnific', 'rtmedia_load_more', __( 'Loading media', 'buddypress-media' ) );
900
+ wp_localize_script( 'rtmedia-main', 'rtmedia_empty_activity_msg', __( 'Please enter some content to post.', 'buddypress-media' ) );
901
+ wp_localize_script( 'rtmedia-main', 'rtmedia_empty_comment_msg', __( 'Empty Comment is not allowed.', 'buddypress-media' ) );
902
+ wp_localize_script( 'rtmedia-main', 'rtmedia_media_delete_confirmation', __( 'Are you sure you want to delete this media?', 'buddypress-media' ) );
903
+ wp_localize_script( 'rtmedia-main', 'rtmedia_media_comment_delete_confirmation', __( 'Are you sure you want to delete this comment?', 'buddypress-media' ) );
904
+ wp_localize_script( 'rtmedia-main', 'rtmedia_album_delete_confirmation', __( 'Are you sure you want to delete this Album?', 'buddypress-media' ) );
905
+ wp_localize_script( 'rtmedia-main', 'rtmedia_drop_media_msg', __( 'Drop files here', 'buddypress-media' ) );
906
+ wp_localize_script( 'rtmedia-main', 'rtmedia_album_created_msg', ' ' . __( 'album created successfully.', 'buddypress-media' ) );
907
+ wp_localize_script( 'rtmedia-main', 'rtmedia_something_wrong_msg', __( 'Something went wrong. Please try again.', 'buddypress-media' ) );
908
+ wp_localize_script( 'rtmedia-main', 'rtmedia_empty_album_name_msg', __( 'Enter an album name.', 'buddypress-media' ) );
909
+ wp_localize_script( 'rtmedia-main', 'rtmedia_max_file_msg', __( 'Max file Size Limit : ', 'buddypress-media' ) );
910
+ wp_localize_script( 'rtmedia-main', 'rtmedia_allowed_file_formats', __( 'Allowed File Formats', 'buddypress-media' ) );
911
+ wp_localize_script( 'rtmedia-main', 'rtmedia_select_all_visible', __( 'Select All Visible', 'buddypress-media' ) );
912
+ wp_localize_script( 'rtmedia-main', 'rtmedia_unselect_all_visible', __( 'Unselect All Visible', 'buddypress-media' ) );
913
+ wp_localize_script( 'rtmedia-main', 'rtmedia_no_media_selected', __( 'Please select some media.', 'buddypress-media' ) );
914
+ wp_localize_script( 'rtmedia-main', 'rtmedia_selected_media_delete_confirmation', __( 'Are you sure you want to delete the selected media?', 'buddypress-media' ) );
915
+ wp_localize_script( 'rtmedia-main', 'rtmedia_selected_media_move_confirmation', __( 'Are you sure you want to move the selected media?', 'buddypress-media' ) );
916
+ wp_localize_script( 'rtmedia-main', 'rtmedia_waiting_msg', __( 'Waiting', 'buddypress-media' ) );
917
+ wp_localize_script( 'rtmedia-main', 'rtmedia_uploaded_msg', __( 'Uploaded', 'buddypress-media' ) );
918
+ wp_localize_script( 'rtmedia-main', 'rtmedia_uploading_msg', __( 'Uploading', 'buddypress-media' ) );
919
+ wp_localize_script( 'rtmedia-main', 'rtmedia_upload_failed_msg', __( 'Failed', 'buddypress-media' ) );
920
+ wp_localize_script( 'rtmedia-main', 'rtmedia_close', __( 'Close', 'buddypress-media' ) );
921
+ wp_localize_script( 'rtmedia-main', 'rtmedia_edit', __( 'Edit', 'buddypress-media' ) );
922
+ wp_localize_script( 'rtmedia-main', 'rtmedia_delete', __( 'Delete', 'buddypress-media' ) );
923
+ wp_localize_script( 'rtmedia-main', 'rtmedia_edit_media', __( 'Edit Media', 'buddypress-media' ) );
924
+ wp_localize_script( 'rtmedia-main', 'rtmedia_remove_from_queue', __( 'Remove from queue', 'buddypress-media' ) );
925
+ wp_localize_script( 'rtmedia-main', 'rtmedia_add_more_files_msg', __( 'Add more files', 'buddypress-media' ) );
926
+ wp_localize_script( 'rtmedia-main', 'rtmedia_file_extension_error_msg', __( 'File not supported', 'buddypress-media' ) );
927
+ wp_localize_script( 'rtmedia-main', 'rtmedia_more', __( 'more', 'buddypress-media' ) );
928
+ wp_localize_script( 'rtmedia-main', 'rtmedia_less', __( 'less', 'buddypress-media' ) );
929
+ wp_localize_script( 'rtmedia-main', 'rtmedia_delete_uploaded_media', __( 'This media is uploaded. Are you sure you want to delete this media?', 'buddypress-media' ) );
930
  wp_localize_script( 'rtmedia-main', 'rtm_wp_version', get_bloginfo( 'version' ) );
931
  wp_localize_script( 'rtmedia-backbone', 'rMedia_loading_media', RTMEDIA_URL . "app/assets/admin/img/boxspinner.gif" );
932
  $rtmedia_media_thumbs = array();
934
  $rtmedia_media_thumbs[ $key_type ] = $value_type[ 'thumbnail' ];
935
  }
936
  wp_localize_script( 'rtmedia-backbone', 'rtmedia_media_thumbs', $rtmedia_media_thumbs );
937
+ wp_localize_script( 'rtmedia-backbone', 'rtmedia_set_featured_image_msg', __( 'Featured media set successfully.', 'buddypress-media' ) );
938
+ wp_localize_script( 'rtmedia-backbone', 'rtmedia_unset_featured_image_msg', __( 'Featured media removed successfully.', 'buddypress-media' ) );
939
 
940
  // We are not using it anymore and hence commenting
941
  // global $rtmedia_query;
972
  wp_localize_script( 'rtmedia-backbone', 'rtmedia_bp_enable_activity', '0' );
973
  }
974
 
975
+ wp_localize_script( 'rtmedia-backbone', 'rtmedia_upload_progress_error_message', __( "There are some uploads in progress. Do you want to cancel them?", 'buddypress-media' ) );
976
 
977
  // localise media size config
978
  $media_size_config = array(
app/main/controllers/activity/RTMediaBuddyPressActivity.php CHANGED
@@ -177,7 +177,7 @@ class RTMediaBuddyPressActivity {
177
  'url' => $url,
178
  'runtimes' => 'html5,flash,html4', 'browse_button' => 'rtmedia-add-media-button-post-update', // browse button assigned to "Attach Files" Button.
179
  'container' => 'rtmedia-whts-new-upload-container', 'drop_element' => 'whats-new-textarea', // drag-drop area assigned to activity update textarea
180
- 'filters' => apply_filters( 'rtmedia_plupload_files_filter', array( array( 'title' => __( 'Media Files', 'rtmedia' ), 'extensions' => get_rtmedia_allowed_upload_type() ) ) ),
181
  'max_file_size' => ( wp_max_upload_size() ) / ( 1024 * 1024 ) . 'M',
182
  'multipart' => true, 'urlstream_upload' => true,
183
  'flash_swf_url' => includes_url( 'js/plupload/plupload.flash.swf' ),
@@ -201,7 +201,7 @@ class RTMediaBuddyPressActivity {
201
  $uploadView = new RTMediaUploadView( array( 'activity' => true ) );
202
  $uploadView->render( 'uploader' );
203
  } else {
204
- echo "<div class='rtmedia-upload-not-allowed'>" . apply_filters( 'rtmedia_upload_not_allowed_message', __( 'You are not allowed to upload/attach media.', 'rtmedia' ), 'activity' ) . '</div>';
205
  }
206
  }
207
 
@@ -337,15 +337,15 @@ class RTMediaBuddyPressActivity {
337
  $user = get_userdata( $activities[ $index ]->user_id );
338
  // Updating activity based on count
339
  if( $count == 1 ) {
340
- $action = sprintf( __( '%s added a %s', 'rtmedia' ), $user_link, $media_str );
341
  } else {
342
  // Checking all the media linked with activity are of same type
343
  if( isset( $rtmedia_media_type_array[ $activities[ $index ]->id ] )
344
  && !empty( $rtmedia_media_type_array[ $activities[ $index ]->id ] )
345
  && count( array_unique( $rtmedia_media_type_array[ $activities[ $index ]->id ] ) ) == 1 ) {
346
- $action = sprintf( __( '%s added %d %s', 'rtmedia' ), $user_link, $count, $media_str );
347
  } else {
348
- $action = sprintf( __( '%s added %d %s', 'rtmedia' ), $user_link, $count, RTMEDIA_MEDIA_SLUG );
349
  }
350
  }
351
 
177
  'url' => $url,
178
  'runtimes' => 'html5,flash,html4', 'browse_button' => 'rtmedia-add-media-button-post-update', // browse button assigned to "Attach Files" Button.
179
  'container' => 'rtmedia-whts-new-upload-container', 'drop_element' => 'whats-new-textarea', // drag-drop area assigned to activity update textarea
180
+ 'filters' => apply_filters( 'rtmedia_plupload_files_filter', array( array( 'title' => __( 'Media Files', 'buddypress-media' ), 'extensions' => get_rtmedia_allowed_upload_type() ) ) ),
181
  'max_file_size' => ( wp_max_upload_size() ) / ( 1024 * 1024 ) . 'M',
182
  'multipart' => true, 'urlstream_upload' => true,
183
  'flash_swf_url' => includes_url( 'js/plupload/plupload.flash.swf' ),
201
  $uploadView = new RTMediaUploadView( array( 'activity' => true ) );
202
  $uploadView->render( 'uploader' );
203
  } else {
204
+ echo "<div class='rtmedia-upload-not-allowed'>" . apply_filters( 'rtmedia_upload_not_allowed_message', __( 'You are not allowed to upload/attach media.', 'buddypress-media' ), 'activity' ) . '</div>';
205
  }
206
  }
207
 
337
  $user = get_userdata( $activities[ $index ]->user_id );
338
  // Updating activity based on count
339
  if( $count == 1 ) {
340
+ $action = sprintf( __( '%s added a %s', 'buddypress-media' ), $user_link, $media_str );
341
  } else {
342
  // Checking all the media linked with activity are of same type
343
  if( isset( $rtmedia_media_type_array[ $activities[ $index ]->id ] )
344
  && !empty( $rtmedia_media_type_array[ $activities[ $index ]->id ] )
345
  && count( array_unique( $rtmedia_media_type_array[ $activities[ $index ]->id ] ) ) == 1 ) {
346
+ $action = sprintf( __( '%s added %d %s', 'buddypress-media' ), $user_link, $count, $media_str );
347
  } else {
348
+ $action = sprintf( __( '%s added %d %s', 'buddypress-media' ), $user_link, $count, RTMEDIA_MEDIA_SLUG );
349
  }
350
  }
351
 
app/main/controllers/api/RTMediaJsonApi.php CHANGED
@@ -163,16 +163,16 @@ class RTMediaJsonApi{
163
  function rtmedia_api_process_wp_login_request(){
164
  //Login Errors and Messages
165
  $ec_user_pass_missing = 200001;
166
- $msg_user_pass_missing = __('username/password empty', 'rtmedia' );
167
 
168
  $ec_incorrect_username = 200002;
169
- $msg_incorrect_username = __('incorrect username', 'rtmedia' );
170
 
171
  $ec_incorrect_pass = 200003;
172
- $msg_incorrect_pass = __('incorrect password', 'rtmedia' );
173
 
174
  $ec_login_success = 200004;
175
- $msg_login_success = __('login success', 'rtmedia' );
176
 
177
  if ( empty( $_POST['username'] ) || empty( $_POST['password'] ) ){
178
  echo $this->rtmedia_api_response_object( 'FALSE', $ec_user_pass_missing, $msg_user_pass_missing );
@@ -218,22 +218,22 @@ class RTMediaJsonApi{
218
  function rtmedia_api_process_wp_register_request(){
219
  //Registration errors and messages
220
  $ec_register_fields_missing = 300001;
221
- $msg_register_fields_missing = __('fields empty', 'rtmedia' );
222
 
223
  $ec_invalid_email = 300002;
224
- $msg_invalid_email = __('invalid email', 'rtmedia' );
225
 
226
  $ec_pass_do_not_match = 300003;
227
- $msg_pass_do_not_match = __('password do not match', 'rtmedia' );
228
 
229
  $ec_username_exists = 300004;
230
- $msg_username_exists = __('username already registered', 'rtmedia' );
231
 
232
  $ec_email_exists = 300005;
233
- $msg_email_existsh = __('email already exists', 'rtmedia' );
234
 
235
  $ec_user_insert_success = 300007;
236
- $msg_user_insert_success = __('new user created', 'rtmedia' );
237
 
238
  $registration_fields = array('username', 'email', 'password', 'password_confirm');
239
  //fields empty field_1, field_4
@@ -294,13 +294,13 @@ class RTMediaJsonApi{
294
  global $wpdb;
295
  //Registration errors and messages
296
  $ec_email_missing = 500001;
297
- $msg_email_missing = __('email empty', 'rtmedia' );
298
 
299
  $ec_username_email_not_registered = 500002;
300
- $msg_username_email_not_registered = __('username/email not registered', 'rtmedia' );
301
 
302
  $ec_email_sent = 500003;
303
- $msg_email_sent = __('reset link sent', 'rtmedia' );
304
 
305
  if ( empty( $_POST['user_login'] ) ) { echo $this->rtmedia_api_response_object('FALSE', $ec_email_missing, $msg_email_missing ); exit; }
306
 
@@ -332,13 +332,13 @@ class RTMediaJsonApi{
332
  $wpdb->update( $wpdb->users, array( 'user_activation_key' => $hashed ), array( 'user_login' => $user_login ) );
333
 
334
  //create email message
335
- $message = __('Someone has asked to reset the password for the following site and username.', 'rtmedia') . "\r\n\r\n";
336
  $message .= get_option('siteurl') . "\r\n\r\n";
337
- $message .= sprintf(__('Username: %s', 'rtmedia'), $user_login) . "\r\n\r\n";
338
- $message .= __('To reset your password visit the following address, otherwise just ignore this email and nothing will happen.', 'rtmedia') . "\r\n\r\n";
339
  $message .='<' . network_site_url("wp-login.php?action=rp&key=$key&login=" . rawurlencode($user_login), 'login') . ">\r\n";
340
  //send email meassage
341
- if (FALSE == wp_mail($user_email, sprintf(__('[%s] Password Reset','rtmedia'), get_option('blogname')), $message))
342
  echo $this->rtmedia_api_response_object ('FALSE', $this->ec_server_error, $this->msg_server_error);
343
  else{
344
  echo $this->rtmedia_api_response_object ('TRUE', $ec_email_sent, $msg_email_sent);
@@ -353,10 +353,10 @@ class RTMediaJsonApi{
353
  $this->rtmediajsonapifunction->rtmedia_api_verfiy_token();
354
  //Feed Errors
355
  $ec_latest_feed = 700001;
356
- $msg_latest_feed = __('bp activities', 'rtmedia' );
357
 
358
  $ec_my_looks = 700002;
359
- $msg_my_looks = __('user activities', 'rtmedia' );
360
 
361
  //Fetch user id from token
362
  $activity_user_id = '';
@@ -386,10 +386,10 @@ class RTMediaJsonApi{
386
  $this->rtmediajsonapifunction->rtmedia_api_media_activity_id_missing();
387
  //Post comment errors
388
  $ec_comment_content_missing = 800001;
389
- $msg_comment_content_missing = __('comment content missing', 'rtmedia' );
390
 
391
  $ec_comment_posted = 800002;
392
- $msg_comment_posted = __('comment posted', 'rtmedia' );
393
 
394
  //Fetch user id from token
395
  $user_data = get_userdata( $this->user_id );
@@ -436,10 +436,10 @@ class RTMediaJsonApi{
436
 
437
  //Like errors
438
  $ec_already_liked = 900001;
439
- $msg_already_liked = __('unliked media', 'rtmedia' );
440
 
441
  $ec_liked_media = 900002;
442
- $msg_liked_media = __('liked media', 'rtmedia' );
443
 
444
  extract($_POST);
445
 
@@ -523,13 +523,13 @@ class RTMediaJsonApi{
523
  $this->rtmediajsonapifunction->rtmedia_api_verfiy_token();
524
  //Errors Fetching comment
525
  $ec_no_comments = 800003;
526
- $msg_no_comments = __('no comments', 'rtmedia' );
527
 
528
  $ec_media_comments = 800004;
529
- $msg_media_comments = __('media comments', 'rtmedia' );
530
 
531
  $ec_my_comments = 800005;
532
- $msg_my_comments = __('my comments', 'rtmedia' );
533
 
534
  extract($_REQUEST);
535
  global $wpdb;
@@ -579,10 +579,10 @@ class RTMediaJsonApi{
579
  global $wpdb;
580
  //Errors Fetching Likes
581
  $ec_no_likes = 900003;
582
- $msg_no_likes = __('no likes', 'rtmedia' );
583
 
584
  $ec_media_likes = 900004;
585
- $msg_media_likes = __('media likes', 'rtmedia' );
586
  $media_like_users = array();
587
  $media_likes = array();
588
  $media_likes['user'] = array();
@@ -624,13 +624,13 @@ class RTMediaJsonApi{
624
  //Errors Deleting comment
625
 
626
  $ec_comment_not_found = 800007;
627
- $msg_comment_not_found = __('invalid comment/media id', 'rtmedia' );
628
 
629
  $ec_no_comment_id = 800008;
630
- $msg_no_comment_id = __('no comment id', 'rtmedia' );
631
 
632
  $ec_comment_deleted = 800009;
633
- $msg_comment_deleted = __('comment deleted', 'rtmedia' );
634
  extract($_POST);
635
 
636
  if ( empty( $comment_id ) ){
@@ -673,10 +673,10 @@ class RTMediaJsonApi{
673
  $this->rtmediajsonapifunction->rtmedia_api_verfiy_token();
674
  //Errors
675
  $ec_no_fields = 400001;
676
- $msg_no_fields = __('no profile found', 'rtmedia' );
677
 
678
  $ec_profile_fields = 400002;
679
- $msg_profile_fields = __('profile fields', 'rtmedia' );
680
 
681
  $profile_fields = array();
682
  $user_id = $loggedin_user_id = '';
@@ -770,13 +770,13 @@ class RTMediaJsonApi{
770
  function rtmedia_api_process_follow_request(){
771
  $this->rtmediajsonapifunction->rtmedia_api_verfiy_token();
772
  $ec_empty_follow_id = 400003;
773
- $msg_empty_follow_id = __('follow user id missing', 'rtmedia' );
774
 
775
  $ec_started_following = 400004;
776
- $msg_started_following = __('started following', 'rtmedia' );
777
 
778
  $ec_already_following = 400005;
779
- $msg_already_following = __('already following', 'rtmedia' );
780
 
781
  extract($_POST);
782
 
@@ -808,13 +808,13 @@ class RTMediaJsonApi{
808
  $this->rtmediajsonapifunction->rtmedia_api_verfiy_token();
809
 
810
  $ec_empty_unfollow_id = 400006;
811
- $msg_empty_unfollow_id = __('unfollow id missing', 'rtmedia' );
812
 
813
  $ec_stopped_following = 400007;
814
- $msg_stopped_following = __('stopped following', 'rtmedia' );
815
 
816
  $ec_not_following = 400008;
817
- $msg_not_following = __('not following', 'rtmedia' );
818
 
819
  extract($_POST);
820
 
@@ -846,10 +846,10 @@ class RTMediaJsonApi{
846
  function rtmedia_api_process_update_profile_request(){
847
  $this->rtmediajsonapifunction->rtmedia_api_verfiy_token();
848
  $ec_empty_name_location = 120001;
849
- $msg_empty_name_location = __('name/location empty', 'rtmedia' );
850
 
851
  $ec_profile_updated = 120002;
852
- $msg_profile_updated = __('profile updated', 'rtmedia' );
853
  extract($_POST);
854
 
855
  for ( $i=1; $i<=12; $i++ ){
@@ -875,13 +875,13 @@ class RTMediaJsonApi{
875
 
876
  $this->rtmediajsonapifunction->rtmedia_api_verfiy_token();
877
  $ec_no_file = 130001;
878
- $msg_no_file = __('no file', 'rtmedia' );
879
 
880
  $ec_invalid_image = 130002;
881
- $msg_invalid_image = __('upload failed, check size and file type', 'rtmedia' );
882
 
883
  $ec_avatar_updated = 130003;
884
- $msg_avatar_updated = __('avatar updated', 'rtmedia' );
885
  extract($_POST);
886
  if( empty( $_FILES['file'] )){
887
  echo $this->rtmedia_api_response_object( 'FALSE', $ec_no_file, $msg_no_file );
@@ -902,22 +902,22 @@ class RTMediaJsonApi{
902
  $this->rtmediajsonapifunction->rtmedia_api_verfiy_token();
903
  //Error Codes for new look
904
  $ec_no_file = 140001;
905
- $msg_no_file = __('no file', 'rtmedia' );
906
 
907
  $ec_invalid_file_string = 140005;
908
- $msg_invalid_file_string = __('invalid file string', 'rtmedia' );
909
 
910
  $ec_image_type_missing = 140006;
911
- $msg_image_type_missing = __('image type missing', 'rtmedia' );
912
 
913
  $ec_no_file_title = 140002;
914
- $msg_no_file_title = __('no title', 'rtmedia' );
915
 
916
  $ec_invalid_image = 140003;
917
- $msg_invalid_image = __('upload failed, check size and file type', 'rtmedia' );
918
 
919
  $ec_look_updated = 140004;
920
- $msg_look_updated = __('media updated', 'rtmedia' );
921
 
922
  $description = '';
923
  extract($_POST);
@@ -1047,13 +1047,13 @@ class RTMediaJsonApi{
1047
  $this->rtmediajsonapifunction->rtmedia_api_verfiy_token();
1048
  //Errors
1049
  $ec_media = 160002;
1050
- $msg_media = __('media list', 'rtmedia' );
1051
 
1052
  $ec_no_media = 160003;
1053
- $msg_no_media = __('no media found for requested media type', 'rtmedia' );
1054
 
1055
  $ec_invalid_media_type = 160004;
1056
- $msg_invalid_media_type = __('media_type not allowed', 'rtmedia' );
1057
 
1058
  global $rtmedia;
1059
  $rtmediamodel = new RTMediaModel();
@@ -1143,7 +1143,7 @@ class RTMediaJsonApi{
1143
  $this->rtmediajsonapifunction->rtmedia_api_media_activity_id_missing();
1144
  //Errors
1145
  $ec_single_media = 150002;
1146
- $msg_single_media = __('single media', 'rtmedia' );
1147
 
1148
  extract($_REQUEST);
1149
  $id = rtmedia_media_id( $media_id );
163
  function rtmedia_api_process_wp_login_request(){
164
  //Login Errors and Messages
165
  $ec_user_pass_missing = 200001;
166
+ $msg_user_pass_missing = __('username/password empty', 'buddypress-media' );
167
 
168
  $ec_incorrect_username = 200002;
169
+ $msg_incorrect_username = __('incorrect username', 'buddypress-media' );
170
 
171
  $ec_incorrect_pass = 200003;
172
+ $msg_incorrect_pass = __('incorrect password', 'buddypress-media' );
173
 
174
  $ec_login_success = 200004;
175
+ $msg_login_success = __('login success', 'buddypress-media' );
176
 
177
  if ( empty( $_POST['username'] ) || empty( $_POST['password'] ) ){
178
  echo $this->rtmedia_api_response_object( 'FALSE', $ec_user_pass_missing, $msg_user_pass_missing );
218
  function rtmedia_api_process_wp_register_request(){
219
  //Registration errors and messages
220
  $ec_register_fields_missing = 300001;
221
+ $msg_register_fields_missing = __('fields empty', 'buddypress-media' );
222
 
223
  $ec_invalid_email = 300002;
224
+ $msg_invalid_email = __('invalid email', 'buddypress-media' );
225
 
226
  $ec_pass_do_not_match = 300003;
227
+ $msg_pass_do_not_match = __('password do not match', 'buddypress-media' );
228
 
229
  $ec_username_exists = 300004;
230
+ $msg_username_exists = __('username already registered', 'buddypress-media' );
231
 
232
  $ec_email_exists = 300005;
233
+ $msg_email_existsh = __('email already exists', 'buddypress-media' );
234
 
235
  $ec_user_insert_success = 300007;
236
+ $msg_user_insert_success = __('new user created', 'buddypress-media' );
237
 
238
  $registration_fields = array('username', 'email', 'password', 'password_confirm');
239
  //fields empty field_1, field_4
294
  global $wpdb;
295
  //Registration errors and messages
296
  $ec_email_missing = 500001;
297
+ $msg_email_missing = __('email empty', 'buddypress-media' );
298
 
299
  $ec_username_email_not_registered = 500002;
300
+ $msg_username_email_not_registered = __('username/email not registered', 'buddypress-media' );
301
 
302
  $ec_email_sent = 500003;
303
+ $msg_email_sent = __('reset link sent', 'buddypress-media' );
304
 
305
  if ( empty( $_POST['user_login'] ) ) { echo $this->rtmedia_api_response_object('FALSE', $ec_email_missing, $msg_email_missing ); exit; }
306
 
332
  $wpdb->update( $wpdb->users, array( 'user_activation_key' => $hashed ), array( 'user_login' => $user_login ) );
333
 
334
  //create email message
335
+ $message = __('Someone has asked to reset the password for the following site and username.', 'buddypress-media') . "\r\n\r\n";
336
  $message .= get_option('siteurl') . "\r\n\r\n";
337
+ $message .= sprintf(__('Username: %s', 'buddypress-media'), $user_login) . "\r\n\r\n";
338
+ $message .= __('To reset your password visit the following address, otherwise just ignore this email and nothing will happen.', 'buddypress-media') . "\r\n\r\n";
339
  $message .='<' . network_site_url("wp-login.php?action=rp&key=$key&login=" . rawurlencode($user_login), 'login') . ">\r\n";
340
  //send email meassage
341
+ if (FALSE == wp_mail($user_email, sprintf(__('[%s] Password Reset','buddypress-media'), get_option('blogname')), $message))
342
  echo $this->rtmedia_api_response_object ('FALSE', $this->ec_server_error, $this->msg_server_error);
343
  else{
344
  echo $this->rtmedia_api_response_object ('TRUE', $ec_email_sent, $msg_email_sent);
353
  $this->rtmediajsonapifunction->rtmedia_api_verfiy_token();
354
  //Feed Errors
355
  $ec_latest_feed = 700001;
356
+ $msg_latest_feed = __('bp activities', 'buddypress-media' );
357
 
358
  $ec_my_looks = 700002;
359
+ $msg_my_looks = __('user activities', 'buddypress-media' );
360
 
361
  //Fetch user id from token
362
  $activity_user_id = '';
386
  $this->rtmediajsonapifunction->rtmedia_api_media_activity_id_missing();
387
  //Post comment errors
388
  $ec_comment_content_missing = 800001;
389
+ $msg_comment_content_missing = __('comment content missing', 'buddypress-media' );
390
 
391
  $ec_comment_posted = 800002;
392
+ $msg_comment_posted = __('comment posted', 'buddypress-media' );
393
 
394
  //Fetch user id from token
395
  $user_data = get_userdata( $this->user_id );
436
 
437
  //Like errors
438
  $ec_already_liked = 900001;
439
+ $msg_already_liked = __('unliked media', 'buddypress-media' );
440
 
441
  $ec_liked_media = 900002;
442
+ $msg_liked_media = __('liked media', 'buddypress-media' );
443
 
444
  extract($_POST);
445
 
523
  $this->rtmediajsonapifunction->rtmedia_api_verfiy_token();
524
  //Errors Fetching comment
525
  $ec_no_comments = 800003;
526
+ $msg_no_comments = __('no comments', 'buddypress-media' );
527
 
528
  $ec_media_comments = 800004;
529
+ $msg_media_comments = __('media comments', 'buddypress-media' );
530
 
531
  $ec_my_comments = 800005;
532
+ $msg_my_comments = __('my comments', 'buddypress-media' );
533
 
534
  extract($_REQUEST);
535
  global $wpdb;
579
  global $wpdb;
580
  //Errors Fetching Likes
581
  $ec_no_likes = 900003;
582
+ $msg_no_likes = __('no likes', 'buddypress-media' );
583
 
584
  $ec_media_likes = 900004;
585
+ $msg_media_likes = __('media likes', 'buddypress-media' );
586
  $media_like_users = array();
587
  $media_likes = array();
588
  $media_likes['user'] = array();
624
  //Errors Deleting comment
625
 
626
  $ec_comment_not_found = 800007;
627
+ $msg_comment_not_found = __('invalid comment/media id', 'buddypress-media' );
628
 
629
  $ec_no_comment_id = 800008;
630
+ $msg_no_comment_id = __('no comment id', 'buddypress-media' );
631
 
632
  $ec_comment_deleted = 800009;
633
+ $msg_comment_deleted = __('comment deleted', 'buddypress-media' );
634
  extract($_POST);
635
 
636
  if ( empty( $comment_id ) ){
673
  $this->rtmediajsonapifunction->rtmedia_api_verfiy_token();
674
  //Errors
675
  $ec_no_fields = 400001;
676
+ $msg_no_fields = __('no profile found', 'buddypress-media' );
677
 
678
  $ec_profile_fields = 400002;
679
+ $msg_profile_fields = __('profile fields', 'buddypress-media' );
680
 
681
  $profile_fields = array();
682
  $user_id = $loggedin_user_id = '';
770
  function rtmedia_api_process_follow_request(){
771
  $this->rtmediajsonapifunction->rtmedia_api_verfiy_token();
772
  $ec_empty_follow_id = 400003;
773
+ $msg_empty_follow_id = __('follow user id missing', 'buddypress-media' );
774
 
775
  $ec_started_following = 400004;
776
+ $msg_started_following = __('started following', 'buddypress-media' );
777
 
778
  $ec_already_following = 400005;
779
+ $msg_already_following = __('already following', 'buddypress-media' );
780
 
781
  extract($_POST);
782
 
808
  $this->rtmediajsonapifunction->rtmedia_api_verfiy_token();
809
 
810
  $ec_empty_unfollow_id = 400006;
811
+ $msg_empty_unfollow_id = __('unfollow id missing', 'buddypress-media' );
812
 
813
  $ec_stopped_following = 400007;
814
+ $msg_stopped_following = __('stopped following', 'buddypress-media' );
815
 
816
  $ec_not_following = 400008;
817
+ $msg_not_following = __('not following', 'buddypress-media' );
818
 
819
  extract($_POST);
820
 
846
  function rtmedia_api_process_update_profile_request(){
847
  $this->rtmediajsonapifunction->rtmedia_api_verfiy_token();
848
  $ec_empty_name_location = 120001;
849
+ $msg_empty_name_location = __('name/location empty', 'buddypress-media' );
850
 
851
  $ec_profile_updated = 120002;
852
+ $msg_profile_updated = __('profile updated', 'buddypress-media' );
853
  extract($_POST);
854
 
855
  for ( $i=1; $i<=12; $i++ ){
875
 
876
  $this->rtmediajsonapifunction->rtmedia_api_verfiy_token();
877
  $ec_no_file = 130001;
878
+ $msg_no_file = __('no file', 'buddypress-media' );
879
 
880
  $ec_invalid_image = 130002;
881
+ $msg_invalid_image = __('upload failed, check size and file type', 'buddypress-media' );
882
 
883
  $ec_avatar_updated = 130003;
884
+ $msg_avatar_updated = __('avatar updated', 'buddypress-media' );
885
  extract($_POST);
886
  if( empty( $_FILES['file'] )){
887
  echo $this->rtmedia_api_response_object( 'FALSE', $ec_no_file, $msg_no_file );
902
  $this->rtmediajsonapifunction->rtmedia_api_verfiy_token();
903
  //Error Codes for new look
904
  $ec_no_file = 140001;
905
+ $msg_no_file = __('no file', 'buddypress-media' );
906
 
907
  $ec_invalid_file_string = 140005;
908
+ $msg_invalid_file_string = __('invalid file string', 'buddypress-media' );
909
 
910
  $ec_image_type_missing = 140006;
911
+ $msg_image_type_missing = __('image type missing', 'buddypress-media' );
912
 
913
  $ec_no_file_title = 140002;
914
+ $msg_no_file_title = __('no title', 'buddypress-media' );
915
 
916
  $ec_invalid_image = 140003;
917
+ $msg_invalid_image = __('upload failed, check size and file type', 'buddypress-media' );
918
 
919
  $ec_look_updated = 140004;
920
+ $msg_look_updated = __('media updated', 'buddypress-media' );
921
 
922
  $description = '';
923
  extract($_POST);
1047
  $this->rtmediajsonapifunction->rtmedia_api_verfiy_token();
1048
  //Errors
1049
  $ec_media = 160002;
1050
+ $msg_media = __('media list', 'buddypress-media' );
1051
 
1052
  $ec_no_media = 160003;
1053
+ $msg_no_media = __('no media found for requested media type', 'buddypress-media' );
1054
 
1055
  $ec_invalid_media_type = 160004;
1056
+ $msg_invalid_media_type = __('media_type not allowed', 'buddypress-media' );
1057
 
1058
  global $rtmedia;
1059
  $rtmediamodel = new RTMediaModel();
1143
  $this->rtmediajsonapifunction->rtmedia_api_media_activity_id_missing();
1144
  //Errors
1145
  $ec_single_media = 150002;
1146
+ $msg_single_media = __('single media', 'buddypress-media' );
1147
 
1148
  extract($_REQUEST);
1149
  $id = rtmedia_media_id( $media_id );
app/main/controllers/group/RTMediaGroupExtension.php CHANGED
@@ -27,20 +27,20 @@ if ( class_exists ( 'BP_Group_Extension' ) ) :// Recommended, to prevent problem
27
  <div class='rtmedia-group-media-settings'>
28
  <?php if( isset($options['general_enableAlbums']) && $options['general_enableAlbums'] == 1){ // album is enabled ?>
29
 
30
- <h4><?php _e( 'Album Creation Control', 'rtmedia' ); ?></h4>
31
- <p><?php _e( 'Who can create Albums in this group?', 'rtmedia' ); ?></p>
32
  <div class="radio">
33
  <label>
34
  <input name="rt_album_creation_control" type="radio" id="rt_media_group_level_all" checked="checked" value="all">
35
- <strong><?php _e( 'All Group Members', 'rtmedia' ); ?></strong>
36
  </label>
37
  <label>
38
  <input name="rt_album_creation_control" type="radio" id="rt_media_group_level_moderators" value="moderators">
39
- <strong><?php _e( 'Group Admins and Mods only', 'rtmedia' ); ?></strong>
40
  </label>
41
  <label>
42
  <input name="rt_album_creation_control" type="radio" id="rt_media_group_level_admin" value="admin">
43
- <strong><?php _e( 'Group Admin only', 'rtmedia' ); ?></strong>
44
  </label>
45
  </div>
46
 
@@ -89,20 +89,20 @@ if ( class_exists ( 'BP_Group_Extension' ) ) :// Recommended, to prevent problem
89
  $options = $rtmedia->options;
90
  if( isset($options['general_enableAlbums']) && $options['general_enableAlbums'] == 1){ // album is enabled ?>
91
 
92
- <h4><?php _e( 'Album Creation Control', 'rtmedia' ); ?></h4>
93
- <p><?php _e( 'Who can create Albums in this group?', 'rtmedia' ); ?></p>
94
  <div class="radio">
95
  <label>
96
  <input name="rt_album_creation_control" type="radio" id="rt_media_group_level_moderators" value="all"<?php checked ( $current_level, 'all', true ) ?>>
97
- <strong><?php _e( 'All Group Members', 'rtmedia' ); ?></strong>
98
  </label>
99
  <label>
100
  <input name="rt_album_creation_control" type="radio" id="rt_media_group_level_moderators" value="moderators" <?php checked ( $current_level, 'moderators', true ) ?>>
101
- <strong><?php _e( 'Group Admins and Mods only', 'rtmedia' ); ?></strong>
102
  </label>
103
  <label>
104
  <input name="rt_album_creation_control" type="radio" id="rt_media_group_level_admin" value="admin" <?php checked ( $current_level, 'admin', true ) ?>>
105
- <strong><?php _e ( 'Group Admin only', 'rtmedia' ); ?></strong>
106
  </label>
107
  </div>
108
  <hr>
@@ -110,7 +110,7 @@ if ( class_exists ( 'BP_Group_Extension' ) ) :// Recommended, to prevent problem
110
 
111
  <?php do_action('rtmedia_playlist_creation_settings_groups_edit'); ?>
112
  </div>
113
- <input type="submit" name="save" value="<?php _e( 'Save Changes', 'rtmedia' ); ?>" />
114
  <?php
115
  wp_nonce_field ( 'groups_edit_save_' . $this->slug );
116
  }
@@ -139,9 +139,9 @@ if ( class_exists ( 'BP_Group_Extension' ) ) :// Recommended, to prevent problem
139
 
140
  /* To post an error/success message to the screen, use the following */
141
  if ( ! $success )
142
- bp_core_add_message ( __( 'There was an error saving, please try again', 'rtmedia' ), 'error' );
143
  else
144
- bp_core_add_message ( __( 'Settings saved successfully', 'rtmedia' ) );
145
 
146
  bp_core_redirect ( bp_get_group_permalink ( $bp->groups->current_group ) . '/admin/' . $this->slug );
147
  }
@@ -162,7 +162,7 @@ if ( class_exists ( 'BP_Group_Extension' ) ) :// Recommended, to prevent problem
162
  <h4><?php echo esc_attr ( $this->name ) ?></h4>
163
  <p>
164
  <?php _e( 'You could display a small snippet of information from your group extension here. It will show on the group
165
- home screen.', 'rtmedia' ); ?>
166
  </p>
167
  </div>
168
  <?php
27
  <div class='rtmedia-group-media-settings'>
28
  <?php if( isset($options['general_enableAlbums']) && $options['general_enableAlbums'] == 1){ // album is enabled ?>
29
 
30
+ <h4><?php _e( 'Album Creation Control', 'buddypress-media' ); ?></h4>
31
+ <p><?php _e( 'Who can create Albums in this group?', 'buddypress-media' ); ?></p>
32
  <div class="radio">
33
  <label>
34
  <input name="rt_album_creation_control" type="radio" id="rt_media_group_level_all" checked="checked" value="all">
35
+ <strong><?php _e( 'All Group Members', 'buddypress-media' ); ?></strong>
36
  </label>
37
  <label>
38
  <input name="rt_album_creation_control" type="radio" id="rt_media_group_level_moderators" value="moderators">
39
+ <strong><?php _e( 'Group Admins and Mods only', 'buddypress-media' ); ?></strong>
40
  </label>
41
  <label>
42
  <input name="rt_album_creation_control" type="radio" id="rt_media_group_level_admin" value="admin">
43
+ <strong><?php _e( 'Group Admin only', 'buddypress-media' ); ?></strong>
44
  </label>
45
  </div>
46
 
89
  $options = $rtmedia->options;
90
  if( isset($options['general_enableAlbums']) && $options['general_enableAlbums'] == 1){ // album is enabled ?>
91
 
92
+ <h4><?php _e( 'Album Creation Control', 'buddypress-media' ); ?></h4>
93
+ <p><?php _e( 'Who can create Albums in this group?', 'buddypress-media' ); ?></p>
94
  <div class="radio">
95
  <label>
96
  <input name="rt_album_creation_control" type="radio" id="rt_media_group_level_moderators" value="all"<?php checked ( $current_level, 'all', true ) ?>>
97
+ <strong><?php _e( 'All Group Members', 'buddypress-media' ); ?></strong>
98
  </label>
99
  <label>
100
  <input name="rt_album_creation_control" type="radio" id="rt_media_group_level_moderators" value="moderators" <?php checked ( $current_level, 'moderators', true ) ?>>
101
+ <strong><?php _e( 'Group Admins and Mods only', 'buddypress-media' ); ?></strong>
102
  </label>
103
  <label>
104
  <input name="rt_album_creation_control" type="radio" id="rt_media_group_level_admin" value="admin" <?php checked ( $current_level, 'admin', true ) ?>>
105
+ <strong><?php _e ( 'Group Admin only', 'buddypress-media' ); ?></strong>
106
  </label>
107
  </div>
108
  <hr>
110
 
111
  <?php do_action('rtmedia_playlist_creation_settings_groups_edit'); ?>
112
  </div>
113
+ <input type="submit" name="save" value="<?php _e( 'Save Changes', 'buddypress-media' ); ?>" />
114
  <?php
115
  wp_nonce_field ( 'groups_edit_save_' . $this->slug );
116
  }
139
 
140
  /* To post an error/success message to the screen, use the following */
141
  if ( ! $success )
142
+ bp_core_add_message ( __( 'There was an error saving, please try again', 'buddypress-media' ), 'error' );
143
  else
144
+ bp_core_add_message ( __( 'Settings saved successfully', 'buddypress-media' ) );
145
 
146
  bp_core_redirect ( bp_get_group_permalink ( $bp->groups->current_group ) . '/admin/' . $this->slug );
147
  }
162
  <h4><?php echo esc_attr ( $this->name ) ?></h4>
163
  <p>
164
  <?php _e( 'You could display a small snippet of information from your group extension here. It will show on the group
165
+ home screen.', 'buddypress-media' ); ?>
166
  </p>
167
  </div>
168
  <?php
app/main/controllers/media/RTMediaAlbum.php CHANGED
@@ -32,7 +32,7 @@ class RTMediaAlbum {
32
 
33
  function rtmedia_album_custom_post_status() {
34
  $args = array(
35
- 'label' => _x( 'hidden', 'Status General Name', 'rtmedia' ), 'label_count' => _n_noop( 'Hidden (%s)', 'Hidden (%s)', 'rtmedia' ), 'public' => false, 'show_in_admin_all_list' => false, 'show_in_admin_status_list' => false, 'exclude_from_search' => true,
36
  );
37
  register_post_status( 'hidden', $args );
38
  }
@@ -45,19 +45,19 @@ class RTMediaAlbum {
45
 
46
  /* Set up Album labels */
47
  $album_labels = array(
48
- 'name' => __( 'Albums', 'rtmedia' ),
49
- 'singular_name' => __( 'Album', 'rtmedia' ),
50
- 'add_new' => __( 'Create', 'rtmedia' ),
51
- 'add_new_item' => __( 'Create Album', 'rtmedia' ),
52
- 'edit_item' => __( 'Edit Album', 'rtmedia' ),
53
- 'new_item' => __( 'New Album', 'rtmedia' ),
54
- 'all_items' => __( 'All Albums', 'rtmedia' ),
55
- 'view_item' => __( 'View Album', 'rtmedia' ),
56
- 'search_items' => __( 'Search Albums', 'rtmedia' ),
57
- 'not_found' => __( 'No album found', 'rtmedia' ),
58
- 'not_found_in_trash' => __( 'No album found in Trash', 'rtmedia' ),
59
- 'parent_item_colon' => __( 'Parent', 'rtmedia' ),
60
- 'menu_name' => __( 'Albums', 'rtmedia' )
61
  );
62
 
63
  $album_slug = apply_filters( 'rtmedia_album_rewrite_slug', 'rtmedia-album' );
@@ -142,7 +142,7 @@ class RTMediaAlbum {
142
 
143
  /* Album Details which will be passed to Database query to add the album */
144
  $post_vars = array(
145
- 'post_title' => ( empty ( $title ) ) ? __( 'Untitled Album', 'rtmedia' ) : $title, 'post_type' => 'rtmedia_album', 'post_author' => $author_id, 'post_status' => 'hidden'
146
  );
147
 
148
  /* Check whether to create a new album in wp_post table
32
 
33
  function rtmedia_album_custom_post_status() {
34
  $args = array(
35
+ 'label' => _x( 'hidden', 'Status General Name', 'buddypress-media' ), 'label_count' => _n_noop( 'Hidden (%s)', 'Hidden (%s)', 'buddypress-media' ), 'public' => false, 'show_in_admin_all_list' => false, 'show_in_admin_status_list' => false, 'exclude_from_search' => true,
36
  );
37
  register_post_status( 'hidden', $args );
38
  }
45
 
46
  /* Set up Album labels */
47
  $album_labels = array(
48
+ 'name' => __( 'Albums', 'buddypress-media' ),
49
+ 'singular_name' => __( 'Album', 'buddypress-media' ),
50
+ 'add_new' => __( 'Create', 'buddypress-media' ),
51
+ 'add_new_item' => __( 'Create Album', 'buddypress-media' ),
52
+ 'edit_item' => __( 'Edit Album', 'buddypress-media' ),
53
+ 'new_item' => __( 'New Album', 'buddypress-media' ),
54
+ 'all_items' => __( 'All Albums', 'buddypress-media' ),
55
+ 'view_item' => __( 'View Album', 'buddypress-media' ),
56
+ 'search_items' => __( 'Search Albums', 'buddypress-media' ),
57
+ 'not_found' => __( 'No album found', 'buddypress-media' ),
58
+ 'not_found_in_trash' => __( 'No album found in Trash', 'buddypress-media' ),
59
+ 'parent_item_colon' => __( 'Parent', 'buddypress-media' ),
60
+ 'menu_name' => __( 'Albums', 'buddypress-media' )
61
  );
62
 
63
  $album_slug = apply_filters( 'rtmedia_album_rewrite_slug', 'rtmedia-album' );
142
 
143
  /* Album Details which will be passed to Database query to add the album */
144
  $post_vars = array(
145
+ 'post_title' => ( empty ( $title ) ) ? __( 'Untitled Album', 'buddypress-media' ) : $title, 'post_type' => 'rtmedia_album', 'post_author' => $author_id, 'post_status' => 'hidden'
146
  );
147
 
148
  /* Check whether to create a new album in wp_post table
app/main/controllers/media/RTMediaFeatured.php CHANGED
@@ -22,9 +22,9 @@ class RTMediaFeatured extends RTMediaUserInteraction {
22
  function __construct( $user_id = false, $flag = true ){
23
  $args = array(
24
  'action' => 'featured',
25
- 'label' => __( 'Set as Featured', 'rtmedia' ),
26
  'plural' => '',
27
- 'undo_label' => __( 'Unset Featured', 'rtmedia' ),
28
  'privacy' => 60,
29
  'countable' => false,
30
  'single' => true,
@@ -181,7 +181,7 @@ class RTMediaFeatured extends RTMediaUserInteraction {
181
  do_action( 'rtmedia_after_set_featured', $this );
182
  } else {
183
  $return['status'] = false;
184
- $return['error'] = __( 'Media type is not allowed', 'rtmedia' );
185
  }
186
  if ( isset( $_REQUEST['json'] ) && 'true' == $_REQUEST['json'] ){
187
  echo json_encode( $return );
22
  function __construct( $user_id = false, $flag = true ){
23
  $args = array(
24
  'action' => 'featured',
25
+ 'label' => __( 'Set as Featured', 'buddypress-media' ),
26
  'plural' => '',
27
+ 'undo_label' => __( 'Unset Featured', 'buddypress-media' ),
28
  'privacy' => 60,
29
  'countable' => false,
30
  'single' => true,
181
  do_action( 'rtmedia_after_set_featured', $this );
182
  } else {
183
  $return['status'] = false;
184
+ $return['error'] = __( 'Media type is not allowed', 'buddypress-media' );
185
  }
186
  if ( isset( $_REQUEST['json'] ) && 'true' == $_REQUEST['json'] ){
187
  echo json_encode( $return );
app/main/controllers/media/RTMediaGalleryItemAction.php CHANGED
@@ -57,11 +57,11 @@ class RTMediaGalleryItemAction {
57
  || ( isset( $rtmedia_media ) && isset( $rtmedia_media->media_author ) && $rtmedia_media->media_author == get_current_user_id() ) ) {
58
  ?>
59
  <div class='rtmedia-gallery-item-actions'>
60
- <a href="<?php rtmedia_permalink(); ?>edit" class='no-popup' target='_blank' title='<?php _e( 'Edit this media', 'rtmedia' ); ?>'>
61
- <i class='dashicons dashicons-edit rtmicon'></i><?php _e( 'Edit', 'rtmedia' ); ?>
62
  </a>
63
- <a href="#" class="no-popup rtm-delete-media" title='<?php _e( 'Delete this media', 'rtmedia' ); ?>'>
64
- <i class='dashicons dashicons-trash rtmicon'></i><?php _e( 'Delete', 'rtmedia' ); ?>
65
  </a>
66
  </div>
67
  <?php
@@ -77,7 +77,7 @@ class RTMediaGalleryItemAction {
77
  if( is_rt_admin()
78
  || ( function_exists( 'groups_is_user_mod' ) && groups_is_user_mod( $user_id, $context_id ) )
79
  || $media_array->media_author == get_current_user_id() ) {
80
- $media_array->media_actions = "<div class='rtmedia-gallery-item-actions'><a href='" . $media_array->rt_permalink . "edit' class='no-popup' target='_blank' title='" . __( 'Edit this media', 'rtmedia' ) ."'><i class='dashicons dashicons-edit rtmicon'></i>" . __( 'Edit', 'rtmedia' ) ."</a><a href='#' class='no-popup rtm-delete-media' title='" . __( 'Delete this media', 'rtmedia' ) . "' ><i class='dashicons dashicons-trash rtmicon'></i>" . __( 'Delete', 'rtmedia' ) ."</a></div>";
81
  } else {
82
  $media_array->media_actions = "";
83
  }
57
  || ( isset( $rtmedia_media ) && isset( $rtmedia_media->media_author ) && $rtmedia_media->media_author == get_current_user_id() ) ) {
58
  ?>
59
  <div class='rtmedia-gallery-item-actions'>
60
+ <a href="<?php rtmedia_permalink(); ?>edit" class='no-popup' target='_blank' title='<?php _e( 'Edit this media', 'buddypress-media' ); ?>'>
61
+ <i class='dashicons dashicons-edit rtmicon'></i><?php _e( 'Edit', 'buddypress-media' ); ?>
62
  </a>
63
+ <a href="#" class="no-popup rtm-delete-media" title='<?php _e( 'Delete this media', 'buddypress-media' ); ?>'>
64
+ <i class='dashicons dashicons-trash rtmicon'></i><?php _e( 'Delete', 'buddypress-media' ); ?>
65
  </a>
66
  </div>
67
  <?php
77
  if( is_rt_admin()
78
  || ( function_exists( 'groups_is_user_mod' ) && groups_is_user_mod( $user_id, $context_id ) )
79
  || $media_array->media_author == get_current_user_id() ) {
80
+ $media_array->media_actions = "<div class='rtmedia-gallery-item-actions'><a href='" . $media_array->rt_permalink . "edit' class='no-popup' target='_blank' title='" . __( 'Edit this media', 'buddypress-media' ) ."'><i class='dashicons dashicons-edit rtmicon'></i>" . __( 'Edit', 'buddypress-media' ) ."</a><a href='#' class='no-popup rtm-delete-media' title='" . __( 'Delete this media', 'buddypress-media' ) . "' ><i class='dashicons dashicons-trash rtmicon'></i>" . __( 'Delete', 'buddypress-media' ) ."</a></div>";
81
  } else {
82
  $media_array->media_actions = "";
83
  }
app/main/controllers/media/RTMediaGroupFeatured.php CHANGED
@@ -14,9 +14,9 @@ class RTMediaGroupFeatured extends RTMediaUserInteraction {
14
  function __construct( $group_id = false, $flag = true ){
15
  $args = array(
16
  'action' => 'group-featured',
17
- 'label' => __( 'Set as Featured', 'rtmedia' ),
18
  'plural' => '',
19
- 'undo_label' => __( 'Unset Featured', 'rtmedia' ),
20
  'privacy' => 20,
21
  'countable' => false,
22
  'single' => true,
@@ -191,7 +191,7 @@ class RTMediaGroupFeatured extends RTMediaUserInteraction {
191
  do_action( 'rtmedia_after_set_featured', $this );
192
  } else {
193
  $return['status'] = false;
194
- $return['error'] = __( 'Media type is not allowed', 'rtmedia' );
195
  }
196
  if ( isset( $_REQUEST['json'] ) && 'true' == $_REQUEST['json'] ){
197
  echo json_encode( $return );
14
  function __construct( $group_id = false, $flag = true ){
15
  $args = array(
16
  'action' => 'group-featured',
17
+ 'label' => __( 'Set as Featured', 'buddypress-media' ),
18
  'plural' => '',
19
+ 'undo_label' => __( 'Unset Featured', 'buddypress-media' ),
20
  'privacy' => 20,
21
  'countable' => false,
22
  'single' => true,
191
  do_action( 'rtmedia_after_set_featured', $this );
192
  } else {
193
  $return['status'] = false;
194
+ $return['error'] = __( 'Media type is not allowed', 'buddypress-media' );
195
  }
196
  if ( isset( $_REQUEST['json'] ) && 'true' == $_REQUEST['json'] ){
197
  echo json_encode( $return );
app/main/controllers/media/RTMediaLike.php CHANGED
@@ -15,9 +15,9 @@ class RTMediaLike extends RTMediaUserInteraction {
15
  function __construct() {
16
  $args = array(
17
  'action' => 'like',
18
- 'label' => __( 'Like', 'rtmedia' ),
19
- 'plural' => __( 'Likes', 'rtmedia' ),
20
- 'undo_label' => __( 'Unlike', 'rtmedia' ),
21
  'privacy' => 20,
22
  'countable' => true,
23
  'single' => false,
15
  function __construct() {
16
  $args = array(
17
  'action' => 'like',
18
+ 'label' => __( 'Like', 'buddypress-media' ),
19
+ 'plural' => __( 'Likes', 'buddypress-media' ),
20
+ 'undo_label' => __( 'Unlike', 'buddypress-media' ),
21
  'privacy' => 20,
22
  'countable' => true,
23
  'single' => false,
app/main/controllers/media/RTMediaLoginPopup.php CHANGED
@@ -35,7 +35,7 @@ class RTMediaLoginPopup {
35
 
36
  function rtmedia_add_upload_album_button_popup() {
37
  if ( ! is_user_logged_in() ) {
38
- echo '<span><a href="#rtmedia-login-register-modal" class="primary rtmedia-upload-media-link rtmedia-modal-link" id="rtmedia-login-register-modal" title="' . __( 'Upload Media', 'rtmedia' ) . '"><i class="dashicons dashicons-upload rtmicon"></i>' . __( 'Upload', 'rtmedia' ) . '</a></span>';
39
  }
40
  }
41
 
@@ -44,12 +44,12 @@ class RTMediaLoginPopup {
44
  ?>
45
  <div class="rtmedia-popup mfp-hide rtm-modal" id="rtmedia-login-register-modal">
46
  <div id="rtm-modal-container">
47
- <h2 class="rtm-modal-title"><?php _e( 'Please login', 'rtmedia' ); ?></h2>
48
 
49
- <p><?php _e( "You need to be logged in to upload Media or to create Album.", 'rtmedia' ); ?></p>
50
 
51
  <p>
52
- <?php echo __( 'Click', 'rtmedia' ) . ' <a href="' . wp_login_url( $_SERVER['REQUEST_URI'] ) . '" title="' . __( 'Login', 'rtmedia' ) . '">' . __( 'HERE', 'rtmedia' ) . '</a>' . __( ' to login.', 'rtmedia' ); ?>
53
  </p>
54
  </div>
55
  </div>
35
 
36
  function rtmedia_add_upload_album_button_popup() {
37
  if ( ! is_user_logged_in() ) {
38
+ echo '<span><a href="#rtmedia-login-register-modal" class="primary rtmedia-upload-media-link rtmedia-modal-link" id="rtmedia-login-register-modal" title="' . __( 'Upload Media', 'buddypress-media' ) . '"><i class="dashicons dashicons-upload rtmicon"></i>' . __( 'Upload', 'buddypress-media' ) . '</a></span>';
39
  }
40
  }
41
 
44
  ?>
45
  <div class="rtmedia-popup mfp-hide rtm-modal" id="rtmedia-login-register-modal">
46
  <div id="rtm-modal-container">
47
+ <h2 class="rtm-modal-title"><?php _e( 'Please login', 'buddypress-media' ); ?></h2>
48
 
49
+ <p><?php _e( "You need to be logged in to upload Media or to create Album.", 'buddypress-media' ); ?></p>
50
 
51
  <p>
52
+ <?php echo __( 'Click', 'buddypress-media' ) . ' <a href="' . wp_login_url( $_SERVER['REQUEST_URI'] ) . '" title="' . __( 'Login', 'buddypress-media' ) . '">' . __( 'HERE', 'buddypress-media' ) . '</a>' . __( ' to login.', 'buddypress-media' ); ?>
53
  </p>
54
  </div>
55
  </div>
app/main/controllers/media/RTMediaMedia.php CHANGED
@@ -484,7 +484,7 @@ class RTMediaMedia {
484
  wp_update_attachment_metadata( $attachment_id, wp_generate_attachment_metadata( $attachment_id, $file_object[ $key ][ 'file' ] ) );
485
  } else {
486
  unlink( $file_object[ $key ][ 'file' ] );
487
- throw new Exception ( __( 'Error creating attachment for the media file, please try again', 'rtmedia' ) );
488
  }
489
  $updated_attachment_ids[ ] = $attachment_id;
490
  }
@@ -586,7 +586,7 @@ class RTMediaMedia {
586
 
587
  $media_str = constant( $media_const );
588
 
589
- $action = sprintf( ( $count == 1 ) ? __( '%1$s added a %2$s', 'rtmedia' ) : __( '%1$s added %4$d %3$s', 'rtmedia' ), $username, $media->media_type, $media_str, $count );
590
  $action = apply_filters( 'rtmedia_buddypress_action_text_fitler', $action, $username, $count, $user->user_nicename, $media->media_type );
591
  $activity_args = array(
592
  'user_id' => $user->ID,
484
  wp_update_attachment_metadata( $attachment_id, wp_generate_attachment_metadata( $attachment_id, $file_object[ $key ][ 'file' ] ) );
485
  } else {
486
  unlink( $file_object[ $key ][ 'file' ] );
487
+ throw new Exception ( __( 'Error creating attachment for the media file, please try again', 'buddypress-media' ) );
488
  }
489
  $updated_attachment_ids[ ] = $attachment_id;
490
  }
586
 
587
  $media_str = constant( $media_const );
588
 
589
+ $action = sprintf( ( $count == 1 ) ? __( '%1$s added a %2$s', 'buddypress-media' ) : __( '%1$s added %4$d %3$s', 'buddypress-media' ), $username, $media->media_type, $media_str, $count );
590
  $action = apply_filters( 'rtmedia_buddypress_action_text_fitler', $action, $username, $count, $user->user_nicename, $media->media_type );
591
  $activity_args = array(
592
  'user_id' => $user->ID,
app/main/controllers/privacy/RTMediaPrivacy.php CHANGED
@@ -263,10 +263,10 @@ class RTMediaPrivacy {
263
  $status = update_user_meta(get_current_user_id(), 'rtmedia-default-privacy', $_POST["rtmedia-default-privacy"]);
264
  }
265
  if(false == $status ) {
266
- $feedback = __( 'No changes were made to your account.', 'rtmedia' );
267
  $feedback_type = 'error';
268
  } else if ( true == $status ) {
269
- $feedback = __( 'Your default privacy settings saved successfully.', 'rtmedia' );
270
  $feedback_type = 'success';
271
  }
272
  bp_core_add_message( $feedback, $feedback_type );
@@ -289,7 +289,7 @@ class RTMediaPrivacy {
289
  <div class="rtm_bp_default_privacy">
290
  <?php wp_nonce_field( 'rtmedia_member_settings_privacy', 'rtmedia_member_settings_privacy' ); ?>
291
  <div class="section">
292
- <div class="rtm-title"><h3><?php _e( 'Default Privacy', 'rtmedia' ); ?></h3></div>
293
  <div class="rtm-privacy-levels">
294
  <?php foreach ( $rtmedia->privacy_settings[ 'levels' ] as $level => $data ) { ?>
295
  <label><input type='radio' value='<?php echo $level; ?>' name ='rtmedia-default-privacy' <?php echo ($default_privacy == $level) ? "checked" : ""; ?> /> <?php echo $data; ?></label><br/>
@@ -298,14 +298,14 @@ class RTMediaPrivacy {
298
  </div>
299
  </div>
300
  <div class="submit">
301
- <input type="submit" name="submit" value="<?php esc_attr_e( 'Save Changes', 'rtmedia' ); ?>" id="submit" class="auto">
302
  </div>
303
  </form>
304
  <?php
305
  }
306
 
307
  function title() {
308
- return __( 'Privacy', 'rtmedia' );
309
  }
310
 
311
  function activity_privacy( $sql, $select_sql, $from_sql, $where_sql, $sort, $pag_sql = '' ) {
263
  $status = update_user_meta(get_current_user_id(), 'rtmedia-default-privacy', $_POST["rtmedia-default-privacy"]);
264
  }
265
  if(false == $status ) {
266
+ $feedback = __( 'No changes were made to your account.', 'buddypress-media' );
267
  $feedback_type = 'error';
268
  } else if ( true == $status ) {
269
+ $feedback = __( 'Your default privacy settings saved successfully.', 'buddypress-media' );
270
  $feedback_type = 'success';
271
  }
272
  bp_core_add_message( $feedback, $feedback_type );
289
  <div class="rtm_bp_default_privacy">
290
  <?php wp_nonce_field( 'rtmedia_member_settings_privacy', 'rtmedia_member_settings_privacy' ); ?>
291
  <div class="section">
292
+ <div class="rtm-title"><h3><?php _e( 'Default Privacy', 'buddypress-media' ); ?></h3></div>
293
  <div class="rtm-privacy-levels">
294
  <?php foreach ( $rtmedia->privacy_settings[ 'levels' ] as $level => $data ) { ?>
295
  <label><input type='radio' value='<?php echo $level; ?>' name ='rtmedia-default-privacy' <?php echo ($default_privacy == $level) ? "checked" : ""; ?> /> <?php echo $data; ?></label><br/>
298
  </div>
299
  </div>
300
  <div class="submit">
301
+ <input type="submit" name="submit" value="<?php esc_attr_e( 'Save Changes', 'buddypress-media' ); ?>" id="submit" class="auto">
302
  </div>
303
  </form>
304
  <?php
305
  }
306
 
307
  function title() {
308
+ return __( 'Privacy', 'buddypress-media' );
309
  }
310
 
311
  function activity_privacy( $sql, $select_sql, $from_sql, $where_sql, $sort, $pag_sql = '' ) {
app/main/controllers/shortcodes/RTMediaGalleryShortcode.php CHANGED
@@ -179,7 +179,7 @@ class RTMediaGalleryShortcode {
179
  }
180
 
181
  } else { //if user cannot view the media gallery (when context is 'group'), show message
182
- echo __ ( 'You do not have sufficient privileges to view this gallery', 'rtmedia' );
183
  return false;
184
  }
185
 
179
  }
180
 
181
  } else { //if user cannot view the media gallery (when context is 'group'), show message
182
+ echo __ ( 'You do not have sufficient privileges to view this gallery', 'buddypress-media' );
183
  return false;
184
  }
185
 
app/main/controllers/shortcodes/RTMediaUploadShortcode.php CHANGED
@@ -88,7 +88,7 @@ $flag = ( ! ( is_home () || is_post_type_archive () || is_author ()))
88
 
89
  if ( self::display_allowed () || ( isset( $attr['allow_anonymous'] ) && $attr['allow_anonymous'] === true ) ) {
90
  if ( ! _device_can_upload () ) {
91
- echo '<p>' . __( 'The web browser on your device cannot be used to upload files.', 'rtmedia' ) . '</p>';
92
  return;
93
  }
94
  ob_start ();
@@ -100,7 +100,7 @@ $flag = ( ! ( is_home () || is_post_type_archive () || is_author ()))
100
  return ob_get_clean ();
101
  }
102
  } else {
103
- echo "<div class='rtmedia-upload-not-allowed'>" . apply_filters( 'rtmedia_upload_not_allowed_message', __('You are not allowed to upload/attach media.','rtmedia'), 'uploader_shortcode' ) . "</div>";
104
  }
105
  }
106
 
88
 
89
  if ( self::display_allowed () || ( isset( $attr['allow_anonymous'] ) && $attr['allow_anonymous'] === true ) ) {
90
  if ( ! _device_can_upload () ) {
91
+ echo '<p>' . __( 'The web browser on your device cannot be used to upload files.', 'buddypress-media' ) . '</p>';
92
  return;
93
  }
94
  ob_start ();
100
  return ob_get_clean ();
101
  }
102
  } else {
103
+ echo "<div class='rtmedia-upload-not-allowed'>" . apply_filters( 'rtmedia_upload_not_allowed_message', __('You are not allowed to upload/attach media.','buddypress-media'), 'uploader_shortcode' ) . "</div>";
104
  }
105
  }
106
 
app/main/controllers/template/RTMediaAJAX.php CHANGED
@@ -30,18 +30,18 @@ class RTMediaAJAX {
30
  $group_id = !empty( $_POST[ 'context_id' ] ) ? $_POST[ 'context_id' ] : '';
31
 
32
  if( can_user_create_album_in_group( $group_id ) == false ) {
33
- $return['error'] = __( 'You can not create album in this group.', 'rtmedia' );
34
  }
35
  }
36
 
37
  $create_album = apply_filters( "rtm_is_album_create_enable", true );
38
  if( !$create_album ) {
39
- $return['error'] = __( 'You can not create album.', 'rtmedia' );
40
  }
41
 
42
  $create_album = apply_filters( "rtm_display_create_album_button", true, $_POST[ 'context_id' ] );
43
  if( !$create_album ) {
44
- $return['error'] = __( 'You can not create more albums, you exceed your album limit.', 'rtmedia' );
45
  }
46
 
47
  if( $return['error'] !== false ){
@@ -86,7 +86,7 @@ class RTMediaAJAX {
86
  echo false;
87
  }
88
  } else {
89
- $return['error'] = __( 'Data mismatch, Please insert data properly.', 'rtmedia' );
90
  echo json_encode( $return );
91
  }
92
 
30
  $group_id = !empty( $_POST[ 'context_id' ] ) ? $_POST[ 'context_id' ] : '';
31
 
32
  if( can_user_create_album_in_group( $group_id ) == false ) {
33
+ $return['error'] = __( 'You can not create album in this group.', 'buddypress-media' );
34
  }
35
  }
36
 
37
  $create_album = apply_filters( "rtm_is_album_create_enable", true );
38
  if( !$create_album ) {
39
+ $return['error'] = __( 'You can not create album.', 'buddypress-media' );
40
  }
41
 
42
  $create_album = apply_filters( "rtm_display_create_album_button", true, $_POST[ 'context_id' ] );
43
  if( !$create_album ) {
44
+ $return['error'] = __( 'You can not create more albums, you exceed your album limit.', 'buddypress-media' );
45
  }
46
 
47
  if( $return['error'] !== false ){
86
  echo false;
87
  }
88
  } else {
89
+ $return['error'] = __( 'Data mismatch, Please insert data properly.', 'buddypress-media' );
90
  echo json_encode( $return );
91
  }
92
 
app/main/controllers/template/RTMediaNav.php CHANGED
@@ -29,7 +29,7 @@ class RTMediaNav {
29
  $wp_admin_nav[] = array(
30
  'parent' => 'my-account-' . buddypress()->settings->id,
31
  'id' => 'my-account-' . buddypress()->settings->id . '-privacy',
32
- 'title' => _x( 'Privacy', 'My Account Privacy sub nav', 'rtmedia' ),
33
  'href' => trailingslashit( $settings_link . 'privacy' )
34
  );
35
  }
@@ -76,10 +76,11 @@ class RTMediaNav {
76
 
77
  if( $media_enabled && $is_visible_to_current_user ){
78
  $group_counts = $this->actual_counts ( $bp->groups->current_group->id, "group" );
 
79
  $bp->bp_options_nav[ bp_get_current_group_slug () ][ 'media' ] = array(
80
  'name' => RTMEDIA_MEDIA_LABEL . '<span>' . $group_counts[ 'total' ][ 'all' ] . '</span>',
81
- 'link' => trailingslashit ( bp_get_root_domain () . '/' . bp_get_groups_root_slug () . '/' . bp_get_current_group_slug () . '/' ) . RTMEDIA_MEDIA_SLUG,
82
- 'slug' => RTMEDIA_MEDIA_SLUG,
83
  'user_has_access' => true,
84
  'css_id' => 'rtmedia-media-nav',
85
  'position' => 99,
@@ -173,7 +174,7 @@ class RTMediaNav {
173
  if ( ! isset ( $rtmedia_query->action_query->media_type )) {
174
  $all = 'class="current selected"';
175
  }
176
- echo apply_filters ( 'rtmedia_sub_nav_all', '<li id="rtmedia-nav-item-all-li" ' . $all . '><a id="rtmedia-nav-item-all" href="' . trailingslashit ( $link ) . RTMEDIA_MEDIA_SLUG . '/">' . __ ( "All", "rtmedia" ) . '<span>' . ((isset ( $counts[ 'total' ][ 'all' ] )) ? $counts[ 'total' ][ 'all' ] : 0 ) . '</span>' . '</a></li>' );
177
 
178
  if ( ! isset ( $rtmedia_query->action_query->action ) || empty ( $rtmedia_query->action_query->action ) ) {
179
  $default = true;
@@ -194,7 +195,7 @@ class RTMediaNav {
194
  }
195
 
196
  $counts[ 'total' ][ "album" ] = $counts[ 'total' ][ "album" ] + $other_count;
197
- $album_label = __( defined('RTMEDIA_ALBUM_PLURAL_LABEL') ? constant ( 'RTMEDIA_ALBUM_PLURAL_LABEL' ) : 'Albums', 'rtmedia' );
198
  echo apply_filters ( 'rtmedia_sub_nav_albums', '<li id="rtmedia-nav-item-albums-li" ' . $albums . '><a id="rtmedia-nav-item-albums" href="' . trailingslashit ( $link ) . RTMEDIA_MEDIA_SLUG . '/album/">' . $album_label . '<span>' . ((isset ( $counts[ 'total' ][ "album" ] )) ? $counts[ 'total' ][ "album" ] : 0 ) . '</span>' . '</a></li>' );
199
  }
200
 
@@ -238,7 +239,7 @@ class RTMediaNav {
238
  );
239
  }
240
 
241
- $type_label = __( defined('RTMEDIA_' . $name . '_PLURAL_LABEL') ? constant ( 'RTMEDIA_' . $name . '_PLURAL_LABEL' ) : $type[ 'plural_label' ], 'rtmedia' );
242
  echo apply_filters ( 'rtmedia_sub_nav_' . $type[ 'name' ], '<li id="rtmedia-nav-item-' . $type[ 'name' ]
243
  . '-' . $context . '-' . $context_id . '-li" ' . $selected
244
  . '><a id="rtmedia-nav-item-' . $type[ 'name' ] . '" href="'
29
  $wp_admin_nav[] = array(
30
  'parent' => 'my-account-' . buddypress()->settings->id,
31
  'id' => 'my-account-' . buddypress()->settings->id . '-privacy',
32
+ 'title' => _x( 'Privacy', 'My Account Privacy sub nav', 'buddypress-media' ),
33
  'href' => trailingslashit( $settings_link . 'privacy' )
34
  );
35
  }
76
 
77
  if( $media_enabled && $is_visible_to_current_user ){
78
  $group_counts = $this->actual_counts ( $bp->groups->current_group->id, "group" );
79
+ $slug = apply_filters('rtmedia_group_media_tab_slug', RTMEDIA_MEDIA_SLUG );
80
  $bp->bp_options_nav[ bp_get_current_group_slug () ][ 'media' ] = array(
81
  'name' => RTMEDIA_MEDIA_LABEL . '<span>' . $group_counts[ 'total' ][ 'all' ] . '</span>',
82
+ 'link' => trailingslashit ( bp_get_root_domain () . '/' . bp_get_groups_root_slug () . '/' . bp_get_current_group_slug () . '/' ) . $slug,
83
+ 'slug' => $slug,
84
  'user_has_access' => true,
85
  'css_id' => 'rtmedia-media-nav',
86
  'position' => 99,
174
  if ( ! isset ( $rtmedia_query->action_query->media_type )) {
175
  $all = 'class="current selected"';
176
  }
177
+ echo apply_filters ( 'rtmedia_sub_nav_all', '<li id="rtmedia-nav-item-all-li" ' . $all . '><a id="rtmedia-nav-item-all" href="' . trailingslashit ( $link ) . RTMEDIA_MEDIA_SLUG . '/">' . __ ( "All", 'buddypress-media' ) . '<span>' . ((isset ( $counts[ 'total' ][ 'all' ] )) ? $counts[ 'total' ][ 'all' ] : 0 ) . '</span>' . '</a></li>' );
178
 
179
  if ( ! isset ( $rtmedia_query->action_query->action ) || empty ( $rtmedia_query->action_query->action ) ) {
180
  $default = true;
195
  }
196
 
197
  $counts[ 'total' ][ "album" ] = $counts[ 'total' ][ "album" ] + $other_count;
198
+ $album_label = __( defined('RTMEDIA_ALBUM_PLURAL_LABEL') ? constant ( 'RTMEDIA_ALBUM_PLURAL_LABEL' ) : 'Albums', 'buddypress-media' );
199
  echo apply_filters ( 'rtmedia_sub_nav_albums', '<li id="rtmedia-nav-item-albums-li" ' . $albums . '><a id="rtmedia-nav-item-albums" href="' . trailingslashit ( $link ) . RTMEDIA_MEDIA_SLUG . '/album/">' . $album_label . '<span>' . ((isset ( $counts[ 'total' ][ "album" ] )) ? $counts[ 'total' ][ "album" ] : 0 ) . '</span>' . '</a></li>' );
200
  }
201
 
239
  );
240
  }
241
 
242
+ $type_label = __( defined('RTMEDIA_' . $name . '_PLURAL_LABEL') ? constant ( 'RTMEDIA_' . $name . '_PLURAL_LABEL' ) : $type[ 'plural_label' ], 'buddypress-media' );
243
  echo apply_filters ( 'rtmedia_sub_nav_' . $type[ 'name' ], '<li id="rtmedia-nav-item-' . $type[ 'name' ]
244
  . '-' . $context . '-' . $context_id . '-li" ' . $selected
245
  . '><a id="rtmedia-nav-item-' . $type[ 'name' ] . '" href="'
app/main/controllers/template/RTMediaTemplate.php CHANGED
@@ -94,7 +94,7 @@ class RTMediaTemplate {
94
 
95
  echo "</div>";
96
  } else {
97
- echo __( 'Invalid attribute passed for rtmedia_gallery shortcode.', 'rtmedia' );
98
 
99
  return false;
100
  }
@@ -146,7 +146,7 @@ class RTMediaTemplate {
146
  echo RTMediaUploadShortcode::pre_render( $shortcode_attr[ 'attr' ] );
147
  }
148
  } else {
149
- echo __( 'Invalid attribute passed for rtmedia_gallery shortcode.', 'rtmedia' );
150
 
151
  return false;
152
  }
@@ -324,21 +324,21 @@ class RTMediaTemplate {
324
  add_action( "rtmedia_before_template_load", array( &$this, "media_update_success_error" ) );
325
  }
326
  } else {
327
- _e( 'Ooops !!! Invalid access. No nonce was found !!', 'rtmedia' );
328
  }
329
 
330
  remove_filter( 'intermediate_image_sizes_advanced', array( $this, 'filter_image_sizes_details' ) );
331
  }
332
 
333
  function media_update_success_messege() {
334
- $message = apply_filters( "rtmedia_update_media_message", __( 'Media updated Sucessfully', 'rtmedia' ), false );
335
- $html = "<div class='rtmedia-success media-edit-messge'>" . __( $message, "rtmedia" ) . "</div>";
336
  echo apply_filters( "rtmedia_update_media_message_html", $html, $message, false );
337
  }
338
 
339
  function media_update_success_error() {
340
- $message = apply_filters( "rtmedia_update_media_message", __( 'Error in updating Media', 'rtmedia' ), true );
341
- $html = "<div class='rtmedia-error media-edit-messge'>" . __( $message, "rtmedia" ) . "</div>";
342
 
343
  echo apply_filters( "rtmedia_update_media_message_html", $html, $message, true );
344
  }
@@ -398,7 +398,7 @@ class RTMediaTemplate {
398
  wp_safe_redirect( esc_url_raw( get_rtmedia_permalink( $rtmedia_query->media_query[ 'album_id' ] ) . 'edit/' ) );
399
  die();
400
  } else {
401
- _e( 'Ooops !!! Invalid access. No nonce was found !!', 'rtmedia' );
402
  }
403
  }
404
 
@@ -487,7 +487,7 @@ class RTMediaTemplate {
487
  wp_safe_redirect( esc_url_raw( $redirect_url ) );
488
  die();
489
  } else {
490
- _e( 'Ooops !!! Invalid access. No nonce was found !!', 'rtmedia' );
491
  }
492
  }
493
 
@@ -613,7 +613,7 @@ class RTMediaTemplate {
613
  exit;
614
  }
615
  } else {
616
- _e( 'Ooops !!! Invalid access. No nonce was found !!', 'rtmedia' );
617
  }
618
  }
619
  }
94
 
95
  echo "</div>";
96
  } else {
97
+ echo __( 'Invalid attribute passed for rtmedia_gallery shortcode.', 'buddypress-media' );
98
 
99
  return false;
100
  }
146
  echo RTMediaUploadShortcode::pre_render( $shortcode_attr[ 'attr' ] );
147
  }
148
  } else {
149
+ echo __( 'Invalid attribute passed for rtmedia_gallery shortcode.', 'buddypress-media' );
150
 
151
  return false;
152
  }
324
  add_action( "rtmedia_before_template_load", array( &$this, "media_update_success_error" ) );
325
  }
326
  } else {
327
+ _e( 'Ooops !!! Invalid access. No nonce was found !!', 'buddypress-media' );
328
  }
329
 
330
  remove_filter( 'intermediate_image_sizes_advanced', array( $this, 'filter_image_sizes_details' ) );
331
  }
332
 
333
  function media_update_success_messege() {
334
+ $message = apply_filters( "rtmedia_update_media_message", __( 'Media updated Sucessfully', 'buddypress-media' ), false );
335
+ $html = "<div class='rtmedia-success media-edit-messge'>" . __( $message, 'buddypress-media' ) . "</div>";
336
  echo apply_filters( "rtmedia_update_media_message_html", $html, $message, false );
337
  }
338
 
339
  function media_update_success_error() {
340
+ $message = apply_filters( "rtmedia_update_media_message", __( 'Error in updating Media', 'buddypress-media' ), true );
341
+ $html = "<div class='rtmedia-error media-edit-messge'>" . __( $message, 'buddypress-media' ) . "</div>";
342
 
343
  echo apply_filters( "rtmedia_update_media_message_html", $html, $message, true );
344
  }
398
  wp_safe_redirect( esc_url_raw( get_rtmedia_permalink( $rtmedia_query->media_query[ 'album_id' ] ) . 'edit/' ) );
399
  die();
400
  } else {
401
+ _e( 'Ooops !!! Invalid access. No nonce was found !!', 'buddypress-media' );
402
  }
403
  }
404
 
487
  wp_safe_redirect( esc_url_raw( $redirect_url ) );
488
  die();
489
  } else {
490
+ _e( 'Ooops !!! Invalid access. No nonce was found !!', 'buddypress-media' );
491
  }
492
  }
493
 
613
  exit;
614
  }
615
  } else {
616
+ _e( 'Ooops !!! Invalid access. No nonce was found !!', 'buddypress-media' );
617
  }
618
  }
619
  }
app/main/controllers/template/rt-template-functions.php CHANGED
@@ -80,7 +80,7 @@ function get_rtmedia_gallery_title() {
80
  } elseif ( isset( $rtmedia_query->media_query[ 'media_type' ] ) && ! is_array( $rtmedia_query->media_query[ 'media_type' ] ) && $rtmedia_query->media_query[ 'media_type' ] != "" ) {
81
  $current_media_type = $rtmedia_query->media_query[ 'media_type' ];
82
  if( $current_media_type != "" && is_array( $rtmedia->allowed_types ) && isset( $rtmedia->allowed_types[ $current_media_type ] ) && is_array( $rtmedia->allowed_types[ $current_media_type ] ) && isset( $rtmedia->allowed_types[ $current_media_type ][ 'plural_label' ] ) ) {
83
- $title = sprintf( '%s %s', __( 'All', 'rtmedia' ), $rtmedia->allowed_types[ $current_media_type ][ 'plural_label' ] );
84
  }
85
  }
86
  $title = apply_filters( 'rtmedia_gallery_title', $title );
@@ -708,7 +708,7 @@ function rtmedia_author_actions() {
708
 
709
  $options_start = '<div class="click-nav rtm-media-options-list" id="rtm-media-options-list">
710
  <div class="no-js">
711
- <button class="clicker rtmedia-media-options rtmedia-action-buttons button">' . __( 'Options', 'rtmedia' ) . '</button>
712
  <ul class="rtm-options">';
713
  foreach ( $options as $action ) {
714
  if ( $action != "" ) {
@@ -732,7 +732,7 @@ function rtmedia_edit_form() {
732
 
733
  if ( is_user_logged_in() && rtmedia_edit_allowed() ) {
734
 
735
- $edit_button = '<button type="submit" class="rtmedia-edit rtmedia-action-buttons" >' . __( 'Edit', 'rtmedia' ) . '</button>';
736
 
737
  $edit_button = apply_filters( 'rtmedia_edit_button_filter', $edit_button );
738
 
@@ -753,7 +753,7 @@ function rtmedia_actions() {
753
 
754
  if ( is_user_logged_in() && rtmedia_edit_allowed() ) {
755
 
756
- $edit_button = '<button type="submit" class="rtmedia-edit rtmedia-action-buttons button" >' . __( 'Edit', 'rtmedia' ) . '</button>';
757
 
758
  $edit_button = apply_filters( 'rtmedia_edit_button_filter', $edit_button );
759
 
@@ -797,7 +797,7 @@ function rtmedia_comments( $echo = true ) {
797
  if ( $comment_list != "" ) {
798
  $html .= $comment_list;
799
  } else {
800
- $html .= "<li id='rtmedia-no-comments' class='rtmedia-no-comments'>" . __( apply_filters( 'rtmedia_single_media_no_comment_messege', __( 'There are no comments on this media yet.', 'rtmedia' ) ) ) . "</li>";
801
  }
802
 
803
  $html .= '</ul>';
@@ -833,7 +833,7 @@ function rmedia_single_comment( $comment ) {
833
 
834
  global $rtmedia_media;
835
  if ( is_rt_admin() || ( isset( $comment[ 'user_id' ] ) && ( get_current_user_id() == $comment[ 'user_id' ] || $rtmedia_media->media_author == get_current_user_id() ) ) || apply_filters( 'rtmedia_allow_comment_delete', false ) ) { // show delete button for comment author and admins
836
- $html .= '<i data-id="' . $comment[ 'comment_ID' ] . '" class = "rtmedia-delete-comment dashicons dashicons-no-alt rtmicon" title="' . __( 'Delete Comment', 'rtmedia' ) . '"></i>';
837
  }
838
 
839
  $html .= '<div class="clear"></div></div></div></li>';
@@ -1031,12 +1031,12 @@ function rtmedia_get_pagination_values() {
1031
  //if( $pages > 100 ) {
1032
  $rtmedia_media_pages .= "<div class='rtmedia-page-no rtm-page-number'>";
1033
  $rtmedia_media_pages .= "<span class='rtm-label'>";
1034
- $rtmedia_media_pages .= apply_filters( 'rtmedia_goto_page_label', __( "Go to page no : ", 'rtmedia' ) );
1035
  $rtmedia_media_pages .= "</span>";
1036
  $rtmedia_media_pages .= "<input type='hidden' id='rtmedia_first_page' value='1' />";
1037
  $rtmedia_media_pages .= "<input type='hidden' id='rtmedia_last_page' value='" . $pages . "' />";
1038
  $rtmedia_media_pages .= "<input type='number' value='" . $paged . "' min='1' max='" . $pages . "' class='rtm-go-to-num' id='rtmedia_go_to_num' />";
1039
- $rtmedia_media_pages .= "<a class='rtmedia-page-link button' data-page-type='num' href='#'>" . __( 'Go', 'rtmedia' ) . "</a>";
1040
  $rtmedia_media_pages .= "</div><div class='rtm-paginate'>";
1041
  //}
1042
 
@@ -1209,7 +1209,7 @@ function rtmedia_vedio_editor_title() {
1209
  }
1210
  }
1211
  if ( $flag ) {
1212
- echo '<li><a href="#panel2"><i class="dashicons dashicons-format-image rtmicon"></i>' . __( 'Video Thumbnail', 'rtmedia' ) . '</a></li>';
1213
  }
1214
  }
1215
  }
@@ -1258,7 +1258,7 @@ function rtmedia_vedio_editor_content() {
1258
  if ( is_array( $rtmedia_video_thumbs ) ) {
1259
  ?>
1260
  <div class="rtmedia-change-cover-arts">
1261
- <p><?php _e( 'Video Thumbnail:', 'rtmedia' ); ?></p>
1262
  <ul>
1263
  <?php
1264
  foreach ( $rtmedia_video_thumbs as $key => $attachment_id ) {
@@ -1341,7 +1341,7 @@ add_action( 'rtmedia_add_edit_tab_title', 'rtmedia_image_editor_title', 12, 1 );
1341
  function rtmedia_image_editor_title( $type = 'photo' ) {
1342
  global $rtmedia_query;
1343
  if ( isset( $rtmedia_query->media[ 0 ]->media_type ) && $rtmedia_query->media[ 0 ]->media_type == 'photo' && $type == 'photo' ) {
1344
- echo '<li><a href="#panel2" class="rtmedia-modify-image"><i class="dashicons dashicons-format-image rtmicon"></i>' . __( "Image", "rtmedia" ) . '</a></li>';
1345
  }
1346
  }
1347
 
@@ -1358,7 +1358,7 @@ function rtmedia_image_editor_content( $type = 'photo' ) {
1358
  if ( current_user_can( 'edit_posts' ) ) {
1359
  include_once( ABSPATH . 'wp-admin/includes/image-edit.php' );
1360
  $nonce = wp_create_nonce( "image_editor-$media_id" );
1361
- $modify_button = '<p><input type="button" class="button rtmedia-image-edit" id="imgedit-open-btn-' . $media_id . '" onclick="imageEdit.open( \'' . $media_id . '\', \'' . $nonce . '\' )" value="' . __( 'Modify Image', 'rtmedia' ) . '"> <span class="spinner"></span></p>';
1362
  }
1363
  $image_path = rtmedia_image( 'rt_media_activity_image', $id, false );
1364
  echo '<div class="content" id="panel2">';
@@ -1390,7 +1390,7 @@ function rtmedia_add_album_selection_field( $media_type ) {
1390
  }
1391
  ?>
1392
  <div class="rtmedia-edit-change-album rtm-field-wrap">
1393
- <label for=""><?php _e( 'Album', 'rtmedia' ); ?> : </label>
1394
  <?php
1395
  if ( isset( $rtmedia_query->query[ 'context' ] ) && $rtmedia_query->query[ 'context' ] == 'group' ) {
1396
  //show group album list.
@@ -1433,8 +1433,8 @@ function rtmedia_comment_form() {
1433
  <form method="post" id="rt_media_comment_form" class="rt_media_comment_form"
1434
  action="<?php echo esc_url( get_rtmedia_permalink( rtmedia_id() ) ); ?>comment/">
1435
 
1436
- <textarea style="width:100%" placeholder="<?php _e( 'Type Comment...', 'rtmedia' ); ?>" name="comment_content" id="comment_content"></textarea>
1437
- <input type="submit" id="rt_media_comment_submit" class="rt_media_comment_submit" value="<?php _e( 'Comment', 'rtmedia' ); ?>">
1438
 
1439
  <?php RTMediaComment::comment_nonce_generator(); ?>
1440
  </form>
@@ -1470,14 +1470,14 @@ function rtmedia_delete_form( $echo = true ) {
1470
  echo $html;
1471
  RTMediaMedia::media_nonce_generator( rtmedia_id(), true );
1472
  do_action( "rtmedia_media_single_delete_form" );
1473
- echo '<button type="submit" title="' . __( 'Delete Media', 'rtmedia' ) . '" class="rtmedia-delete-media rtmedia-action-buttons button">' . __( 'Delete', 'rtmedia' ) . '</button></form>';
1474
  } else {
1475
  $output = $html;
1476
  $rtm_nonce = RTMediaMedia::media_nonce_generator( rtmedia_id(), false );
1477
  $rtm_nonce = json_decode( $rtm_nonce );
1478
  $rtm_nonce_field = wp_nonce_field( 'rtmedia_' . rtmedia_id(), $rtm_nonce->action, true, false );
1479
  do_action( "rtmedia_media_single_delete_form" );
1480
- $output .= $rtm_nonce_field . '<button type="submit" title="' . __( 'Delete Media', 'rtmedia' ) . '" class="rtmedia-delete-media rtmedia-action-buttons button">' . __( 'Delete', 'rtmedia' ) . '</button></form>';
1481
 
1482
  return $output;
1483
  }
@@ -1504,7 +1504,7 @@ function rtmedia_uploader( $attr = '' ) {
1504
  }
1505
  }
1506
  } else {
1507
- echo "<div class='rtmedia-upload-not-allowed'>" . apply_filters( 'rtmedia_upload_not_allowed_message', __( 'You are not allowed to upload/attach media.', 'rtmedia' ), 'media_gallery' ) . "</div>";
1508
  }
1509
  }
1510
 
@@ -1638,10 +1638,10 @@ function rtmedia_user_album_list( $get_all = false, $selected_album_id = false )
1638
  }
1639
  $option = "$global_option";
1640
  if ( $profile_option != "" ) {
1641
- $option .= "<optgroup label='" . __( "Profile Albums", "rtmedia" ) . " ' value = 'profile'>$profile_option</optgroup>";
1642
  }
1643
  if ( $option_group != "" && class_exists( 'BuddyPress' ) ) {
1644
- $option .= "<optgroup label='" . __( "Group Albums", "rtmedia" ) . "' value = 'group'>$option_group</optgroup>";
1645
  }
1646
  if ( $option ) {
1647
  return $option;
@@ -1675,7 +1675,7 @@ function rtmedia_group_album_list( $selected_album_id = false ) { //by default,
1675
  }
1676
  $option = $global_option;
1677
  if ( $option_group != "" ) {
1678
- $option .= "<optgroup label='" . __( "Group Albums", "rtmedia" ) . "' value = 'group'>$option_group</optgroup>";
1679
  }
1680
  if ( $option ) {
1681
  return $option;
@@ -1696,7 +1696,7 @@ function rtmedia_gallery_options() {
1696
 
1697
  $options_start = '<div class="click-nav rtm-media-options-list" id="rtm-media-options-list">
1698
  <div class="no-js">
1699
- <div class="clicker rtmedia-action-buttons"><i class="dashicons dashicons-admin-generic rtmicon"></i>' . __( 'Options', 'rtmedia' ) . '</div>
1700
  <ul class="rtm-options">';
1701
  foreach ( $options as $action ) {
1702
  if ( $action != "" ) {
@@ -1759,7 +1759,7 @@ function rtmedia_create_album( $options ) {
1759
  if ( $display === true ) {
1760
 
1761
  add_action( 'rtmedia_before_media_gallery', 'rtmedia_create_album_modal' );
1762
- $options[] = "<a href='#rtmedia-create-album-modal' class='rtmedia-reveal-modal rtmedia-modal-link' title='" . __( 'Create New Album', 'rtmedia' ) . "'><i class='dashicons dashicons-plus-alt rtmicon'></i>" . __( 'Add Album', 'rtmedia' ) . "</a>";
1763
  }
1764
 
1765
  return $options;
@@ -1775,9 +1775,9 @@ function rtmedia_create_album_modal() {
1775
  <div class="mfp-hide rtmedia-popup" id="rtmedia-create-album-modal">
1776
  <div id="rtm-modal-container">
1777
  <?php do_action( "rtmedia_before_create_album_modal" ); ?>
1778
- <h2 class="rtm-modal-title"><?php _e( 'Create an Album', 'rtmedia' ); ?></h2>
1779
  <p>
1780
- <label class="rtm-modal-grid-title-column" for="rtmedia_album_name"><?php _e( 'Album Title : ', 'rtmedia' ); ?></label>
1781
  <input type="text" id="rtmedia_album_name" value="" class="rtm-input-medium"/>
1782
  </p>
1783
  <?php do_action( "rtmedia_add_album_privacy" ); ?>
@@ -1785,7 +1785,7 @@ function rtmedia_create_album_modal() {
1785
  <input type="hidden" id="rtmedia_album_context_id" value="<?php echo $rtmedia_query->query[ 'context_id' ]; ?>">
1786
  <?php wp_nonce_field( 'rtmedia_create_album_nonce', 'rtmedia_create_album_nonce' ); ?>
1787
  <p>
1788
- <button type="button" id="rtmedia_create_new_album"><?php _e( "Create Album", "rtmedia" ); ?></button>
1789
  </p>
1790
  <?php do_action( "rtmedia_after_create_album_modal" ); ?>
1791
  </div>
@@ -1816,14 +1816,14 @@ function rtmedia_merge_album_modal() {
1816
  ?>
1817
  <div class="rtmedia-merge-container rtmedia-popup mfp-hide" id="rtmedia-merge">
1818
  <div id="rtm-modal-container">
1819
- <h2 class="rtm-modal-title"><?php _e( 'Merge Album', 'rtmedia' ); ?></h2>
1820
 
1821
  <form method="post" class="album-merge-form" action="merge/">
1822
- <p><span><?php _e( 'Select Album to merge with : ', 'rtmedia' ); ?></span>
1823
  <?php echo '<select name="album" class="rtmedia-merge-user-album-list">' . $album_list . '</select>'; ?>
1824
  </p>
1825
  <?php wp_nonce_field( 'rtmedia_merge_album_' . $rtmedia_query->media_query[ 'album_id' ], 'rtmedia_merge_album_nonce' ); ?>
1826
- <input type="submit" class="rtmedia-merge-selected" name="merge-album" value="<?php _e( 'Merge Album', 'rtmedia' ); ?>" />
1827
  </form>
1828
  </div>
1829
  </div>
@@ -1865,8 +1865,8 @@ function rtmedia_album_edit( $options ) {
1865
  if ( isset( $rtmedia_query->media_query ) && isset( $rtmedia_query->media_query[ 'album_id' ] ) && ! in_array( $rtmedia_query->media_query[ 'album_id' ], rtmedia_get_site_option( 'rtmedia-global-albums' ) ) ) {
1866
  //if ( isset ( $rtmedia_query->media_query[ 'media_author' ] ) && get_current_user_id () == $rtmedia_query->media_query[ 'media_author' ] ) {
1867
  if ( rtmedia_is_album_editable() || is_rt_admin() ) {
1868
- $options[] = "<a href='edit/' class='rtmedia-edit' title='" . __( 'Edit Album', 'rtmedia' ) . "' ><i class='rtmicon dashicons dashicons-edit'></i>" . __( 'Edit Album', 'rtmedia' ) . "</a>";
1869
- $options[] = '<form method="post" class="album-delete-form rtmedia-inline" action="delete/">' . wp_nonce_field( 'rtmedia_delete_album_' . $rtmedia_query->media_query[ 'album_id' ], 'rtmedia_delete_album_nonce' ) . '<button type="submit" name="album-delete" class="rtmedia-delete-album" title="' . __( 'Delete Album', 'rtmedia' ) . '"><i class="dashicons dashicons-trash rtmicon"></i>' . __( 'Delete Album', 'rtmedia' ) . '</button></form>';
1870
 
1871
  if ( is_rtmedia_group_album() ) {
1872
  $album_list = rtmedia_group_album_list();
@@ -1875,7 +1875,7 @@ function rtmedia_album_edit( $options ) {
1875
  }
1876
  if ( $album_list ) {
1877
 
1878
- $options[] = '<a href="#rtmedia-merge" class="rtmedia-reveal-modal rtmedia-modal-link" title="' . __( 'Merge Album', 'rtmedia' ) . '"><i class="dashicons dashicons-randomize"></i>' . __( 'Merge Album', 'rtmedia' ) . '</a>';
1879
  }
1880
  }
1881
  }
@@ -1903,7 +1903,7 @@ function rtmedia_item_select() {
1903
  add_action( 'rtmedia_query_actions', 'rtmedia_album_merge_action' );
1904
 
1905
  function rtmedia_album_merge_action( $actions ) {
1906
- $actions[ 'merge' ] = __( 'Merge', 'rtmedia' );
1907
 
1908
  return $actions;
1909
  }
@@ -1956,7 +1956,7 @@ function rtmedia_edit_media_privacy_ui() {
1956
  $privacymodel = new RTMediaPrivacy();
1957
  $privacy = $privacymodel->select_privacy_ui( $echo = false );
1958
  if ( $privacy ) {
1959
- return "<div class='rtmedia-edit-privacy rtm-field-wrap'><label for='privacy'>" . __( 'Privacy : ', 'rtmedia' ) . "</label>" . $privacy . "</div>";
1960
  }
1961
  }
1962
 
@@ -2147,7 +2147,7 @@ function show_rtmedia_like_counts() {
2147
  }
2148
  ?>'><i class="rtmicon-thumbs-up rtmicon-fw"></i> <span
2149
  class="rtmedia-like-counter-wrap"><span
2150
- class="rtmedia-like-counter"><?php echo $count; ?></span> <?php _e( 'people like this', 'rtmedia' ); ?></span>
2151
  </div>
2152
  <?php
2153
  }
@@ -2159,11 +2159,11 @@ add_action( 'rtmedia_album_gallery_actions', 'add_upload_button', 99 );
2159
  function add_upload_button() {
2160
  if ( function_exists( 'bp_is_blog_page' ) && ! bp_is_blog_page() ) {
2161
  if ( function_exists( 'bp_is_user' ) && bp_is_user() && function_exists( 'bp_displayed_user_id' ) && bp_displayed_user_id() == get_current_user_id() ) {
2162
- echo '<span class="primary rtmedia-upload-media-link" id="rtm_show_upload_ui" title="' . __( 'Upload Media', 'rtmedia' ) . '"><i class="dashicons dashicons-upload rtmicon"></i>' . __( 'Upload', 'rtmedia' ) . '</span>';
2163
  } else {
2164
  if ( function_exists( 'bp_is_group' ) && bp_is_group() ) {
2165
  if ( can_user_upload_in_group() ) {
2166
- echo '<span class="rtmedia-upload-media-link primary" id="rtm_show_upload_ui" title="' . __( 'Upload Media', 'rtmedia' ) . '"><i class="dashicons dashicons-upload rtmicon"></i>' . __( 'Upload', 'rtmedia' ) . '</span>';
2167
  }
2168
  }
2169
  }
@@ -2246,9 +2246,9 @@ function rtmedia_link_in_footer() {
2246
  ?>
2247
 
2248
  <div class='rtmedia-footer-link'>
2249
- <?php echo __( "Empowering your community with ", 'rtmedia' ); ?>
2250
  <a href='<?php echo esc_url( $href ) ?>'
2251
- title='<?php echo __( 'The only complete media solution for WordPress, BuddyPress and bbPress', 'rtmedia' ); ?> '>
2252
  rtMedia</a>
2253
  </div>
2254
  <?php
@@ -2263,7 +2263,7 @@ function rtmedia_content_before_media() {
2263
 
2264
  if ( $rt_ajax_request ) {
2265
  ?>
2266
- <span class="rtm-mfp-close mfp-close dashicons dashicons-no-alt" title="<?php _e( "Close (Esc)", 'rtmedia' ); ?>"></span><?php
2267
  }
2268
  }
2269
 
@@ -2277,23 +2277,23 @@ function get_rtmedia_privacy_symbol( $rtmedia_id = false ) {
2277
 
2278
  switch ( $actions[ 0 ]->privacy ) {
2279
  case 0: //public
2280
- $title = __( "Public", 'rtmedia' );
2281
  $icon = 'dashicons dashicons-admin-site rtmicon';
2282
  break;
2283
  case 20: //users
2284
- $title = __( "All members", 'rtmedia' );
2285
  $icon = 'dashicons dashicons-groups rtmicon';
2286
  break;
2287
  case 40: // friends
2288
- $title = __( "Your friends", 'rtmedia' );
2289
  $icon = 'dashicons dashicons-networking rtmicon';
2290
  break;
2291
  case 60: // private
2292
- $title = __( "Only you", 'rtmedia' );
2293
  $icon = 'dashicons dashicons-lock rtmicon';
2294
  break;
2295
  case 80: // private
2296
- $title = __( "Blocked temporarily", 'rtmedia' );
2297
  $icon = 'dashicons dashicons-dismiss rtmicon';
2298
  break;
2299
  }
@@ -2330,7 +2330,7 @@ function rtmedia_convert_date( $_date ) { // $date --> time(); value
2330
  //$phrase = array('second','minute','hour','day','week','month','year','decade');
2331
  //$length = array(1,60,3600,86400,604800,2630880,31570560,315705600);
2332
  $length = array( 1, 60, 3600, 86400 );
2333
- $ago_text = __( '%s ago ', 'rtmedia' );
2334
 
2335
  for ( $i = sizeof( $length ) - 1; ( $i >= 0 ) && ( ( $no = $diff / $length[ $i ] ) <= 1 ); $i -- )
2336
  ;
@@ -2343,13 +2343,13 @@ function rtmedia_convert_date( $_date ) { // $date --> time(); value
2343
  $no = floor( $no );
2344
  switch ( $time_unit[ $i ] ) {
2345
  case 'second':
2346
- $time_unit_phrase = _n( '1 second', '%s seconds', $no, 'rtmedia' );
2347
  break;
2348
  case 'minute':
2349
- $time_unit_phrase = _n( '1 minute', '%s minutes', $no, 'rtmedia' );
2350
  break;
2351
  case 'hour':
2352
- $time_unit_phrase = _n( '1 hour', '%s hours', $no, 'rtmedia' );
2353
  break;
2354
  default:
2355
  // should not happen
@@ -2704,16 +2704,16 @@ function rtmedia_admin_pages_content( $page ){
2704
  $url = admin_url() . "admin.php?page=rtmedia-premium";
2705
  ?>
2706
  <div class="rtm-hire-us-container rtm-page-container">
2707
- <h3 class="rtm-setting-title rtm-show"><?php _e( 'You can consider rtMedia Team for following :', 'rtmedia' ); ?></h3>
2708
 
2709
  <ol class="rtm-hire-points">
2710
- <li><?php _e( 'rtMedia Customization ( in Upgrade Safe manner )', 'rtmedia' ); ?></li>
2711
- <li><?php _e( 'WordPress/BuddyPress Theme Design and Development', 'rtmedia' ); ?></li>
2712
- <li><?php _e( 'WordPress/BuddyPress Plugin Development', 'rtmedia' ); ?></li>
2713
  </ol>
2714
 
2715
  <div class="clearfix">
2716
- <a href="https://rtcamp.com/contact" class="rtm-button rtm-success" target="_blank"><?php _e( 'Contact Us', 'rtmedia' ); ?></a>
2717
  </div>
2718
  </div>
2719
  <?php
80
  } elseif ( isset( $rtmedia_query->media_query[ 'media_type' ] ) && ! is_array( $rtmedia_query->media_query[ 'media_type' ] ) && $rtmedia_query->media_query[ 'media_type' ] != "" ) {
81
  $current_media_type = $rtmedia_query->media_query[ 'media_type' ];
82
  if( $current_media_type != "" && is_array( $rtmedia->allowed_types ) && isset( $rtmedia->allowed_types[ $current_media_type ] ) && is_array( $rtmedia->allowed_types[ $current_media_type ] ) && isset( $rtmedia->allowed_types[ $current_media_type ][ 'plural_label' ] ) ) {
83
+ $title = sprintf( '%s %s', __( 'All', 'buddypress-media' ), $rtmedia->allowed_types[ $current_media_type ][ 'plural_label' ] );
84
  }
85
  }
86
  $title = apply_filters( 'rtmedia_gallery_title', $title );
708
 
709
  $options_start = '<div class="click-nav rtm-media-options-list" id="rtm-media-options-list">
710
  <div class="no-js">
711
+ <button class="clicker rtmedia-media-options rtmedia-action-buttons button">' . __( 'Options', 'buddypress-media' ) . '</button>
712
  <ul class="rtm-options">';
713
  foreach ( $options as $action ) {
714
  if ( $action != "" ) {
732
 
733
  if ( is_user_logged_in() && rtmedia_edit_allowed() ) {
734
 
735
+ $edit_button = '<button type="submit" class="rtmedia-edit rtmedia-action-buttons" >' . __( 'Edit', 'buddypress-media' ) . '</button>';
736
 
737
  $edit_button = apply_filters( 'rtmedia_edit_button_filter', $edit_button );
738
 
753
 
754
  if ( is_user_logged_in() && rtmedia_edit_allowed() ) {
755
 
756
+ $edit_button = '<button type="submit" class="rtmedia-edit rtmedia-action-buttons button" >' . __( 'Edit', 'buddypress-media' ) . '</button>';
757
 
758
  $edit_button = apply_filters( 'rtmedia_edit_button_filter', $edit_button );
759
 
797
  if ( $comment_list != "" ) {
798
  $html .= $comment_list;
799
  } else {
800
+ $html .= "<li id='rtmedia-no-comments' class='rtmedia-no-comments'>" . __( apply_filters( 'rtmedia_single_media_no_comment_messege', __( 'There are no comments on this media yet.', 'buddypress-media' ) ) ) . "</li>";
801
  }
802
 
803
  $html .= '</ul>';
833
 
834
  global $rtmedia_media;
835
  if ( is_rt_admin() || ( isset( $comment[ 'user_id' ] ) && ( get_current_user_id() == $comment[ 'user_id' ] || $rtmedia_media->media_author == get_current_user_id() ) ) || apply_filters( 'rtmedia_allow_comment_delete', false ) ) { // show delete button for comment author and admins
836
+ $html .= '<i data-id="' . $comment[ 'comment_ID' ] . '" class = "rtmedia-delete-comment dashicons dashicons-no-alt rtmicon" title="' . __( 'Delete Comment', 'buddypress-media' ) . '"></i>';
837
  }
838
 
839
  $html .= '<div class="clear"></div></div></div></li>';
1031
  //if( $pages > 100 ) {
1032
  $rtmedia_media_pages .= "<div class='rtmedia-page-no rtm-page-number'>";
1033
  $rtmedia_media_pages .= "<span class='rtm-label'>";
1034
+ $rtmedia_media_pages .= apply_filters( 'rtmedia_goto_page_label', __( "Go to page no : ", 'buddypress-media' ) );
1035
  $rtmedia_media_pages .= "</span>";
1036
  $rtmedia_media_pages .= "<input type='hidden' id='rtmedia_first_page' value='1' />";
1037
  $rtmedia_media_pages .= "<input type='hidden' id='rtmedia_last_page' value='" . $pages . "' />";
1038
  $rtmedia_media_pages .= "<input type='number' value='" . $paged . "' min='1' max='" . $pages . "' class='rtm-go-to-num' id='rtmedia_go_to_num' />";
1039
+ $rtmedia_media_pages .= "<a class='rtmedia-page-link button' data-page-type='num' href='#'>" . __( 'Go', 'buddypress-media' ) . "</a>";
1040
  $rtmedia_media_pages .= "</div><div class='rtm-paginate'>";
1041
  //}
1042
 
1209
  }
1210
  }
1211
  if ( $flag ) {
1212
+ echo '<li><a href="#panel2"><i class="dashicons dashicons-format-image rtmicon"></i>' . __( 'Video Thumbnail', 'buddypress-media' ) . '</a></li>';
1213
  }
1214
  }
1215
  }
1258
  if ( is_array( $rtmedia_video_thumbs ) ) {
1259
  ?>
1260
  <div class="rtmedia-change-cover-arts">
1261
+ <p><?php _e( 'Video Thumbnail:', 'buddypress-media' ); ?></p>
1262
  <ul>
1263
  <?php
1264
  foreach ( $rtmedia_video_thumbs as $key => $attachment_id ) {
1341
  function rtmedia_image_editor_title( $type = 'photo' ) {
1342
  global $rtmedia_query;
1343
  if ( isset( $rtmedia_query->media[ 0 ]->media_type ) && $rtmedia_query->media[ 0 ]->media_type == 'photo' && $type == 'photo' ) {
1344
+ echo '<li><a href="#panel2" class="rtmedia-modify-image"><i class="dashicons dashicons-format-image rtmicon"></i>' . __( "Image", 'buddypress-media' ) . '</a></li>';
1345
  }
1346
  }
1347
 
1358
  if ( current_user_can( 'edit_posts' ) ) {
1359
  include_once( ABSPATH . 'wp-admin/includes/image-edit.php' );
1360
  $nonce = wp_create_nonce( "image_editor-$media_id" );
1361
+ $modify_button = '<p><input type="button" class="button rtmedia-image-edit" id="imgedit-open-btn-' . $media_id . '" onclick="imageEdit.open( \'' . $media_id . '\', \'' . $nonce . '\' )" value="' . __( 'Modify Image', 'buddypress-media' ) . '"> <span class="spinner"></span></p>';
1362
  }
1363
  $image_path = rtmedia_image( 'rt_media_activity_image', $id, false );
1364
  echo '<div class="content" id="panel2">';
1390
  }
1391
  ?>
1392
  <div class="rtmedia-edit-change-album rtm-field-wrap">
1393
+ <label for=""><?php _e( 'Album', 'buddypress-media' ); ?> : </label>
1394
  <?php
1395
  if ( isset( $rtmedia_query->query[ 'context' ] ) && $rtmedia_query->query[ 'context' ] == 'group' ) {
1396
  //show group album list.
1433
  <form method="post" id="rt_media_comment_form" class="rt_media_comment_form"
1434
  action="<?php echo esc_url( get_rtmedia_permalink( rtmedia_id() ) ); ?>comment/">
1435
 
1436
+ <textarea style="width:100%" placeholder="<?php _e( 'Type Comment...', 'buddypress-media' ); ?>" name="comment_content" id="comment_content"></textarea>
1437
+ <input type="submit" id="rt_media_comment_submit" class="rt_media_comment_submit" value="<?php _e( 'Comment', 'buddypress-media' ); ?>">
1438
 
1439
  <?php RTMediaComment::comment_nonce_generator(); ?>
1440
  </form>
1470
  echo $html;
1471
  RTMediaMedia::media_nonce_generator( rtmedia_id(), true );
1472
  do_action( "rtmedia_media_single_delete_form" );
1473
+ echo '<button type="submit" title="' . __( 'Delete Media', 'buddypress-media' ) . '" class="rtmedia-delete-media rtmedia-action-buttons button">' . __( 'Delete', 'buddypress-media' ) . '</button></form>';
1474
  } else {
1475
  $output = $html;
1476
  $rtm_nonce = RTMediaMedia::media_nonce_generator( rtmedia_id(), false );
1477
  $rtm_nonce = json_decode( $rtm_nonce );
1478
  $rtm_nonce_field = wp_nonce_field( 'rtmedia_' . rtmedia_id(), $rtm_nonce->action, true, false );
1479
  do_action( "rtmedia_media_single_delete_form" );
1480
+ $output .= $rtm_nonce_field . '<button type="submit" title="' . __( 'Delete Media', 'buddypress-media' ) . '" class="rtmedia-delete-media rtmedia-action-buttons button">' . __( 'Delete', 'buddypress-media' ) . '</button></form>';
1481
 
1482
  return $output;
1483
  }
1504
  }
1505
  }
1506
  } else {
1507
+ echo "<div class='rtmedia-upload-not-allowed'>" . apply_filters( 'rtmedia_upload_not_allowed_message', __( 'You are not allowed to upload/attach media.', 'buddypress-media' ), 'media_gallery' ) . "</div>";
1508
  }
1509
  }
1510
 
1638
  }
1639
  $option = "$global_option";
1640
  if ( $profile_option != "" ) {
1641
+ $option .= "<optgroup label='" . __( "Profile Albums", 'buddypress-media' ) . " ' value = 'profile'>$profile_option</optgroup>";
1642
  }
1643
  if ( $option_group != "" && class_exists( 'BuddyPress' ) ) {
1644
+ $option .= "<optgroup label='" . __( "Group Albums", 'buddypress-media' ) . "' value = 'group'>$option_group</optgroup>";
1645
  }
1646
  if ( $option ) {
1647
  return $option;
1675
  }
1676
  $option = $global_option;
1677
  if ( $option_group != "" ) {
1678
+ $option .= "<optgroup label='" . __( "Group Albums", 'buddypress-media' ) . "' value = 'group'>$option_group</optgroup>";
1679
  }
1680
  if ( $option ) {
1681
  return $option;
1696
 
1697
  $options_start = '<div class="click-nav rtm-media-options-list" id="rtm-media-options-list">
1698
  <div class="no-js">
1699
+ <div class="clicker rtmedia-action-buttons"><i class="dashicons dashicons-admin-generic rtmicon"></i>' . __( 'Options', 'buddypress-media' ) . '</div>
1700
  <ul class="rtm-options">';
1701
  foreach ( $options as $action ) {
1702
  if ( $action != "" ) {
1759
  if ( $display === true ) {
1760
 
1761
  add_action( 'rtmedia_before_media_gallery', 'rtmedia_create_album_modal' );
1762
+ $options[] = "<a href='#rtmedia-create-album-modal' class='rtmedia-reveal-modal rtmedia-modal-link' title='" . __( 'Create New Album', 'buddypress-media' ) . "'><i class='dashicons dashicons-plus-alt rtmicon'></i>" . __( 'Add Album', 'buddypress-media' ) . "</a>";
1763
  }
1764
 
1765
  return $options;
1775
  <div class="mfp-hide rtmedia-popup" id="rtmedia-create-album-modal">
1776
  <div id="rtm-modal-container">
1777
  <?php do_action( "rtmedia_before_create_album_modal" ); ?>
1778
+ <h2 class="rtm-modal-title"><?php _e( 'Create an Album', 'buddypress-media' ); ?></h2>
1779
  <p>
1780
+ <label class="rtm-modal-grid-title-column" for="rtmedia_album_name"><?php _e( 'Album Title : ', 'buddypress-media' ); ?></label>
1781
  <input type="text" id="rtmedia_album_name" value="" class="rtm-input-medium"/>
1782
  </p>
1783
  <?php do_action( "rtmedia_add_album_privacy" ); ?>
1785
  <input type="hidden" id="rtmedia_album_context_id" value="<?php echo $rtmedia_query->query[ 'context_id' ]; ?>">
1786
  <?php wp_nonce_field( 'rtmedia_create_album_nonce', 'rtmedia_create_album_nonce' ); ?>
1787
  <p>
1788
+ <button type="button" id="rtmedia_create_new_album"><?php _e( "Create Album", 'buddypress-media' ); ?></button>
1789
  </p>
1790
  <?php do_action( "rtmedia_after_create_album_modal" ); ?>
1791
  </div>
1816
  ?>
1817
  <div class="rtmedia-merge-container rtmedia-popup mfp-hide" id="rtmedia-merge">
1818
  <div id="rtm-modal-container">
1819
+ <h2 class="rtm-modal-title"><?php _e( 'Merge Album', 'buddypress-media' ); ?></h2>
1820
 
1821
  <form method="post" class="album-merge-form" action="merge/">
1822
+ <p><span><?php _e( 'Select Album to merge with : ', 'buddypress-media' ); ?></span>
1823
  <?php echo '<select name="album" class="rtmedia-merge-user-album-list">' . $album_list . '</select>'; ?>
1824
  </p>
1825
  <?php wp_nonce_field( 'rtmedia_merge_album_' . $rtmedia_query->media_query[ 'album_id' ], 'rtmedia_merge_album_nonce' ); ?>
1826
+ <input type="submit" class="rtmedia-merge-selected" name="merge-album" value="<?php _e( 'Merge Album', 'buddypress-media' ); ?>" />
1827
  </form>
1828
  </div>
1829
  </div>
1865
  if ( isset( $rtmedia_query->media_query ) && isset( $rtmedia_query->media_query[ 'album_id' ] ) && ! in_array( $rtmedia_query->media_query[ 'album_id' ], rtmedia_get_site_option( 'rtmedia-global-albums' ) ) ) {
1866
  //if ( isset ( $rtmedia_query->media_query[ 'media_author' ] ) && get_current_user_id () == $rtmedia_query->media_query[ 'media_author' ] ) {
1867
  if ( rtmedia_is_album_editable() || is_rt_admin() ) {
1868
+ $options[] = "<a href='edit/' class='rtmedia-edit' title='" . __( 'Edit Album', 'buddypress-media' ) . "' ><i class='rtmicon dashicons dashicons-edit'></i>" . __( 'Edit Album', 'buddypress-media' ) . "</a>";
1869
+ $options[] = '<form method="post" class="album-delete-form rtmedia-inline" action="delete/">' . wp_nonce_field( 'rtmedia_delete_album_' . $rtmedia_query->media_query[ 'album_id' ], 'rtmedia_delete_album_nonce' ) . '<button type="submit" name="album-delete" class="rtmedia-delete-album" title="' . __( 'Delete Album', 'buddypress-media' ) . '"><i class="dashicons dashicons-trash rtmicon"></i>' . __( 'Delete Album', 'buddypress-media' ) . '</button></form>';
1870
 
1871
  if ( is_rtmedia_group_album() ) {
1872
  $album_list = rtmedia_group_album_list();
1875
  }
1876
  if ( $album_list ) {
1877
 
1878
+ $options[] = '<a href="#rtmedia-merge" class="rtmedia-reveal-modal rtmedia-modal-link" title="' . __( 'Merge Album', 'buddypress-media' ) . '"><i class="dashicons dashicons-randomize"></i>' . __( 'Merge Album', 'buddypress-media' ) . '</a>';
1879
  }
1880
  }
1881
  }
1903
  add_action( 'rtmedia_query_actions', 'rtmedia_album_merge_action' );
1904
 
1905
  function rtmedia_album_merge_action( $actions ) {
1906
+ $actions[ 'merge' ] = __( 'Merge', 'buddypress-media' );
1907
 
1908
  return $actions;
1909
  }
1956
  $privacymodel = new RTMediaPrivacy();
1957
  $privacy = $privacymodel->select_privacy_ui( $echo = false );
1958
  if ( $privacy ) {
1959
+ return "<div class='rtmedia-edit-privacy rtm-field-wrap'><label for='privacy'>" . __( 'Privacy : ', 'buddypress-media' ) . "</label>" . $privacy . "</div>";
1960
  }
1961
  }
1962
 
2147
  }
2148
  ?>'><i class="rtmicon-thumbs-up rtmicon-fw"></i> <span
2149
  class="rtmedia-like-counter-wrap"><span
2150
+ class="rtmedia-like-counter"><?php echo $count; ?></span> <?php _e( 'people like this', 'buddypress-media' ); ?></span>
2151
  </div>
2152
  <?php
2153
  }
2159
  function add_upload_button() {
2160
  if ( function_exists( 'bp_is_blog_page' ) && ! bp_is_blog_page() ) {
2161
  if ( function_exists( 'bp_is_user' ) && bp_is_user() && function_exists( 'bp_displayed_user_id' ) && bp_displayed_user_id() == get_current_user_id() ) {
2162
+ echo '<span class="primary rtmedia-upload-media-link" id="rtm_show_upload_ui" title="' . __( 'Upload Media', 'buddypress-media' ) . '"><i class="dashicons dashicons-upload rtmicon"></i>' . __( 'Upload', 'buddypress-media' ) . '</span>';
2163
  } else {
2164
  if ( function_exists( 'bp_is_group' ) && bp_is_group() ) {
2165
  if ( can_user_upload_in_group() ) {
2166
+ echo '<span class="rtmedia-upload-media-link primary" id="rtm_show_upload_ui" title="' . __( 'Upload Media', 'buddypress-media' ) . '"><i class="dashicons dashicons-upload rtmicon"></i>' . __( 'Upload', 'buddypress-media' ) . '</span>';
2167
  }
2168
  }
2169
  }
2246
  ?>
2247
 
2248
  <div class='rtmedia-footer-link'>
2249
+ <?php echo __( "Empowering your community with ", 'buddypress-media' ); ?>
2250
  <a href='<?php echo esc_url( $href ) ?>'
2251
+ title='<?php echo __( 'The only complete media solution for WordPress, BuddyPress and bbPress', 'buddypress-media' ); ?> '>
2252
  rtMedia</a>
2253
  </div>
2254
  <?php
2263
 
2264
  if ( $rt_ajax_request ) {
2265
  ?>
2266
+ <span class="rtm-mfp-close mfp-close dashicons dashicons-no-alt" title="<?php _e( "Close (Esc)", 'buddypress-media' ); ?>"></span><?php
2267
  }
2268
  }
2269
 
2277
 
2278
  switch ( $actions[ 0 ]->privacy ) {
2279
  case 0: //public
2280
+ $title = __( "Public", 'buddypress-media' );
2281
  $icon = 'dashicons dashicons-admin-site rtmicon';
2282
  break;
2283
  case 20: //users
2284
+ $title = __( "All members", 'buddypress-media' );
2285
  $icon = 'dashicons dashicons-groups rtmicon';
2286
  break;
2287
  case 40: // friends
2288
+ $title = __( "Your friends", 'buddypress-media' );
2289
  $icon = 'dashicons dashicons-networking rtmicon';
2290
  break;
2291
  case 60: // private
2292
+ $title = __( "Only you", 'buddypress-media' );
2293
  $icon = 'dashicons dashicons-lock rtmicon';
2294
  break;
2295
  case 80: // private
2296
+ $title = __( "Blocked temporarily", 'buddypress-media' );
2297
  $icon = 'dashicons dashicons-dismiss rtmicon';
2298
  break;
2299
  }
2330
  //$phrase = array('second','minute','hour','day','week','month','year','decade');
2331
  //$length = array(1,60,3600,86400,604800,2630880,31570560,315705600);
2332
  $length = array( 1, 60, 3600, 86400 );
2333
+ $ago_text = __( '%s ago ', 'buddypress-media' );
2334
 
2335
  for ( $i = sizeof( $length ) - 1; ( $i >= 0 ) && ( ( $no = $diff / $length[ $i ] ) <= 1 ); $i -- )
2336
  ;
2343
  $no = floor( $no );
2344
  switch ( $time_unit[ $i ] ) {
2345
  case 'second':
2346
+ $time_unit_phrase = _n( '1 second', '%s seconds', $no, 'buddypress-media' );
2347
  break;
2348
  case 'minute':
2349
+ $time_unit_phrase = _n( '1 minute', '%s minutes', $no, 'buddypress-media' );
2350
  break;
2351
  case 'hour':
2352
+ $time_unit_phrase = _n( '1 hour', '%s hours', $no, 'buddypress-media' );
2353
  break;
2354
  default:
2355
  // should not happen
2704
  $url = admin_url() . "admin.php?page=rtmedia-premium";
2705
  ?>
2706
  <div class="rtm-hire-us-container rtm-page-container">
2707
+ <h3 class="rtm-setting-title rtm-show"><?php _e( 'You can consider rtMedia Team for following :', 'buddypress-media' ); ?></h3>
2708
 
2709
  <ol class="rtm-hire-points">
2710
+ <li><?php _e( 'rtMedia Customization ( in Upgrade Safe manner )', 'buddypress-media' ); ?></li>
2711
+ <li><?php _e( 'WordPress/BuddyPress Theme Design and Development', 'buddypress-media' ); ?></li>
2712
+ <li><?php _e( 'WordPress/BuddyPress Plugin Development', 'buddypress-media' ); ?></li>
2713
  </ol>
2714
 
2715
  <div class="clearfix">
2716
+ <a href="https://rtcamp.com/contact" class="rtm-button rtm-success" target="_blank"><?php _e( 'Contact Us', 'buddypress-media' ); ?></a>
2717
  </div>
2718
  </div>
2719
  <?php
app/main/controllers/upload/RTMediaUploadEndpoint.php CHANGED
@@ -96,7 +96,7 @@ class RTMediaUploadEndpoint {
96
  global $wpdb, $bp;
97
  $user = get_userdata( $same_medias[ 0 ]->media_author );
98
  $username = '<a href="' . get_rtmedia_user_link( $same_medias[ 0 ]->media_author ) . '">' . $user->user_nicename . '</a>';
99
- $action = sprintf( __( '%s added %d %s', 'rtmedia' ), $username, sizeof( $same_medias ), RTMEDIA_MEDIA_SLUG );
100
  $action = apply_filters( 'rtmedia_buddypress_action_text_fitler_multiple_media', $action, $username, sizeof( $same_medias ), $user->user_nicename );
101
  $wpdb->update( $bp->activity->table_name, array( "type" => "rtmedia_update", "content" => $objActivity->create_activity_html(), 'action' => $action ), array( "id" => $activity_id ) );
102
  }
96
  global $wpdb, $bp;
97
  $user = get_userdata( $same_medias[ 0 ]->media_author );
98
  $username = '<a href="' . get_rtmedia_user_link( $same_medias[ 0 ]->media_author ) . '">' . $user->user_nicename . '</a>';
99
+ $action = sprintf( __( '%s added %d %s', 'buddypress-media' ), $username, sizeof( $same_medias ), RTMEDIA_MEDIA_SLUG );
100
  $action = apply_filters( 'rtmedia_buddypress_action_text_fitler_multiple_media', $action, $username, sizeof( $same_medias ), $user->user_nicename );
101
  $wpdb->update( $bp->activity->table_name, array( "type" => "rtmedia_update", "content" => $objActivity->create_activity_html(), 'action' => $action ), array( "id" => $activity_id ) );
102
  }
app/main/controllers/upload/RTMediaUploadView.php CHANGED
@@ -48,10 +48,10 @@ class RTMediaUploadView {
48
  } elseif ( is_rtmedia_album_enable() && $rtmedia_query && is_rtmedia_gallery() ) {
49
 
50
  if ( isset( $rtmedia_query->query[ 'context' ] ) && $rtmedia_query->query[ 'context' ] == 'profile' ) {
51
- $album = '<span> <label> <i class="dashicons dashicons-format-gallery rtmicon"></i>' . __( 'Album', 'rtmedia' ) . ': </label><select name="album" class="rtmedia-user-album-list">' . rtmedia_user_album_list() . '</select></span>';
52
  }
53
  if ( isset( $rtmedia_query->query[ 'context' ] ) && $rtmedia_query->query[ 'context' ] == 'group' ) {
54
- $album = '<span> <label> <i class="dashicons dashicons-format-gallery rtmicon"></i>' . __( 'Album', 'rtmedia' ) . ': </label><select name="album" class="rtmedia-user-album-list">' . rtmedia_group_album_list() . '</select></span>';
55
  }
56
  }
57
  }
@@ -67,19 +67,19 @@ class RTMediaUploadView {
67
  $up_privacy = new RTMediaPrivacy();
68
  $up_privacy = $up_privacy->select_privacy_ui( false, 'rtSelectPrivacy' );
69
  if ( $up_privacy ) {
70
- $privacy = "<span> <label for='privacy'> <i class='dashicons dashicons-visibility rtmicon'></i> " . __( 'Privacy: ', 'rtmedia' ) . "</label>" . $up_privacy . "</span>";
71
  }
72
  }
73
  }
74
 
75
  $upload_tabs = array(
76
  'file_upload' => array(
77
- 'title' => __( 'File Upload', 'rtmedia' ),
78
  'class' => array( 'rtm-upload-tab', 'active' ),
79
  'content' => '<div class="rtm-upload-tab-content" data-id="rtm-upload-tab">'
80
  . apply_filters( 'rtmedia_uploader_before_select_files', "" )
81
- . '<div class="rtm-select-files"><input id="rtMedia-upload-button" value="' . __( "Select your files", "rtmedia" ) . '" type="button" class="rtmedia-upload-input rtmedia-file" />'
82
- . '<span class="rtm-seperator">' . __('or','rtmedia') .'</span><span class="drag-drop-info">' . __('Drop your files here', 'rtmedia') . '</span> <i class="rtm-file-size-limit rtmicon-info-circle rtmicon-fw"></i></div>'
83
  . apply_filters( 'rtmedia_uploader_after_select_files', "" )
84
  . '</div>',
85
  ),
@@ -108,7 +108,7 @@ class RTMediaUploadView {
108
  $tabs = array(
109
  'file_upload' => array(
110
  'default' => array(
111
- 'title' => __( 'File Upload', 'rtmedia' ),
112
  'content' =>
113
  '<div id="rtmedia-upload-container" >'
114
  . '<div id="drag-drop-area" class="drag-drop clearfix">'
@@ -116,7 +116,7 @@ class RTMediaUploadView {
116
  . "<div class='rtm-album-privacy'>" . $album . $privacy . "</div>"
117
  . $upload_tab_html
118
  . apply_filters( 'rtmedia_uploader_before_start_upload_button', "" )
119
- . '<input type="button" class="start-media-upload" value="' . __( 'Start upload', 'rtmedia' ) . '"/>'
120
  . apply_filters( 'rtmedia_uploader_after_start_upload_button', "" )
121
  . '</div>'
122
  . '<div class="clearfix">'
@@ -124,14 +124,14 @@ class RTMediaUploadView {
124
  . '</div>'
125
  ),
126
  'activity' => array(
127
- 'title' => __( 'File Upload', 'rtmedia' ),
128
  'content' =>
129
  '<div class="rtmedia-plupload-container rtmedia-container clearfix">'
130
  .'<div id="rtmedia-action-update" class="clearfix">'
131
  .'<div class="rtm-upload-button-wrapper">'
132
  .'<div id="rtmedia-whts-new-upload-container">'
133
  .'</div>'
134
- .'<button type="button" class="rtmedia-add-media-button" id="rtmedia-add-media-button-post-update" title="' . apply_filters( 'rtmedia_attach_media_button_title', __( 'Attach Media', 'rtmedia' ) ) . '">'
135
  .'<span class="dashicons dashicons-admin-media"></span>'
136
  . apply_filters( 'rtmedia_attach_file_message', '' )
137
  . '</button>'
@@ -145,8 +145,8 @@ class RTMediaUploadView {
145
  .'</div>'
146
  )
147
  ),
148
- // 'file_upload' => array( 'title' => __('File Upload','rtmedia'), 'content' => '<div id="rtmedia-uploader"><p>Your browser does not have HTML5 support.</p></div>'),
149
- 'link_input' => array( 'title' => __( 'Insert from URL', 'rtmedia' ), 'content' => '<input type="url" name="bp-media-url" class="rtmedia-upload-input rtmedia-url" />' ),
150
  );
151
  $tabs = apply_filters( 'rtmedia_upload_tabs', $tabs );
152
 
48
  } elseif ( is_rtmedia_album_enable() && $rtmedia_query && is_rtmedia_gallery() ) {
49
 
50
  if ( isset( $rtmedia_query->query[ 'context' ] ) && $rtmedia_query->query[ 'context' ] == 'profile' ) {
51
+ $album = '<span> <label> <i class="dashicons dashicons-format-gallery rtmicon"></i>' . __( 'Album', 'buddypress-media' ) . ': </label><select name="album" class="rtmedia-user-album-list">' . rtmedia_user_album_list() . '</select></span>';
52
  }
53
  if ( isset( $rtmedia_query->query[ 'context' ] ) && $rtmedia_query->query[ 'context' ] == 'group' ) {
54
+ $album = '<span> <label> <i class="dashicons dashicons-format-gallery rtmicon"></i>' . __( 'Album', 'buddypress-media' ) . ': </label><select name="album" class="rtmedia-user-album-list">' . rtmedia_group_album_list() . '</select></span>';
55
  }
56
  }
57
  }
67
  $up_privacy = new RTMediaPrivacy();
68
  $up_privacy = $up_privacy->select_privacy_ui( false, 'rtSelectPrivacy' );
69
  if ( $up_privacy ) {
70
+ $privacy = "<span> <label for='privacy'> <i class='dashicons dashicons-visibility rtmicon'></i> " . __( 'Privacy: ', 'buddypress-media' ) . "</label>" . $up_privacy . "</span>";
71
  }
72
  }
73
  }
74
 
75
  $upload_tabs = array(
76
  'file_upload' => array(
77
+ 'title' => __( 'File Upload', 'buddypress-media' ),
78
  'class' => array( 'rtm-upload-tab', 'active' ),
79
  'content' => '<div class="rtm-upload-tab-content" data-id="rtm-upload-tab">'
80
  . apply_filters( 'rtmedia_uploader_before_select_files', "" )
81
+ . '<div class="rtm-select-files"><input id="rtMedia-upload-button" value="' . __( "Select your files", 'buddypress-media' ) . '" type="button" class="rtmedia-upload-input rtmedia-file" />'
82
+ . '<span class="rtm-seperator">' . __('or','buddypress-media') .'</span><span class="drag-drop-info">' . __('Drop your files here', 'buddypress-media') . '</span> <i class="rtm-file-size-limit rtmicon-info-circle rtmicon-fw"></i></div>'
83
  . apply_filters( 'rtmedia_uploader_after_select_files', "" )
84
  . '</div>',
85
  ),
108
  $tabs = array(
109
  'file_upload' => array(
110
  'default' => array(
111
+ 'title' => __( 'File Upload', 'buddypress-media' ),
112
  'content' =>
113
  '<div id="rtmedia-upload-container" >'
114
  . '<div id="drag-drop-area" class="drag-drop clearfix">'
116
  . "<div class='rtm-album-privacy'>" . $album . $privacy . "</div>"
117
  . $upload_tab_html
118
  . apply_filters( 'rtmedia_uploader_before_start_upload_button', "" )
119
+ . '<input type="button" class="start-media-upload" value="' . __( 'Start upload', 'buddypress-media' ) . '"/>'
120
  . apply_filters( 'rtmedia_uploader_after_start_upload_button', "" )
121
  . '</div>'
122
  . '<div class="clearfix">'
124
  . '</div>'
125
  ),
126
  'activity' => array(
127
+ 'title' => __( 'File Upload', 'buddypress-media' ),
128
  'content' =>
129
  '<div class="rtmedia-plupload-container rtmedia-container clearfix">'
130
  .'<div id="rtmedia-action-update" class="clearfix">'
131
  .'<div class="rtm-upload-button-wrapper">'
132
  .'<div id="rtmedia-whts-new-upload-container">'
133
  .'</div>'
134
+ .'<button type="button" class="rtmedia-add-media-button" id="rtmedia-add-media-button-post-update" title="' . apply_filters( 'rtmedia_attach_media_button_title', __( 'Attach Media', 'buddypress-media' ) ) . '">'
135
  .'<span class="dashicons dashicons-admin-media"></span>'
136
  . apply_filters( 'rtmedia_attach_file_message', '' )
137
  . '</button>'
145
  .'</div>'
146
  )
147
  ),
148
+ // 'file_upload' => array( 'title' => __('File Upload','buddypress-media'), 'content' => '<div id="rtmedia-uploader"><p>Your browser does not have HTML5 support.</p></div>'),
149
+ 'link_input' => array( 'title' => __( 'Insert from URL', 'buddypress-media' ), 'content' => '<input type="url" name="bp-media-url" class="rtmedia-upload-input rtmedia-url" />' ),
150
  );
151
  $tabs = apply_filters( 'rtmedia_upload_tabs', $tabs );
152
 
app/main/controllers/upload/processors/RTMediaUploadFile.php CHANGED
@@ -58,7 +58,7 @@ class RTMediaUploadFile {
58
  if ( isset ( $uploaded_file[ $key ][ 'error' ] ) || $uploaded_file[ $key ] === null ){
59
  array_pop( $uploaded_file );
60
 
61
- throw new RTMediaUploadException ( 0, __( 'Error Uploading File', 'rtmedia' ) );
62
  }
63
  $uploaded_file[ $key ][ 'name' ] = $file[ 'name' ];
64
  } catch ( RTMediaUploadException $e ) {
@@ -221,24 +221,24 @@ class RTMediaUploadFile {
221
  } catch ( Exception $e ) {
222
  $this->safe_unlink( $file[ 'tmp_name' ] );
223
  $activity_content = false;
224
- throw new RTMediaUploadException ( 0, __( 'MP4 file you have uploaded is corrupt.', 'rtmedia' ) );
225
  }
226
  if ( is_array( $vid_info ) ){
227
  if ( ! array_key_exists( 'error', $vid_info ) && array_key_exists( 'fileformat', $vid_info ) && array_key_exists( 'video', $vid_info ) && array_key_exists( 'fourcc', $vid_info[ 'video' ] ) ){
228
  if ( ! ( $vid_info[ 'fileformat' ] == 'mp4' && $vid_info[ 'video' ][ 'fourcc' ] == 'avc1' ) ){
229
  $this->safe_unlink( $file[ 'tmp_name' ] );
230
  $activity_content = false;
231
- throw new RTMediaUploadException ( 0, __( 'The MP4 file you have uploaded is using an unsupported video codec. Supported video codec is H.264.', 'rtmedia' ) );
232
  }
233
  } else {
234
  $this->safe_unlink( $file[ 'tmp_name' ] );
235
  $activity_content = false;
236
- throw new RTMediaUploadException ( 0, __( 'The MP4 file you have uploaded is using an unsupported video codec. Supported video codec is H.264.', 'rtmedia' ) );
237
  }
238
  } else {
239
  $this->safe_unlink( $file[ 'tmp_name' ] );
240
  $activity_content = false;
241
- throw new RTMediaUploadException ( 0, __( 'The MP4 file you have uploaded is not a video file.', 'rtmedia' ) );
242
  }
243
  break;
244
  case 'audio' :
@@ -251,24 +251,24 @@ class RTMediaUploadFile {
251
  } catch ( Exception $e ) {
252
  $this->safe_unlink( $file[ 'tmp_name' ] );
253
  $activity_content = false;
254
- throw new RTMediaUploadException ( 0, __( 'MP3 file you have uploaded is currupt.', 'rtmedia' ) );
255
  }
256
  if ( is_array( $file_info ) ){
257
  if ( ! array_key_exists( 'error', $file_info ) && array_key_exists( 'fileformat', $file_info ) && array_key_exists( 'audio', $file_info ) && array_key_exists( 'dataformat', $file_info[ 'audio' ] ) ){
258
  if ( ! ( $file_info[ 'fileformat' ] == 'mp3' && $file_info[ 'audio' ][ 'dataformat' ] == 'mp3' ) ){
259
  $this->safe_unlink( $file[ 'tmp_name' ] );
260
  $activity_content = false;
261
- throw new RTMediaUploadException ( 0, __( 'The MP3 file you have uploaded is using an unsupported audio format. Supported audio format is MP3.', 'rtmedia' ) );
262
  }
263
  } else {
264
  $this->safe_unlink( $file[ 'tmp_name' ] );
265
  $activity_content = false;
266
- throw new RTMediaUploadException ( 0, __( 'The MP3 file you have uploaded is using an unsupported audio format. Supported audio format is MP3.', 'rtmedia' ) );
267
  }
268
  } else {
269
  $this->safe_unlink( $file[ 'tmp_name' ] );
270
  $activity_content = false;
271
- throw new RTMediaUploadException ( 0, __( 'The MP3 file you have uploaded is not an audio file.', 'rtmedia' ) );
272
  }
273
  break;
274
  case 'image' :
@@ -276,7 +276,7 @@ class RTMediaUploadFile {
276
  default :
277
  $this->safe_unlink( $file[ 'tmp_name' ] );
278
  $activity_content = false;
279
- throw new RTMediaUploadException ( 0, __( 'Media File you have tried to upload is not supported. Supported media files are .jpg, .png, .gif, .mp3, .mov and .mp4.', 'rtmedia' ) );
280
  }
281
 
282
  return true;
58
  if ( isset ( $uploaded_file[ $key ][ 'error' ] ) || $uploaded_file[ $key ] === null ){
59
  array_pop( $uploaded_file );
60
 
61
+ throw new RTMediaUploadException ( 0, __( 'Error Uploading File', 'buddypress-media' ) );
62
  }
63
  $uploaded_file[ $key ][ 'name' ] = $file[ 'name' ];
64
  } catch ( RTMediaUploadException $e ) {
221
  } catch ( Exception $e ) {
222
  $this->safe_unlink( $file[ 'tmp_name' ] );
223
  $activity_content = false;
224
+ throw new RTMediaUploadException ( 0, __( 'MP4 file you have uploaded is corrupt.', 'buddypress-media' ) );
225
  }
226
  if ( is_array( $vid_info ) ){
227
  if ( ! array_key_exists( 'error', $vid_info ) && array_key_exists( 'fileformat', $vid_info ) && array_key_exists( 'video', $vid_info ) && array_key_exists( 'fourcc', $vid_info[ 'video' ] ) ){
228
  if ( ! ( $vid_info[ 'fileformat' ] == 'mp4' && $vid_info[ 'video' ][ 'fourcc' ] == 'avc1' ) ){
229
  $this->safe_unlink( $file[ 'tmp_name' ] );
230
  $activity_content = false;
231
+ throw new RTMediaUploadException ( 0, __( 'The MP4 file you have uploaded is using an unsupported video codec. Supported video codec is H.264.', 'buddypress-media' ) );
232
  }
233
  } else {
234
  $this->safe_unlink( $file[ 'tmp_name' ] );
235
  $activity_content = false;
236
+ throw new RTMediaUploadException ( 0, __( 'The MP4 file you have uploaded is using an unsupported video codec. Supported video codec is H.264.', 'buddypress-media' ) );
237
  }
238
  } else {
239
  $this->safe_unlink( $file[ 'tmp_name' ] );
240
  $activity_content = false;
241
+ throw new RTMediaUploadException ( 0, __( 'The MP4 file you have uploaded is not a video file.', 'buddypress-media' ) );
242
  }
243
  break;
244
  case 'audio' :
251
  } catch ( Exception $e ) {
252
  $this->safe_unlink( $file[ 'tmp_name' ] );
253
  $activity_content = false;
254
+ throw new RTMediaUploadException ( 0, __( 'MP3 file you have uploaded is currupt.', 'buddypress-media' ) );
255
  }
256
  if ( is_array( $file_info ) ){
257
  if ( ! array_key_exists( 'error', $file_info ) && array_key_exists( 'fileformat', $file_info ) && array_key_exists( 'audio', $file_info ) && array_key_exists( 'dataformat', $file_info[ 'audio' ] ) ){
258
  if ( ! ( $file_info[ 'fileformat' ] == 'mp3' && $file_info[ 'audio' ][ 'dataformat' ] == 'mp3' ) ){
259
  $this->safe_unlink( $file[ 'tmp_name' ] );
260
  $activity_content = false;
261
+ throw new RTMediaUploadException ( 0, __( 'The MP3 file you have uploaded is using an unsupported audio format. Supported audio format is MP3.', 'buddypress-media' ) );
262
  }
263
  } else {
264
  $this->safe_unlink( $file[ 'tmp_name' ] );
265
  $activity_content = false;
266
+ throw new RTMediaUploadException ( 0, __( 'The MP3 file you have uploaded is using an unsupported audio format. Supported audio format is MP3.', 'buddypress-media' ) );
267
  }
268
  } else {
269
  $this->safe_unlink( $file[ 'tmp_name' ] );
270
  $activity_content = false;
271
+ throw new RTMediaUploadException ( 0, __( 'The MP3 file you have uploaded is not an audio file.', 'buddypress-media' ) );
272
  }
273
  break;
274
  case 'image' :
276
  default :
277
  $this->safe_unlink( $file[ 'tmp_name' ] );
278
  $activity_content = false;
279
+ throw new RTMediaUploadException ( 0, __( 'Media File you have tried to upload is not supported. Supported media files are .jpg, .png, .gif, .mp3, .mov and .mp4.', 'buddypress-media' ) );
280
  }
281
 
282
  return true;
app/main/deprecated/RTMediaDeprecated.php CHANGED
@@ -24,6 +24,6 @@ class RTMediaDeprecated {
24
  }
25
 
26
  static function generate_notice($method, $deprecated=false, $notice='') {
27
- return sprintf(__("Deprecated %s. Please use %s.",'rtmedia' ), $deprecated, $method);
28
  }
29
  }
24
  }
25
 
26
  static function generate_notice($method, $deprecated=false, $notice='') {
27
+ return sprintf(__("Deprecated %s. Please use %s.",'buddypress-media' ), $deprecated, $method);
28
  }
29
  }
app/services/RTMediaEncoding.php CHANGED
@@ -153,8 +153,8 @@ class RTMediaEncoding {
153
  }
154
 
155
  public function nearing_usage_limit( $usage_details ) {
156
- $subject = __( 'rtMedia Encoding: Nearing quota limit.', 'rtmedia' );
157
- $message = __( '<p>You are nearing the quota limit for your rtMedia encoding service.</p><p>Following are the details:</p><p><strong>Used:</strong> %s</p><p><strong>Remaining</strong>: %s</p><p><strong>Total:</strong> %s</p>', 'rtmedia' );
158
  $users = get_users( array( 'role' => 'administrator' ) );
159
  if ( $users ) {
160
  foreach ( $users as $user )
@@ -168,8 +168,8 @@ class RTMediaEncoding {
168
  public function usage_quota_over() {
169
  $usage_details = get_site_option( 'rtmedia-encoding-usage' );
170
  if ( ! $usage_details[ $this->api_key ]->remaining ) {
171
- $subject = __( 'rtMedia Encoding: Usage quota over.', 'rtmedia' );
172
- $message = __( '<p>Your usage quota is over. Upgrade your plan</p><p>Following are the details:</p><p><strong>Used:</strong> %s</p><p><strong>Remaining</strong>: %s</p><p><strong>Total:</strong> %s</p>', 'rtmedia' );
173
  $users = get_users( array( 'role' => 'administrator' ) );
174
  if ( $users ) {
175
  foreach ( $users as $user )
@@ -230,7 +230,7 @@ class RTMediaEncoding {
230
  public function successfully_subscribed_notice() {
231
  ?>
232
  <div class="updated">
233
- <p><?php printf( __( 'You have successfully subscribed for the <strong>%s</strong> plan', 'rtmedia' ), $_GET[ 'api_key_updated' ] ); ?></p>
234
  </div><?php
235
  }
236
 
@@ -242,9 +242,9 @@ class RTMediaEncoding {
242
 
243
  $usage_details = get_site_option( 'rtmedia-encoding-usage' );
244
  if ( isset( $usage_details[ $this->api_key ]->plan->name ) && (strtolower( $usage_details[ $this->api_key ]->plan->name ) == strtolower( $name )) && $usage_details[ $this->api_key ]->sub_status && ! $force ) {
245
- $form = '<button data-plan="' . $name . '" data-price="' . $price . '" type="submit" class="button bpm-unsubscribe">' . __( 'Unsubscribe', 'rtmedia' ) . '</button>';
246
  $form .= '<div id="bpm-unsubscribe-dialog" title="Unsubscribe">
247
- <p>' . __( 'Just to improve our service we would like to know the reason for you to leave us.', 'rtmedia' ) . '</p>
248
  <p><textarea rows="3" cols="36" id="bpm-unsubscribe-note"></textarea></p>
249
  </div>';
250
  } else {
@@ -293,34 +293,34 @@ class RTMediaEncoding {
293
  $content = '';
294
  if ( $usage_details && isset( $usage_details[ $this->api_key ]->status ) && $usage_details[ $this->api_key ]->status ) {
295
  if ( isset( $usage_details[ $this->api_key ]->plan->name ) )
296
- $content .= '<p><strong>' . __( 'Current Plan', 'rtmedia' ) . ':</strong> ' . $usage_details[ $this->api_key ]->plan->name . ($usage_details[ $this->api_key ]->sub_status ? '' : ' (' . __( 'Unsubscribed', 'rtmedia' ) . ')') . '</p>';
297
  if ( isset( $usage_details[ $this->api_key ]->used ) )
298
- $content .= '<p><span class="encoding-used"></span><strong>' . __( 'Used', 'rtmedia' ) . ':</strong> ' . (($used_size = size_format( $usage_details[ $this->api_key ]->used, 2 )) ? $used_size : '0MB') . '</p>';
299
  if ( isset( $usage_details[ $this->api_key ]->remaining ) )
300
- $content .= '<p><span class="encoding-remaining"></span><strong>' . __( 'Remaining', 'rtmedia' ) . ':</strong> ' . (($remaining_size = size_format( $usage_details[ $this->api_key ]->remaining, 2 )) ? $remaining_size : '0MB') . '</p>';
301
  if ( isset( $usage_details[ $this->api_key ]->total ) )
302
- $content .= '<p><strong>' . __( 'Total', 'rtmedia' ) . ':</strong> ' . size_format( $usage_details[ $this->api_key ]->total, 2 ) . '</p>';
303
  $usage = new rtProgress();
304
  $content .= $usage->progress_ui( $usage->progress( $usage_details[ $this->api_key ]->used, $usage_details[ $this->api_key ]->total ), false );
305
  if ( $usage_details[ $this->api_key ]->remaining <= 0 )
306
- $content .= '<div class="error below-h2"><p>' . __( 'Your usage limit has been reached. Upgrade your plan.', 'rtmedia' ) . '</p></div>';
307
  } else {
308
- $content .= '<div class="error below-h2"><p>' . __( 'Your API key is not valid or is expired.', 'rtmedia' ) . '</p></div>';
309
  }
310
- new RTMediaAdminWidget( 'rtmedia-encoding-usage', __( 'Encoding Usage', 'rtmedia' ), $content );
311
  }
312
 
313
  public function encoding_service_intro() {
314
  ?>
315
 
316
- <h3 class="rtm-option-title"><?php _e( 'Audio/Video encoding service', 'rtmedia' ); ?></h3>
317
 
318
- <p><?php _e( 'rtMedia team has started offering an audio/video encoding service.', 'rtmedia' ); ?></p>
319
 
320
  <p>
321
- <label for="new-api-key"><?php _e( 'Enter API KEY', 'rtmedia' ); ?></label>
322
  <input id="new-api-key" type="text" name="new-api-key" value="<?php echo $this->stored_api_key; ?>" size="60" />
323
- <input type="submit" id="api-key-submit" name="api-key-submit" value="<?php echo __( 'Save Key', 'rtmedia' ); ?>" class="button-primary" />
324
  </p>
325
 
326
  <p>
@@ -341,65 +341,65 @@ class RTMediaEncoding {
341
  <table class="bp-media-encoding-table fixed widefat rtm-encoding-table">
342
  <thead>
343
  <tr>
344
- <th><?php _e( 'Feature\Plan', 'rtmedia' ); ?></th>
345
- <th><?php _e( 'Free', 'rtmedia' ); ?></th>
346
- <th><?php _e( 'Silver', 'rtmedia' ); ?></th>
347
- <th><?php _e( 'Gold', 'rtmedia' ); ?></th>
348
- <th><?php _e( 'Platinum', 'rtmedia' ); ?></th>
349
  </tr>
350
  </thead>
351
 
352
  <tbody>
353
  <tr>
354
- <th><?php _e( 'File Size Limit', 'rtmedia' ); ?></th>
355
  <td>200MB (<del>20MB</del>)</td>
356
  <td colspan="3" class="column-posts">16GB (<del>2GB</del>)</td>
357
  </tr>
358
  <tr>
359
- <th><?php _e( 'Bandwidth (monthly)', 'rtmedia' ); ?></th>
360
  <td>10GB (<del>1GB</del>)</td>
361
  <td>100GB</td>
362
  <td>1TB</td>
363
  <td>10TB</td>
364
  </tr>
365
  <tr>
366
- <th><?php _e( 'Overage Bandwidth', 'rtmedia' ); ?></th>
367
- <td><?php _e( 'Not Available', 'rtmedia' ); ?></td>
368
  <td>$0.10 per GB</td>
369
  <td>$0.08 per GB</td>
370
  <td>$0.05 per GB</td>
371
  </tr>
372
  <tr>
373
- <th><?php _e( 'Amazon S3 Support', 'rtmedia' ); ?></th>
374
- <td><?php _e( 'Not Available', 'rtmedia' ); ?></td>
375
- <td colspan="3" class="column-posts"><?php _e( 'Coming Soon', 'rtmedia' ); ?></td>
376
  </tr>
377
  <tr>
378
- <th><?php _e( 'HD Profile', 'rtmedia' ); ?></th>
379
- <td><?php _e( 'Not Available', 'rtmedia' ); ?></td>
380
- <td colspan="3" class="column-posts"><?php _e( 'Coming Soon', 'rtmedia' ); ?></td>
381
  </tr>
382
  <tr>
383
- <th><?php _e( 'Webcam Recording', 'rtmedia' ); ?></th>
384
- <td colspan="4" class="column-posts"><?php _e( 'Coming Soon', 'rtmedia' ); ?></td>
385
  </tr>
386
  <tr>
387
- <th><?php _e( 'Pricing', 'rtmedia' ); ?></th>
388
- <td><?php _e( 'Free', 'rtmedia' ); ?></td>
389
- <td><?php _e( '$9/month', 'rtmedia' ); ?></td>
390
- <td><?php _e( '$99/month', 'rtmedia' ); ?></td>
391
- <td><?php _e( '$999/month', 'rtmedia' ); ?></td>
392
  </tr>
393
  <tr>
394
  <th>&nbsp;</th>
395
  <td><?php
396
  $usage_details = get_site_option( 'rtmedia-encoding-usage' );
397
  if ( isset( $usage_details[ $this->api_key ]->plan->name ) && (strtolower( $usage_details[ $this->api_key ]->plan->name ) == 'free') ) {
398
- echo '<button disabled="disabled" type="submit" class="encoding-try-now button button-primary">' . __( 'Current Plan', 'rtmedia' ) . '</button>';
399
  } else {
400
  ?>
401
  <form id="encoding-try-now-form" method="get">
402
- <button type="submit" class="encoding-try-now button button-primary"><?php _e( 'Try Now', 'rtmedia' ); ?></button>
403
  </form><?php }
404
  ?>
405
  </td>
@@ -553,11 +553,11 @@ class RTMediaEncoding {
553
  $wpdb->update( $wpdb->base_prefix . 'bp_activity', array( 'content' => $activity_content ), array( 'id' => $activity_id ) );
554
  }
555
  } else {
556
- $flag = __( 'Could not read file.', 'rtmedia' );
557
  error_log( $flag );
558
  }
559
  } else {
560
- $flag = __( 'Something went wrong. The required attachment id does not exists. It must have been deleted.', 'rtmedia' );
561
  error_log( $flag );
562
  }
563
 
@@ -572,10 +572,10 @@ class RTMediaEncoding {
572
 
573
  if ( $flag && $mail ) {
574
  $download_link = esc_url( add_query_arg( array( 'job_id' => $_GET[ 'job_id' ], 'download_url' => $_GET[ 'download_url' ] ), home_url() ) );
575
- $subject = __( 'rtMedia Encoding: Download Failed', 'rtmedia' );
576
  $message = sprintf( __( '<p><a href="%s">Media</a> was successfully encoded but there was an error while downloading:</p>
577
  <p><code>%s</code></p>
578
- <p>You can <a href="%s">retry the download</a>.</p>', 'rtmedia' ), get_edit_post_link( $attachment_id ), $flag, $download_link );
579
  $users = get_users( array( 'role' => 'administrator' ) );
580
  if ( $users ) {
581
  foreach ( $users as $user )
@@ -587,7 +587,7 @@ class RTMediaEncoding {
587
  } elseif ( $flag ) {
588
  echo $flag;
589
  } else {
590
- _e( "Done", 'rtmedia' );
591
  }
592
  die();
593
  }
@@ -612,7 +612,7 @@ class RTMediaEncoding {
612
  echo json_encode( array( 'error' => $subscription_info->message ) );
613
  }
614
  } else {
615
- echo json_encode( array( 'error' => __( 'Something went wrong please try again.', 'rtmedia' ) ) );
616
  }
617
  }
618
  die();
@@ -631,10 +631,10 @@ class RTMediaEncoding {
631
  if ( ! is_wp_error( $unsubscribe_page ) && ( ! isset( $unsubscribe_page[ 'headers' ][ 'status' ] ) || (isset( $unsubscribe_page[ 'headers' ][ 'status' ] ) && ($unsubscribe_page[ 'headers' ][ 'status' ] == 200))) ) {
632
  $subscription_info = json_decode( $unsubscribe_page[ 'body' ] );
633
  if ( isset( $subscription_info->status ) && $subscription_info->status ) {
634
- echo json_encode( array( 'updated' => __( 'Your subscription was cancelled successfully', 'rtmedia' ), 'form' => $this->encoding_subscription_form( $_GET[ 'plan' ], $_GET[ 'price' ] ) ) );
635
  }
636
  } else {
637
- echo json_encode( array( 'error' => __( 'Something went wrong please try again.', 'rtmedia' ) ) );
638
  }
639
  die();
640
  }
@@ -643,20 +643,20 @@ class RTMediaEncoding {
643
  if ( isset( $_GET[ 'apikey' ] ) && $_GET[ 'apikey' ] != '' ) {
644
  echo json_encode( array( 'apikey' => $_GET[ 'apikey' ] ) );
645
  } else {
646
- echo json_encode( array( 'error' => __( 'Please enter the api key.', 'rtmedia' ) ) );
647
  }
648
  die();
649
  }
650
 
651
  public function disable_encoding() {
652
  update_site_option( 'rtmedia-encoding-api-key', '' );
653
- _e( 'Encoding disabled successfully.', 'rtmedia' );
654
  die();
655
  }
656
 
657
  function enable_encoding(){
658
  update_site_option( 'rtmedia-encoding-api-key', $this->stored_api_key );
659
- _e( 'Encoding enabled successfully.', 'rtmedia' );
660
  die();
661
  }
662
 
153
  }
154
 
155
  public function nearing_usage_limit( $usage_details ) {
156
+ $subject = __( 'rtMedia Encoding: Nearing quota limit.', 'buddypress-media' );
157
+ $message = __( '<p>You are nearing the quota limit for your rtMedia encoding service.</p><p>Following are the details:</p><p><strong>Used:</strong> %s</p><p><strong>Remaining</strong>: %s</p><p><strong>Total:</strong> %s</p>', 'buddypress-media' );
158
  $users = get_users( array( 'role' => 'administrator' ) );
159
  if ( $users ) {
160
  foreach ( $users as $user )
168
  public function usage_quota_over() {
169
  $usage_details = get_site_option( 'rtmedia-encoding-usage' );
170
  if ( ! $usage_details[ $this->api_key ]->remaining ) {
171
+ $subject = __( 'rtMedia Encoding: Usage quota over.', 'buddypress-media' );
172
+ $message = __( '<p>Your usage quota is over. Upgrade your plan</p><p>Following are the details:</p><p><strong>Used:</strong> %s</p><p><strong>Remaining</strong>: %s</p><p><strong>Total:</strong> %s</p>', 'buddypress-media' );
173
  $users = get_users( array( 'role' => 'administrator' ) );
174
  if ( $users ) {
175
  foreach ( $users as $user )
230
  public function successfully_subscribed_notice() {
231
  ?>
232
  <div class="updated">
233
+ <p><?php printf( __( 'You have successfully subscribed for the <strong>%s</strong> plan', 'buddypress-media' ), $_GET[ 'api_key_updated' ] ); ?></p>
234
  </div><?php
235
  }
236
 
242
 
243
  $usage_details = get_site_option( 'rtmedia-encoding-usage' );
244
  if ( isset( $usage_details[ $this->api_key ]->plan->name ) && (strtolower( $usage_details[ $this->api_key ]->plan->name ) == strtolower( $name )) && $usage_details[ $this->api_key ]->sub_status && ! $force ) {
245
+ $form = '<button data-plan="' . $name . '" data-price="' . $price . '" type="submit" class="button bpm-unsubscribe">' . __( 'Unsubscribe', 'buddypress-media' ) . '</button>';
246
  $form .= '<div id="bpm-unsubscribe-dialog" title="Unsubscribe">
247
+ <p>' . __( 'Just to improve our service we would like to know the reason for you to leave us.', 'buddypress-media' ) . '</p>
248
  <p><textarea rows="3" cols="36" id="bpm-unsubscribe-note"></textarea></p>
249
  </div>';
250
  } else {
293
  $content = '';
294
  if ( $usage_details && isset( $usage_details[ $this->api_key ]->status ) && $usage_details[ $this->api_key ]->status ) {
295
  if ( isset( $usage_details[ $this->api_key ]->plan->name ) )
296
+ $content .= '<p><strong>' . __( 'Current Plan', 'buddypress-media' ) . ':</strong> ' . $usage_details[ $this->api_key ]->plan->name . ($usage_details[ $this->api_key ]->sub_status ? '' : ' (' . __( 'Unsubscribed', 'buddypress-media' ) . ')') . '</p>';
297
  if ( isset( $usage_details[ $this->api_key ]->used ) )
298
+ $content .= '<p><span class="encoding-used"></span><strong>' . __( 'Used', 'buddypress-media' ) . ':</strong> ' . (($used_size = size_format( $usage_details[ $this->api_key ]->used, 2 )) ? $used_size : '0MB') . '</p>';
299
  if ( isset( $usage_details[ $this->api_key ]->remaining ) )
300
+ $content .= '<p><span class="encoding-remaining"></span><strong>' . __( 'Remaining', 'buddypress-media' ) . ':</strong> ' . (($remaining_size = size_format( $usage_details[ $this->api_key ]->remaining, 2 )) ? $remaining_size : '0MB') . '</p>';
301
  if ( isset( $usage_details[ $this->api_key ]->total ) )
302
+ $content .= '<p><strong>' . __( 'Total', 'buddypress-media' ) . ':</strong> ' . size_format( $usage_details[ $this->api_key ]->total, 2 ) . '</p>';
303
  $usage = new rtProgress();
304
  $content .= $usage->progress_ui( $usage->progress( $usage_details[ $this->api_key ]->used, $usage_details[ $this->api_key ]->total ), false );
305
  if ( $usage_details[ $this->api_key ]->remaining <= 0 )
306
+ $content .= '<div class="error below-h2"><p>' . __( 'Your usage limit has been reached. Upgrade your plan.', 'buddypress-media' ) . '</p></div>';
307
  } else {
308
+ $content .= '<div class="error below-h2"><p>' . __( 'Your API key is not valid or is expired.', 'buddypress-media' ) . '</p></div>';
309
  }
310
+ new RTMediaAdminWidget( 'rtmedia-encoding-usage', __( 'Encoding Usage', 'buddypress-media' ), $content );
311
  }
312
 
313
  public function encoding_service_intro() {
314
  ?>
315
 
316
+ <h3 class="rtm-option-title"><?php _e( 'Audio/Video encoding service', 'buddypress-media' ); ?></h3>
317
 
318
+ <p><?php _e( 'rtMedia team has started offering an audio/video encoding service.', 'buddypress-media' ); ?></p>
319
 
320
  <p>
321
+ <label for="new-api-key"><?php _e( 'Enter API KEY', 'buddypress-media' ); ?></label>
322
  <input id="new-api-key" type="text" name="new-api-key" value="<?php echo $this->stored_api_key; ?>" size="60" />
323
+ <input type="submit" id="api-key-submit" name="api-key-submit" value="<?php echo __( 'Save Key', 'buddypress-media' ); ?>" class="button-primary" />
324
  </p>
325
 
326
  <p>
341
  <table class="bp-media-encoding-table fixed widefat rtm-encoding-table">
342
  <thead>
343
  <tr>
344
+ <th><?php _e( 'Feature\Plan', 'buddypress-media' ); ?></th>
345
+ <th><?php _e( 'Free', 'buddypress-media' ); ?></th>
346
+ <th><?php _e( 'Silver', 'buddypress-media' ); ?></th>
347
+ <th><?php _e( 'Gold', 'buddypress-media' ); ?></th>
348
+ <th><?php _e( 'Platinum', 'buddypress-media' ); ?></th>
349
  </tr>
350
  </thead>
351
 
352
  <tbody>
353
  <tr>
354
+ <th><?php _e( 'File Size Limit', 'buddypress-media' ); ?></th>
355
  <td>200MB (<del>20MB</del>)</td>
356
  <td colspan="3" class="column-posts">16GB (<del>2GB</del>)</td>
357
  </tr>
358
  <tr>
359
+ <th><?php _e( 'Bandwidth (monthly)', 'buddypress-media' ); ?></th>
360
  <td>10GB (<del>1GB</del>)</td>
361
  <td>100GB</td>
362
  <td>1TB</td>
363
  <td>10TB</td>
364
  </tr>
365
  <tr>
366
+ <th><?php _e( 'Overage Bandwidth', 'buddypress-media' ); ?></th>
367
+ <td><?php _e( 'Not Available', 'buddypress-media' ); ?></td>
368
  <td>$0.10 per GB</td>
369
  <td>$0.08 per GB</td>
370
  <td>$0.05 per GB</td>
371
  </tr>
372
  <tr>
373
+ <th><?php _e( 'Amazon S3 Support', 'buddypress-media' ); ?></th>
374
+ <td><?php _e( 'Not Available', 'buddypress-media' ); ?></td>
375
+ <td colspan="3" class="column-posts"><?php _e( 'Coming Soon', 'buddypress-media' ); ?></td>
376
  </tr>
377
  <tr>
378
+ <th><?php _e( 'HD Profile', 'buddypress-media' ); ?></th>
379
+ <td><?php _e( 'Not Available', 'buddypress-media' ); ?></td>
380
+ <td colspan="3" class="column-posts"><?php _e( 'Coming Soon', 'buddypress-media' ); ?></td>
381
  </tr>
382
  <tr>
383
+ <th><?php _e( 'Webcam Recording', 'buddypress-media' ); ?></th>
384
+ <td colspan="4" class="column-posts"><?php _e( 'Coming Soon', 'buddypress-media' ); ?></td>
385
  </tr>
386
  <tr>
387
+ <th><?php _e( 'Pricing', 'buddypress-media' ); ?></th>
388
+ <td><?php _e( 'Free', 'buddypress-media' ); ?></td>
389
+ <td><?php _e( '$9/month', 'buddypress-media' ); ?></td>
390
+ <td><?php _e( '$99/month', 'buddypress-media' ); ?></td>
391
+ <td><?php _e( '$999/month', 'buddypress-media' ); ?></td>
392
  </tr>
393
  <tr>
394
  <th>&nbsp;</th>
395
  <td><?php
396
  $usage_details = get_site_option( 'rtmedia-encoding-usage' );
397
  if ( isset( $usage_details[ $this->api_key ]->plan->name ) && (strtolower( $usage_details[ $this->api_key ]->plan->name ) == 'free') ) {
398
+ echo '<button disabled="disabled" type="submit" class="encoding-try-now button button-primary">' . __( 'Current Plan', 'buddypress-media' ) . '</button>';
399
  } else {
400
  ?>
401
  <form id="encoding-try-now-form" method="get">
402
+ <button type="submit" class="encoding-try-now button button-primary"><?php _e( 'Try Now', 'buddypress-media' ); ?></button>
403
  </form><?php }
404
  ?>
405
  </td>
553
  $wpdb->update( $wpdb->base_prefix . 'bp_activity', array( 'content' => $activity_content ), array( 'id' => $activity_id ) );
554
  }
555
  } else {
556
+ $flag = __( 'Could not read file.', 'buddypress-media' );
557
  error_log( $flag );
558
  }
559
  } else {
560
+ $flag = __( 'Something went wrong. The required attachment id does not exists. It must have been deleted.', 'buddypress-media' );
561
  error_log( $flag );
562
  }
563
 
572
 
573
  if ( $flag && $mail ) {
574
  $download_link = esc_url( add_query_arg( array( 'job_id' => $_GET[ 'job_id' ], 'download_url' => $_GET[ 'download_url' ] ), home_url() ) );
575
+ $subject = __( 'rtMedia Encoding: Download Failed', 'buddypress-media' );
576
  $message = sprintf( __( '<p><a href="%s">Media</a> was successfully encoded but there was an error while downloading:</p>
577
  <p><code>%s</code></p>
578
+ <p>You can <a href="%s">retry the download</a>.</p>', 'buddypress-media' ), get_edit_post_link( $attachment_id ), $flag, $download_link );
579
  $users = get_users( array( 'role' => 'administrator' ) );
580
  if ( $users ) {
581
  foreach ( $users as $user )
587
  } elseif ( $flag ) {
588
  echo $flag;
589
  } else {
590
+ _e( "Done", 'buddypress-media' );
591
  }
592
  die();
593
  }
612
  echo json_encode( array( 'error' => $subscription_info->message ) );
613
  }
614
  } else {
615
+ echo json_encode( array( 'error' => __( 'Something went wrong please try again.', 'buddypress-media' ) ) );
616
  }
617
  }
618
  die();
631
  if ( ! is_wp_error( $unsubscribe_page ) && ( ! isset( $unsubscribe_page[ 'headers' ][ 'status' ] ) || (isset( $unsubscribe_page[ 'headers' ][ 'status' ] ) && ($unsubscribe_page[ 'headers' ][ 'status' ] == 200))) ) {
632
  $subscription_info = json_decode( $unsubscribe_page[ 'body' ] );
633
  if ( isset( $subscription_info->status ) && $subscription_info->status ) {
634
+ echo json_encode( array( 'updated' => __( 'Your subscription was cancelled successfully', 'buddypress-media' ), 'form' => $this->encoding_subscription_form( $_GET[ 'plan' ], $_GET[ 'price' ] ) ) );
635
  }
636
  } else {
637
+ echo json_encode( array( 'error' => __( 'Something went wrong please try again.', 'buddypress-media' ) ) );
638
  }
639
  die();
640
  }
643
  if ( isset( $_GET[ 'apikey' ] ) && $_GET[ 'apikey' ] != '' ) {
644
  echo json_encode( array( 'apikey' => $_GET[ 'apikey' ] ) );
645
  } else {
646
+ echo json_encode( array( 'error' => __( 'Please enter the api key.', 'buddypress-media' ) ) );
647
  }
648
  die();
649
  }
650
 
651
  public function disable_encoding() {
652
  update_site_option( 'rtmedia-encoding-api-key', '' );
653
+ _e( 'Encoding disabled successfully.', 'buddypress-media' );
654
  die();
655
  }
656
 
657
  function enable_encoding(){
658
  update_site_option( 'rtmedia-encoding-api-key', $this->stored_api_key );
659
+ _e( 'Encoding enabled successfully.', 'buddypress-media' );
660
  die();
661
  }
662
 
index.php CHANGED
@@ -4,9 +4,9 @@
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.8.20
8
  Author: rtCamp
9
- Text Domain: rtmedia
10
  Author URI: http://rtcamp.com/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
11
  */
12
 
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.8.21
8
  Author: rtCamp
9
+ Text Domain: buddypress-media
10
  Author URI: http://rtcamp.com/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
11
  */
12
 
languages/buddypress-media-ar_AR.mo ADDED
Binary file
languages/buddypress-media-bg_BG.mo ADDED
Binary file
languages/buddypress-media-da_DK.mo ADDED
Binary file
languages/buddypress-media-de_DE.mo ADDED
Binary file
languages/buddypress-media-es_ES.mo ADDED
Binary file
languages/buddypress-media-fa_IR.mo ADDED
Binary file
languages/buddypress-media-fi_FI.mo ADDED
Binary file
languages/buddypress-media-fr_FR.mo ADDED
Binary file
languages/buddypress-media-hu_HU.mo ADDED
Binary file
languages/buddypress-media-it_IT.mo ADDED
Binary file
languages/buddypress-media-ja_JA.mo ADDED
Binary file
languages/buddypress-media-ko_KR.mo ADDED
Binary file
languages/buddypress-media-nb_NO.mo ADDED
Binary file
languages/buddypress-media-nl_NL.mo ADDED
Binary file
languages/buddypress-media-pl_PL.mo ADDED
Binary file
languages/buddypress-media-pt_BR.mo ADDED
Binary file
languages/buddypress-media-ro_RO.mo ADDED
Binary file
languages/buddypress-media-ru_RU.mo ADDED
Binary file
languages/buddypress-media-sk_SK.mo ADDED
Binary file
languages/buddypress-media-sr_RS.mo ADDED
Binary file
languages/buddypress-media-sv_SE.mo ADDED
Binary file
languages/buddypress-media-ta_IN.mo ADDED
Binary file
languages/buddypress-media-zh_CN.mo ADDED
Binary file
languages/buddypress-media.mo ADDED
Binary file
languages/buddypress-media.po ADDED
@@ -0,0 +1,3207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2015 rtCamp
2
+ # This file is distributed under the same license as the rtMedia for WordPress, BuddyPress and bbPress package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: rtMedia for WordPress, BuddyPress and bbPress 3.8.14\n"
6
+ "Report-Msgid-Bugs-To: http://community.rtcamp.com/c/rtmedia/\n"
7
+ "POT-Creation-Date: 2015-08-31 16:38+0530\n"
8
+ "PO-Revision-Date: 2015-08-31 16:38+0530\n"
9
+ "Last-Translator: rtMedia <rtmedia@rtcamp.com>\n"
10
+ "Language-Team: rtMedia <rtmedia@rtcamp.com>\n"
11
+ "Language: en\n"
12
+ "MIME-Version: 1.0\n"
13
+ "Content-Type: text/plain; charset=utf-8\n"
14
+ "Content-Transfer-Encoding: 8bit\n"
15
+ "X-Generator: Poedit 1.5.4\n"
16
+ "X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
17
+ "_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
18
+ "esc_html_x:1,2c\n"
19
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
20
+ "X-Poedit-SourceCharset: UTF-8\n"
21
+ "X-Poedit-Basepath: ../\n"
22
+ "X-Textdomain-Support: yes\n"
23
+ "X-Poedit-SearchPath-0: .\n"
24
+
25
+ #: templates/media/album-gallery.php:14
26
+ msgid "Album List"
27
+ msgstr ""
28
+
29
+ #: templates/media/album-gallery.php:56 templates/media/media-gallery.php:65
30
+ #: app/admin/RTMediaFormHandler.php:285
31
+ msgid "Load More"
32
+ msgstr ""
33
+
34
+ #: templates/media/album-gallery.php:64
35
+ #: templates/media/media-single-edit.php:61
36
+ #: templates/media/media-single.php:146
37
+ msgid "Sorry !! There's no media found for the request !!"
38
+ msgstr ""
39
+
40
+ #: templates/media/media-gallery.php:9 templates/media/media-gallery.php:25
41
+ msgid "Media Gallery"
42
+ msgstr ""
43
+
44
+ #: templates/media/media-gallery.php:73
45
+ msgid "Oops !! There's no media found for the request !!"
46
+ msgstr ""
47
+
48
+ #: templates/media/media-single-edit.php:8 app/main/RTMedia.php:923
49
+ msgid "Edit Media"
50
+ msgstr ""
51
+
52
+ #: templates/media/media-single-edit.php:16
53
+ #: templates/media/album-single-edit.php:16 app/helper/RTMediaSupport.php:447
54
+ msgid "Details"
55
+ msgstr ""
56
+
57
+ #: templates/media/media-single-edit.php:26
58
+ #: templates/media/album-single-edit.php:32
59
+ msgid "Title : "
60
+ msgstr ""
61
+
62
+ #: templates/media/media-single-edit.php:32
63
+ #: templates/media/album-single-edit.php:37
64
+ msgid "Description: "
65
+ msgstr ""
66
+
67
+ #: templates/media/media-single-edit.php:46
68
+ msgid "Save"
69
+ msgstr ""
70
+
71
+ #: templates/media/media-single-edit.php:47
72
+ #: templates/media/album-single-edit.php:48
73
+ msgid "Back"
74
+ msgstr ""
75
+
76
+ #: templates/media/media-single-edit.php:54
77
+ msgid "Sorry !! You do not have rights to edit this media"
78
+ msgstr ""
79
+
80
+ #: templates/media/media-single.php:35
81
+ msgid "under"
82
+ msgstr ""
83
+
84
+ #: templates/media/media-single.php:82 templates/media/media-single.php:122
85
+ #: app/main/controllers/template/rt-template-functions.php:1435
86
+ msgid "Comment"
87
+ msgstr ""
88
+
89
+ #: templates/media/album-single-edit.php:12
90
+ msgid "Edit Album : "
91
+ msgstr ""
92
+
93
+ #: templates/media/album-single-edit.php:18
94
+ msgid "Manage Media"
95
+ msgstr ""
96
+
97
+ #: templates/media/album-single-edit.php:47
98
+ #: app/main/controllers/privacy/RTMediaPrivacy.php:277
99
+ #: app/main/controllers/group/RTMediaGroupExtension.php:113
100
+ msgid "Save Changes"
101
+ msgstr ""
102
+
103
+ #: templates/media/album-single-edit.php:62 app/main/RTMedia.php:911
104
+ msgid "Select All Visible"
105
+ msgstr ""
106
+
107
+ #: templates/media/album-single-edit.php:63
108
+ msgid "Move Selected media to another album."
109
+ msgstr ""
110
+
111
+ #: templates/media/album-single-edit.php:63
112
+ msgid "Move"
113
+ msgstr ""
114
+
115
+ #: templates/media/album-single-edit.php:65
116
+ msgid "Delete Selected media from the album."
117
+ msgstr ""
118
+
119
+ #: templates/media/album-single-edit.php:65 app/main/RTMedia.php:922
120
+ #: app/main/controllers/media/RTMediaGalleryItemAction.php:64
121
+ #: app/main/controllers/media/RTMediaGalleryItemAction.php:80
122
+ #: app/main/controllers/template/rt-template-functions.php:1471
123
+ #: app/main/controllers/template/rt-template-functions.php:1478
124
+ msgid "Delete"
125
+ msgstr ""
126
+
127
+ #: templates/media/album-single-edit.php:70
128
+ msgid "Move selected media to the album : "
129
+ msgstr ""
130
+
131
+ #: templates/media/album-single-edit.php:72
132
+ msgid "Move Selected"
133
+ msgstr ""
134
+
135
+ #: templates/media/album-single-edit.php:94
136
+ msgid "Prev"
137
+ msgstr ""
138
+
139
+ #: templates/media/album-single-edit.php:103
140
+ msgid "Next"
141
+ msgstr ""
142
+
143
+ #: templates/media/album-single-edit.php:106
144
+ msgid "The album is empty."
145
+ msgstr ""
146
+
147
+ #: templates/media/album-single-edit.php:116
148
+ msgid "Sorry !! You can not edit this album."
149
+ msgstr ""
150
+
151
+ #: app/main/RTMedia.php:302
152
+ msgid "Photo"
153
+ msgstr ""
154
+
155
+ #: app/main/RTMedia.php:303
156
+ msgid "Photos"
157
+ msgstr ""
158
+
159
+ #: app/main/RTMedia.php:311
160
+ msgid "Video"
161
+ msgstr ""
162
+
163
+ #: app/main/RTMedia.php:312
164
+ msgid "Videos"
165
+ msgstr ""
166
+
167
+ #: app/main/RTMedia.php:320 app/main/RTMedia.php:321
168
+ msgid "Music"
169
+ msgstr ""
170
+
171
+ #: app/main/RTMedia.php:408
172
+ msgid "Private - Visible only to the user"
173
+ msgstr ""
174
+
175
+ #: app/main/RTMedia.php:409
176
+ msgid "Friends - Visible to user's friends"
177
+ msgstr ""
178
+
179
+ #: app/main/RTMedia.php:410
180
+ msgid "Logged in Users - Visible to registered users"
181
+ msgstr ""
182
+
183
+ #: app/main/RTMedia.php:411
184
+ msgid "Public - Visible to the world"
185
+ msgstr ""
186
+
187
+ #: app/main/RTMedia.php:562 app/importers/BPMediaAlbumimporter.php:90
188
+ msgid "Media"
189
+ msgstr ""
190
+
191
+ #: app/main/RTMedia.php:568 app/main/controllers/template/RTMediaNav.php:176
192
+ #: app/main/controllers/template/rt-template-functions.php:83
193
+ msgid "All"
194
+ msgstr ""
195
+
196
+ #: app/main/RTMedia.php:577
197
+ #: app/main/controllers/upload/RTMediaUploadView.php:51
198
+ #: app/main/controllers/upload/RTMediaUploadView.php:54
199
+ #: app/main/controllers/media/RTMediaAlbum.php:49
200
+ #: app/main/controllers/template/rt-template-functions.php:1391
201
+ msgid "Album"
202
+ msgstr ""
203
+
204
+ #: app/main/RTMedia.php:580 app/main/controllers/media/RTMediaAlbum.php:48
205
+ #: app/main/controllers/media/RTMediaAlbum.php:60
206
+ #: app/main/controllers/template/RTMediaNav.php:197
207
+ msgid "Albums"
208
+ msgstr ""
209
+
210
+ #: app/main/RTMedia.php:588
211
+ #: app/main/controllers/media/RTMediaLoginPopup.php:38
212
+ #: app/main/controllers/template/rt-template-functions.php:2160
213
+ #: app/main/controllers/template/rt-template-functions.php:2164
214
+ msgid "Upload"
215
+ msgstr ""
216
+
217
+ #: app/main/RTMedia.php:592
218
+ msgid "Wall Post"
219
+ msgstr ""
220
+
221
+ #: app/main/RTMedia.php:803 app/main/RTMedia.php:812
222
+ msgid "Wall Posts"
223
+ msgstr ""
224
+
225
+ #: app/main/RTMedia.php:855
226
+ msgid ": Can't Create Database table. Please check create table permission."
227
+ msgstr ""
228
+
229
+ #: app/main/RTMedia.php:899
230
+ msgid "Loading media"
231
+ msgstr ""
232
+
233
+ #: app/main/RTMedia.php:900
234
+ msgid "Please enter some content to post."
235
+ msgstr ""
236
+
237
+ #: app/main/RTMedia.php:901
238
+ msgid "Empty Comment is not allowed."
239
+ msgstr ""
240
+
241
+ #: app/main/RTMedia.php:902
242
+ msgid "Are you sure you want to delete this media?"
243
+ msgstr ""
244
+
245
+ #: app/main/RTMedia.php:903
246
+ msgid "Are you sure you want to delete this comment?"
247
+ msgstr ""
248
+
249
+ #: app/main/RTMedia.php:904
250
+ msgid "Are you sure you want to delete this Album?"
251
+ msgstr ""
252
+
253
+ #: app/main/RTMedia.php:905
254
+ msgid "Drop files here"
255
+ msgstr ""
256
+
257
+ #: app/main/RTMedia.php:906
258
+ msgid "album created successfully."
259
+ msgstr ""
260
+
261
+ #: app/main/RTMedia.php:907
262
+ msgid "Something went wrong. Please try again."
263
+ msgstr ""
264
+
265
+ #: app/main/RTMedia.php:908
266
+ msgid "Enter an album name."
267
+ msgstr ""
268
+
269
+ #: app/main/RTMedia.php:909
270
+ msgid "Max file Size Limit : "
271
+ msgstr ""
272
+
273
+ #: app/main/RTMedia.php:910
274
+ msgid "Allowed File Formats"
275
+ msgstr ""
276
+
277
+ #: app/main/RTMedia.php:912
278
+ msgid "Unselect All Visible"
279
+ msgstr ""
280
+
281
+ #: app/main/RTMedia.php:913
282
+ msgid "Please select some media."
283
+ msgstr ""
284
+
285
+ #: app/main/RTMedia.php:914
286
+ msgid "Are you sure you want to delete the selected media?"
287
+ msgstr ""
288
+
289
+ #: app/main/RTMedia.php:915
290
+ msgid "Are you sure you want to move the selected media?"
291
+ msgstr ""
292
+
293
+ #: app/main/RTMedia.php:916
294
+ msgid "Waiting"
295
+ msgstr ""
296
+
297
+ #: app/main/RTMedia.php:917
298
+ msgid "Uploaded"
299
+ msgstr ""
300
+
301
+ #: app/main/RTMedia.php:918
302
+ msgid "Uploading"
303
+ msgstr ""
304
+
305
+ #: app/main/RTMedia.php:919
306
+ msgid "Failed"
307
+ msgstr ""
308
+
309
+ #: app/main/RTMedia.php:920
310
+ msgid "Close"
311
+ msgstr ""
312
+
313
+ #: app/main/RTMedia.php:921
314
+ #: app/main/controllers/media/RTMediaGalleryItemAction.php:61
315
+ #: app/main/controllers/media/RTMediaGalleryItemAction.php:80
316
+ #: app/main/controllers/template/rt-template-functions.php:733
317
+ #: app/main/controllers/template/rt-template-functions.php:754
318
+ msgid "Edit"
319
+ msgstr ""
320
+
321
+ #: app/main/RTMedia.php:924
322
+ msgid "Remove from queue"
323
+ msgstr ""
324
+
325
+ #: app/main/RTMedia.php:925
326
+ msgid "Add more files"
327
+ msgstr ""
328
+
329
+ #: app/main/RTMedia.php:926
330
+ msgid "File not supported"
331
+ msgstr ""
332
+
333
+ #: app/main/RTMedia.php:927
334
+ msgid "more"
335
+ msgstr ""
336
+
337
+ #: app/main/RTMedia.php:928
338
+ msgid "less"
339
+ msgstr ""
340
+
341
+ #: app/main/RTMedia.php:929
342
+ msgid "This media is uploaded. Are you sure you want to delete this media?"
343
+ msgstr ""
344
+
345
+ #: app/main/RTMedia.php:937
346
+ msgid "Featured media set successfully."
347
+ msgstr ""
348
+
349
+ #: app/main/RTMedia.php:938
350
+ msgid "Featured media removed successfully."
351
+ msgstr ""
352
+
353
+ #: app/main/RTMedia.php:975
354
+ msgid "There are some uploads in progress. Do you want to cancel them?"
355
+ msgstr ""
356
+
357
+ #: app/main/controllers/api/RTMediaJsonApi.php:166
358
+ msgid "username/password empty"
359
+ msgstr ""
360
+
361
+ #: app/main/controllers/api/RTMediaJsonApi.php:169
362
+ msgid "incorrect username"
363
+ msgstr ""
364
+
365
+ #: app/main/controllers/api/RTMediaJsonApi.php:172
366
+ msgid "incorrect password"
367
+ msgstr ""
368
+
369
+ #: app/main/controllers/api/RTMediaJsonApi.php:175
370
+ msgid "login success"
371
+ msgstr ""
372
+
373
+ #: app/main/controllers/api/RTMediaJsonApi.php:221
374
+ msgid "fields empty"
375
+ msgstr ""
376
+
377
+ #: app/main/controllers/api/RTMediaJsonApi.php:224
378
+ msgid "invalid email"
379
+ msgstr ""
380
+
381
+ #: app/main/controllers/api/RTMediaJsonApi.php:227
382
+ msgid "password do not match"
383
+ msgstr ""
384
+
385
+ #: app/main/controllers/api/RTMediaJsonApi.php:230
386
+ msgid "username already registered"
387
+ msgstr ""
388
+
389
+ #: app/main/controllers/api/RTMediaJsonApi.php:233
390
+ msgid "email already exists"
391
+ msgstr ""
392
+
393
+ #: app/main/controllers/api/RTMediaJsonApi.php:236
394
+ msgid "new user created"
395
+ msgstr ""
396
+
397
+ #: app/main/controllers/api/RTMediaJsonApi.php:297
398
+ msgid "email empty"
399
+ msgstr ""
400
+
401
+ #: app/main/controllers/api/RTMediaJsonApi.php:300
402
+ msgid "username/email not registered"
403
+ msgstr ""
404
+
405
+ #: app/main/controllers/api/RTMediaJsonApi.php:303
406
+ msgid "reset link sent"
407
+ msgstr ""
408
+
409
+ #: app/main/controllers/api/RTMediaJsonApi.php:335
410
+ msgid ""
411
+ "Someone has asked to reset the password for the following site and username."
412
+ msgstr ""
413
+
414
+ #: app/main/controllers/api/RTMediaJsonApi.php:337
415
+ #, php-format
416
+ msgid "Username: %s"
417
+ msgstr ""
418
+
419
+ #: app/main/controllers/api/RTMediaJsonApi.php:338
420
+ msgid ""
421
+ "To reset your password visit the following address, otherwise just ignore "
422
+ "this email and nothing will happen."
423
+ msgstr ""
424
+
425
+ #: app/main/controllers/api/RTMediaJsonApi.php:341
426
+ #, php-format
427
+ msgid "[%s] Password Reset"
428
+ msgstr ""
429
+
430
+ #: app/main/controllers/api/RTMediaJsonApi.php:356
431
+ msgid "bp activities"
432
+ msgstr ""
433
+
434
+ #: app/main/controllers/api/RTMediaJsonApi.php:359
435
+ msgid "user activities"
436
+ msgstr ""
437
+
438
+ #: app/main/controllers/api/RTMediaJsonApi.php:389
439
+ msgid "comment content missing"
440
+ msgstr ""
441
+
442
+ #: app/main/controllers/api/RTMediaJsonApi.php:392
443
+ msgid "comment posted"
444
+ msgstr ""
445
+
446
+ #: app/main/controllers/api/RTMediaJsonApi.php:439
447
+ msgid "unliked media"
448
+ msgstr ""
449
+
450
+ #: app/main/controllers/api/RTMediaJsonApi.php:442
451
+ msgid "liked media"
452
+ msgstr ""
453
+
454
+ #: app/main/controllers/api/RTMediaJsonApi.php:526
455
+ msgid "no comments"
456
+ msgstr ""
457
+
458
+ #: app/main/controllers/api/RTMediaJsonApi.php:529
459
+ msgid "media comments"
460
+ msgstr ""
461
+
462
+ #: app/main/controllers/api/RTMediaJsonApi.php:532
463
+ msgid "my comments"
464
+ msgstr ""
465
+
466
+ #: app/main/controllers/api/RTMediaJsonApi.php:582
467
+ msgid "no likes"
468
+ msgstr ""
469
+
470
+ #: app/main/controllers/api/RTMediaJsonApi.php:585
471
+ msgid "media likes"
472
+ msgstr ""
473
+
474
+ #: app/main/controllers/api/RTMediaJsonApi.php:627
475
+ msgid "invalid comment/media id"
476
+ msgstr ""
477
+
478
+ #: app/main/controllers/api/RTMediaJsonApi.php:630
479
+ msgid "no comment id"
480
+ msgstr ""
481
+
482
+ #: app/main/controllers/api/RTMediaJsonApi.php:633
483
+ msgid "comment deleted"
484
+ msgstr ""
485
+
486
+ #: app/main/controllers/api/RTMediaJsonApi.php:676
487
+ msgid "no profile found"
488
+ msgstr ""
489
+
490
+ #: app/main/controllers/api/RTMediaJsonApi.php:679
491
+ msgid "profile fields"
492
+ msgstr ""
493
+
494
+ #: app/main/controllers/api/RTMediaJsonApi.php:773
495
+ msgid "follow user id missing"
496
+ msgstr ""
497
+
498
+ #: app/main/controllers/api/RTMediaJsonApi.php:776
499
+ msgid "started following"
500
+ msgstr ""
501
+
502
+ #: app/main/controllers/api/RTMediaJsonApi.php:779
503
+ msgid "already following"
504
+ msgstr ""
505
+
506
+ #: app/main/controllers/api/RTMediaJsonApi.php:811
507
+ msgid "unfollow id missing"
508
+ msgstr ""
509
+
510
+ #: app/main/controllers/api/RTMediaJsonApi.php:814
511
+ msgid "stopped following"
512
+ msgstr ""
513
+
514
+ #: app/main/controllers/api/RTMediaJsonApi.php:817
515
+ msgid "not following"
516
+ msgstr ""
517
+
518
+ #: app/main/controllers/api/RTMediaJsonApi.php:849
519
+ msgid "name/location empty"
520
+ msgstr ""
521
+
522
+ #: app/main/controllers/api/RTMediaJsonApi.php:852
523
+ msgid "profile updated"
524
+ msgstr ""
525
+
526
+ #: app/main/controllers/api/RTMediaJsonApi.php:878
527
+ #: app/main/controllers/api/RTMediaJsonApi.php:905
528
+ msgid "no file"
529
+ msgstr ""
530
+
531
+ #: app/main/controllers/api/RTMediaJsonApi.php:881
532
+ #: app/main/controllers/api/RTMediaJsonApi.php:917
533
+ msgid "upload failed, check size and file type"
534
+ msgstr ""
535
+
536
+ #: app/main/controllers/api/RTMediaJsonApi.php:884
537
+ msgid "avatar updated"
538
+ msgstr ""
539
+
540
+ #: app/main/controllers/api/RTMediaJsonApi.php:908
541
+ msgid "invalid file string"
542
+ msgstr ""
543
+
544
+ #: app/main/controllers/api/RTMediaJsonApi.php:911
545
+ msgid "image type missing"
546
+ msgstr ""
547
+
548
+ #: app/main/controllers/api/RTMediaJsonApi.php:914
549
+ msgid "no title"
550
+ msgstr ""
551
+
552
+ #: app/main/controllers/api/RTMediaJsonApi.php:920
553
+ msgid "media updated"
554
+ msgstr ""
555
+
556
+ #: app/main/controllers/api/RTMediaJsonApi.php:1050
557
+ msgid "media list"
558
+ msgstr ""
559
+
560
+ #: app/main/controllers/api/RTMediaJsonApi.php:1053
561
+ msgid "no media found for requested media type"
562
+ msgstr ""
563
+
564
+ #: app/main/controllers/api/RTMediaJsonApi.php:1056
565
+ msgid "media_type not allowed"
566
+ msgstr ""
567
+
568
+ #: app/main/controllers/api/RTMediaJsonApi.php:1146
569
+ msgid "single media"
570
+ msgstr ""
571
+
572
+ #: app/main/controllers/upload/RTMediaUploadEndpoint.php:99
573
+ #: app/main/controllers/activity/RTMediaBuddyPressActivity.php:346
574
+ #: app/main/controllers/activity/RTMediaBuddyPressActivity.php:348
575
+ #, php-format
576
+ msgid "%s added %d %s"
577
+ msgstr ""
578
+
579
+ #: app/main/controllers/upload/RTMediaUploadView.php:70
580
+ msgid "Privacy: "
581
+ msgstr ""
582
+
583
+ #: app/main/controllers/upload/RTMediaUploadView.php:77
584
+ #: app/main/controllers/upload/RTMediaUploadView.php:111
585
+ #: app/main/controllers/upload/RTMediaUploadView.php:127
586
+ msgid "File Upload"
587
+ msgstr ""
588
+
589
+ #: app/main/controllers/upload/RTMediaUploadView.php:81
590
+ msgid "Select your files"
591
+ msgstr ""
592
+
593
+ #: app/main/controllers/upload/RTMediaUploadView.php:82
594
+ msgid "or"
595
+ msgstr ""
596
+
597
+ #: app/main/controllers/upload/RTMediaUploadView.php:82
598
+ msgid "Drop your files here"
599
+ msgstr ""
600
+
601
+ #: app/main/controllers/upload/RTMediaUploadView.php:119
602
+ msgid "Start upload"
603
+ msgstr ""
604
+
605
+ #: app/main/controllers/upload/RTMediaUploadView.php:134
606
+ msgid "Attach Media"
607
+ msgstr ""
608
+
609
+ #: app/main/controllers/upload/RTMediaUploadView.php:149
610
+ msgid "Insert from URL"
611
+ msgstr ""
612
+
613
+ #: app/main/controllers/upload/processors/RTMediaUploadFile.php:59
614
+ msgid "Error Uploading File"
615
+ msgstr ""
616
+
617
+ #: app/main/controllers/upload/processors/RTMediaUploadFile.php:213
618
+ msgid "MP4 file you have uploaded is corrupt."
619
+ msgstr ""
620
+
621
+ #: app/main/controllers/upload/processors/RTMediaUploadFile.php:220
622
+ #: app/main/controllers/upload/processors/RTMediaUploadFile.php:225
623
+ msgid ""
624
+ "The MP4 file you have uploaded is using an unsupported video codec. "
625
+ "Supported video codec is H.264."
626
+ msgstr ""
627
+
628
+ #: app/main/controllers/upload/processors/RTMediaUploadFile.php:230
629
+ msgid "The MP4 file you have uploaded is not a video file."
630
+ msgstr ""
631
+
632
+ #: app/main/controllers/upload/processors/RTMediaUploadFile.php:243
633
+ msgid "MP3 file you have uploaded is currupt."
634
+ msgstr ""
635
+
636
+ #: app/main/controllers/upload/processors/RTMediaUploadFile.php:250
637
+ #: app/main/controllers/upload/processors/RTMediaUploadFile.php:255
638
+ msgid ""
639
+ "The MP3 file you have uploaded is using an unsupported audio format. "
640
+ "Supported audio format is MP3."
641
+ msgstr ""
642
+
643
+ #: app/main/controllers/upload/processors/RTMediaUploadFile.php:260
644
+ msgid "The MP3 file you have uploaded is not an audio file."
645
+ msgstr ""
646
+
647
+ #: app/main/controllers/upload/processors/RTMediaUploadFile.php:268
648
+ msgid ""
649
+ "Media File you have tried to upload is not supported. Supported media files "
650
+ "are .jpg, .png, .gif, .mp3, .mov and .mp4."
651
+ msgstr ""
652
+
653
+ #: app/main/controllers/privacy/RTMediaPrivacy.php:268
654
+ msgid "Default Privacy"
655
+ msgstr ""
656
+
657
+ #: app/main/controllers/privacy/RTMediaPrivacy.php:284
658
+ #: app/admin/RTMediaAdmin.php:1539
659
+ msgid "Privacy"
660
+ msgstr ""
661
+
662
+ #: app/main/controllers/shortcodes/RTMediaUploadShortcode.php:91
663
+ msgid "The web browser on your device cannot be used to upload files."
664
+ msgstr ""
665
+
666
+ #: app/main/controllers/shortcodes/RTMediaUploadShortcode.php:103
667
+ #: app/main/controllers/activity/RTMediaBuddyPressActivity.php:204
668
+ #: app/main/controllers/template/rt-template-functions.php:1505
669
+ msgid "You are not allowed to upload/attach media."
670
+ msgstr ""
671
+
672
+ #: app/main/controllers/shortcodes/RTMediaGalleryShortcode.php:182
673
+ msgid "You do not have sufficient privileges to view this gallery"
674
+ msgstr ""
675
+
676
+ #: app/main/controllers/media/RTMediaFeatured.php:25
677
+ #: app/main/controllers/media/RTMediaGroupFeatured.php:17
678
+ msgid "Set as Featured"
679
+ msgstr ""
680
+
681
+ #: app/main/controllers/media/RTMediaFeatured.php:27
682
+ #: app/main/controllers/media/RTMediaGroupFeatured.php:19
683
+ msgid "Unset Featured"
684
+ msgstr ""
685
+
686
+ #: app/main/controllers/media/RTMediaFeatured.php:184
687
+ #: app/main/controllers/media/RTMediaGroupFeatured.php:194
688
+ msgid "Media type is not allowed"
689
+ msgstr ""
690
+
691
+ #: app/main/controllers/media/RTMediaGalleryItemAction.php:60
692
+ #: app/main/controllers/media/RTMediaGalleryItemAction.php:80
693
+ msgid "Edit this media"
694
+ msgstr ""
695
+
696
+ #: app/main/controllers/media/RTMediaGalleryItemAction.php:63
697
+ #: app/main/controllers/media/RTMediaGalleryItemAction.php:80
698
+ msgid "Delete this media"
699
+ msgstr ""
700
+
701
+ #: app/main/controllers/media/RTMediaLoginPopup.php:38
702
+ #: app/main/controllers/template/rt-template-functions.php:2160
703
+ #: app/main/controllers/template/rt-template-functions.php:2164
704
+ msgid "Upload Media"
705
+ msgstr ""
706
+
707
+ #: app/main/controllers/media/RTMediaLoginPopup.php:47
708
+ msgid "Please login"
709
+ msgstr ""
710
+
711
+ #: app/main/controllers/media/RTMediaLoginPopup.php:49
712
+ msgid "You need to be logged in to upload Media or to create Album."
713
+ msgstr ""
714
+
715
+ #: app/main/controllers/media/RTMediaLoginPopup.php:52
716
+ #: app/helper/RTMediaSupport.php:363
717
+ msgid "Click"
718
+ msgstr ""
719
+
720
+ #: app/main/controllers/media/RTMediaLoginPopup.php:52
721
+ msgid "Login"
722
+ msgstr ""
723
+
724
+ #: app/main/controllers/media/RTMediaLoginPopup.php:52
725
+ msgid "HERE"
726
+ msgstr ""
727
+
728
+ #: app/main/controllers/media/RTMediaLoginPopup.php:52
729
+ msgid " to login."
730
+ msgstr ""
731
+
732
+ #: app/main/controllers/media/RTMediaAlbum.php:35
733
+ msgctxt "Status General Name"
734
+ msgid "hidden"
735
+ msgstr ""
736
+
737
+ #: app/main/controllers/media/RTMediaAlbum.php:35
738
+ #, php-format
739
+ msgid "Hidden (%s)"
740
+ msgid_plural "Hidden (%s)"
741
+ msgstr[0] ""
742
+ msgstr[1] ""
743
+
744
+ #: app/main/controllers/media/RTMediaAlbum.php:50
745
+ msgid "Create"
746
+ msgstr ""
747
+
748
+ #: app/main/controllers/media/RTMediaAlbum.php:51
749
+ #: app/main/controllers/template/rt-template-functions.php:1786
750
+ msgid "Create Album"
751
+ msgstr ""
752
+
753
+ #: app/main/controllers/media/RTMediaAlbum.php:52
754
+ #: app/main/controllers/template/rt-template-functions.php:1866
755
+ msgid "Edit Album"
756
+ msgstr ""
757
+
758
+ #: app/main/controllers/media/RTMediaAlbum.php:53
759
+ msgid "New Album"
760
+ msgstr ""
761
+
762
+ #: app/main/controllers/media/RTMediaAlbum.php:54
763
+ msgid "All Albums"
764
+ msgstr ""
765
+
766
+ #: app/main/controllers/media/RTMediaAlbum.php:55
767
+ msgid "View Album"
768
+ msgstr ""
769
+
770
+ #: app/main/controllers/media/RTMediaAlbum.php:56
771
+ msgid "Search Albums"
772
+ msgstr ""
773
+
774
+ #: app/main/controllers/media/RTMediaAlbum.php:57
775
+ msgid "No album found"
776
+ msgstr ""
777
+
778
+ #: app/main/controllers/media/RTMediaAlbum.php:58
779
+ msgid "No album found in Trash"
780
+ msgstr ""
781
+
782
+ #: app/main/controllers/media/RTMediaAlbum.php:59
783
+ msgid "Parent"
784
+ msgstr ""
785
+
786
+ #: app/main/controllers/media/RTMediaAlbum.php:145
787
+ msgid "Untitled Album"
788
+ msgstr ""
789
+
790
+ #: app/main/controllers/media/RTMediaMedia.php:483
791
+ msgid "Error creating attachment for the media file, please try again"
792
+ msgstr ""
793
+
794
+ #: app/main/controllers/media/RTMediaMedia.php:585
795
+ #, php-format
796
+ msgid "%1$s added a %2$s"
797
+ msgstr ""
798
+
799
+ #: app/main/controllers/media/RTMediaMedia.php:585
800
+ #, php-format
801
+ msgid "%1$s added %4$d %3$s"
802
+ msgstr ""
803
+
804
+ #: app/main/controllers/media/RTMediaLike.php:18
805
+ msgid "Like"
806
+ msgstr ""
807
+
808
+ #: app/main/controllers/media/RTMediaLike.php:19
809
+ #: app/admin/RTMediaAdmin.php:589
810
+ msgid "Likes"
811
+ msgstr ""
812
+
813
+ #: app/main/controllers/media/RTMediaLike.php:20
814
+ msgid "Unlike"
815
+ msgstr ""
816
+
817
+ #: app/main/controllers/activity/RTMediaBuddyPressActivity.php:180
818
+ msgid "Media Files"
819
+ msgstr ""
820
+
821
+ #: app/main/controllers/activity/RTMediaBuddyPressActivity.php:333
822
+ #: app/main/controllers/activity/RTMediaBuddyPressActivity.php:348
823
+ msgid "media"
824
+ msgstr ""
825
+
826
+ #: app/main/controllers/activity/RTMediaBuddyPressActivity.php:340
827
+ #, php-format
828
+ msgid "%s added a %s"
829
+ msgstr ""
830
+
831
+ #: app/main/controllers/template/RTMediaTemplate.php:97
832
+ #: app/main/controllers/template/RTMediaTemplate.php:149
833
+ msgid "Invalid attribute passed for rtmedia_gallery shortcode."
834
+ msgstr ""
835
+
836
+ #: app/main/controllers/template/RTMediaTemplate.php:327
837
+ #: app/main/controllers/template/RTMediaTemplate.php:401
838
+ #: app/main/controllers/template/RTMediaTemplate.php:490
839
+ #: app/main/controllers/template/RTMediaTemplate.php:616
840
+ msgid "Ooops !!! Invalid access. No nonce was found !!"
841
+ msgstr ""
842
+
843
+ #: app/main/controllers/template/RTMediaTemplate.php:334
844
+ msgid "Media updated Sucessfully"
845
+ msgstr ""
846
+
847
+ #: app/main/controllers/template/RTMediaTemplate.php:340
848
+ msgid "Error in updating Media"
849
+ msgstr ""
850
+
851
+ #: app/main/controllers/template/RTMediaAJAX.php:33
852
+ msgid "You can not create album in this group."
853
+ msgstr ""
854
+
855
+ #: app/main/controllers/template/RTMediaAJAX.php:39
856
+ msgid "You can not create album."
857
+ msgstr ""
858
+
859
+ #: app/main/controllers/template/RTMediaAJAX.php:44
860
+ msgid "You can not create more albums, you exceed your album limit."
861
+ msgstr ""
862
+
863
+ #: app/main/controllers/template/RTMediaAJAX.php:89
864
+ msgid "Data mismatch, Please insert data properly."
865
+ msgstr ""
866
+
867
+ #: app/main/controllers/template/RTMediaNav.php:32
868
+ msgctxt "My Account Privacy sub nav"
869
+ msgid "Privacy"
870
+ msgstr ""
871
+
872
+ #: app/main/controllers/template/rt-template-functions.php:709
873
+ #: app/main/controllers/template/rt-template-functions.php:1697
874
+ msgid "Options"
875
+ msgstr ""
876
+
877
+ #: app/main/controllers/template/rt-template-functions.php:798
878
+ msgid "There are no comments on this media yet."
879
+ msgstr ""
880
+
881
+ #: app/main/controllers/template/rt-template-functions.php:834
882
+ msgid "Delete Comment"
883
+ msgstr ""
884
+
885
+ #: app/main/controllers/template/rt-template-functions.php:1032
886
+ msgid "Go to page no : "
887
+ msgstr ""
888
+
889
+ #: app/main/controllers/template/rt-template-functions.php:1037
890
+ msgid "Go"
891
+ msgstr ""
892
+
893
+ #: app/main/controllers/template/rt-template-functions.php:1210
894
+ msgid "Video Thumbnail"
895
+ msgstr ""
896
+
897
+ #: app/main/controllers/template/rt-template-functions.php:1259
898
+ msgid "Video Thumbnail:"
899
+ msgstr ""
900
+
901
+ #: app/main/controllers/template/rt-template-functions.php:1342
902
+ msgid "Image"
903
+ msgstr ""
904
+
905
+ #: app/main/controllers/template/rt-template-functions.php:1359
906
+ msgid "Modify Image"
907
+ msgstr ""
908
+
909
+ #: app/main/controllers/template/rt-template-functions.php:1434
910
+ msgid "Type Comment..."
911
+ msgstr ""
912
+
913
+ #: app/main/controllers/template/rt-template-functions.php:1471
914
+ #: app/main/controllers/template/rt-template-functions.php:1478
915
+ msgid "Delete Media"
916
+ msgstr ""
917
+
918
+ #: app/main/controllers/template/rt-template-functions.php:1639
919
+ msgid "Profile Albums"
920
+ msgstr ""
921
+
922
+ #: app/main/controllers/template/rt-template-functions.php:1642
923
+ #: app/main/controllers/template/rt-template-functions.php:1676
924
+ msgid "Group Albums"
925
+ msgstr ""
926
+
927
+ #: app/main/controllers/template/rt-template-functions.php:1760
928
+ msgid "Create New Album"
929
+ msgstr ""
930
+
931
+ #: app/main/controllers/template/rt-template-functions.php:1760
932
+ msgid "Add Album"
933
+ msgstr ""
934
+
935
+ #: app/main/controllers/template/rt-template-functions.php:1776
936
+ msgid "Create an Album"
937
+ msgstr ""
938
+
939
+ #: app/main/controllers/template/rt-template-functions.php:1778
940
+ msgid "Album Title : "
941
+ msgstr ""
942
+
943
+ #: app/main/controllers/template/rt-template-functions.php:1817
944
+ #: app/main/controllers/template/rt-template-functions.php:1824
945
+ #: app/main/controllers/template/rt-template-functions.php:1876
946
+ msgid "Merge Album"
947
+ msgstr ""
948
+
949
+ #: app/main/controllers/template/rt-template-functions.php:1820
950
+ msgid "Select Album to merge with : "
951
+ msgstr ""
952
+
953
+ #: app/main/controllers/template/rt-template-functions.php:1867
954
+ msgid "Delete Album"
955
+ msgstr ""
956
+
957
+ #: app/main/controllers/template/rt-template-functions.php:1904
958
+ msgid "Merge"
959
+ msgstr ""
960
+
961
+ #: app/main/controllers/template/rt-template-functions.php:1957
962
+ msgid "Privacy : "
963
+ msgstr ""
964
+
965
+ #: app/main/controllers/template/rt-template-functions.php:2148
966
+ msgid "people like this"
967
+ msgstr ""
968
+
969
+ #: app/main/controllers/template/rt-template-functions.php:2247
970
+ msgid "Empowering your community with "
971
+ msgstr ""
972
+
973
+ #: app/main/controllers/template/rt-template-functions.php:2249
974
+ msgid "The only complete media solution for WordPress, BuddyPress and bbPress"
975
+ msgstr ""
976
+
977
+ #: app/main/controllers/template/rt-template-functions.php:2264
978
+ msgid "Close (Esc)"
979
+ msgstr ""
980
+
981
+ #: app/main/controllers/template/rt-template-functions.php:2278
982
+ msgid "Public"
983
+ msgstr ""
984
+
985
+ #: app/main/controllers/template/rt-template-functions.php:2282
986
+ msgid "All members"
987
+ msgstr ""
988
+
989
+ #: app/main/controllers/template/rt-template-functions.php:2286
990
+ msgid "Your friends"
991
+ msgstr ""
992
+
993
+ #: app/main/controllers/template/rt-template-functions.php:2290
994
+ msgid "Only you"
995
+ msgstr ""
996
+
997
+ #: app/main/controllers/template/rt-template-functions.php:2294
998
+ msgid "Blocked temporarily"
999
+ msgstr ""
1000
+
1001
+ #: app/main/controllers/template/rt-template-functions.php:2331
1002
+ #, php-format
1003
+ msgid "%s ago "
1004
+ msgstr ""
1005
+
1006
+ #: app/main/controllers/template/rt-template-functions.php:2344
1007
+ #, php-format
1008
+ msgid "1 second"
1009
+ msgid_plural "%s seconds"
1010
+ msgstr[0] ""
1011
+ msgstr[1] ""
1012
+
1013
+ #: app/main/controllers/template/rt-template-functions.php:2347
1014
+ #, php-format
1015
+ msgid "1 minute"
1016
+ msgid_plural "%s minutes"
1017
+ msgstr[0] ""
1018
+ msgstr[1] ""
1019
+
1020
+ #: app/main/controllers/template/rt-template-functions.php:2350
1021
+ #, php-format
1022
+ msgid "1 hour"
1023
+ msgid_plural "%s hours"
1024
+ msgstr[0] ""
1025
+ msgstr[1] ""
1026
+
1027
+ #: app/main/controllers/template/rt-template-functions.php:2705
1028
+ msgid "You can consider rtMedia Team for following :"
1029
+ msgstr ""
1030
+
1031
+ #: app/main/controllers/template/rt-template-functions.php:2708
1032
+ msgid "rtMedia Customization ( in Upgrade Safe manner )"
1033
+ msgstr ""
1034
+
1035
+ #: app/main/controllers/template/rt-template-functions.php:2709
1036
+ msgid "WordPress/BuddyPress Theme Design and Development"
1037
+ msgstr ""
1038
+
1039
+ #: app/main/controllers/template/rt-template-functions.php:2710
1040
+ msgid "WordPress/BuddyPress Plugin Development"
1041
+ msgstr ""
1042
+
1043
+ #: app/main/controllers/template/rt-template-functions.php:2714
1044
+ msgid "Contact Us"
1045
+ msgstr ""
1046
+
1047
+ #: app/main/controllers/group/RTMediaGroupExtension.php:30
1048
+ #: app/main/controllers/group/RTMediaGroupExtension.php:92
1049
+ msgid "Album Creation Control"
1050
+ msgstr ""
1051
+
1052
+ #: app/main/controllers/group/RTMediaGroupExtension.php:31
1053
+ #: app/main/controllers/group/RTMediaGroupExtension.php:93
1054
+ msgid "Who can create Albums in this group?"
1055
+ msgstr ""
1056
+
1057
+ #: app/main/controllers/group/RTMediaGroupExtension.php:35
1058
+ #: app/main/controllers/group/RTMediaGroupExtension.php:97
1059
+ msgid "All Group Members"
1060
+ msgstr ""
1061
+
1062
+ #: app/main/controllers/group/RTMediaGroupExtension.php:39
1063
+ #: app/main/controllers/group/RTMediaGroupExtension.php:101
1064
+ msgid "Group Admins and Mods only"
1065
+ msgstr ""
1066
+
1067
+ #: app/main/controllers/group/RTMediaGroupExtension.php:43
1068
+ #: app/main/controllers/group/RTMediaGroupExtension.php:105
1069
+ msgid "Group Admin only"
1070
+ msgstr ""
1071
+
1072
+ #: app/main/controllers/group/RTMediaGroupExtension.php:142
1073
+ msgid "There was an error saving, please try again"
1074
+ msgstr ""
1075
+
1076
+ #: app/main/controllers/group/RTMediaGroupExtension.php:144
1077
+ msgid "Settings saved successfully"
1078
+ msgstr ""
1079
+
1080
+ #: app/main/controllers/group/RTMediaGroupExtension.php:164
1081
+ msgid ""
1082
+ "You could display a small snippet of information from your group extension "
1083
+ "here. It will show on the group\n"
1084
+ "\t home screen."
1085
+ msgstr ""
1086
+
1087
+ #: app/main/deprecated/RTMediaDeprecated.php:27
1088
+ #, php-format
1089
+ msgid "Deprecated %s. Please use %s."
1090
+ msgstr ""
1091
+
1092
+ #: app/admin/RTMediaFormHandler.php:65 app/admin/RTMediaFormHandler.php:107
1093
+ #: app/admin/RTMediaFormHandler.php:202 app/admin/RTMediaFormHandler.php:237
1094
+ msgid "Please provide a \"value\" in the argument."
1095
+ msgstr ""
1096
+
1097
+ #: app/admin/RTMediaFormHandler.php:150
1098
+ msgid "Need to specify atleast two radios, else use a checkbox instead"
1099
+ msgstr ""
1100
+
1101
+ #: app/admin/RTMediaFormHandler.php:286
1102
+ msgid "Pagination"
1103
+ msgstr ""
1104
+
1105
+ #: app/admin/RTMediaFormHandler.php:298
1106
+ msgid "Allow user to comment on uploaded media"
1107
+ msgstr ""
1108
+
1109
+ #: app/admin/RTMediaFormHandler.php:303
1110
+ msgid ""
1111
+ "This will display the comment form and comment listing on single media pages "
1112
+ "as well as inside lightbox (if lightbox is enabled)."
1113
+ msgstr ""
1114
+
1115
+ #: app/admin/RTMediaFormHandler.php:308
1116
+ msgid "Use lightbox to display media"
1117
+ msgstr ""
1118
+
1119
+ #: app/admin/RTMediaFormHandler.php:313
1120
+ msgid "View single media in facebook style lightbox."
1121
+ msgstr ""
1122
+
1123
+ #: app/admin/RTMediaFormHandler.php:318
1124
+ msgid "Number of media per page"
1125
+ msgstr ""
1126
+
1127
+ #: app/admin/RTMediaFormHandler.php:324
1128
+ msgid "Number of media items you want to show per page on front end."
1129
+ msgstr ""
1130
+
1131
+ #: app/admin/RTMediaFormHandler.php:330
1132
+ msgid "Media display pagination option"
1133
+ msgstr ""
1134
+
1135
+ #: app/admin/RTMediaFormHandler.php:336
1136
+ msgid "Choose whether you want the load more button or pagination buttons."
1137
+ msgstr ""
1138
+
1139
+ #: app/admin/RTMediaFormHandler.php:341
1140
+ msgid "Enable"
1141
+ msgstr ""
1142
+
1143
+ #: app/admin/RTMediaFormHandler.php:341
1144
+ msgid "Cascading grid layout"
1145
+ msgstr ""
1146
+
1147
+ #: app/admin/RTMediaFormHandler.php:346
1148
+ msgid "If you enable masonry view, it is advisable to"
1149
+ msgstr ""
1150
+
1151
+ #: app/admin/RTMediaFormHandler.php:346
1152
+ msgid "for masonry view."
1153
+ msgstr ""
1154
+
1155
+ #: app/admin/RTMediaFormHandler.php:350
1156
+ msgid "You might need to"
1157
+ msgstr ""
1158
+
1159
+ #: app/admin/RTMediaFormHandler.php:350
1160
+ msgid "change thumbnail size"
1161
+ msgstr ""
1162
+
1163
+ #: app/admin/RTMediaFormHandler.php:350
1164
+ msgid "and uncheck the crop box for thumbnails."
1165
+ msgstr ""
1166
+
1167
+ #: app/admin/RTMediaFormHandler.php:350
1168
+ msgid ""
1169
+ "To set gallery for fixed width, set image height to 0 and width as per your "
1170
+ "requirement and vice-versa."
1171
+ msgstr ""
1172
+
1173
+ #: app/admin/RTMediaFormHandler.php:353
1174
+ msgid "Enable Direct Upload"
1175
+ msgstr ""
1176
+
1177
+ #: app/admin/RTMediaFormHandler.php:358
1178
+ msgid "Uploading media directly as soon as it gets selected."
1179
+ msgstr ""
1180
+
1181
+ #: app/admin/RTMediaFormHandler.php:384
1182
+ msgid "Single Media View"
1183
+ msgstr ""
1184
+
1185
+ #: app/admin/RTMediaFormHandler.php:385
1186
+ msgid "List Media View"
1187
+ msgstr ""
1188
+
1189
+ #: app/admin/RTMediaFormHandler.php:386
1190
+ msgid "Masonry View"
1191
+ msgstr ""
1192
+
1193
+ #: app/admin/RTMediaFormHandler.php:387
1194
+ msgid "Direct Upload"
1195
+ msgstr ""
1196
+
1197
+ #: app/admin/RTMediaFormHandler.php:405
1198
+ msgid "Allow usage data tracking"
1199
+ msgstr ""
1200
+
1201
+ #: app/admin/RTMediaFormHandler.php:410
1202
+ msgid ""
1203
+ "To make rtMedia better compatible with your sites, you can help the rtMedia "
1204
+ "team learn what themes and plugins you are using. No private information "
1205
+ "about your setup will be sent during tracking."
1206
+ msgstr ""
1207
+
1208
+ #: app/admin/RTMediaFormHandler.php:414
1209
+ msgid "Admin bar menu integration"
1210
+ msgstr ""
1211
+
1212
+ #: app/admin/RTMediaFormHandler.php:419
1213
+ msgid ""
1214
+ "Add rtMedia menu to WordPress admin bar for easy access to settings and "
1215
+ "moderation page (if enabled)."
1216
+ msgstr ""
1217
+
1218
+ #: app/admin/RTMediaFormHandler.php:424
1219
+ msgid "Add a link to rtMedia in footer"
1220
+ msgstr ""
1221
+
1222
+ #: app/admin/RTMediaFormHandler.php:429
1223
+ msgid "Help us promote rtMedia."
1224
+ msgstr ""
1225
+
1226
+ #: app/admin/RTMediaFormHandler.php:434
1227
+ msgid "Also add my affiliate-id to rtMedia footer link"
1228
+ msgstr ""
1229
+
1230
+ #: app/admin/RTMediaFormHandler.php:439
1231
+ msgid ""
1232
+ "Add your affiliate-id along with footer link and get rewarded by our "
1233
+ "affiliation program."
1234
+ msgstr ""
1235
+
1236
+ #: app/admin/RTMediaFormHandler.php:443
1237
+ msgid "Signup for"
1238
+ msgstr ""
1239
+
1240
+ #: app/admin/RTMediaFormHandler.php:443
1241
+ msgid "affiliate program"
1242
+ msgstr ""
1243
+
1244
+ #: app/admin/RTMediaFormHandler.php:443 app/admin/RTMediaFormHandler.php:454
1245
+ #: app/helper/RTMediaSupport.php:363
1246
+ msgid "here"
1247
+ msgstr ""
1248
+
1249
+ #: app/admin/RTMediaFormHandler.php:446
1250
+ msgid "Enable JSON API"
1251
+ msgstr ""
1252
+
1253
+ #: app/admin/RTMediaFormHandler.php:451
1254
+ msgid ""
1255
+ "This will allow handling API requests for rtMedia sent through any mobile "
1256
+ "app."
1257
+ msgstr ""
1258
+
1259
+ #: app/admin/RTMediaFormHandler.php:454
1260
+ msgid "You can refer to the API document from"
1261
+ msgstr ""
1262
+
1263
+ #: app/admin/RTMediaFormHandler.php:477
1264
+ msgid "Admin Settings"
1265
+ msgstr ""
1266
+
1267
+ #: app/admin/RTMediaFormHandler.php:478
1268
+ msgid "API Settings"
1269
+ msgstr ""
1270
+
1271
+ #: app/admin/RTMediaFormHandler.php:479
1272
+ msgid "Miscellaneous"
1273
+ msgstr ""
1274
+
1275
+ #: app/admin/RTMediaFormHandler.php:480
1276
+ msgid "Footer Link"
1277
+ msgstr ""
1278
+
1279
+ #: app/admin/RTMediaFormHandler.php:560
1280
+ msgid "Media Types Settings"
1281
+ msgstr ""
1282
+
1283
+ #: app/admin/RTMediaFormHandler.php:568 app/helper/RTMediaSettings.php:323
1284
+ msgid "Media Type"
1285
+ msgstr ""
1286
+
1287
+ #: app/admin/RTMediaFormHandler.php:573
1288
+ msgid "Allow Upload"
1289
+ msgstr ""
1290
+
1291
+ #: app/admin/RTMediaFormHandler.php:575
1292
+ msgid "Allows you to upload a particular media type on your post."
1293
+ msgstr ""
1294
+
1295
+ #: app/admin/RTMediaFormHandler.php:583
1296
+ msgid "Set Featured"
1297
+ msgstr ""
1298
+
1299
+ #: app/admin/RTMediaFormHandler.php:585
1300
+ msgid "Place a specific media as a featured content on the post."
1301
+ msgstr ""
1302
+
1303
+ #: app/admin/RTMediaFormHandler.php:627
1304
+ msgid "File Extensions"
1305
+ msgstr ""
1306
+
1307
+ #: app/admin/RTMediaFormHandler.php:715
1308
+ msgid "Media Size Settings"
1309
+ msgstr ""
1310
+
1311
+ #: app/admin/RTMediaFormHandler.php:720
1312
+ msgid "Category"
1313
+ msgstr ""
1314
+
1315
+ #: app/admin/RTMediaFormHandler.php:721
1316
+ msgid "Entity"
1317
+ msgstr ""
1318
+
1319
+ #: app/admin/RTMediaFormHandler.php:722
1320
+ msgid "Width"
1321
+ msgstr ""
1322
+
1323
+ #: app/admin/RTMediaFormHandler.php:723
1324
+ msgid "Height"
1325
+ msgstr ""
1326
+
1327
+ #: app/admin/RTMediaFormHandler.php:724
1328
+ msgid "Crop"
1329
+ msgstr ""
1330
+
1331
+ #: app/admin/RTMediaFormHandler.php:777
1332
+ msgid "Number of thumbnails to generate on video upload"
1333
+ msgstr ""
1334
+
1335
+ #: app/admin/RTMediaFormHandler.php:783
1336
+ msgid ""
1337
+ " If you choose more than 1 thumbnail, your users will be able to change the "
1338
+ "thumbnail by going to video 'edit' section. Maximum value is 10."
1339
+ msgstr ""
1340
+
1341
+ #: app/admin/RTMediaFormHandler.php:791
1342
+ msgid "Encoding Settings"
1343
+ msgstr ""
1344
+
1345
+ #: app/admin/RTMediaFormHandler.php:798
1346
+ msgid "JPEG/JPG image quality (1-100)"
1347
+ msgstr ""
1348
+
1349
+ #: app/admin/RTMediaFormHandler.php:804
1350
+ msgid ""
1351
+ "Enter JPEG/JPG Image Quality. Minimum value is 1. 100 is original quality."
1352
+ msgstr ""
1353
+
1354
+ #: app/admin/RTMediaFormHandler.php:812
1355
+ msgid "Image Quality"
1356
+ msgstr ""
1357
+
1358
+ #: app/admin/RTMediaFormHandler.php:834
1359
+ msgid "Custom CSS settings"
1360
+ msgstr ""
1361
+
1362
+ #: app/admin/RTMediaFormHandler.php:853
1363
+ msgid "rtMedia default styles"
1364
+ msgstr ""
1365
+
1366
+ #: app/admin/RTMediaFormHandler.php:859
1367
+ msgid ""
1368
+ "Load default rtMedia styles. You need to write your own style for rtMedia if "
1369
+ "you disable it."
1370
+ msgstr ""
1371
+
1372
+ #: app/admin/RTMediaFormHandler.php:864
1373
+ msgid "Paste your CSS code"
1374
+ msgstr ""
1375
+
1376
+ #: app/admin/RTMediaFormHandler.php:870
1377
+ msgid "Custom rtMedia CSS container"
1378
+ msgstr ""
1379
+
1380
+ #: app/admin/RTMediaFormHandler.php:893
1381
+ msgid "Enable privacy"
1382
+ msgstr ""
1383
+
1384
+ #: app/admin/RTMediaFormHandler.php:899
1385
+ msgid "Enable privacy in rtMedia"
1386
+ msgstr ""
1387
+
1388
+ #: app/admin/RTMediaFormHandler.php:904
1389
+ msgid "Default privacy"
1390
+ msgstr ""
1391
+
1392
+ #: app/admin/RTMediaFormHandler.php:910
1393
+ msgid "Set default privacy for media"
1394
+ msgstr ""
1395
+
1396
+ #: app/admin/RTMediaFormHandler.php:916
1397
+ msgid "Allow users to set privacy for their content"
1398
+ msgstr ""
1399
+
1400
+ #: app/admin/RTMediaFormHandler.php:921
1401
+ msgid ""
1402
+ "If you choose this, users will be able to change privacy of their own "
1403
+ "uploads."
1404
+ msgstr ""
1405
+
1406
+ #: app/admin/RTMediaFormHandler.php:925
1407
+ msgid "For group uploads, BuddyPress groups privacy is used."
1408
+ msgstr ""
1409
+
1410
+ #: app/admin/RTMediaFormHandler.php:967
1411
+ msgid "Enable media in profile"
1412
+ msgstr ""
1413
+
1414
+ #: app/admin/RTMediaFormHandler.php:972
1415
+ msgid "Enable Media on BuddyPress Profile"
1416
+ msgstr ""
1417
+
1418
+ #: app/admin/RTMediaFormHandler.php:977
1419
+ msgid "Enable media in group"
1420
+ msgstr ""
1421
+
1422
+ #: app/admin/RTMediaFormHandler.php:982
1423
+ msgid "Enable Media on BuddyPress Groups"
1424
+ msgstr ""
1425
+
1426
+ #: app/admin/RTMediaFormHandler.php:987
1427
+ msgid "Allow upload from activity stream"
1428
+ msgstr ""
1429
+
1430
+ #: app/admin/RTMediaFormHandler.php:992
1431
+ msgid "Allow upload using status update box present on activity stream page"
1432
+ msgstr ""
1433
+
1434
+ #: app/admin/RTMediaFormHandler.php:998
1435
+ msgid "Number of media items to show in activity stream"
1436
+ msgstr ""
1437
+
1438
+ #: app/admin/RTMediaFormHandler.php:1003
1439
+ msgid ""
1440
+ "With bulk uploads activity, the stream may get flooded. You can control the "
1441
+ "maximum number of media items or files per activity. This limit will not "
1442
+ "affect the actual number of uploads. This is only for display. <em>0</em> "
1443
+ "means unlimited."
1444
+ msgstr ""
1445
+
1446
+ #: app/admin/RTMediaFormHandler.php:1010
1447
+ msgid "Organize media into albums"
1448
+ msgstr ""
1449
+
1450
+ #: app/admin/RTMediaFormHandler.php:1016
1451
+ msgid ""
1452
+ "This will add 'album' tab to BuddyPress profile and group depending on the "
1453
+ "^above^ settings."
1454
+ msgstr ""
1455
+
1456
+ #: app/admin/RTMediaAdmin.php:127
1457
+ #, php-format
1458
+ msgid "View &#8220;%s&#8221;"
1459
+ msgstr ""
1460
+
1461
+ #: app/admin/RTMediaAdmin.php:127
1462
+ msgid "View"
1463
+ msgstr ""
1464
+
1465
+ #: app/admin/RTMediaAdmin.php:369
1466
+ msgid " You must"
1467
+ msgstr ""
1468
+
1469
+ #: app/admin/RTMediaAdmin.php:369
1470
+ msgid "update permalink structure"
1471
+ msgstr ""
1472
+
1473
+ #: app/admin/RTMediaAdmin.php:369
1474
+ msgid "to something other than the default for it to work."
1475
+ msgstr ""
1476
+
1477
+ #: app/admin/RTMediaAdmin.php:395
1478
+ msgid "rtMedia:"
1479
+ msgstr ""
1480
+
1481
+ #: app/admin/RTMediaAdmin.php:395
1482
+ msgid ""
1483
+ "Please update all premium add-ons that you have purchased from rtCamp from"
1484
+ msgstr ""
1485
+
1486
+ #: app/admin/RTMediaAdmin.php:395
1487
+ msgid "your account"
1488
+ msgstr ""
1489
+
1490
+ #: app/admin/RTMediaAdmin.php:395
1491
+ msgid "Dismiss"
1492
+ msgstr ""
1493
+
1494
+ #: app/admin/RTMediaAdmin.php:508
1495
+ msgid "rtMedia Pro is released"
1496
+ msgstr ""
1497
+
1498
+ #: app/admin/RTMediaAdmin.php:529
1499
+ msgid "Media Stats"
1500
+ msgstr ""
1501
+
1502
+ #: app/admin/RTMediaAdmin.php:556
1503
+ msgid "Usage Stats"
1504
+ msgstr ""
1505
+
1506
+ #: app/admin/RTMediaAdmin.php:565
1507
+ msgid "Total "
1508
+ msgstr ""
1509
+
1510
+ #: app/admin/RTMediaAdmin.php:573
1511
+ msgid "With Media"
1512
+ msgstr ""
1513
+
1514
+ #: app/admin/RTMediaAdmin.php:581
1515
+ msgid "Comments "
1516
+ msgstr ""
1517
+
1518
+ #: app/admin/RTMediaAdmin.php:600
1519
+ msgid "rtMedia Links:"
1520
+ msgstr ""
1521
+
1522
+ #: app/admin/RTMediaAdmin.php:601
1523
+ msgid "Homepage"
1524
+ msgstr ""
1525
+
1526
+ #: app/admin/RTMediaAdmin.php:602
1527
+ msgid "Free Support"
1528
+ msgstr ""
1529
+
1530
+ #: app/admin/RTMediaAdmin.php:603
1531
+ msgid "Premium Addons"
1532
+ msgstr ""
1533
+
1534
+ #: app/admin/RTMediaAdmin.php:619
1535
+ msgid "Right Now in rtMedia"
1536
+ msgstr ""
1537
+
1538
+ #: app/admin/RTMediaAdmin.php:673 app/admin/RTMediaAdmin.php:882
1539
+ msgid "Regenerate Thumbnail"
1540
+ msgstr ""
1541
+
1542
+ #: app/admin/RTMediaAdmin.php:714 app/admin/RTMediaAdmin.php:1368
1543
+ #: app/admin/RTMediaAdmin.php:1369
1544
+ msgid "rtMedia"
1545
+ msgstr ""
1546
+
1547
+ #: app/admin/RTMediaAdmin.php:721 app/admin/RTMediaAdmin.php:724
1548
+ #: app/admin/RTMediaAdmin.php:870 app/admin/RTMediaAdmin.php:1398
1549
+ msgid "Settings"
1550
+ msgstr ""
1551
+
1552
+ #: app/admin/RTMediaAdmin.php:732 app/admin/RTMediaAdmin.php:735
1553
+ #: app/admin/RTMediaAdmin.php:871 app/admin/RTMediaAdmin.php:1402
1554
+ msgid "Addons"
1555
+ msgstr ""
1556
+
1557
+ #: app/admin/RTMediaAdmin.php:743 app/admin/RTMediaAdmin.php:746
1558
+ #: app/admin/RTMediaAdmin.php:872 app/admin/RTMediaAdmin.php:1414
1559
+ #: app/helper/RTMediaSupport.php:51 app/helper/RTMediaSupport.php:52
1560
+ #: app/helper/RTMediaSettings.php:207
1561
+ msgid "Support"
1562
+ msgstr ""
1563
+
1564
+ #: app/admin/RTMediaAdmin.php:754 app/admin/RTMediaAdmin.php:757
1565
+ #: app/admin/RTMediaAdmin.php:873 app/admin/RTMediaAdmin.php:1406
1566
+ msgid "Themes"
1567
+ msgstr ""
1568
+
1569
+ #: app/admin/RTMediaAdmin.php:765 app/admin/RTMediaAdmin.php:768
1570
+ #: app/admin/RTMediaAdmin.php:874 app/admin/RTMediaAdmin.php:1410
1571
+ msgid "Hire Us"
1572
+ msgstr ""
1573
+
1574
+ #: app/admin/RTMediaAdmin.php:777 app/admin/RTMediaAdmin.php:780
1575
+ #: app/admin/RTMediaAdmin.php:876 app/admin/RTMediaAdmin.php:1422
1576
+ msgid "Licenses"
1577
+ msgstr ""
1578
+
1579
+ #: app/admin/RTMediaAdmin.php:831
1580
+ msgid "ON"
1581
+ msgstr ""
1582
+
1583
+ #: app/admin/RTMediaAdmin.php:832
1584
+ msgid "OFF"
1585
+ msgstr ""
1586
+
1587
+ #: app/admin/RTMediaAdmin.php:838
1588
+ msgid "Please do not refresh this page."
1589
+ msgstr ""
1590
+
1591
+ #: app/admin/RTMediaAdmin.php:839
1592
+ msgid ""
1593
+ "Something went wrong. Please <a href onclick=\"location.reload();\">refresh</"
1594
+ "a> page."
1595
+ msgstr ""
1596
+
1597
+ #: app/admin/RTMediaAdmin.php:840
1598
+ msgid "This will subscribe you to the free plan."
1599
+ msgstr ""
1600
+
1601
+ #: app/admin/RTMediaAdmin.php:841
1602
+ msgid "Are you sure you want to disable the encoding service?"
1603
+ msgstr ""
1604
+
1605
+ #: app/admin/RTMediaAdmin.php:842
1606
+ msgid "Are you sure you want to enable the encoding service?"
1607
+ msgstr ""
1608
+
1609
+ #: app/admin/RTMediaAdmin.php:882
1610
+ msgid "Regen. Thumbnail "
1611
+ msgstr ""
1612
+
1613
+ #: app/admin/RTMediaAdmin.php:900 app/admin/RTMediaAdmin.php:1879
1614
+ msgid "Regenerate Video Thumbnails"
1615
+ msgstr ""
1616
+
1617
+ #: app/admin/RTMediaAdmin.php:918
1618
+ msgid "Regenerate Pending Thumbnails"
1619
+ msgstr ""
1620
+
1621
+ #: app/admin/RTMediaAdmin.php:928
1622
+ msgid "Total Videos"
1623
+ msgstr ""
1624
+
1625
+ #: app/admin/RTMediaAdmin.php:931
1626
+ msgid "Sent of regenerate thumbails"
1627
+ msgstr ""
1628
+
1629
+ #: app/admin/RTMediaAdmin.php:933
1630
+ msgid "Fail to regenerate thumbails"
1631
+ msgstr ""
1632
+
1633
+ #: app/admin/RTMediaAdmin.php:972
1634
+ msgid "Regenerate Video Thumbnails Done"
1635
+ msgstr ""
1636
+
1637
+ #: app/admin/RTMediaAdmin.php:1016
1638
+ #, php-format
1639
+ msgid ""
1640
+ "You have %s videos without thumbnails. Click <a href='%s'> here </a> to "
1641
+ "generate thumbnails. <a href='#' onclick='rtmedia_hide_video_thumb_notice()' "
1642
+ "style='float:right'>Hide</a>"
1643
+ msgstr ""
1644
+
1645
+ #: app/admin/RTMediaAdmin.php:1094
1646
+ msgid "not a video ..."
1647
+ msgstr ""
1648
+
1649
+ #: app/admin/RTMediaAdmin.php:1259
1650
+ msgid "Empowering The Web With WordPress"
1651
+ msgstr ""
1652
+
1653
+ #: app/admin/RTMediaAdmin.php:1279
1654
+ msgid "Settings saved successfully!"
1655
+ msgstr ""
1656
+
1657
+ #: app/admin/RTMediaAdmin.php:1282 app/admin/RTMediaAdmin.php:1305
1658
+ msgid "Save Settings"
1659
+ msgstr ""
1660
+
1661
+ #: app/admin/RTMediaAdmin.php:1504 app/admin/RTMediaAdmin.php:1505
1662
+ msgid "Display"
1663
+ msgstr ""
1664
+
1665
+ #: app/admin/RTMediaAdmin.php:1513
1666
+ msgid "rtMedia BuddyPress"
1667
+ msgstr ""
1668
+
1669
+ #: app/admin/RTMediaAdmin.php:1514
1670
+ msgid "BuddyPress"
1671
+ msgstr ""
1672
+
1673
+ #: app/admin/RTMediaAdmin.php:1522
1674
+ msgid "rtMedia Types"
1675
+ msgstr ""
1676
+
1677
+ #: app/admin/RTMediaAdmin.php:1523
1678
+ msgid "Types"
1679
+ msgstr ""
1680
+
1681
+ #: app/admin/RTMediaAdmin.php:1530
1682
+ msgid "rtMedia Sizes"
1683
+ msgstr ""
1684
+
1685
+ #: app/admin/RTMediaAdmin.php:1531
1686
+ msgid "Media Sizes"
1687
+ msgstr ""
1688
+
1689
+ #: app/admin/RTMediaAdmin.php:1538
1690
+ msgid "rtMedia Privacy"
1691
+ msgstr ""
1692
+
1693
+ #: app/admin/RTMediaAdmin.php:1545
1694
+ msgid "rtMedia Custom CSS"
1695
+ msgstr ""
1696
+
1697
+ #: app/admin/RTMediaAdmin.php:1546
1698
+ msgid "Custom CSS"
1699
+ msgstr ""
1700
+
1701
+ #: app/admin/RTMediaAdmin.php:1555 app/admin/RTMediaAdmin.php:1556
1702
+ msgid "Other Settings"
1703
+ msgstr ""
1704
+
1705
+ #: app/admin/RTMediaAdmin.php:1651
1706
+ #, php-format
1707
+ msgid "I use @rtMediaWP http://rt.cx/rtmedia on %s"
1708
+ msgstr ""
1709
+
1710
+ #: app/admin/RTMediaAdmin.php:1653
1711
+ msgid "Post to Twitter Now"
1712
+ msgstr ""
1713
+
1714
+ #: app/admin/RTMediaAdmin.php:1653
1715
+ msgid "Post to Twitter"
1716
+ msgstr ""
1717
+
1718
+ #: app/admin/RTMediaAdmin.php:1654
1719
+ msgid "Share on Facebook Now"
1720
+ msgstr ""
1721
+
1722
+ #: app/admin/RTMediaAdmin.php:1654
1723
+ msgid "Share on Facebook"
1724
+ msgstr ""
1725
+
1726
+ #: app/admin/RTMediaAdmin.php:1655
1727
+ msgid "Rate rtMedia on Wordpress.org"
1728
+ msgstr ""
1729
+
1730
+ #: app/admin/RTMediaAdmin.php:1655
1731
+ msgid "Rate on Wordpress.org"
1732
+ msgstr ""
1733
+
1734
+ #: app/admin/RTMediaAdmin.php:1656
1735
+ msgid "Subscribe to our Feeds"
1736
+ msgstr ""
1737
+
1738
+ #: app/admin/RTMediaAdmin.php:1659
1739
+ msgid "Spread the Word"
1740
+ msgstr ""
1741
+
1742
+ #: app/admin/RTMediaAdmin.php:1665 app/admin/RTMediaAdmin.php:1672
1743
+ msgid "Subscribe"
1744
+ msgstr ""
1745
+
1746
+ #: app/admin/RTMediaAdmin.php:1694
1747
+ msgid "Thank you for your time."
1748
+ msgstr ""
1749
+
1750
+ #: app/admin/RTMediaAdmin.php:1706
1751
+ msgid "Premium Add-ons"
1752
+ msgstr ""
1753
+
1754
+ #: app/admin/RTMediaAdmin.php:1722
1755
+ #, php-format
1756
+ msgid ""
1757
+ "You have images enabled on rtMedia but your network allowed filetypes do not "
1758
+ "permit uploading of %s. Click <a href=\"%s\">here</a> to change your "
1759
+ "settings manually."
1760
+ msgstr ""
1761
+
1762
+ #: app/admin/RTMediaAdmin.php:1723 app/admin/RTMediaAdmin.php:1734
1763
+ #: app/admin/RTMediaAdmin.php:1743
1764
+ msgid "Recommended"
1765
+ msgstr ""
1766
+
1767
+ #: app/admin/RTMediaAdmin.php:1723 app/admin/RTMediaAdmin.php:1734
1768
+ #: app/admin/RTMediaAdmin.php:1743
1769
+ msgid "Update Network Settings Automatically"
1770
+ msgstr ""
1771
+
1772
+ #: app/admin/RTMediaAdmin.php:1733
1773
+ #, php-format
1774
+ msgid ""
1775
+ "You have video enabled on BuddyPress Media but your network allowed "
1776
+ "filetypes do not permit uploading of mp4. Click <a href=\"%s\">here</a> to "
1777
+ "change your settings manually."
1778
+ msgstr ""
1779
+
1780
+ #: app/admin/RTMediaAdmin.php:1742
1781
+ #, php-format
1782
+ msgid ""
1783
+ "You have audio enabled on BuddyPress Media but your network allowed "
1784
+ "filetypes do not permit uploading of mp3. Click <a href=\"%s\">here</a> to "
1785
+ "change your settings manually."
1786
+ msgstr ""
1787
+
1788
+ #: app/admin/RTMediaAdmin.php:1757
1789
+ msgid "Network settings updated successfully."
1790
+ msgstr ""
1791
+
1792
+ #: app/admin/RTMediaAdmin.php:1863
1793
+ msgid "Video is sent to generate thumbnails."
1794
+ msgstr ""
1795
+
1796
+ #: app/admin/RTMediaAdmin.php:1865
1797
+ msgid "Video cannot be sent to generate thumbnails."
1798
+ msgstr ""
1799
+
1800
+ #: app/admin/RTMediaAdmin.php:1944
1801
+ msgid ""
1802
+ "Please update rtMedia template files if you have overridden the default "
1803
+ "rtMedia templates in your theme. If not, you can ignore and hide this notice."
1804
+ msgstr ""
1805
+
1806
+ #: app/admin/RTMediaAdmin.php:1944
1807
+ #: app/importers/RTMediaMediaSizeImporter.php:66
1808
+ #: app/importers/RTMediaMigration.php:64
1809
+ msgid "Hide"
1810
+ msgstr ""
1811
+
1812
+ #: app/helper/RTMediaSupport.php:58 app/helper/RTMediaSupport.php:59
1813
+ #: app/helper/RTMediaSupport.php:305 app/helper/RTMediaSupport.php:560
1814
+ msgid "Debug Info"
1815
+ msgstr ""
1816
+
1817
+ #: app/helper/RTMediaSupport.php:66 app/helper/RTMediaSupport.php:67
1818
+ #: app/importers/RTMediaMigration.php:83
1819
+ msgid "Migration"
1820
+ msgstr ""
1821
+
1822
+ #: app/helper/RTMediaSupport.php:128
1823
+ msgid "Service"
1824
+ msgstr ""
1825
+
1826
+ #: app/helper/RTMediaSupport.php:135
1827
+ msgid "Premium Support"
1828
+ msgstr ""
1829
+
1830
+ #: app/helper/RTMediaSupport.php:141
1831
+ msgid "Bug Report"
1832
+ msgstr ""
1833
+
1834
+ #: app/helper/RTMediaSupport.php:147
1835
+ msgid "New Feature"
1836
+ msgstr ""
1837
+
1838
+ #: app/helper/RTMediaSupport.php:149
1839
+ msgid "Submit"
1840
+ msgstr ""
1841
+
1842
+ #: app/helper/RTMediaSupport.php:195
1843
+ msgid "by"
1844
+ msgstr ""
1845
+
1846
+ #: app/helper/RTMediaSupport.php:195
1847
+ msgid "version"
1848
+ msgstr ""
1849
+
1850
+ #: app/helper/RTMediaSupport.php:357
1851
+ msgid "There is no media found to migrate."
1852
+ msgstr ""
1853
+
1854
+ #: app/helper/RTMediaSupport.php:363
1855
+ msgid "here to migrate media from rtMedia 2.x to rtMedia 3.0+."
1856
+ msgstr ""
1857
+
1858
+ #: app/helper/RTMediaSupport.php:392
1859
+ msgid "Submit a Bug Report"
1860
+ msgstr ""
1861
+
1862
+ #: app/helper/RTMediaSupport.php:395
1863
+ msgid "Submit a New Feature Request"
1864
+ msgstr ""
1865
+
1866
+ #: app/helper/RTMediaSupport.php:398
1867
+ msgid "Submit Support Request"
1868
+ msgstr ""
1869
+
1870
+ #: app/helper/RTMediaSupport.php:405
1871
+ msgid ""
1872
+ "If your site has some issues due to rtMedia and you want support, feel free "
1873
+ "to create a support topic on <a target=\"_blank\" href=\"http://community."
1874
+ "rtcamp.com/c/rtmedia/?"
1875
+ "utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media"
1876
+ "\">Community Forum</a>."
1877
+ msgstr ""
1878
+
1879
+ #: app/helper/RTMediaSupport.php:406
1880
+ msgid ""
1881
+ "If you have any suggestions, enhancements or bug reports, you can open a new "
1882
+ "issue on <a target=\"_blank\" href=\"https://github.com/rtCamp/rtMedia/"
1883
+ "issues/new\">GitHub</a>."
1884
+ msgstr ""
1885
+
1886
+ #: app/helper/RTMediaSupport.php:415
1887
+ msgid "Name"
1888
+ msgstr ""
1889
+
1890
+ #: app/helper/RTMediaSupport.php:420
1891
+ msgid "Use actual user name which used during purchased."
1892
+ msgstr ""
1893
+
1894
+ #: app/helper/RTMediaSupport.php:426
1895
+ msgid "Email"
1896
+ msgstr ""
1897
+
1898
+ #: app/helper/RTMediaSupport.php:431
1899
+ msgid "Use email id which used during purchased"
1900
+ msgstr ""
1901
+
1902
+ #: app/helper/RTMediaSupport.php:437
1903
+ msgid "Website"
1904
+ msgstr ""
1905
+
1906
+ #: app/helper/RTMediaSupport.php:442
1907
+ msgid "Subject"
1908
+ msgstr ""
1909
+
1910
+ #: app/helper/RTMediaSupport.php:490
1911
+ msgid "rtMedia Premium Support Request from"
1912
+ msgstr ""
1913
+
1914
+ #: app/helper/RTMediaSupport.php:493
1915
+ msgid "rtMedia New Feature Request from"
1916
+ msgstr ""
1917
+
1918
+ #: app/helper/RTMediaSupport.php:496
1919
+ msgid "rtMedia Bug Report from"
1920
+ msgstr ""
1921
+
1922
+ #: app/helper/RTMediaSupport.php:499
1923
+ msgid "rtMedia Contact from"
1924
+ msgstr ""
1925
+
1926
+ #: app/helper/RTMediaSupport.php:582
1927
+ msgid "Thank you for your Feedback/Suggestion."
1928
+ msgstr ""
1929
+
1930
+ #: app/helper/RTMediaSupport.php:584
1931
+ msgid "Thank you for posting your support request."
1932
+ msgstr ""
1933
+
1934
+ #: app/helper/RTMediaSupport.php:585
1935
+ msgid "We will get back to you shortly."
1936
+ msgstr ""
1937
+
1938
+ #: app/helper/RTMediaSupport.php:590
1939
+ msgid "Your server failed to send an email."
1940
+ msgstr ""
1941
+
1942
+ #: app/helper/RTMediaSupport.php:591
1943
+ msgid "Kindly contact your server support to fix this."
1944
+ msgstr ""
1945
+
1946
+ #: app/helper/RTMediaSupport.php:592
1947
+ #, php-format
1948
+ msgid "You can alternatively create a support request <a href=\"%s\">here</a>"
1949
+ msgstr ""
1950
+
1951
+ #: app/helper/RTMediaAddon.php:79 app/helper/RTMediaAddon.php:80
1952
+ msgid "Plugins"
1953
+ msgstr ""
1954
+
1955
+ #: app/helper/RTMediaAddon.php:87 app/helper/RTMediaAddon.php:88
1956
+ msgid "Audio/Video Encoding"
1957
+ msgstr ""
1958
+
1959
+ #: app/helper/RTMediaAddon.php:111
1960
+ msgid "SEO"
1961
+ msgstr ""
1962
+
1963
+ #: app/helper/RTMediaAddon.php:114
1964
+ msgid ""
1965
+ "Generate an XML sitemap for all the public media files uploaded via rtMedia "
1966
+ "plugin. These sitemaps can be useful to index search engine to improve "
1967
+ "website SEO."
1968
+ msgstr ""
1969
+
1970
+ #: app/helper/RTMediaAddon.php:121
1971
+ msgid "Moderation"
1972
+ msgstr ""
1973
+
1974
+ #: app/helper/RTMediaAddon.php:124
1975
+ msgid ""
1976
+ "Report media if they find offensive. Set number of reports to automatically "
1977
+ "take down media from site."
1978
+ msgstr ""
1979
+
1980
+ #: app/helper/RTMediaAddon.php:132
1981
+ msgid "Custom Attributes"
1982
+ msgstr ""
1983
+
1984
+ #: app/helper/RTMediaAddon.php:135
1985
+ msgid ""
1986
+ "Categories media based on attributes. Site owner need to create attributes. "
1987
+ "When user upload a media, can select in which attribute that media can add."
1988
+ msgstr ""
1989
+
1990
+ #: app/helper/RTMediaAddon.php:143
1991
+ msgid "Docs and Other files"
1992
+ msgstr ""
1993
+
1994
+ #: app/helper/RTMediaAddon.php:146
1995
+ msgid ""
1996
+ "Allow users to upload documents and other file type using rtMedia upload "
1997
+ "box. This addon support all the file extensions which WordPress allows."
1998
+ msgstr ""
1999
+
2000
+ #: app/helper/RTMediaAddon.php:154
2001
+ msgid "Default Albums"
2002
+ msgstr ""
2003
+
2004
+ #: app/helper/RTMediaAddon.php:157
2005
+ msgid ""
2006
+ "This plugin allows the creation of multiple default albums for rtMedia "
2007
+ "uploads. One of these albums can be set as the default global album."
2008
+ msgstr ""
2009
+
2010
+ #: app/helper/RTMediaAddon.php:165
2011
+ msgid "Podcast (RSS and Atom feeds)"
2012
+ msgstr ""
2013
+
2014
+ #: app/helper/RTMediaAddon.php:168
2015
+ msgid ""
2016
+ "Read rtMedia uploads from iTunes as well as any RSS feed-reader/podcasting "
2017
+ "software."
2018
+ msgstr ""
2019
+
2020
+ #: app/helper/RTMediaAddon.php:176
2021
+ msgid "Playlists"
2022
+ msgstr ""
2023
+
2024
+ #: app/helper/RTMediaAddon.php:179
2025
+ msgid ""
2026
+ "Audio can be grouped into playlists. Once the user upload any audio file, "
2027
+ "can create a playlist or use existing one to manage audio files."
2028
+ msgstr ""
2029
+
2030
+ #: app/helper/RTMediaAddon.php:187
2031
+ msgid "Favorites"
2032
+ msgstr ""
2033
+
2034
+ #: app/helper/RTMediaAddon.php:190
2035
+ msgid ""
2036
+ "Users can create their list of favorite media in which they can add media "
2037
+ "previously uploaded by any user."
2038
+ msgstr ""
2039
+
2040
+ #: app/helper/RTMediaAddon.php:198
2041
+ msgid "Restrictions"
2042
+ msgstr ""
2043
+
2044
+ #: app/helper/RTMediaAddon.php:201
2045
+ msgid ""
2046
+ "Site admin can set an upload limit on the basis of time span, file size (MB) "
2047
+ "and number of files user can upload."
2048
+ msgstr ""
2049
+
2050
+ #: app/helper/RTMediaAddon.php:209
2051
+ msgid "bbPress Attachments"
2052
+ msgstr ""
2053
+
2054
+ #: app/helper/RTMediaAddon.php:212
2055
+ msgid "Attach media files to bbPress forum topics and replies."
2056
+ msgstr ""
2057
+
2058
+ #: app/helper/RTMediaAddon.php:220
2059
+ msgid "WordPress Sitewide Gallery"
2060
+ msgstr ""
2061
+
2062
+ #: app/helper/RTMediaAddon.php:223
2063
+ msgid ""
2064
+ "Site admin can create and upload media into WordPress album. Create album "
2065
+ "without being dependent on BuddyPress."
2066
+ msgstr ""
2067
+
2068
+ #: app/helper/RTMediaAddon.php:231
2069
+ msgid "WordPress Comment Attachments"
2070
+ msgstr ""
2071
+
2072
+ #: app/helper/RTMediaAddon.php:234
2073
+ msgid ""
2074
+ "Allow users to upload a media file in WordPress comment attachment box. It "
2075
+ "will display a thumbnail of attached file."
2076
+ msgstr ""
2077
+
2078
+ #: app/helper/RTMediaAddon.php:242
2079
+ msgid "Social Sharing"
2080
+ msgstr ""
2081
+
2082
+ #: app/helper/RTMediaAddon.php:245
2083
+ msgid ""
2084
+ "Share uploaded media on social network sites like Facebook, twitter, "
2085
+ "linkedin, Google +. This addon integrate with rtSocial plugin."
2086
+ msgstr ""
2087
+
2088
+ #: app/helper/RTMediaAddon.php:253
2089
+ msgid "Sidebar Widgets"
2090
+ msgstr ""
2091
+
2092
+ #: app/helper/RTMediaAddon.php:256
2093
+ msgid ""
2094
+ "This addon provide widgets to upload media and display gallery for rtMedia "
2095
+ "plugin."
2096
+ msgstr ""
2097
+
2098
+ #: app/helper/RTMediaAddon.php:264
2099
+ msgid "5 Star Ratings"
2100
+ msgstr ""
2101
+
2102
+ #: app/helper/RTMediaAddon.php:267
2103
+ msgid ""
2104
+ "Display 5 star rating for all the uploaded media. User can rate the media "
2105
+ "files from 1 to 5 star."
2106
+ msgstr ""
2107
+
2108
+ #: app/helper/RTMediaAddon.php:275
2109
+ msgid "Edit Mp3 Info (ID3 Tags)"
2110
+ msgstr ""
2111
+
2112
+ #: app/helper/RTMediaAddon.php:278
2113
+ msgid "Allow user to edit MP3 FIle Audio tags (ID 3 tags)."
2114
+ msgstr ""
2115
+
2116
+ #: app/helper/RTMediaAddon.php:286
2117
+ msgid "Media Sorting"
2118
+ msgstr ""
2119
+
2120
+ #: app/helper/RTMediaAddon.php:289
2121
+ msgid ""
2122
+ "Sort uploaded media based on file size, ascending/descending title, upload "
2123
+ "date of media."
2124
+ msgstr ""
2125
+
2126
+ #: app/helper/RTMediaAddon.php:297
2127
+ msgid "Bulk Edit"
2128
+ msgstr ""
2129
+
2130
+ #: app/helper/RTMediaAddon.php:300
2131
+ msgid ""
2132
+ "Bulk edit option will allow user to quickly select media files and do "
2133
+ "required actions like move files from one album to another, change "
2134
+ "attributes, change privacy, delete files."
2135
+ msgstr ""
2136
+
2137
+ #: app/helper/RTMediaAddon.php:308
2138
+ msgid "BuddyPress Profile Picture"
2139
+ msgstr ""
2140
+
2141
+ #: app/helper/RTMediaAddon.php:311
2142
+ msgid ""
2143
+ "User can easily set his/her profile picture from media uploaded via rtMedia."
2144
+ msgstr ""
2145
+
2146
+ #: app/helper/RTMediaAddon.php:319
2147
+ msgid "Album Cover Art"
2148
+ msgstr ""
2149
+
2150
+ #: app/helper/RTMediaAddon.php:322
2151
+ msgid "User can easily set any of the image of the album as album cover photo"
2152
+ msgstr ""
2153
+
2154
+ #: app/helper/RTMediaAddon.php:330
2155
+ msgid "Direct Download Link"
2156
+ msgstr ""
2157
+
2158
+ #: app/helper/RTMediaAddon.php:333
2159
+ msgid ""
2160
+ "User can download media from website. Site owner can restrict which media "
2161
+ "type can be allowed to download."
2162
+ msgstr ""
2163
+
2164
+ #: app/helper/RTMediaAddon.php:341
2165
+ msgid "Upload by URL"
2166
+ msgstr ""
2167
+
2168
+ #: app/helper/RTMediaAddon.php:344
2169
+ msgid ""
2170
+ "Users do not need to download media files from a URL and then upload it with "
2171
+ "rtMedia. Just provide the absolute URL for the media and it will upload on "
2172
+ "site."
2173
+ msgstr ""
2174
+
2175
+ #: app/helper/RTMediaAddon.php:352
2176
+ msgid "Media Likes"
2177
+ msgstr ""
2178
+
2179
+ #: app/helper/RTMediaAddon.php:355
2180
+ msgid ""
2181
+ "This add-on let you know who liked the media. User can also see which media "
2182
+ "they liked under their profile."
2183
+ msgstr ""
2184
+
2185
+ #: app/helper/RTMediaAddon.php:363
2186
+ msgid "Activity URL Preview"
2187
+ msgstr ""
2188
+
2189
+ #: app/helper/RTMediaAddon.php:366
2190
+ msgid ""
2191
+ "This addon provides a preview of the URL that is shared in BuddyPress "
2192
+ "activity. Just enter the URL you want to share on your site and see a "
2193
+ "preview of it before it is shared."
2194
+ msgstr ""
2195
+
2196
+ #: app/helper/RTMediaAddon.php:374
2197
+ msgid "View Counter"
2198
+ msgstr ""
2199
+
2200
+ #: app/helper/RTMediaAddon.php:377
2201
+ msgid ""
2202
+ "Enable view count for all the uploaded media. Whenever user open that media "
2203
+ "file in lightbox or in single media view, that view count will be calculated "
2204
+ "and display next to media file."
2205
+ msgstr ""
2206
+
2207
+ #: app/helper/RTMediaAddon.php:385
2208
+ msgid "Shortcode Generator"
2209
+ msgstr ""
2210
+
2211
+ #: app/helper/RTMediaAddon.php:388
2212
+ msgid ""
2213
+ "This add-on will add shortcode generator button in WordPress post and page "
2214
+ "editor for all the rtMedia shortcodes."
2215
+ msgstr ""
2216
+
2217
+ #: app/helper/RTMediaAddon.php:396
2218
+ msgid "Album Privacy"
2219
+ msgstr ""
2220
+
2221
+ #: app/helper/RTMediaAddon.php:399
2222
+ msgid ""
2223
+ "Set album privacy when user create an album or change album privacy when "
2224
+ "editing existing albums. The privacy levels are Public, Logged in user, "
2225
+ "Friends and Private."
2226
+ msgstr ""
2227
+
2228
+ #: app/helper/RTMediaAddon.php:407
2229
+ msgid "BuddyPress Group Media Control"
2230
+ msgstr ""
2231
+
2232
+ #: app/helper/RTMediaAddon.php:410
2233
+ msgid ""
2234
+ "This add-on allows group owner to manage media upload feature group wise."
2235
+ msgstr ""
2236
+
2237
+ #: app/helper/RTMediaAddon.php:418
2238
+ msgid "Set Custom Thumbnail for Audio/Video"
2239
+ msgstr ""
2240
+
2241
+ #: app/helper/RTMediaAddon.php:421
2242
+ msgid ""
2243
+ "Allow media owner to change the thumbnail of uploaded audio/video files. The "
2244
+ "File Upload box will be provided to change media thumbnail."
2245
+ msgstr ""
2246
+
2247
+ #: app/helper/RTMediaAddon.php:429
2248
+ msgid "myCRED"
2249
+ msgstr ""
2250
+
2251
+ #: app/helper/RTMediaAddon.php:432
2252
+ msgid ""
2253
+ "This plugin integrates rtMedia and myCRED plugin, users can be can award "
2254
+ "virtual points for various rtMedia activities, like media upload, likes, "
2255
+ "deleted etc."
2256
+ msgstr ""
2257
+
2258
+ #: app/helper/RTMediaAddon.php:440
2259
+ msgid "Upload terms"
2260
+ msgstr ""
2261
+
2262
+ #: app/helper/RTMediaAddon.php:443
2263
+ msgid ""
2264
+ "User must have to check the terms and conditions checkbox before uploading "
2265
+ "the media."
2266
+ msgstr ""
2267
+
2268
+ #: app/helper/RTMediaAddon.php:451
2269
+ msgid "CubePoints"
2270
+ msgstr ""
2271
+
2272
+ #: app/helper/RTMediaAddon.php:454
2273
+ msgid ""
2274
+ "If you are using CubePoints plugin on your website than rtMedia CubePoint "
2275
+ "add-on can be integrate with that plugin to setup point management system "
2276
+ "for rtMedia related activities."
2277
+ msgstr ""
2278
+
2279
+ #: app/helper/RTMediaAddon.php:462
2280
+ msgid "Social Sync"
2281
+ msgstr ""
2282
+
2283
+ #: app/helper/RTMediaAddon.php:465
2284
+ msgid ""
2285
+ "rtMedia Social Sync allows you to import media from your Facebook account."
2286
+ msgstr ""
2287
+
2288
+ #: app/helper/RTMediaAddon.php:473
2289
+ msgid "Photo Watermark"
2290
+ msgstr ""
2291
+
2292
+ #: app/helper/RTMediaAddon.php:476
2293
+ msgid ""
2294
+ "rtMedia Photo Watermark let you add watermark on your images uploaded using "
2295
+ "rtMedia."
2296
+ msgstr ""
2297
+
2298
+ #: app/helper/RTMediaAddon.php:484
2299
+ msgid "Photo Tagging"
2300
+ msgstr ""
2301
+
2302
+ #: app/helper/RTMediaAddon.php:487
2303
+ msgid ""
2304
+ "rtMedia Photo Tagging enable users to tag their friends on photos uploaded "
2305
+ "using rtMedia."
2306
+ msgstr ""
2307
+
2308
+ #: app/helper/RTMediaAddon.php:495
2309
+ msgid "Photo Filters"
2310
+ msgstr ""
2311
+
2312
+ #: app/helper/RTMediaAddon.php:498
2313
+ msgid ""
2314
+ "rtMedia Photo Filters adds Instagram like filters to images uploaded with "
2315
+ "rtMedia."
2316
+ msgstr ""
2317
+
2318
+ #: app/helper/RTMediaAddon.php:506
2319
+ msgid "Kaltura Add-on"
2320
+ msgstr ""
2321
+
2322
+ #: app/helper/RTMediaAddon.php:509
2323
+ msgid ""
2324
+ "Add support for more video formats using Kaltura video solution. It works "
2325
+ "with Kaltura.com, self-hosted Kaltura-CE and Kaltura-on-premise."
2326
+ msgstr ""
2327
+
2328
+ #: app/helper/RTMediaAddon.php:517
2329
+ msgid "FFMPEG Add-on"
2330
+ msgstr ""
2331
+
2332
+ #: app/helper/RTMediaAddon.php:520
2333
+ msgid ""
2334
+ "Add supports for more audio & video formats using open-source media-node. "
2335
+ "Media node comes with automated setup script for Ubuntu/Debian."
2336
+ msgstr ""
2337
+
2338
+ #: app/helper/RTMediaAddon.php:528
2339
+ msgid "Membership Add-on"
2340
+ msgstr ""
2341
+
2342
+ #: app/helper/RTMediaAddon.php:531
2343
+ msgid ""
2344
+ "rtMedia Membership add-on provides membership functionality in your site in "
2345
+ "terms of media upload."
2346
+ msgstr ""
2347
+
2348
+ #: app/helper/RTMediaAddon.php:571
2349
+ msgid "Coming Soon !!"
2350
+ msgstr ""
2351
+
2352
+ #: app/helper/RTMediaAddon.php:604
2353
+ msgid "Purchased"
2354
+ msgstr ""
2355
+
2356
+ #: app/helper/RTMediaAddon.php:606 app/helper/RTMediaThemes.php:145
2357
+ #: app/helper/RTMediaThemes.php:173 app/helper/RTMediaThemes.php:260
2358
+ #: app/helper/RTMediaThemes.php:288 app/importers/BPMediaAlbumimporter.php:178
2359
+ msgid "Buy Now"
2360
+ msgstr ""
2361
+
2362
+ #: app/helper/RTMediaAddon.php:635 app/helper/RTMediaThemes.php:144
2363
+ #: app/helper/RTMediaThemes.php:172 app/helper/RTMediaThemes.php:259
2364
+ #: app/helper/RTMediaThemes.php:287 app/importers/BPMediaAlbumimporter.php:179
2365
+ msgid "Live Demo"
2366
+ msgstr ""
2367
+
2368
+ #: app/helper/rtFormInvalidArgumentsException.php:21
2369
+ #, php-format
2370
+ msgid ""
2371
+ "Error on line %s in %s : <b>The method expects an array in arguments for %s "
2372
+ "provided.</b>"
2373
+ msgstr ""
2374
+
2375
+ #: app/helper/RTMediaAdminWidget.php:32
2376
+ msgid "Argument missing. id is required."
2377
+ msgstr ""
2378
+
2379
+ #: app/helper/RTMediaFeed.php:52
2380
+ msgid "No items"
2381
+ msgstr ""
2382
+
2383
+ #: app/helper/RTMediaFeed.php:58
2384
+ msgid "Posted "
2385
+ msgstr ""
2386
+
2387
+ #: app/helper/RTMediaUploadException.php:41
2388
+ msgid ""
2389
+ "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in "
2390
+ "the HTML form"
2391
+ msgstr ""
2392
+
2393
+ #: app/helper/RTMediaUploadException.php:44
2394
+ msgid "No file was uploaded"
2395
+ msgstr ""
2396
+
2397
+ #: app/helper/RTMediaUploadException.php:49
2398
+ msgid "Uploade failed due to internal server error."
2399
+ msgstr ""
2400
+
2401
+ #: app/helper/RTMediaUploadException.php:52
2402
+ msgid "File type not allowed."
2403
+ msgstr ""
2404
+
2405
+ #: app/helper/RTMediaUploadException.php:56
2406
+ msgid "Invalid Context for upload."
2407
+ msgstr ""
2408
+
2409
+ #: app/helper/RTMediaUploadException.php:59
2410
+ msgid "Unknown file upload error."
2411
+ msgstr ""
2412
+
2413
+ #: app/helper/RTMediaSettings.php:205
2414
+ msgid "BuddyPress Media Addons for Photos"
2415
+ msgstr ""
2416
+
2417
+ #: app/helper/RTMediaSettings.php:209
2418
+ msgid "rtMedia Themes"
2419
+ msgstr ""
2420
+
2421
+ #: app/helper/RTMediaSettings.php:282
2422
+ #, php-format
2423
+ msgid ""
2424
+ "Currently your network allows uploading of the following file types. You can "
2425
+ "change the settings <a href=\"%s\">here</a>.<br /><code>%s</code></span>"
2426
+ msgstr ""
2427
+
2428
+ #: app/helper/RTMediaSettings.php:300 app/helper/RTMediaSettings.php:302
2429
+ msgid "Recounting of media files done successfully"
2430
+ msgstr ""
2431
+
2432
+ #: app/helper/RTMediaSettings.php:302
2433
+ msgid "Recount Success"
2434
+ msgstr ""
2435
+
2436
+ #: app/helper/RTMediaSettings.php:306 app/helper/RTMediaSettings.php:308
2437
+ msgid "Recounting Failed"
2438
+ msgstr ""
2439
+
2440
+ #: app/helper/RTMediaSettings.php:308
2441
+ msgid "Recount Fail"
2442
+ msgstr ""
2443
+
2444
+ #: app/helper/RTMediaSettings.php:321 app/helper/RTMediaSettings.php:323
2445
+ msgid "Atleast one Media Type Must be selected"
2446
+ msgstr ""
2447
+
2448
+ #: app/helper/RTMediaSettings.php:332 app/helper/RTMediaSettings.php:334
2449
+ msgid "\"Number of media\" count value should be numeric and greater than 0."
2450
+ msgstr ""
2451
+
2452
+ #: app/helper/RTMediaSettings.php:334
2453
+ msgid "Default Count"
2454
+ msgstr ""
2455
+
2456
+ #: app/helper/RTMediaSettings.php:339
2457
+ msgid "Settings saved."
2458
+ msgstr ""
2459
+
2460
+ #: app/helper/RTMediaSettings.php:363
2461
+ #, php-format
2462
+ msgid ""
2463
+ "If you make changes to width, height or crop settings, you must use \"<a "
2464
+ "href=\"%s\">Regenerate Thumbnail Plugin</a>\" to regenerate old images.\""
2465
+ msgstr ""
2466
+
2467
+ #: app/helper/RTMediaSettings.php:384
2468
+ msgid "BuddyPress Media 2.6 requires a database upgrade. "
2469
+ msgstr ""
2470
+
2471
+ #: app/helper/RTMediaSettings.php:384
2472
+ msgid "Update Database"
2473
+ msgstr ""
2474
+
2475
+ #: app/helper/RTMediaSettings.php:401
2476
+ msgid ""
2477
+ "If your site has some issues due to BuddyPress Media and you want one on one "
2478
+ "support then you can create a support topic on the <a target=\"_blank\" href="
2479
+ "\"http://community.rtcamp.com/c/rtmedia?"
2480
+ "utm_source=dashboard&utm_medium=plugin&utm_campaign=rtmedia\">rtCamp Support "
2481
+ "Forum</a>."
2482
+ msgstr ""
2483
+
2484
+ #: app/helper/RTMediaSettings.php:402
2485
+ msgid ""
2486
+ "If you have any suggestions, enhancements or bug reports, then you can open "
2487
+ "a new issue on <a target=\"_blank\" href=\"https://github.com/rtCamp/rtmedia/"
2488
+ "issues/new\">GitHub</a>."
2489
+ msgstr ""
2490
+
2491
+ #: app/helper/RTMediaThemes.php:60 app/helper/RTMediaThemes.php:61
2492
+ msgid "Themes By rtCamp"
2493
+ msgstr ""
2494
+
2495
+ #: app/helper/RTMediaThemes.php:67 app/helper/RTMediaThemes.php:68
2496
+ msgid "3rd Party Themes"
2497
+ msgstr ""
2498
+
2499
+ #: app/helper/RTMediaThemes.php:105
2500
+ msgid "rtDating"
2501
+ msgstr ""
2502
+
2503
+ #: app/helper/RTMediaThemes.php:108 app/helper/RTMediaThemes.php:118
2504
+ msgid "rtCamp"
2505
+ msgstr ""
2506
+
2507
+ #: app/helper/RTMediaThemes.php:111
2508
+ msgid ""
2509
+ "rtDating is a unique, clean and modern theme only for WordPress. This theme "
2510
+ "is mostly useful for dating sites and community websites. It can also be use "
2511
+ "for any other WordPress based website."
2512
+ msgstr ""
2513
+
2514
+ #: app/helper/RTMediaThemes.php:115
2515
+ msgid "InspireBook"
2516
+ msgstr ""
2517
+
2518
+ #: app/helper/RTMediaThemes.php:121
2519
+ msgid ""
2520
+ "InspireBook is a premium WordPress theme, designed especially for BuddyPress "
2521
+ "and rtMedia powered social-networks."
2522
+ msgstr ""
2523
+
2524
+ #: app/helper/RTMediaThemes.php:139 app/helper/RTMediaThemes.php:254
2525
+ msgid "Theme Details"
2526
+ msgstr ""
2527
+
2528
+ #: app/helper/RTMediaThemes.php:151 app/helper/RTMediaThemes.php:266
2529
+ msgid "Show previous theme"
2530
+ msgstr ""
2531
+
2532
+ #: app/helper/RTMediaThemes.php:152 app/helper/RTMediaThemes.php:267
2533
+ msgid "Show next theme"
2534
+ msgstr ""
2535
+
2536
+ #: app/helper/RTMediaThemes.php:153 app/helper/RTMediaThemes.php:268
2537
+ msgid "Close overlay"
2538
+ msgstr ""
2539
+
2540
+ #: app/helper/RTMediaThemes.php:166 app/helper/RTMediaThemes.php:281
2541
+ msgid "Read More"
2542
+ msgstr ""
2543
+
2544
+ #: app/helper/RTMediaThemes.php:167 app/helper/RTMediaThemes.php:282
2545
+ msgid "Tags:"
2546
+ msgstr ""
2547
+
2548
+ #: app/helper/RTMediaThemes.php:199
2549
+ msgid "(M) SOCIAL NETWORK BUDDYPRESS THEME"
2550
+ msgstr ""
2551
+
2552
+ #: app/helper/RTMediaThemes.php:202
2553
+ msgid "gavick"
2554
+ msgstr ""
2555
+
2556
+ #: app/helper/RTMediaThemes.php:205
2557
+ msgid ""
2558
+ "(M)Social is a sophisticated, vibrant community theme that offers incredible "
2559
+ "grid layouts, with full BuddyPress support so your users can interact with "
2560
+ "each other, create their own pages, and share their thoughts and images with "
2561
+ "the community. "
2562
+ msgstr ""
2563
+
2564
+ #: app/helper/RTMediaThemes.php:209
2565
+ msgid "Klein"
2566
+ msgstr ""
2567
+
2568
+ #: app/helper/RTMediaThemes.php:212
2569
+ msgid "dunhakdis"
2570
+ msgstr ""
2571
+
2572
+ #: app/helper/RTMediaThemes.php:215
2573
+ msgid ""
2574
+ "Klein is an innovative WordPress theme built to support BuddyPress, bbPress, "
2575
+ "and WooCommerce out of the box. Perfect for websites that interacts with "
2576
+ "many users."
2577
+ msgstr ""
2578
+
2579
+ #: app/helper/RTMediaThemes.php:219
2580
+ msgid "SweetDate"
2581
+ msgstr ""
2582
+
2583
+ #: app/helper/RTMediaThemes.php:222 app/helper/RTMediaThemes.php:232
2584
+ msgid "SeventhQueen"
2585
+ msgstr ""
2586
+
2587
+ #: app/helper/RTMediaThemes.php:225
2588
+ msgid ""
2589
+ "SweetDate is a unique, clean and modern Premium Wordpress theme. It is "
2590
+ "perfect for a dating or community website but can be used as well for any "
2591
+ "other domain. They added all the things you need to create a perfect "
2592
+ "community system."
2593
+ msgstr ""
2594
+
2595
+ #: app/helper/RTMediaThemes.php:229
2596
+ msgid "KLEO"
2597
+ msgstr ""
2598
+
2599
+ #: app/helper/RTMediaThemes.php:235
2600
+ msgid ""
2601
+ "You no longer need to be a professional developer or designer to create an "
2602
+ "awesome website. Let your imagination run wild and create the site of your "
2603
+ "dreams. KLEO has all the tools to get you started."
2604
+ msgstr ""
2605
+
2606
+ #: app/helper/RTMediaThemes.php:298
2607
+ msgid ""
2608
+ "These are the third party themes. For any issues or queries regarding these "
2609
+ "themes please contact theme developers."
2610
+ msgstr ""
2611
+
2612
+ #: app/helper/RTMediaThemes.php:301
2613
+ msgid "Are you a developer?"
2614
+ msgstr ""
2615
+
2616
+ #: app/helper/RTMediaThemes.php:304
2617
+ msgid ""
2618
+ "If you have developed a rtMedia compatible theme and would like it to list "
2619
+ "here, please email us at"
2620
+ msgstr ""
2621
+
2622
+ #: app/helper/RTMediaThemes.php:305
2623
+ msgid "product@rtcamp.com"
2624
+ msgstr ""
2625
+
2626
+ #: app/helper/RTMediaLicense.php:56
2627
+ msgid "Activated"
2628
+ msgstr ""
2629
+
2630
+ #: app/helper/RTMediaLicense.php:59
2631
+ msgid "Deactivated"
2632
+ msgstr ""
2633
+
2634
+ #: app/helper/RTMediaLicense.php:68
2635
+ msgid "Status: "
2636
+ msgstr ""
2637
+
2638
+ #: app/helper/RTMediaLicense.php:77
2639
+ msgid "License Key"
2640
+ msgstr ""
2641
+
2642
+ #: app/helper/RTMediaLicense.php:88
2643
+ msgid "Activate / Deactivate License"
2644
+ msgstr ""
2645
+
2646
+ #: app/helper/RTMediaLicense.php:96
2647
+ msgid "Deactivate License"
2648
+ msgstr ""
2649
+
2650
+ #: app/helper/RTMediaLicense.php:99
2651
+ msgid "Activate License"
2652
+ msgstr ""
2653
+
2654
+ #: app/services/RTMediaEncoding.php:156
2655
+ msgid "rtMedia Encoding: Nearing quota limit."
2656
+ msgstr ""
2657
+
2658
+ #: app/services/RTMediaEncoding.php:157
2659
+ #, php-format
2660
+ msgid ""
2661
+ "<p>You are nearing the quota limit for your rtMedia encoding service.</"
2662
+ "p><p>Following are the details:</p><p><strong>Used:</strong> %s</"
2663
+ "p><p><strong>Remaining</strong>: %s</p><p><strong>Total:</strong> %s</p>"
2664
+ msgstr ""
2665
+
2666
+ #: app/services/RTMediaEncoding.php:171
2667
+ msgid "rtMedia Encoding: Usage quota over."
2668
+ msgstr ""
2669
+
2670
+ #: app/services/RTMediaEncoding.php:172
2671
+ #, php-format
2672
+ msgid ""
2673
+ "<p>Your usage quota is over. Upgrade your plan</p><p>Following are the "
2674
+ "details:</p><p><strong>Used:</strong> %s</p><p><strong>Remaining</strong>: "
2675
+ "%s</p><p><strong>Total:</strong> %s</p>"
2676
+ msgstr ""
2677
+
2678
+ #: app/services/RTMediaEncoding.php:233
2679
+ #, php-format
2680
+ msgid "You have successfully subscribed for the <strong>%s</strong> plan"
2681
+ msgstr ""
2682
+
2683
+ #: app/services/RTMediaEncoding.php:245
2684
+ msgid "Unsubscribe"
2685
+ msgstr ""
2686
+
2687
+ #: app/services/RTMediaEncoding.php:247
2688
+ msgid ""
2689
+ "Just to improve our service we would like to know the reason for you to "
2690
+ "leave us."
2691
+ msgstr ""
2692
+
2693
+ #: app/services/RTMediaEncoding.php:296 app/services/RTMediaEncoding.php:398
2694
+ msgid "Current Plan"
2695
+ msgstr ""
2696
+
2697
+ #: app/services/RTMediaEncoding.php:296
2698
+ msgid "Unsubscribed"
2699
+ msgstr ""
2700
+
2701
+ #: app/services/RTMediaEncoding.php:298
2702
+ msgid "Used"
2703
+ msgstr ""
2704
+
2705
+ #: app/services/RTMediaEncoding.php:300
2706
+ msgid "Remaining"
2707
+ msgstr ""
2708
+
2709
+ #: app/services/RTMediaEncoding.php:302
2710
+ msgid "Total"
2711
+ msgstr ""
2712
+
2713
+ #: app/services/RTMediaEncoding.php:306
2714
+ msgid "Your usage limit has been reached. Upgrade your plan."
2715
+ msgstr ""
2716
+
2717
+ #: app/services/RTMediaEncoding.php:308
2718
+ msgid "Your API key is not valid or is expired."
2719
+ msgstr ""
2720
+
2721
+ #: app/services/RTMediaEncoding.php:310
2722
+ msgid "Encoding Usage"
2723
+ msgstr ""
2724
+
2725
+ #: app/services/RTMediaEncoding.php:316
2726
+ msgid "Audio/Video encoding service"
2727
+ msgstr ""
2728
+
2729
+ #: app/services/RTMediaEncoding.php:318
2730
+ msgid "rtMedia team has started offering an audio/video encoding service."
2731
+ msgstr ""
2732
+
2733
+ #: app/services/RTMediaEncoding.php:321
2734
+ msgid "Enter API KEY"
2735
+ msgstr ""
2736
+
2737
+ #: app/services/RTMediaEncoding.php:323
2738
+ msgid "Save Key"
2739
+ msgstr ""
2740
+
2741
+ #: app/services/RTMediaEncoding.php:344
2742
+ msgid "Feature\\Plan"
2743
+ msgstr ""
2744
+
2745
+ #: app/services/RTMediaEncoding.php:345 app/services/RTMediaEncoding.php:388
2746
+ msgid "Free"
2747
+ msgstr ""
2748
+
2749
+ #: app/services/RTMediaEncoding.php:346
2750
+ msgid "Silver"
2751
+ msgstr ""
2752
+
2753
+ #: app/services/RTMediaEncoding.php:347
2754
+ msgid "Gold"
2755
+ msgstr ""
2756
+
2757
+ #: app/services/RTMediaEncoding.php:348
2758
+ msgid "Platinum"
2759
+ msgstr ""
2760
+
2761
+ #: app/services/RTMediaEncoding.php:354
2762
+ msgid "File Size Limit"
2763
+ msgstr ""
2764
+
2765
+ #: app/services/RTMediaEncoding.php:359
2766
+ msgid "Bandwidth (monthly)"
2767
+ msgstr ""
2768
+
2769
+ #: app/services/RTMediaEncoding.php:366
2770
+ msgid "Overage Bandwidth"
2771
+ msgstr ""
2772
+
2773
+ #: app/services/RTMediaEncoding.php:367 app/services/RTMediaEncoding.php:374
2774
+ #: app/services/RTMediaEncoding.php:379
2775
+ msgid "Not Available"
2776
+ msgstr ""
2777
+
2778
+ #: app/services/RTMediaEncoding.php:373
2779
+ msgid "Amazon S3 Support"
2780
+ msgstr ""
2781
+
2782
+ #: app/services/RTMediaEncoding.php:375 app/services/RTMediaEncoding.php:380
2783
+ #: app/services/RTMediaEncoding.php:384
2784
+ msgid "Coming Soon"
2785
+ msgstr ""
2786
+
2787
+ #: app/services/RTMediaEncoding.php:378
2788
+ msgid "HD Profile"
2789
+ msgstr ""
2790
+
2791
+ #: app/services/RTMediaEncoding.php:383
2792
+ msgid "Webcam Recording"
2793
+ msgstr ""
2794
+
2795
+ #: app/services/RTMediaEncoding.php:387
2796
+ msgid "Pricing"
2797
+ msgstr ""
2798
+
2799
+ #: app/services/RTMediaEncoding.php:389
2800
+ msgid "$9/month"
2801
+ msgstr ""
2802
+
2803
+ #: app/services/RTMediaEncoding.php:390
2804
+ msgid "$99/month"
2805
+ msgstr ""
2806
+
2807
+ #: app/services/RTMediaEncoding.php:391
2808
+ msgid "$999/month"
2809
+ msgstr ""
2810
+
2811
+ #: app/services/RTMediaEncoding.php:402
2812
+ msgid "Try Now"
2813
+ msgstr ""
2814
+
2815
+ #: app/services/RTMediaEncoding.php:556
2816
+ msgid "Could not read file."
2817
+ msgstr ""
2818
+
2819
+ #: app/services/RTMediaEncoding.php:560
2820
+ msgid ""
2821
+ "Something went wrong. The required attachment id does not exists. It must "
2822
+ "have been deleted."
2823
+ msgstr ""
2824
+
2825
+ #: app/services/RTMediaEncoding.php:575
2826
+ msgid "rtMedia Encoding: Download Failed"
2827
+ msgstr ""
2828
+
2829
+ #: app/services/RTMediaEncoding.php:576
2830
+ #, php-format
2831
+ msgid ""
2832
+ "<p><a href=\"%s\">Media</a> was successfully encoded but there was an error "
2833
+ "while downloading:</p>\n"
2834
+ " <p><code>%s</code></p>\n"
2835
+ " <p>You can <a href=\"%s\">retry the download</a>.</p>"
2836
+ msgstr ""
2837
+
2838
+ #: app/services/RTMediaEncoding.php:590
2839
+ msgid "Done"
2840
+ msgstr ""
2841
+
2842
+ #: app/services/RTMediaEncoding.php:615 app/services/RTMediaEncoding.php:637
2843
+ msgid "Something went wrong please try again."
2844
+ msgstr ""
2845
+
2846
+ #: app/services/RTMediaEncoding.php:634
2847
+ msgid "Your subscription was cancelled successfully"
2848
+ msgstr ""
2849
+
2850
+ #: app/services/RTMediaEncoding.php:646
2851
+ msgid "Please enter the api key."
2852
+ msgstr ""
2853
+
2854
+ #: app/services/RTMediaEncoding.php:653
2855
+ msgid "Encoding disabled successfully."
2856
+ msgstr ""
2857
+
2858
+ #: app/services/RTMediaEncoding.php:659
2859
+ msgid "Encoding enabled successfully."
2860
+ msgstr ""
2861
+
2862
+ #: app/importers/BPMediaAlbumimporter.php:71
2863
+ msgid "Warning!"
2864
+ msgstr ""
2865
+
2866
+ #: app/importers/BPMediaAlbumimporter.php:71
2867
+ #, php-format
2868
+ msgid ""
2869
+ "This import process is irreversible. Although everything is tested, please "
2870
+ "take a <a target=\"_blank\" href=\"http://codex.wordpress.org/"
2871
+ "WordPress_Backups\">backup of your database and files</a>, before "
2872
+ "proceeding. If you don't know your way around databases and files, consider "
2873
+ "<a target=\"_blank\" href=\"%s\">hiring us</a>, or another professional."
2874
+ msgstr ""
2875
+
2876
+ #: app/importers/BPMediaAlbumimporter.php:72
2877
+ msgid ""
2878
+ "If you have set \"WP_DEBUG\" in you wp-config.php file, please make sure it "
2879
+ "is set to \"false\", so that it doesn't conflict with the import process."
2880
+ msgstr ""
2881
+
2882
+ #: app/importers/BPMediaAlbumimporter.php:73
2883
+ msgid "I have taken a backup of the database and files of this site."
2884
+ msgstr ""
2885
+
2886
+ #: app/importers/BPMediaAlbumimporter.php:75
2887
+ msgid "Start Import"
2888
+ msgstr ""
2889
+
2890
+ #: app/importers/BPMediaAlbumimporter.php:80
2891
+ msgid "Users"
2892
+ msgstr ""
2893
+
2894
+ #: app/importers/BPMediaAlbumimporter.php:110
2895
+ msgid "Comments"
2896
+ msgstr ""
2897
+
2898
+ #: app/importers/BPMediaAlbumimporter.php:116
2899
+ msgid "Comments: 0/0 (No comments to import)"
2900
+ msgstr ""
2901
+
2902
+ #: app/importers/BPMediaAlbumimporter.php:123
2903
+ msgid "User's Favorites"
2904
+ msgstr ""
2905
+
2906
+ #: app/importers/BPMediaAlbumimporter.php:132
2907
+ msgid ""
2908
+ "BP-Album is active on your site and will cause problems with the import."
2909
+ msgstr ""
2910
+
2911
+ #: app/importers/BPMediaAlbumimporter.php:133
2912
+ msgid "Click here to deactivate BP-Album and continue importing"
2913
+ msgstr ""
2914
+
2915
+ #: app/importers/BPMediaAlbumimporter.php:139
2916
+ msgid ""
2917
+ "Some of the media failed to import. The file might be corrupt or deleted."
2918
+ msgstr ""
2919
+
2920
+ #: app/importers/BPMediaAlbumimporter.php:140
2921
+ #, php-format
2922
+ msgid "The following %d BP Album Media id's could not be imported"
2923
+ msgstr ""
2924
+
2925
+ #: app/importers/BPMediaAlbumimporter.php:149
2926
+ #, php-format
2927
+ msgid "I just imported bp-album to @rtMediaWP http://rt.cx/rtmedia on %s"
2928
+ msgstr ""
2929
+
2930
+ #: app/importers/BPMediaAlbumimporter.php:150
2931
+ msgid "Congratulations!"
2932
+ msgstr ""
2933
+
2934
+ #: app/importers/BPMediaAlbumimporter.php:150
2935
+ msgid "All media from BP Album has been imported."
2936
+ msgstr ""
2937
+
2938
+ #: app/importers/BPMediaAlbumimporter.php:151
2939
+ msgid "Tweet this"
2940
+ msgstr ""
2941
+
2942
+ #: app/importers/BPMediaAlbumimporter.php:155
2943
+ msgid ""
2944
+ "However, a lot of unnecessary files and a database table are still eating up "
2945
+ "your resources. If everything seems fine, you can clean this data up."
2946
+ msgstr ""
2947
+
2948
+ #: app/importers/BPMediaAlbumimporter.php:158
2949
+ msgid "Clean up Now"
2950
+ msgstr ""
2951
+
2952
+ #: app/importers/BPMediaAlbumimporter.php:161
2953
+ msgid "Clean up Later"
2954
+ msgstr ""
2955
+
2956
+ #: app/importers/BPMediaAlbumimporter.php:166
2957
+ msgid "Why don't you try adding some instagram like effects to your images?"
2958
+ msgstr ""
2959
+
2960
+ #: app/importers/BPMediaAlbumimporter.php:173
2961
+ msgid ""
2962
+ "BuddyPress Media Instagram adds Instagram like filters to images uploaded "
2963
+ "with BuddyPress Media."
2964
+ msgstr ""
2965
+
2966
+ #: app/importers/BPMediaAlbumimporter.php:174
2967
+ msgid "Important"
2968
+ msgstr ""
2969
+
2970
+ #: app/importers/BPMediaAlbumimporter.php:174
2971
+ msgid ""
2972
+ "You need to have ImageMagick installed on your server for this addon to work."
2973
+ msgstr ""
2974
+
2975
+ #: app/importers/BPMediaAlbumimporter.php:184
2976
+ msgid ""
2977
+ "Looks like you don't use BP Album. Is there any other BuddyPress Plugin you "
2978
+ "want an importer for?"
2979
+ msgstr ""
2980
+
2981
+ #: app/importers/BPMediaAlbumimporter.php:185
2982
+ #, php-format
2983
+ msgid "<a href=\"%s\">Create an issue</a> on GitHub requesting the same."
2984
+ msgstr ""
2985
+
2986
+ #: app/importers/RTMediaMediaSizeImporter.php:25
2987
+ msgid "Media Size Import"
2988
+ msgstr ""
2989
+
2990
+ #: app/importers/RTMediaActivityUpgrade.php:20
2991
+ msgid "Media activity upgrade"
2992
+ msgstr ""
2993
+
2994
+ #: app/importers/RTMediaMigration.php:64
2995
+ msgid "Please Migrate your Database"
2996
+ msgstr ""
2997
+
2998
+ #: app/importers/RTMediaMigration.php:64
2999
+ msgid "Click Here"
3000
+ msgstr ""
3001
+
3002
+ #: app/importers/RTMediaMigration.php:375
3003
+ msgid ""
3004
+ "Please Backup your <strong>DATABASE</strong> and <strong>UPLOAD</strong> "
3005
+ "folder before Migration."
3006
+ msgstr ""
3007
+
3008
+ #: app/importers/RTMediaMigration.php:383
3009
+ msgid "rtMedia Migration"
3010
+ msgstr ""
3011
+
3012
+ #: app/importers/RTMediaMigration.php:385
3013
+ msgid "It will migrate following things"
3014
+ msgstr ""
3015
+
3016
+ #: app/importers/RTMediaMigration.php:453
3017
+ msgid "Error During Migration, Please Refresh Page then try again"
3018
+ msgstr ""
3019
+
3020
+ #: app/importers/RTMediaMigration.php:473
3021
+ msgid "Start"
3022
+ msgstr ""
3023
+
3024
+ #: app/importers/RTMediaMigration.php:1024
3025
+ msgid " day"
3026
+ msgstr ""
3027
+
3028
+ #: app/importers/RTMediaMigration.php:1028
3029
+ msgid " hour"
3030
+ msgstr ""
3031
+
3032
+ #: app/importers/RTMediaMigration.php:1032
3033
+ msgid " minute"
3034
+ msgstr ""
3035
+
3036
+ #: app/importers/RTMediaMigration.php:1036
3037
+ msgid " second"
3038
+ msgstr ""
3039
+
3040
+ #: app/importers/RTMediaMigration.php:1042
3041
+ msgid "No time remaining."
3042
+ msgstr ""
3043
+
3044
+ #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:3
3045
+ #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:5
3046
+ #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:9
3047
+ #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:10
3048
+ #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:14
3049
+ #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:15
3050
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:3
3051
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:5
3052
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:9
3053
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:10
3054
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:14
3055
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:15
3056
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:3
3057
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:5
3058
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:9
3059
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:10
3060
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:14
3061
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:15
3062
+ #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:4
3063
+ #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:6
3064
+ #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:10
3065
+ #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:11
3066
+ #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:15
3067
+ #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:16
3068
+ #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:3
3069
+ #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:5
3070
+ #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:9
3071
+ #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:10
3072
+ #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:14
3073
+ #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:15
3074
+ #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:3
3075
+ #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:5
3076
+ #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:9
3077
+ #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:10
3078
+ #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:14
3079
+ #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:15
3080
+ #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:4
3081
+ #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:6
3082
+ #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:10
3083
+ #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:11
3084
+ #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:15
3085
+ #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:16
3086
+ msgid "Hello World"
3087
+ msgstr ""
3088
+
3089
+ #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:4
3090
+ #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:6
3091
+ #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:11
3092
+ #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:16
3093
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:4
3094
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:6
3095
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:11
3096
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:16
3097
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:4
3098
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:6
3099
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:11
3100
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:16
3101
+ #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:5
3102
+ #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:7
3103
+ #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:12
3104
+ #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:17
3105
+ #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:4
3106
+ #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:6
3107
+ #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:11
3108
+ #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:16
3109
+ #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:4
3110
+ #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:6
3111
+ #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:11
3112
+ #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:16
3113
+ #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:5
3114
+ #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:7
3115
+ #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:12
3116
+ #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:17
3117
+ msgctxt "verb"
3118
+ msgid "Post"
3119
+ msgstr ""
3120
+
3121
+ #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:20
3122
+ #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:24
3123
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:20
3124
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:24
3125
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:20
3126
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:24
3127
+ #: node_modules/grunt-checktextdomain/test/fixtures/plurals.php:3
3128
+ #: node_modules/grunt-checktextdomain/test/fixtures/plurals.php:8
3129
+ #: node_modules/grunt-checktextdomain/test/fixtures/plurals.php:15
3130
+ #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:21
3131
+ #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:25
3132
+ #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:20
3133
+ #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:24
3134
+ #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:20
3135
+ #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:24
3136
+ #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:21
3137
+ #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:25
3138
+ #, php-format
3139
+ msgid "%d apple"
3140
+ msgid_plural "%d apples"
3141
+ msgstr[0] ""
3142
+ msgstr[1] ""
3143
+
3144
+ #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:25
3145
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:21
3146
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:25
3147
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:21
3148
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:25
3149
+ #: node_modules/grunt-checktextdomain/test/fixtures/plurals.php:4
3150
+ #: node_modules/grunt-checktextdomain/test/fixtures/plurals.php:9
3151
+ #: node_modules/grunt-checktextdomain/test/fixtures/plurals.php:16
3152
+ #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:22
3153
+ #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:26
3154
+ #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:21
3155
+ #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:25
3156
+ #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:21
3157
+ #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:25
3158
+ #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:22
3159
+ #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:26
3160
+ #, php-format
3161
+ msgctxt "noun, job positions"
3162
+ msgid "%d post"
3163
+ msgid_plural "%d posts"
3164
+ msgstr[0] ""
3165
+ msgstr[1] ""
3166
+
3167
+ #: node_modules/grunt-wp-i18n/test/fixtures/translator-comments/translator-comments.php:7
3168
+ msgid "A"
3169
+ msgstr ""
3170
+
3171
+ #: node_modules/grunt-wp-i18n/test/fixtures/translator-comments/translator-comments.php:15
3172
+ msgid "B"
3173
+ msgstr ""
3174
+
3175
+ #: node_modules/grunt-wp-i18n/test/fixtures/plugin-include/plugin-include.php:6
3176
+ #: node_modules/grunt-wp-i18n/test/fixtures/basic-theme/exclude/file.php:3
3177
+ msgid "Exclude"
3178
+ msgstr ""
3179
+
3180
+ #: node_modules/grunt-wp-i18n/test/fixtures/plugin-include/include/file.php:2
3181
+ msgid "Include"
3182
+ msgstr ""
3183
+
3184
+ #: node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-domains.php:2
3185
+ #: node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-domains.php:3
3186
+ #: node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:2
3187
+ #: node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:3
3188
+ #: node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:4
3189
+ #: node_modules/grunt-wp-i18n/test/fixtures/text-domains/add-domain.php:2
3190
+ msgid "String"
3191
+ msgstr ""
3192
+
3193
+ #: node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:6
3194
+ #: node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:7
3195
+ #: node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:8
3196
+ msgctxt "a string"
3197
+ msgid "String"
3198
+ msgstr ""
3199
+
3200
+ #: node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:9
3201
+ #: node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:10
3202
+ #: node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:11
3203
+ #, php-format
3204
+ msgid "1 Star"
3205
+ msgid_plural "%s Stars"
3206
+ msgstr[0] ""
3207
+ msgstr[1] ""
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: 4.3.1
9
- Stable tag: 3.8.20
10
 
11
  Add albums, photo, audio/video encoding, privacy, sharing, front-end uploads & more. All this works on mobile/tablets devices.
12
 
@@ -140,6 +140,9 @@ http://www.youtube.com/watch?v=dJrykKQGDcs
140
 
141
  == Changelog ==
142
 
 
 
 
143
  = 3.8.20 =
144
  * Fix getid3 related issue
145
  * Other bug fixes
@@ -1081,8 +1084,8 @@ http://www.youtube.com/watch?v=dJrykKQGDcs
1081
 
1082
  == Upgrade Notice ==
1083
 
1084
- = 3.8.20 =
1085
- Requires BuddyPress 1.7 or higher, if using BuddyPress. Fix getid3 related issue.
1086
 
1087
  == Sponsors ==
1088
 
6
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  Requires at least: WordPress 3.6
8
  Tested up to: 4.3.1
9
+ Stable tag: 3.8.21
10
 
11
  Add albums, photo, audio/video encoding, privacy, sharing, front-end uploads & more. All this works on mobile/tablets devices.
12
 
140
 
141
  == Changelog ==
142
 
143
+ = 3.8.21 =
144
+ * Rename plugin text domain from 'rtmedia' to 'buddypress-media'
145
+
146
  = 3.8.20 =
147
  * Fix getid3 related issue
148
  * Other bug fixes
1084
 
1085
  == Upgrade Notice ==
1086
 
1087
+ = 3.8.21 =
1088
+ Requires BuddyPress 1.7 or higher, if using BuddyPress. Rename plugin text domain from 'rtmedia' to 'buddypress-media'.
1089
 
1090
  == Sponsors ==
1091
 
templates/media/album-gallery.php CHANGED
@@ -11,7 +11,7 @@
11
  if ( $title ) {
12
  echo $title;
13
  } else {
14
- _e( 'Album List', 'rtmedia' );
15
  }
16
  ?>
17
  </h2>
@@ -53,7 +53,7 @@
53
  $display = 'style="display:none;"';
54
  }
55
  ?>
56
- <a id="rtMedia-galary-next" <?php echo $display; ?> href="<?php echo rtmedia_pagination_next_link(); ?>"><?php echo __( 'Load More', 'rtmedia' ); ?></a>
57
  <?php
58
  }
59
  ?>
@@ -61,7 +61,7 @@
61
  <?php } else { ?>
62
  <p class="rtmedia-no-media-found">
63
  <?php
64
- $message = __( "Sorry !! There's no media found for the request !!", "rtmedia" );
65
 
66
  echo apply_filters( 'rtmedia_no_media_found_message_filter', $message );
67
  ?>
11
  if ( $title ) {
12
  echo $title;
13
  } else {
14
+ _e( 'Album List', 'buddypress-media' );
15
  }
16
  ?>
17
  </h2>
53
  $display = 'style="display:none;"';
54
  }
55
  ?>
56
+ <a id="rtMedia-galary-next" <?php echo $display; ?> href="<?php echo rtmedia_pagination_next_link(); ?>"><?php echo __( 'Load More', 'buddypress-media' ); ?></a>
57
  <?php
58
  }
59
  ?>
61
  <?php } else { ?>
62
  <p class="rtmedia-no-media-found">
63
  <?php
64
+ $message = __( "Sorry !! There's no media found for the request !!", 'buddypress-media' );
65
 
66
  echo apply_filters( 'rtmedia_no_media_found_message_filter', $message );
67
  ?>
templates/media/album-single-edit.php CHANGED
@@ -9,13 +9,13 @@ $rtmedia_media = $media[ 0 ];
9
  ?>
10
  <div class="rtmedia-container rtmedia-single-container rtmedia-media-edit">
11
  <?php if ( rtmedia_is_global_album( $rtmedia_query->media_query[ 'album_id' ] ) ) { ?>
12
- <h2><?php echo __( 'Edit Album : ', 'rtmedia' ) . esc_attr( $media[ 0 ]->media_title ); ?></h2>
13
 
14
  <div class="rtmedia-edit-media-tabs rtmedia-editor-main">
15
  <ul class="rtm-tabs clearfix">
16
- <li class="active"><a href="#details-tab"><i class='dashicons dashicons-edit rtmicon'></i><?php _e( 'Details', 'rtmedia' ); ?></a></li>
17
  <?php if ( ! is_rtmedia_group_album() ) { ?>
18
- <li class=""><a href="#manage-media-tab"><i class='dashicons dashicons-list-view rtmicon'></i><?php _e( 'Manage Media', 'rtmedia' ); ?></a></li>
19
  <?php } ?>
20
  <!-- use this hook to add title of a new tab-->
21
  <?php do_action( 'rtmedia_add_edit_tab_title', 'album' ); ?>
@@ -29,12 +29,12 @@ $rtmedia_media = $media[ 0 ];
29
  ?>
30
 
31
  <div class="rtmedia-edit-title rtm-field-wrap">
32
- <label for="media_title"><?php _e( 'Title : ', 'rtmedia' ); ?></label>
33
  <?php rtmedia_title_input(); ?>
34
  </div>
35
 
36
  <div class="rtmedia-editor-description rtm-field-wrap">
37
- <label for='description'><?php _e( 'Description: ', 'rtmedia' ) ?></label>
38
  <?php
39
  echo rtmedia_description_input( $editor = false );
40
  RTMediaMedia::media_nonce_generator( rtmedia_id() );
@@ -44,8 +44,8 @@ $rtmedia_media = $media[ 0 ];
44
  <?php do_action( "rtmedia_album_edit_fields", 'album-edit' ); ?>
45
 
46
  <div>
47
- <input type="submit" name="submit" class='rtmedia-save-album' value="<?php _e( 'Save Changes', 'rtmedia' ); ?>" />
48
- <a class="button rtm-button rtm-button-back" href="<?php rtmedia_permalink(); ?>"><?php _e( 'Back', 'rtmedia' ); ?></a>
49
  </div>
50
  </form>
51
  </div>
@@ -59,17 +59,17 @@ $rtmedia_media = $media[ 0 ];
59
  <?php wp_nonce_field( 'rtmedia_bulk_delete_nonce', 'rtmedia_bulk_delete_nonce' ); ?>
60
  <?php RTMediaMedia::media_nonce_generator( $rtmedia_query->media_query[ 'album_id' ] ); ?>
61
  <p>
62
- <span><input type="checkbox" name="rtm-select-all" class="select-all" title="<?php _e( 'Select All Visible', 'rtmedia' ); ?>" /></span>
63
- <button class="button rtmedia-move" type='button' title='<?php echo __( 'Move Selected media to another album.', 'rtmedia' ); ?>' ><?php _e( 'Move', 'rtmedia' ); ?></button>
64
  <input type="hidden" name="move-selected" value="move">
65
- <button type="button" name="delete-selected" class="button rtmedia-delete-selected" title='<?php echo __( 'Delete Selected media from the album.', 'rtmedia' ); ?>'><?php _e( 'Delete', 'rtmedia' ); ?></button>
66
  </p>
67
 
68
  <p class="rtmedia-move-container">
69
  <?php $global_albums = rtmedia_get_site_option( 'rtmedia-global-albums' ); ?>
70
- <span><?php _e( 'Move selected media to the album : ', 'rtmedia' ); ?></span>
71
  <?php echo '<select name="album" class="rtmedia-user-album-list">' . rtmedia_user_album_list() . '</select>'; ?>
72
- <input type="button" class="rtmedia-move-selected" name="move-selected" value="<?php _e( 'Move Selected', 'rtmedia' ); ?>" />
73
  </p>
74
 
75
  <ul class="rtmedia-list large-block-grid-4 ">
@@ -91,7 +91,7 @@ $rtmedia_media = $media[ 0 ];
91
  else
92
  $display = 'style="display:none;"';
93
  ?>
94
- <a id="rtMedia-galary-prev" <?php echo $display; ?> href="<?php echo rtmedia_pagination_prev_link(); ?>"><?php _e( 'Prev', 'rtmedia' ); ?></a>
95
 
96
  <?php
97
  $display = '';
@@ -100,10 +100,10 @@ $rtmedia_media = $media[ 0 ];
100
  else
101
  $display = 'style="display:none;"';
102
  ?>
103
- <a id="rtMedia-galary-next" <?php echo $display; ?> href="<?php echo rtmedia_pagination_next_link(); ?>"><?php _e( 'Next', 'rtmedia' ); ?></a>
104
  </form>
105
  <?php } else { ?>
106
- <p><?php _e( 'The album is empty.', 'rtmedia' ); ?></p>
107
  <?php } ?>
108
  </div>
109
  <?php } ?>
@@ -113,6 +113,6 @@ $rtmedia_media = $media[ 0 ];
113
  </div>
114
  </div>
115
  <?php } else { ?>
116
- <p><?php echo __( "Sorry !! You can not edit this album.", "rtmedia" ); ?></p>
117
  <?php } ?>
118
  </div>
9
  ?>
10
  <div class="rtmedia-container rtmedia-single-container rtmedia-media-edit">
11
  <?php if ( rtmedia_is_global_album( $rtmedia_query->media_query[ 'album_id' ] ) ) { ?>
12
+ <h2><?php echo __( 'Edit Album : ', 'buddypress-media' ) . esc_attr( $media[ 0 ]->media_title ); ?></h2>
13
 
14
  <div class="rtmedia-edit-media-tabs rtmedia-editor-main">
15
  <ul class="rtm-tabs clearfix">
16
+ <li class="active"><a href="#details-tab"><i class='dashicons dashicons-edit rtmicon'></i><?php _e( 'Details', 'buddypress-media' ); ?></a></li>
17
  <?php if ( ! is_rtmedia_group_album() ) { ?>
18
+ <li class=""><a href="#manage-media-tab"><i class='dashicons dashicons-list-view rtmicon'></i><?php _e( 'Manage Media', 'buddypress-media' ); ?></a></li>
19
  <?php } ?>
20
  <!-- use this hook to add title of a new tab-->
21
  <?php do_action( 'rtmedia_add_edit_tab_title', 'album' ); ?>
29
  ?>
30
 
31
  <div class="rtmedia-edit-title rtm-field-wrap">
32
+ <label for="media_title"><?php _e( 'Title : ', 'buddypress-media' ); ?></label>
33
  <?php rtmedia_title_input(); ?>
34
  </div>
35
 
36
  <div class="rtmedia-editor-description rtm-field-wrap">
37
+ <label for='description'><?php _e( 'Description: ', 'buddypress-media' ) ?></label>
38
  <?php
39
  echo rtmedia_description_input( $editor = false );
40
  RTMediaMedia::media_nonce_generator( rtmedia_id() );
44
  <?php do_action( "rtmedia_album_edit_fields", 'album-edit' ); ?>
45
 
46
  <div>
47
+ <input type="submit" name="submit" class='rtmedia-save-album' value="<?php _e( 'Save Changes', 'buddypress-media' ); ?>" />
48
+ <a class="button rtm-button rtm-button-back" href="<?php rtmedia_permalink(); ?>"><?php _e( 'Back', 'buddypress-media' ); ?></a>
49
  </div>
50
  </form>
51
  </div>
59
  <?php wp_nonce_field( 'rtmedia_bulk_delete_nonce', 'rtmedia_bulk_delete_nonce' ); ?>
60
  <?php RTMediaMedia::media_nonce_generator( $rtmedia_query->media_query[ 'album_id' ] ); ?>
61
  <p>
62
+ <span><input type="checkbox" name="rtm-select-all" class="select-all" title="<?php _e( 'Select All Visible', 'buddypress-media' ); ?>" /></span>
63
+ <button class="button rtmedia-move" type='button' title='<?php echo __( 'Move Selected media to another album.', 'buddypress-media' ); ?>' ><?php _e( 'Move', 'buddypress-media' ); ?></button>
64
  <input type="hidden" name="move-selected" value="move">
65
+ <button type="button" name="delete-selected" class="button rtmedia-delete-selected" title='<?php echo __( 'Delete Selected media from the album.', 'buddypress-media' ); ?>'><?php _e( 'Delete', 'buddypress-media' ); ?></button>
66
  </p>
67
 
68
  <p class="rtmedia-move-container">
69
  <?php $global_albums = rtmedia_get_site_option( 'rtmedia-global-albums' ); ?>
70
+ <span><?php _e( 'Move selected media to the album : ', 'buddypress-media' ); ?></span>
71
  <?php echo '<select name="album" class="rtmedia-user-album-list">' . rtmedia_user_album_list() . '</select>'; ?>
72
+ <input type="button" class="rtmedia-move-selected" name="move-selected" value="<?php _e( 'Move Selected', 'buddypress-media' ); ?>" />
73
  </p>
74
 
75
  <ul class="rtmedia-list large-block-grid-4 ">
91
  else
92
  $display = 'style="display:none;"';
93
  ?>
94
+ <a id="rtMedia-galary-prev" <?php echo $display; ?> href="<?php echo rtmedia_pagination_prev_link(); ?>"><?php _e( 'Prev', 'buddypress-media' ); ?></a>
95
 
96
  <?php
97
  $display = '';
100
  else
101
  $display = 'style="display:none;"';
102
  ?>
103
+ <a id="rtMedia-galary-next" <?php echo $display; ?> href="<?php echo rtmedia_pagination_next_link(); ?>"><?php _e( 'Next', 'buddypress-media' ); ?></a>
104
  </form>
105
  <?php } else { ?>
106
+ <p><?php _e( 'The album is empty.', 'buddypress-media' ); ?></p>
107
  <?php } ?>
108
  </div>
109
  <?php } ?>
113
  </div>
114
  </div>
115
  <?php } else { ?>
116
+ <p><?php echo __( "Sorry !! You can not edit this album.", 'buddypress-media' ); ?></p>
117
  <?php } ?>
118
  </div>
templates/media/media-gallery.php CHANGED
@@ -6,7 +6,7 @@
6
  if ( isset( $rtmedia_query->is_gallery_shortcode ) && $rtmedia_query->is_gallery_shortcode == true ) { // if gallery is displayed using gallery shortcode
7
  ?>
8
  <div id="rtm-gallery-title-container" class="clearfix">
9
- <h2 class="rtm-gallery-title"><?php _e( 'Media Gallery', 'rtmedia' ); ?></h2>
10
  <div id="rtm-media-options" class="rtm-media-options">
11
  <?php do_action( 'rtmedia_media_gallery_shortcode_actions' ); ?>
12
  </div>
@@ -22,7 +22,7 @@
22
  if ( $title ) {
23
  echo $title;
24
  } else {
25
- _e( 'Media Gallery', 'rtmedia' );
26
  }
27
  ?>
28
  </h2>
@@ -62,7 +62,7 @@
62
  else
63
  $display = 'style="display:none;"';
64
  ?>
65
- <a id="rtMedia-galary-next" <?php echo $display; ?> href="<?php echo rtmedia_pagination_next_link(); ?>"><?php echo __( 'Load More', 'rtmedia' ); ?></a>
66
  <?php
67
  }
68
  ?>
@@ -70,7 +70,7 @@
70
  <?php } else { ?>
71
  <p class="rtmedia-no-media-found">
72
  <?php
73
- $message = __( "Oops !! There's no media found for the request !!", "rtmedia" );
74
  echo apply_filters( 'rtmedia_no_media_found_message_filter', $message );
75
  ?>
76
  </p>
6
  if ( isset( $rtmedia_query->is_gallery_shortcode ) && $rtmedia_query->is_gallery_shortcode == true ) { // if gallery is displayed using gallery shortcode
7
  ?>
8
  <div id="rtm-gallery-title-container" class="clearfix">
9
+ <h2 class="rtm-gallery-title"><?php _e( 'Media Gallery', 'buddypress-media' ); ?></h2>
10
  <div id="rtm-media-options" class="rtm-media-options">
11
  <?php do_action( 'rtmedia_media_gallery_shortcode_actions' ); ?>
12
  </div>
22
  if ( $title ) {
23
  echo $title;
24
  } else {
25
+ _e( 'Media Gallery', 'buddypress-media' );
26
  }
27
  ?>
28
  </h2>
62
  else
63
  $display = 'style="display:none;"';
64
  ?>
65
+ <a id="rtMedia-galary-next" <?php echo $display; ?> href="<?php echo rtmedia_pagination_next_link(); ?>"><?php echo __( 'Load More', 'buddypress-media' ); ?></a>
66
  <?php
67
  }
68
  ?>
70
  <?php } else { ?>
71
  <p class="rtmedia-no-media-found">
72
  <?php
73
+ $message = __( "Oops !! There's no media found for the request !!", 'buddypress-media' );
74
  echo apply_filters( 'rtmedia_no_media_found_message_filter', $message );
75
  ?>
76
  </p>
templates/media/media-single-edit.php CHANGED
@@ -5,7 +5,7 @@
5
  global $rtmedia_media;
6
  ?>
7
  <div class="rtmedia-single-edit-title-container">
8
- <h2 class="rtmedia-title"><?php echo __( 'Edit Media', 'rtmedia' ); ?></h2>
9
  </div>
10
  <form method="post" action="" name="rtmedia_media_single_edit" id="rtmedia_media_single_edit" class="rtm-form">
11
  <div class="rtmedia-editor-main">
@@ -13,7 +13,7 @@
13
  <li class="active">
14
  <a href="#panel1">
15
  <i class='dashicons dashicons-edit rtmicon'></i>
16
- <?php _e( 'Details', 'rtmedia' ); ?>
17
  </a>
18
  </li>
19
  <!-- use this hook to add title of a new tab-->
@@ -23,13 +23,13 @@
23
  <div class="content" id="panel1">
24
  <!-- First tab i.e Details tab. Active by default-->
25
  <div class="rtmedia-edit-title rtm-field-wrap">
26
- <label><?php _e( 'Title : ', 'rtmedia' ); ?></label>
27
  <?php rtmedia_title_input(); ?>
28
  </div>
29
  <!--This function shows the privacy dropdown-->
30
  <?php echo rtmedia_edit_media_privacy_ui(); ?>
31
  <div class="rtmedia-editor-description rtm-field-wrap">
32
- <label><?php _e( 'Description: ', 'rtmedia' ) ?></label>
33
  <?php
34
  echo rtmedia_description_input( $editor = false );
35
 
@@ -43,22 +43,22 @@
43
  <?php do_action( 'rtmedia_add_edit_tab_content', rtmedia_type() ); ?>
44
  </div>
45
  <div class="rtmedia-editor-buttons">
46
- <input type="submit" class="button rtm-button rtm-button-save" value="<?php _e( 'Save', 'rtmedia' ); ?>" />
47
- <a class="button rtm-button rtm-button-back" href="<?php rtmedia_permalink(); ?>"><?php _e( 'Back', 'rtmedia' ); ?></a>
48
  </div>
49
  </div>
50
  </form>
51
  <?php
52
  } else {
53
  ?>
54
- <p><?php echo __( "Sorry !! You do not have rights to edit this media", "rtmedia" ); ?></p>
55
  <?php
56
  }
57
  else:
58
  ?>
59
  <p class="rtmedia-no-media-found">
60
  <?php
61
- $message = __( "Sorry !! There's no media found for the request !!", "rtmedia" );
62
 
63
  echo apply_filters( 'rtmedia_no_media_found_message_filter', $message );
64
  ?>
5
  global $rtmedia_media;
6
  ?>
7
  <div class="rtmedia-single-edit-title-container">
8
+ <h2 class="rtmedia-title"><?php echo __( 'Edit Media', 'buddypress-media' ); ?></h2>
9
  </div>
10
  <form method="post" action="" name="rtmedia_media_single_edit" id="rtmedia_media_single_edit" class="rtm-form">
11
  <div class="rtmedia-editor-main">
13
  <li class="active">
14
  <a href="#panel1">
15
  <i class='dashicons dashicons-edit rtmicon'></i>
16
+ <?php _e( 'Details', 'buddypress-media' ); ?>
17
  </a>
18
  </li>
19
  <!-- use this hook to add title of a new tab-->
23
  <div class="content" id="panel1">
24
  <!-- First tab i.e Details tab. Active by default-->
25
  <div class="rtmedia-edit-title rtm-field-wrap">
26
+ <label><?php _e( 'Title : ', 'buddypress-media' ); ?></label>
27
  <?php rtmedia_title_input(); ?>
28
  </div>
29
  <!--This function shows the privacy dropdown-->
30
  <?php echo rtmedia_edit_media_privacy_ui(); ?>
31
  <div class="rtmedia-editor-description rtm-field-wrap">
32
+ <label><?php _e( 'Description: ', 'buddypress-media' ) ?></label>
33
  <?php
34
  echo rtmedia_description_input( $editor = false );
35
 
43
  <?php do_action( 'rtmedia_add_edit_tab_content', rtmedia_type() ); ?>
44
  </div>
45
  <div class="rtmedia-editor-buttons">
46
+ <input type="submit" class="button rtm-button rtm-button-save" value="<?php _e( 'Save', 'buddypress-media' ); ?>" />
47
+ <a class="button rtm-button rtm-button-back" href="<?php rtmedia_permalink(); ?>"><?php _e( 'Back', 'buddypress-media' ); ?></a>
48
  </div>
49
  </div>
50
  </form>
51
  <?php
52
  } else {
53
  ?>
54
+ <p><?php echo __( "Sorry !! You do not have rights to edit this media", 'buddypress-media' ); ?></p>
55
  <?php
56
  }
57
  else:
58
  ?>
59
  <p class="rtmedia-no-media-found">
60
  <?php
61
+ $message = __( "Sorry !! There's no media found for the request !!", 'buddypress-media' );
62
 
63
  echo apply_filters( 'rtmedia_no_media_found_message_filter', $message );
64
  ?>
templates/media/media-single.php CHANGED
@@ -32,7 +32,7 @@
32
 
33
  <?php if ( rtmedia_album_name() ) { ?>
34
  <span class="rtmedia-album-name">
35
- <span>&nbsp;<?php echo __( 'under', 'rtmedia' ); ?></span>
36
  <a href="<?php echo rtmedia_album_permalink(); ?>" title="<?php echo rtmedia_album_name(); ?>"><?php echo rtmedia_album_name(); ?></a>
37
  </span>
38
  <?php } ?>
@@ -79,7 +79,7 @@
79
  <div class="rtmedia-actions-before-comments clearfix">
80
  <?php do_action( 'rtmedia_actions_before_comments' ); ?>
81
  <?php if ( is_user_logged_in() ) { ?>
82
- <span><a href='#' class='rtmedia-comment-link'><?php _e( 'Comment', 'rtmedia' ); ?></a></span>
83
  <?php } ?>
84
  </div>
85
  <div class="rtm-like-comments-info">
@@ -119,7 +119,7 @@
119
  <div class="rtmedia-actions-before-comments clearfix">
120
  <?php do_action( 'rtmedia_actions_before_comments' ); ?>
121
  <?php if ( is_user_logged_in() ) { ?>
122
- <span><a href='#' class='rtmedia-comment-link'><?php _e( 'Comment', 'rtmedia' ); ?></a></span>
123
  <?php } ?>
124
  </div>
125
 
@@ -143,7 +143,7 @@
143
 
144
  <?php else: ?>
145
  <p class="rtmedia-no-media-found"><?php
146
- $message = __( "Sorry !! There's no media found for the request !!", "rtmedia" );
147
  echo apply_filters( 'rtmedia_no_media_found_message_filter', $message );
148
  ?>
149
  </p>
32
 
33
  <?php if ( rtmedia_album_name() ) { ?>
34
  <span class="rtmedia-album-name">
35
+ <span>&nbsp;<?php echo __( 'under', 'buddypress-media' ); ?></span>
36
  <a href="<?php echo rtmedia_album_permalink(); ?>" title="<?php echo rtmedia_album_name(); ?>"><?php echo rtmedia_album_name(); ?></a>
37
  </span>
38
  <?php } ?>
79
  <div class="rtmedia-actions-before-comments clearfix">
80
  <?php do_action( 'rtmedia_actions_before_comments' ); ?>
81
  <?php if ( is_user_logged_in() ) { ?>
82
+ <span><a href='#' class='rtmedia-comment-link'><?php _e( 'Comment', 'buddypress-media' ); ?></a></span>
83
  <?php } ?>
84
  </div>
85
  <div class="rtm-like-comments-info">
119
  <div class="rtmedia-actions-before-comments clearfix">
120
  <?php do_action( 'rtmedia_actions_before_comments' ); ?>
121
  <?php if ( is_user_logged_in() ) { ?>
122
+ <span><a href='#' class='rtmedia-comment-link'><?php _e( 'Comment', 'buddypress-media' ); ?></a></span>
123
  <?php } ?>
124
  </div>
125
 
143
 
144
  <?php else: ?>
145
  <p class="rtmedia-no-media-found"><?php
146
+ $message = __( "Sorry !! There's no media found for the request !!", 'buddypress-media' );
147
  echo apply_filters( 'rtmedia_no_media_found_message_filter', $message );
148
  ?>
149
  </p>