rtMedia for WordPress, BuddyPress and bbPress - Version 4.0.2

Version Description

Requires BuddyPress 1.7 or higher, if using BuddyPress. Fixed privacy and permalink issues for BuddyPress activity.

=

Download this release

Release Info

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

Code changes from version 4.0.1 to 4.0.2

app/admin/RTMediaAdmin.php CHANGED
@@ -920,17 +920,37 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
920
  wp_localize_script( 'rtmedia-admin', 'rtmedia_admin_url', admin_url() );
921
 
922
  $rtmedia_admin_strings = array(
923
- 'no_refresh' => esc_html__( 'Please do not refresh this page.', 'buddypress-media' ),
924
- 'something_went_wrong' => esc_html__( 'Something went wrong. Please ', 'buddypress-media' ) . '<a href onclick="location.reload();">' . esc_html__( 'refresh', 'buddypress-media' ) . '</a>' . esc_html__( ' page.', 'buddypress-media' ),
925
- 'are_you_sure' => esc_html__( 'This will subscribe you to the free plan.', 'buddypress-media' ),
926
- 'disable_encoding' => esc_html__( 'Are you sure you want to disable the encoding service?', 'buddypress-media' ),
927
- 'enable_encoding' => esc_html__( 'Are you sure you want to enable the encoding service?', 'buddypress-media' ),
 
 
 
 
 
 
 
 
 
928
  );
929
 
930
  wp_localize_script( 'rtmedia-admin', 'rtmedia_admin_strings', $rtmedia_admin_strings );
931
  wp_localize_script( 'rtmedia-admin', 'settings_url', esc_url( add_query_arg( array( 'page' => 'rtmedia-settings' ), ( is_multisite() ? network_admin_url( 'admin.php' ) : admin_url( 'admin.php' ) ) ) ) . '#privacy_enabled' );
932
  wp_localize_script( 'rtmedia-admin', 'settings_rt_album_import_url', esc_url( add_query_arg( array( 'page' => 'rtmedia-settings' ), ( is_multisite() ? network_admin_url( 'admin.php' ) : admin_url( 'admin.php' ) ) ) ) );
933
 
 
 
 
 
 
 
 
 
 
 
 
934
  /* Only one CSS file should enqueue */
935
  wp_enqueue_style( 'rtmedia-admin', RTMEDIA_URL . 'app/assets/admin/css/admin' . $suffix . '.css', '', RTMEDIA_VERSION );
936
  } else {
920
  wp_localize_script( 'rtmedia-admin', 'rtmedia_admin_url', admin_url() );
921
 
922
  $rtmedia_admin_strings = array(
923
+ 'no_refresh' => esc_html__( 'Please do not refresh this page.', 'buddypress-media' ),
924
+ 'something_went_wrong' => esc_html__( 'Something went wrong. Please ', 'buddypress-media' ) . '<a href onclick="location.reload();">' . esc_html__( 'refresh', 'buddypress-media' ) . '</a>' . esc_html__( ' page.', 'buddypress-media' ),
925
+ 'are_you_sure' => esc_html__( 'This will subscribe you to the free plan.', 'buddypress-media' ),
926
+ 'disable_encoding' => esc_html__( 'Are you sure you want to disable the encoding service?', 'buddypress-media' ),
927
+ 'enable_encoding' => esc_html__( 'Are you sure you want to enable the encoding service?', 'buddypress-media' ),
928
+ 'settings_changed' => esc_html__( 'Settings have changed, you should save them!', 'buddypress-media' ),
929
+ 'video_thumbnail_error' => esc_html__( 'Number of video thumbnails to be generated should be greater than 0 in media sizes settings. Setting it to default value 2.', 'buddypress-media' ),
930
+ 'video_thumbnail_invalid_value' => esc_html__( 'Invalid value for number of video thumbnails in media sizes settings. Setting it to round value', 'buddypress-media' ),
931
+ 'jpeg_quality_negative_error' => esc_html__( 'Number of percentage in JPEG image quality should be greater than 0 in media sizes settings. Setting it to default value 90.', 'buddypress-media' ),
932
+ 'jpeg_quality_percentage_error' => esc_html__( 'Number of percentage in JPEG image quality should be less than 100 in media sizes settings. Setting it to 100.', 'buddypress-media' ),
933
+ 'jpeg_quality_invalid_value' => esc_html__( 'Invalid value for percentage in JPEG image quality in media sizes settings. Setting it to round value', 'buddypress-media' ),
934
+ 'per_page_media_negative_value' => esc_html__( 'Please enter positive integer value only. Setting number of media per page value to default value 10.', 'buddypress-media' ),
935
+ 'per_page_media_positive_error' => esc_html__( 'Please enter positive integer value only. Setting number of media per page value to round value', 'buddypress-media' ),
936
+ 'request_failed' => esc_html__( 'Request failed.', 'buddypress-media' ),
937
  );
938
 
939
  wp_localize_script( 'rtmedia-admin', 'rtmedia_admin_strings', $rtmedia_admin_strings );
940
  wp_localize_script( 'rtmedia-admin', 'settings_url', esc_url( add_query_arg( array( 'page' => 'rtmedia-settings' ), ( is_multisite() ? network_admin_url( 'admin.php' ) : admin_url( 'admin.php' ) ) ) ) . '#privacy_enabled' );
941
  wp_localize_script( 'rtmedia-admin', 'settings_rt_album_import_url', esc_url( add_query_arg( array( 'page' => 'rtmedia-settings' ), ( is_multisite() ? network_admin_url( 'admin.php' ) : admin_url( 'admin.php' ) ) ) ) );
942
 
943
+ $rtmedia_admin_support_strings = array(
944
+ 'wp_admin_username_error' => esc_html__( 'Please enter WP Admin Login.', 'buddypress-media' ),
945
+ 'wp_admin_pwd_error' => esc_html__( 'Please enter WP Admin password.', 'buddypress-media' ),
946
+ 'ssh_ftp_host_error' => esc_html__( 'Please enter SSH / FTP host.', 'buddypress-media' ),
947
+ 'ssh_ftp_username_error' => esc_html__( 'Please enter SSH / FTP login.', 'buddypress-media' ),
948
+ 'ssh_ftp_pwd_error' => esc_html__( 'Please enter SSH / FTP password.', 'buddypress-media' ),
949
+ 'all_fields_error' => esc_html__( 'Please fill all the fields.', 'buddypress-media' ),
950
+ );
951
+
952
+ wp_localize_script( 'rtmedia-admin', 'rtmedia_admin_support_strings', $rtmedia_admin_support_strings );
953
+
954
  /* Only one CSS file should enqueue */
955
  wp_enqueue_style( 'rtmedia-admin', RTMEDIA_URL . 'app/assets/admin/css/admin' . $suffix . '.css', '', RTMEDIA_VERSION );
956
  } else {
app/assets/admin/js/admin.min.js CHANGED
@@ -2,4 +2,4 @@
2
  * rtMedia JavaScript Library
3
  * @package rtMedia
4
  */
5
- function rtmedia_addon_do_not_show(){var a={action:"rtmedia_addon_popup_not_show_again"};jQuery.post(rtmedia_admin_ajax,a,function(a){jQuery("#TB_window").remove(),jQuery("#TB_overlay").remove()})}"function"!=typeof Object.create&&(Object.create=function(a){function b(){}return b.prototype=a,new b}),function(a,b,c,d){var e={init:function(b,c){var d=this;d.elem=c,d.$elem=a(c),d.options=a.extend({},a.fn.rtTab.options,b),d.rtTabs()},rtTabs:function(){var c=this,d=c.options.activeTab;c.$elem.find("li:nth-child("+d+")").addClass("active"),c.rtTabContent(activeTabContent="yes"),c.rtClick();var e="false"!==c.$elem.attr("data-hash");if(e===!0){var f=b.location.hash;f&&c.$elem.find("li").find('a[href="'+f+'"]').trigger("click"),a(b).on("hashchange",function(){var a=b.location.hash;c.$elem.find("li").find('a[href="'+a+'"]').trigger("click")})}},rtClick:function(){var c=this,d=c.$elem.find("li"),e=d.find("a");e.on("click",function(e){e.preventDefault(),d.removeClass("active"),c.rtTabContent(),a(this).parent().addClass("active");var f=a(this).attr("href");a(f).removeClass("hide");var g="false"!==c.$elem.attr("data-hash");if(g===!0){var h=a(b).scrollTop();location.hash=a(this).attr("href"),a(b).scrollTop(h)}"function"==typeof c.options.onComplete&&c.options.onComplete.apply(c.elem,arguments)})},rtTabContent:function(b){var c=this,d=c.$elem.find("li"),e=d.find("a");e.each(function(){var c=a(this),d=c.attr("href");"yes"===b?c.parent().hasClass("active")||a(d).addClass("hide"):a(d).addClass("hide")})}};a.fn.rtTab=function(b){return this.each(function(){var c=Object.create(e);c.init(b,this),a.data(this,"rtTab",c)})},a.fn.rtTab.options={activeTab:1,onComplete:null}}(jQuery,window,document),jQuery(document).ready(function(a){var b=document.createElement("div");b.setAttribute("class","rtm-warning rtm-fly-warning hide"),a(".rtm-tabs").rtTab(),a('input[name^="rtmedia-options"]').on("change",function(){a(".rtm-save-settings-msg").remove(),0===a(".rtm-fly-warning").length&&(b.innerText="Settings have changed, you should save them!",a(".rtm-button-container.top").prepend(b),a(".rtm-fly-warning").slideDown())}),a(".rtm-img-size-setting .form-table tr:nth-child(7) td:last-child").attr("colspan","3"),a(".rtm-field-wrap .switch input[type=checkbox]").each(function(){var b=a(this);b.parents("table").attr("data-depends")||(b.is(":checked")?(b.parents("table").next(".rtm-notice").slideDown(),b.parents("table").siblings("table").each(function(){a(this).attr("data-depends")&&a(this).slideDown()})):(b.parents("table").next(".rtm-notice").slideUp(),b.parents("table").siblings("table").each(function(){a(this).attr("data-depends")&&a(this).slideUp()}))),b.parents("tr").next("tr").attr("data-depends")&&(b.is(":checked")?b.parents("tr").next("tr").slideDown():b.parents("tr").next("tr").slideUp())}),a(".rtm-field-wrap .switch input[type=checkbox]").on("change",function(){var b=a(this);b.parents("table").attr("data-depends")||(b.parents("table").next(".rtm-notice").slideToggle(),b.parents("table").siblings("table").each(function(){a(this).attr("data-depends")&&a(this).slideToggle()})),b.parents("tr").next("tr").attr("data-depends")&&b.parents("tr").next("tr").slideToggle()});var c=Backbone.View.extend({el:a(".bp-media-admin"),events:{"click .rtm-theme":"render","click .rtm-close":"close","click .rtm-previous":"previousTheme","click .rtm-next":"nextTheme",keyup:"keyEvent"},initialize:function(){_.bindAll(this,"render","close","nextTheme","previousTheme","keyEvent"),this.keyEvent()},render:function(b){a(".rtm-theme").removeClass("rtm-modal-open");var c=a(b.currentTarget).addClass("rtm-modal-open").find(".rtm-theme-content").html();if(a(".rtm-theme-overlay")[0])a(".rtm-theme-overlay").show(),a(this.el).find(".rtm-theme-content-wrap").empty().append(c);else{var d={themeContent:c};a(this.el).append(rtMediaAdmin.templates.rtm_theme_overlay(d))}a(b.currentTarget).is(":first-child")?a(".rtm-previous").addClass("disabled"):a(b.currentTarget).is(":last-child")?a(".rtm-next").addClass("disabled"):a(".rtm-next, .rtm-previous").removeClass("disabled")},close:function(){a(".rtm-theme").removeClass("rtm-modal-open"),a(".rtm-theme-overlay").hide(),a(".rtm-next, .rtm-previous").removeClass("disabled")},nextTheme:function(b){return a(".rtm-next, .rtm-previous").removeClass("disabled"),a(".rtm-theme:last-child").hasClass("rtm-modal-open")&&a(b.currentTarget).addClass("disabled"),a(".rtm-modal-open").next().trigger("click"),!1},previousTheme:function(b){return a(".rtm-next, .rtm-previous").removeClass("disabled"),a(".rtm-theme:first-child").hasClass("rtm-modal-open")&&a(b.currentTarget).addClass("disabled"),a(".rtm-modal-open").prev().trigger("click"),!1},keyEvent:function(){a("body").on("keyup",function(b){return 39===b.keyCode?(a(".rtm-next, .rtm-previous").removeClass("disabled"),a(".rtm-theme:last-child").hasClass("rtm-modal-open")&&a(b.currentTarget).addClass("disabled"),a(".rtm-modal-open").next().trigger("click"),!1):37===b.keyCode?(a(".rtm-next, .rtm-previous").removeClass("disabled"),a(".rtm-theme:first-child").hasClass("rtm-modal-open")&&a(b.currentTarget).addClass("disabled"),a(".rtm-modal-open").prev().trigger("click"),!1):void(27===b.keyCode&&a(".rtm-close").trigger("click"))})}});new c});var rtMediaAdmin=new Object;rtMediaAdmin.templates={rtm_image:wp.template("rtm-image"),rtm_msg_div:wp.template("rtm-msg-div"),rtm_album_favourites_importer:wp.template("rtm-album-favourites-importer"),rtm_map_mapping_failure:wp.template("rtm-map-mapping-failure"),rtm_p_tag:wp.template("rtm-p-tag"),rtm_theme_overlay:wp.template("rtm-theme-overlay")},jQuery(document).ready(function(a){function b(a){return jQuery.post(ajaxurl,a,function(b){if(0!=b){var c=!1,d=Math.ceil((20*parseInt(b)+parseInt(a.values.finished))/parseInt(a.values.total)*100);d>100&&(d=100,c=!0),jQuery("#rtprogressbar>div").css("width",d+"%"),finished=jQuery("#rtprivacyinstaller span.finished").html(),jQuery("#rtprivacyinstaller span.finished").html(parseInt(finished)+a.count),c&&jQuery.post(ajaxurl,{action:"rtmedia_privacy_redirect"},function(a){window.location=settings_url})}else{var e={msg:"Row "+b+" failed."};jQuery("#map_progress_msgs").html(rtMediaAdmin.templates.rtm_map_mapping_failure(e))}})}function c(a){return jQuery.getJSON(ajaxurl,a,function(b){if(favorites=!1,b){var c=Math.ceil((5*parseInt(b.page)+parseInt(a.values.finished))/parseInt(a.values.total)*100);comments_total=jQuery("#bpmedia-bpalbumimporter .bp-album-comments span.total").html(),users_total=jQuery("#bpmedia-bpalbumimporter .bp-album-users span.total").html(),media_total=jQuery("#bpmedia-bpalbumimporter .bp-album-media span.total").html(),comments_finished=jQuery("#bpmedia-bpalbumimporter .bp-album-comments span.finished").html(),users_finished=jQuery("#bpmedia-bpalbumimporter .bp-album-users span.finished").html();var f=Math.ceil((parseInt(b.comments)+parseInt(comments_finished))/parseInt(comments_total)*100),g=Math.ceil(parseInt(b.users)/parseInt(users_total)*100);(c>100||100==c)&&(c=100,favorites=!0),jQuery(".bp-album-media #rtprogressbar>div").css("width",c+"%"),jQuery(".bp-album-comments #rtprogressbar>div").css("width",f+"%"),jQuery(".bp-album-users #rtprogressbar>div").css("width",g+"%"),media_finished=jQuery("#bpmedia-bpalbumimporter .bp-album-media span.finished").html(),parseInt(media_finished)<parseInt(media_total)&&jQuery("#bpmedia-bpalbumimporter .bp-album-media span.finished").html(parseInt(media_finished)+a.count),jQuery("#bpmedia-bpalbumimporter .bp-album-comments span.finished").html(parseInt(b.comments)+parseInt(comments_finished)),jQuery("#bpmedia-bpalbumimporter .bp-album-users span.finished").html(parseInt(b.users)),favorites&&(favorite_data={action:"rtmedia_rt_album_import_favorites",rtm_wpnonce:jQuery("#bpaimporter_wpnonce").val()},jQuery.post(ajaxurl,favorite_data,function(a){if(!a.hasOwnProperty(favorites)||0===a.favorites&&"0"===a.favorites)window.setTimeout(e,2e3);else{if(!jQuery(".bp-album-favorites").length){var b={users:a.users};jQuery(".bp-album-comments").after(rtMediaAdmin.templates.rtm_album_favourites_importer(b))}$favorites={},0!=a.offset||"0"!=a.offset?start=1*a.offset+1:start=1;for(var c=start;c<=a.users;c++)$count=1,c==a.users&&($count=parseInt(a.users%$count),0==$count&&($count=1)),newvals={action:"rtmedia_rt_album_import_step_favorites",offset:1*(c-1),redirect:c==a.users,rtm_wpnonce:jQuery("#bpaimporter_wpnonce").val()},$favorites[c]=newvals;var f=jQuery.Deferred();f.resolve(),jQuery.each($favorites,function(a,b){f=f.pipe(function(){return d(b)})})}},"json"))}else if(a.hasOwnProperty(page)){var h={msg:"Row "+b.page+" failed."};jQuery("#map_progress_msgs").html(rtMediaAdmin.templates.rtm_map_mapping_failure(h))}else{var h={msg:"Request failed."};jQuery("#map_progress_msgs").html(rtMediaAdmin.templates.rtm_map_mapping_failure(h))}})}function d(a){return jQuery.post(ajaxurl,a,function(a){redirect=!1,favorites_total=jQuery("#bpmedia-bpalbumimporter .bp-album-favorites span.total").html(),favorites_finished=jQuery("#bpmedia-bpalbumimporter .bp-album-favorites span.finished").html(),jQuery("#bpmedia-bpalbumimporter .bp-album-favorites span.finished").html(parseInt(favorites_finished)+1);var b=Math.ceil(parseInt(favorites_finished+1)/parseInt(favorites_total)*100);(b>100||100==b)&&(b=100,redirect=!0),jQuery(".bp-album-favorites #rtprogressbar>div").css("width",b+"%"),redirect&&window.setTimeout(e,2e3)})}function e(){window.location=document.URL}var f=document.createElement("div");f.className="support_form_loader",a(".rtm-save-settings-msg").length>0&&setTimeout(function(){a(".rtm-save-settings-msg").remove()},1e4),jQuery("#spread-the-word").on("click","#bp-media-add-linkback",function(){var a={action:"rtmedia_linkback",linkback:jQuery("#bp-media-add-linkback:checked").length};jQuery.post(rtmedia_admin_ajax,a,function(a){})}),jQuery("#bp-media-settings-boxes").on("change","#select-request",function(){if(jQuery(this).val()){jQuery("#bp_media_settings_form .bp-media-metabox-holder").html(),jQuery("#bp_media_settings_form .bp-media-metabox-holder").html(f);var a={action:"rtmedia_select_request",form:jQuery(this).val()};jQuery.post(ajaxurl,a,function(a){jQuery("#bp_media_settings_form .bp-media-metabox-holder").html(),jQuery("#bp_media_settings_form .bp-media-metabox-holder").html(a).fadeIn("slow")})}}),jQuery("#bp-media-settings-boxes").on("click","#cancel-request",function(){if(jQuery(this).val()){jQuery("#bp_media_settings_form .bp-media-metabox-holder").html(),jQuery("#bp_media_settings_form .bp-media-metabox-holder").html(f);var a={action:"rtmedia_cancel_request"};jQuery.post(ajaxurl,a,function(a){jQuery("#bp_media_settings_form .bp-media-metabox-holder").html(),jQuery("#bp_media_settings_form .bp-media-metabox-holder").html(a).fadeIn("slow")})}}),jQuery("#bp-media-settings-boxes").on("submit","#bp_media_settings_form, .rtmedia-settings-submit",function(a){var b=!0,c=new RegExp("^[0-9]+$");jQuery("input[name*='defaultSizes']").each(function(a){return c.test(jQuery(this).val())?void 0:(alert("Invalid value for "+jQuery(this).attr("name").replace("rtmedia-options[defaultSizes_","").replace("]","").replace(/_/g," ").replace(/(\b)([a-zA-Z] )/g,function(a){return a.toUpperCase()})),b=!1,!1)});var d=jQuery('input[name^="rtmedia-options[general_videothumbs]"]');if(b&&d.length>0&&"undefined"!=typeof d){var e="",f=0;if(d.val()<=0?(e+="Number of video thumbnails to be generated should be greater than 0 in media sizes settings. Setting it to default value 2.",f=2):c.test(d.val())||(e+="Invalid value for Number of video thumbnails in media sizes settings. Setting it to round value "+Math.round(d.val())+".",f=Math.round(d.val())),""!=e)return alert(e),d.val(f),b=!1,!1}var g=jQuery('input[name^="rtmedia-options[general_jpeg_image_quality]"]');if(b&&g.length>0&&"undefined"!=typeof g){var e="",h=0;if(g.val()<=0?(e+="Number of percentage in JPEG image quality should be greater than 0 in media sizes settings. Setting it to default value 90.",h=90):g.val()>100?(e+="Number of percentage in JPEG image quality should be less than 100 in media sizes settings. Setting it to 100.",h=100):c.test(g.val())||(e+="Invalid value for percentage in JPEG image quality in media sizes settings. Setting it to round value "+Math.round(g.val())+".",h=Math.round(g.val())),""!=e)return alert(e),g.val(h),b=!1,!1}var i=jQuery('input[name^="rtmedia-options[general_perPageMedia]"]');if(b&&i.length>0&&"undefined"!=typeof i){var e="",j=0;if(i.val()<1?(e+="Please enter positive integer value only. Setting number of media per page value to default value 10.",j=10):jQuery.isNumeric(i.val())&&Math.floor(i.val())!=i.val()&&(e+="Please enter positive integer value only. Setting number of media per page value to round value "+Math.round(i.val())+".",j=Math.round(i.val())),""!=e)return alert(e),i.val(j),b=!1,!1}b||a.preventDefault()}),jQuery(document).on("click","#bpm-services .encoding-try-now,#rtm-services .encoding-try-now",function(a){if(a.preventDefault(),confirm(rtmedia_admin_strings.are_you_sure)){var b={src:rtmedia_admin_url+"images/wpspin_light.gif"};jQuery(this).after(rtMediaAdmin.templates.rtm_image(b));var b={action:"rtmedia_free_encoding_subscribe"};jQuery.getJSON(ajaxurl,b,function(a){if(void 0===a.error&&a.apikey){var b=window.location.href,c=window.location.hash;b=b.replace(c,""),document.location.href=b+"&apikey="+a.apikey+c}else{jQuery(".encoding-try-now").next().remove(),jQuery("#settings-error-encoding-error").remove();var d={id:"settings-error-encoding-error",msg:a.error,"class":"error"};jQuery("#bp-media-settings-boxes").before(rtMediaAdmin.templates.rtm_msg_div(d))}})}}),jQuery(document).on("click","#api-key-submit",function(a){if(a.preventDefault(),0==jQuery(this).next("img").length){var b={src:rtmedia_admin_url+"images/wpspin_light.gif"};jQuery(this).after(rtMediaAdmin.templates.rtm_image(b))}var b={action:"rtmedia_enter_api_key",apikey:jQuery("#new-api-key").val()};jQuery.getJSON(ajaxurl,b,function(a){if(void 0===a.error&&a.apikey){var b=window.location.href,c=window.location.hash;b=b.replace(c,""),-1==b.toString().indexOf("&apikey="+a.apikey)&&(b+="&apikey="+a.apikey),-1==b.toString().indexOf("&update=true")&&(b+="&update=true"),document.location.href=b+c}else{jQuery("#settings-error-api-key-error").remove();var d={id:"settings-error-api-key-error",msg:a.error,"class":"error"};jQuery("h2:first").after(rtMediaAdmin.templates.rtm_msg_div(d))}jQuery("#api-key-submit").next("img").remove()})}),jQuery(document).on("click","#disable-encoding",function(a){if(a.preventDefault(),confirm(rtmedia_admin_strings.disable_encoding)){var b={src:rtmedia_admin_url+"images/wpspin_light.gif"};jQuery(this).after(rtMediaAdmin.templates.rtm_image(b));var b={action:"rtmedia_disable_encoding"};jQuery.post(ajaxurl,b,function(a){if(a){if(jQuery(".settings-error-encoding-disabled").remove(),jQuery("#settings-encoding-successfully-updated").length>0)jQuery("#settings-encoding-successfully-updated p").html(a);else{var b={id:"settings-encoding-successfully-updated",msg:a,"class":"updated"};jQuery("h2:first").after(rtMediaAdmin.templates.rtm_msg_div(b))}jQuery("#rtmedia-encoding-usage").hide(),jQuery("#disable-encoding").next("img").remove(),jQuery("#disable-encoding").hide(),jQuery("#enable-encoding").show()}else{jQuery("#settings-error-encoding-disabled").remove();var b={id:"settings-error-encoding-disabled",msg:rtmedia_admin_strings.something_went_wrong,"class":"error"};jQuery("h2:first").after(rtMediaAdmin.templates.rtm_msg_div(b))}})}}),jQuery(document).on("click","#enable-encoding",function(a){if(a.preventDefault(),confirm(rtmedia_admin_strings.enable_encoding)){var b={src:rtmedia_admin_url+"images/wpspin_light.gif"};jQuery(this).after(rtMediaAdmin.templates.rtm_image(b));var b={action:"rtmedia_enable_encoding"};jQuery.post(ajaxurl,b,function(a){if(a){if(jQuery(".settings-error-encoding-enabled").remove(),jQuery("#settings-encoding-successfully-updated").length>0)jQuery("#settings-encoding-successfully-updated p").html(a);else{var b={id:"settings-encoding-successfully-updated",msg:a,"class":"updated"};jQuery("h2:first").after(rtMediaAdmin.templates.rtm_msg_div(b))}jQuery("#enable-encoding").next("img").remove(),jQuery("#enable-encoding").hide(),jQuery("#disable-encoding").show()}else{jQuery("#settings-error-encoding-disabled").remove();var b={id:"settings-error-encoding-enabled",msg:rtmedia_admin_strings.something_went_wrong,"class":"error"};jQuery("h2:first").after(rtMediaAdmin.templates.rtm_msg_div(b))}})}}),jQuery(".bp-media-encoding-table").on("click",".bpm-unsubscribe",function(a){a.preventDefault(),jQuery("#bpm-unsubscribe-dialog").dialog({dialogClass:"wp-dialog",modal:!0,buttons:{Unsubscribe:function(){jQuery(this).dialog("close");var a={src:rtmedia_admin_url+"images/wpspin_light.gif"};jQuery(".bpm-unsubscribe").after(rtMediaAdmin.templates.rtm_image(a));var a={action:"rtmedia_unsubscribe_encoding_service",note:jQuery("#bpm-unsubscribe-note").val(),plan:jQuery(".bpm-unsubscribe").attr("data-plan"),price:jQuery(".bpm-unsubscribe").attr("data-price")};jQuery.getJSON(ajaxurl,a,function(a){if(void 0===a.error&&a.updated){jQuery(".bpm-unsubscribe").next().remove(),jQuery(".bpm-unsubscribe").after(a.form),jQuery(".bpm-unsubscribe").remove(),jQuery("#settings-unsubscribed-successfully").remove(),jQuery("#settings-unsubscribe-error").remove();var b={id:"settings-unsubscribed-successfully",msg:a.updated,"class":"updated"};jQuery("h2:first").after(rtMediaAdmin.templates.rtm_msg_div(b)),window.location.hash="#settings-unsubscribed-successfully"}else{jQuery(".bpm-unsubscribe").next().remove(),jQuery("#settings-unsubscribed-successfully").remove(),jQuery("#settings-unsubscribe-error").remove();var b={id:"settings-unsubscribe-error",msg:a.error,"class":"error"};jQuery("h2:first").after(rtMediaAdmin.templates.rtm_msg_div(b)),window.location.hash="#settings-unsubscribe-error"}})}}})}),jQuery("#bpmedia-bpalbumimporter").on("change","#bp-album-import-accept",function(){jQuery(".bp-album-import-accept").toggleClass("i-accept"),jQuery(".bp-album-importer-wizard").slideToggle()}),jQuery("#rtprivacyinstall").click(function(a){a.preventDefault(),$progress_parent=jQuery("#rtprivacyinstaller"),$progress_parent.find(".rtprivacytype").each(function(){if($type=jQuery(this).attr("id"),"total"==$type){$values=[],jQuery(this).find("input").each(function(){$values[jQuery(this).attr("name")]=[jQuery(this).val()]}),$data={};for(var a=1;a<=$values.steps[0];a++)$count=20,a==$values.steps[0]&&($count=parseInt($values.laststep[0]),0==$count&&($count=20)),newvals={page:a,action:"rtmedia_privacy_install",count:$count,values:$values},$data[a]=newvals;var c=jQuery.Deferred();c.resolve(),jQuery.each($data,function(a,d){c=c.pipe(function(){return b(d)})})}})}),jQuery("#bpmedia-bpalbumimport-cleanup").click(function(a){a.preventDefault(),jQuery.post(ajaxurl,{action:"rtmedia_rt_album_cleanup",rtm_wpnonce:jQuery("#bpaimporter_wpnonce").val()},function(a){window.location=settings_rt_album_import_url})}),jQuery("#bpmedia-bpalbumimporter").on("click","#bpmedia-bpalbumimport",function(a){if(a.preventDefault(),!jQuery("#bp-album-import-accept").prop("checked")){jQuery("html, body").animate({scrollTop:jQuery("#bp-album-import-accept").offset().top},500);var b=jQuery(".bp-album-import-accept"),d=500,e="#FFEBE8",f=3;return void function i(){b.css("background-color","#EE0000"),setTimeout(function(){b.css("background-color",e),--f&&setTimeout(i,d)},d)}()}if(jQuery(this).prop("disabled",!0),wp_admin_url=ajaxurl.replace("admin-ajax.php",""),!jQuery(".bpm-ajax-loader").length){var g={src:rtmedia_admin_url+"images/wpspin_light.gif","class":"bpm-ajax-loader",norefresh:rtmedia_admin_strings.no_refresh};jQuery(this).after(rtMediaAdmin.templates.rtm_image(g))}$progress_parent=jQuery("#bpmedia-bpalbumimport"),$values=[],jQuery(this).parent().find("input").each(function(){$values[jQuery(this).attr("name")]=[jQuery(this).val()]}),0==$values.steps[0]&&($values.steps[0]=1),$data={};for(var f=1;f<=$values.steps[0];f++)$count=5,f==$values.steps[0]&&($count=parseInt($values.laststep[0]),0==$count&&($count=5)),newvals={page:f,action:"rtmedia_rt_album_import",count:$count,values:$values,rtm_wpnonce:jQuery("#bpaimporter_wpnonce").val()},$data[f]=newvals;var h=jQuery.Deferred();h.resolve(),jQuery.each($data,function(a,b){h=h.pipe(function(){return c(b)})})}),jQuery("#bp-media-settings-boxes").on("click",".interested",function(){jQuery(".interested-container").removeClass("hidden"),jQuery(".choice-free").attr("required","required")}),jQuery("#bp-media-settings-boxes").on("click",".not-interested",function(){jQuery(".interested-container").addClass("hidden"),jQuery(".choice-free").removeAttr("required")}),jQuery("#video-transcoding-main-container").on("click",".video-transcoding-survey",function(a){a.preventDefault();var b={action:"rtmedia_convert_videos_form",email:jQuery(".email").val(),url:jQuery(".url").val(),choice:jQuery('input[name="choice"]:checked').val(),interested:jQuery('input[name="interested"]:checked').val()};return jQuery.post(ajaxurl,b,function(a){var b={msg:a,strong:"yes"};jQuery("#video-transcoding-main-container").html(rtMediaAdmin.templates.rtm_p_tag(b))}),!1}),jQuery("#bpmedia-bpalbumimporter").on("click",".deactivate-bp-album",function(a){a.preventDefault(),$bpalbum=jQuery(this);var b={action:"rtmedia_rt_album_deactivate",rtm_wpnonce:jQuery("#bpaimporter_wpnonce").val()};jQuery.get(ajaxurl,b,function(a){if(a)location.reload();else{var b={msg:rtmedia_admin_strings.something_went_wrong};$bpalbum.parent().after(rtMediaAdmin.templates.rtm_p_tag(b))}})}),jQuery(".updated").on("click",".bpm-hide-encoding-notice",function(){var a={src:rtmedia_admin_url+"images/wpspin_light.gif"};jQuery(this).after(rtMediaAdmin.templates.rtm_image(a));var a={action:"rtmedia_hide_encoding_notice"};jQuery.post(ajaxurl,a,function(a){a&&jQuery(".bpm-hide-encoding-notice").closest(".updated").remove()})}),jQuery("#rtmedia-bp-enable-activity").is(":checked")?jQuery(".rtmedia-bp-activity-setting").prop("readonly",!1):jQuery(".rtmedia-bp-activity-setting").prop("readonly",!0),jQuery("#rtmedia-bp-enable-activity").on("click",function(a){jQuery(this).is(":checked")?jQuery(".rtmedia-bp-activity-setting").prop("readonly",!1):jQuery(".rtmedia-bp-activity-setting").prop("readonly",!0)});var g="",h="";void 0!==rtmedia_on_label&&(g='data-on-label="'+rtmedia_on_label+'"'),void 0!==rtmedia_off_label&&(h='data-off-label="'+rtmedia_off_label+'"'),jQuery("#rtmedia-submit-request").click(function(){var b=jQuery("#name").val(),c=jQuery("#email").val(),d=jQuery("#website").val(),e=jQuery("#phone").val(),f=jQuery("#subject").val(),g=jQuery("#details").val(),h=jQuery('input[name="request_type"]').val(),i=jQuery('input[name="request_id"]').val(),j=jQuery('input[name="server_address"]').val(),k=jQuery('input[name="ip_address"]').val(),l=jQuery('input[name="server_type"]').val(),m=jQuery('input[name="user_agent"]').val(),n={name:b,email:c,website:d,phone:e,subject:f,details:g,request_id:i,request_type:"premium_support",server_address:j,ip_address:k,server_type:l,user_agent:m};if("bug_report"==h){var o=jQuery("#wp_admin_username").val();if(""==o)return alert("Please enter WP Admin Login."),!1;var p=jQuery("#wp_admin_pwd").val();if(""==p)return alert("Please enter WP Admin password."),!1;var q=jQuery("#ssh_ftp_host").val();if(""==q)return alert("Please enter SSH / FTP host."),!1;var r=jQuery("#ssh_ftp_username").val();if(""==r)return alert("Please enter SSH / FTP login."),!1;var s=jQuery("#ssh_ftp_pwd").val();if(""==s)return alert("Please enter SSH / FTP password."),!1;n={name:b,email:c,website:d,phone:e,subject:f,details:g,request_id:i,request_type:"premium_support",server_address:j,ip_address:k,server_type:l,user_agent:m,wp_admin_username:o,wp_admin_pwd:p,ssh_ftp_host:q,ssh_ftp_username:r,ssh_ftp_pwd:s}}for(formdata in n)if(""==n[formdata]&&"phone"!=formdata)return alert("Please enter "+formdata.replace("_"," ")+" field."),!1;return data={action:"rtmedia_submit_request",form_data:n,support_wpnonce:jQuery("#support_wpnonce").val()},jQuery.post(ajaxurl,data,function(b){return b=b.trim(),"false"==b?(alert("Please fill all the fields."),!1):(a("#rtmedia_service_contact_container").empty(),void a("#rtmedia_service_contact_container").append(b))}),!1}),jQuery("#cancel-request").click(function(){return!1}),jQuery(".rtm_enable_masonry_view input[type=checkbox]").is(":checked")?jQuery(".rtm_enable_masonry_view").parents(".metabox-holder").find(".rtmedia-info").show():jQuery(".rtm_enable_masonry_view").parents(".metabox-holder").find(".rtmedia-info").hide(),jQuery(".rtm_enable_masonry_view input[type=checkbox]").on("click",function(a){jQuery(this).is(":checked")?jQuery(".rtm_enable_masonry_view").parents(".metabox-holder").find(".rtmedia-info").show():jQuery(".rtm_enable_masonry_view").parents(".metabox-holder").find(".rtmedia-info").hide()}),jQuery("#rtm-masonry-change-thumbnail-info").click(function(a){jQuery("html, body").animate({scrollTop:0},"500","swing")})}),jQuery(window).load(function(){jQuery(".rtmedia-addon-thickbox").trigger("click")});
2
  * rtMedia JavaScript Library
3
  * @package rtMedia
4
  */
5
+ function rtmedia_addon_do_not_show(){var a={action:"rtmedia_addon_popup_not_show_again"};jQuery.post(rtmedia_admin_ajax,a,function(a){jQuery("#TB_window").remove(),jQuery("#TB_overlay").remove()})}"function"!=typeof Object.create&&(Object.create=function(a){function b(){}return b.prototype=a,new b}),function(a,b,c,d){var e={init:function(b,c){var d=this;d.elem=c,d.$elem=a(c),d.options=a.extend({},a.fn.rtTab.options,b),d.rtTabs()},rtTabs:function(){var c=this,d=c.options.activeTab;c.$elem.find("li:nth-child("+d+")").addClass("active"),c.rtTabContent(activeTabContent="yes"),c.rtClick();var e="false"!==c.$elem.attr("data-hash");if(e===!0){var f=b.location.hash;f&&c.$elem.find("li").find('a[href="'+f+'"]').trigger("click"),a(b).on("hashchange",function(){var a=b.location.hash;c.$elem.find("li").find('a[href="'+a+'"]').trigger("click")})}},rtClick:function(){var c=this,d=c.$elem.find("li"),e=d.find("a");e.on("click",function(e){e.preventDefault(),d.removeClass("active"),c.rtTabContent(),a(this).parent().addClass("active");var f=a(this).attr("href");a(f).removeClass("hide");var g="false"!==c.$elem.attr("data-hash");if(g===!0){var h=a(b).scrollTop();location.hash=a(this).attr("href"),a(b).scrollTop(h)}"function"==typeof c.options.onComplete&&c.options.onComplete.apply(c.elem,arguments)})},rtTabContent:function(b){var c=this,d=c.$elem.find("li"),e=d.find("a");e.each(function(){var c=a(this),d=c.attr("href");"yes"===b?c.parent().hasClass("active")||a(d).addClass("hide"):a(d).addClass("hide")})}};a.fn.rtTab=function(b){return this.each(function(){var c=Object.create(e);c.init(b,this),a.data(this,"rtTab",c)})},a.fn.rtTab.options={activeTab:1,onComplete:null}}(jQuery,window,document),jQuery(document).ready(function(a){var b=document.createElement("div");b.setAttribute("class","rtm-warning rtm-fly-warning hide"),a(".rtm-tabs").rtTab(),a('input[name^="rtmedia-options"]').on("change",function(){a(".rtm-save-settings-msg").remove(),0===a(".rtm-fly-warning").length&&(b.innerText=rtmedia_admin_strings.settings_changed,a(".rtm-button-container.top").prepend(b),a(".rtm-fly-warning").slideDown())}),a(".rtm-img-size-setting .form-table tr:nth-child(7) td:last-child").attr("colspan","3"),a(".rtm-field-wrap .switch input[type=checkbox]").each(function(){var b=a(this);b.parents("table").attr("data-depends")||(b.is(":checked")?(b.parents("table").next(".rtm-notice").slideDown(),b.parents("table").siblings("table").each(function(){a(this).attr("data-depends")&&a(this).slideDown()})):(b.parents("table").next(".rtm-notice").slideUp(),b.parents("table").siblings("table").each(function(){a(this).attr("data-depends")&&a(this).slideUp()}))),b.parents("tr").next("tr").attr("data-depends")&&(b.is(":checked")?b.parents("tr").next("tr").slideDown():b.parents("tr").next("tr").slideUp())}),a(".rtm-field-wrap .switch input[type=checkbox]").on("change",function(){var b=a(this);b.parents("table").attr("data-depends")||(b.parents("table").next(".rtm-notice").slideToggle(),b.parents("table").siblings("table").each(function(){a(this).attr("data-depends")&&a(this).slideToggle()})),b.parents("tr").next("tr").attr("data-depends")&&b.parents("tr").next("tr").slideToggle()});var c=Backbone.View.extend({el:a(".bp-media-admin"),events:{"click .rtm-theme":"render","click .rtm-close":"close","click .rtm-previous":"previousTheme","click .rtm-next":"nextTheme",keyup:"keyEvent"},initialize:function(){_.bindAll(this,"render","close","nextTheme","previousTheme","keyEvent"),this.keyEvent()},render:function(b){a(".rtm-theme").removeClass("rtm-modal-open");var c=a(b.currentTarget).addClass("rtm-modal-open").find(".rtm-theme-content").html();if(a(".rtm-theme-overlay")[0])a(".rtm-theme-overlay").show(),a(this.el).find(".rtm-theme-content-wrap").empty().append(c);else{var d={themeContent:c};a(this.el).append(rtMediaAdmin.templates.rtm_theme_overlay(d))}a(b.currentTarget).is(":first-child")?a(".rtm-previous").addClass("disabled"):a(b.currentTarget).is(":last-child")?a(".rtm-next").addClass("disabled"):a(".rtm-next, .rtm-previous").removeClass("disabled")},close:function(){a(".rtm-theme").removeClass("rtm-modal-open"),a(".rtm-theme-overlay").hide(),a(".rtm-next, .rtm-previous").removeClass("disabled")},nextTheme:function(b){return a(".rtm-next, .rtm-previous").removeClass("disabled"),a(".rtm-theme:last-child").hasClass("rtm-modal-open")&&a(b.currentTarget).addClass("disabled"),a(".rtm-modal-open").next().trigger("click"),!1},previousTheme:function(b){return a(".rtm-next, .rtm-previous").removeClass("disabled"),a(".rtm-theme:first-child").hasClass("rtm-modal-open")&&a(b.currentTarget).addClass("disabled"),a(".rtm-modal-open").prev().trigger("click"),!1},keyEvent:function(){a("body").on("keyup",function(b){return 39===b.keyCode?(a(".rtm-next, .rtm-previous").removeClass("disabled"),a(".rtm-theme:last-child").hasClass("rtm-modal-open")&&a(b.currentTarget).addClass("disabled"),a(".rtm-modal-open").next().trigger("click"),!1):37===b.keyCode?(a(".rtm-next, .rtm-previous").removeClass("disabled"),a(".rtm-theme:first-child").hasClass("rtm-modal-open")&&a(b.currentTarget).addClass("disabled"),a(".rtm-modal-open").prev().trigger("click"),!1):void(27===b.keyCode&&a(".rtm-close").trigger("click"))})}});new c});var rtMediaAdmin=new Object;rtMediaAdmin.templates={rtm_image:wp.template("rtm-image"),rtm_msg_div:wp.template("rtm-msg-div"),rtm_album_favourites_importer:wp.template("rtm-album-favourites-importer"),rtm_map_mapping_failure:wp.template("rtm-map-mapping-failure"),rtm_p_tag:wp.template("rtm-p-tag"),rtm_theme_overlay:wp.template("rtm-theme-overlay")},jQuery(document).ready(function(a){function b(a){return jQuery.post(ajaxurl,a,function(b){if(0!=b){var c=!1,d=Math.ceil((20*parseInt(b)+parseInt(a.values.finished))/parseInt(a.values.total)*100);d>100&&(d=100,c=!0),jQuery("#rtprogressbar>div").css("width",d+"%"),finished=jQuery("#rtprivacyinstaller span.finished").html(),jQuery("#rtprivacyinstaller span.finished").html(parseInt(finished)+a.count),c&&jQuery.post(ajaxurl,{action:"rtmedia_privacy_redirect"},function(a){window.location=settings_url})}else{var e={msg:"Row "+b+" failed."};jQuery("#map_progress_msgs").html(rtMediaAdmin.templates.rtm_map_mapping_failure(e))}})}function c(a){return jQuery.getJSON(ajaxurl,a,function(b){if(favorites=!1,b){var c=Math.ceil((5*parseInt(b.page)+parseInt(a.values.finished))/parseInt(a.values.total)*100);comments_total=jQuery("#bpmedia-bpalbumimporter .bp-album-comments span.total").html(),users_total=jQuery("#bpmedia-bpalbumimporter .bp-album-users span.total").html(),media_total=jQuery("#bpmedia-bpalbumimporter .bp-album-media span.total").html(),comments_finished=jQuery("#bpmedia-bpalbumimporter .bp-album-comments span.finished").html(),users_finished=jQuery("#bpmedia-bpalbumimporter .bp-album-users span.finished").html();var f=Math.ceil((parseInt(b.comments)+parseInt(comments_finished))/parseInt(comments_total)*100),g=Math.ceil(parseInt(b.users)/parseInt(users_total)*100);(c>100||100==c)&&(c=100,favorites=!0),jQuery(".bp-album-media #rtprogressbar>div").css("width",c+"%"),jQuery(".bp-album-comments #rtprogressbar>div").css("width",f+"%"),jQuery(".bp-album-users #rtprogressbar>div").css("width",g+"%"),media_finished=jQuery("#bpmedia-bpalbumimporter .bp-album-media span.finished").html(),parseInt(media_finished)<parseInt(media_total)&&jQuery("#bpmedia-bpalbumimporter .bp-album-media span.finished").html(parseInt(media_finished)+a.count),jQuery("#bpmedia-bpalbumimporter .bp-album-comments span.finished").html(parseInt(b.comments)+parseInt(comments_finished)),jQuery("#bpmedia-bpalbumimporter .bp-album-users span.finished").html(parseInt(b.users)),favorites&&(favorite_data={action:"rtmedia_rt_album_import_favorites",rtm_wpnonce:jQuery("#bpaimporter_wpnonce").val()},jQuery.post(ajaxurl,favorite_data,function(a){if(!a.hasOwnProperty(favorites)||0===a.favorites&&"0"===a.favorites)window.setTimeout(e,2e3);else{if(!jQuery(".bp-album-favorites").length){var b={users:a.users};jQuery(".bp-album-comments").after(rtMediaAdmin.templates.rtm_album_favourites_importer(b))}$favorites={},0!=a.offset||"0"!=a.offset?start=1*a.offset+1:start=1;for(var c=start;c<=a.users;c++)$count=1,c==a.users&&($count=parseInt(a.users%$count),0==$count&&($count=1)),newvals={action:"rtmedia_rt_album_import_step_favorites",offset:1*(c-1),redirect:c==a.users,rtm_wpnonce:jQuery("#bpaimporter_wpnonce").val()},$favorites[c]=newvals;var f=jQuery.Deferred();f.resolve(),jQuery.each($favorites,function(a,b){f=f.pipe(function(){return d(b)})})}},"json"))}else if(a.hasOwnProperty(page)){var h={msg:"Row "+b.page+" failed."};jQuery("#map_progress_msgs").html(rtMediaAdmin.templates.rtm_map_mapping_failure(h))}else{var h={msg:rtmedia_admin_strings.request_failed};jQuery("#map_progress_msgs").html(rtMediaAdmin.templates.rtm_map_mapping_failure(h))}})}function d(a){return jQuery.post(ajaxurl,a,function(a){redirect=!1,favorites_total=jQuery("#bpmedia-bpalbumimporter .bp-album-favorites span.total").html(),favorites_finished=jQuery("#bpmedia-bpalbumimporter .bp-album-favorites span.finished").html(),jQuery("#bpmedia-bpalbumimporter .bp-album-favorites span.finished").html(parseInt(favorites_finished)+1);var b=Math.ceil(parseInt(favorites_finished+1)/parseInt(favorites_total)*100);(b>100||100==b)&&(b=100,redirect=!0),jQuery(".bp-album-favorites #rtprogressbar>div").css("width",b+"%"),redirect&&window.setTimeout(e,2e3)})}function e(){window.location=document.URL}var f=document.createElement("div");f.className="support_form_loader",a(".rtm-save-settings-msg").length>0&&setTimeout(function(){a(".rtm-save-settings-msg").remove()},1e4),jQuery("#spread-the-word").on("click","#bp-media-add-linkback",function(){var a={action:"rtmedia_linkback",linkback:jQuery("#bp-media-add-linkback:checked").length};jQuery.post(rtmedia_admin_ajax,a,function(a){})}),jQuery("#bp-media-settings-boxes").on("change","#select-request",function(){if(jQuery(this).val()){jQuery("#bp_media_settings_form .bp-media-metabox-holder").html(),jQuery("#bp_media_settings_form .bp-media-metabox-holder").html(f);var a={action:"rtmedia_select_request",form:jQuery(this).val()};jQuery.post(ajaxurl,a,function(a){jQuery("#bp_media_settings_form .bp-media-metabox-holder").html(),jQuery("#bp_media_settings_form .bp-media-metabox-holder").html(a).fadeIn("slow")})}}),jQuery("#bp-media-settings-boxes").on("click","#cancel-request",function(){if(jQuery(this).val()){jQuery("#bp_media_settings_form .bp-media-metabox-holder").html(),jQuery("#bp_media_settings_form .bp-media-metabox-holder").html(f);var a={action:"rtmedia_cancel_request"};jQuery.post(ajaxurl,a,function(a){jQuery("#bp_media_settings_form .bp-media-metabox-holder").html(),jQuery("#bp_media_settings_form .bp-media-metabox-holder").html(a).fadeIn("slow")})}}),jQuery("#bp-media-settings-boxes").on("submit","#bp_media_settings_form, .rtmedia-settings-submit",function(a){var b=!0,c=new RegExp("^[0-9]+$");jQuery("input[name*='defaultSizes']").each(function(a){return c.test(jQuery(this).val())?void 0:(alert("Invalid value for "+jQuery(this).attr("name").replace("rtmedia-options[defaultSizes_","").replace("]","").replace(/_/g," ").replace(/(\b)([a-zA-Z] )/g,function(a){return a.toUpperCase()})),b=!1,!1)});var d=jQuery('input[name^="rtmedia-options[general_videothumbs]"]');if(b&&d.length>0&&"undefined"!=typeof d){var e="",f=0;if(d.val()<=0?(e+=rtmedia_admin_strings.video_thumbnail_error,f=2):c.test(d.val())||(e+=rtmedia_admin_strings.video_thumbnail_invalid_value+" "+Math.round(d.val())+".",f=Math.round(d.val())),""!=e)return alert(e),d.val(f),b=!1,!1}var g=jQuery('input[name^="rtmedia-options[general_jpeg_image_quality]"]');if(b&&g.length>0&&"undefined"!=typeof g){var e="",h=0;if(g.val()<=0?(e+=rtmedia_admin_strings.jpeg_quality_negative_error,h=90):g.val()>100?(e+=rtmedia_admin_strings.jpeg_quality_percentage_error,h=100):c.test(g.val())||(e+=rtmedia_admin_strings.jpeg_quality_invalid_value+" "+Math.round(g.val())+".",h=Math.round(g.val())),""!=e)return alert(e),g.val(h),b=!1,!1}var i=jQuery('input[name^="rtmedia-options[general_perPageMedia]"]');if(b&&i.length>0&&"undefined"!=typeof i){var e="",j=0;if(i.val()<1?(e+=rtmedia_admin_strings.per_page_media_negative_value,j=10):jQuery.isNumeric(i.val())&&Math.floor(i.val())!=i.val()&&(e+=rtmedia_admin_strings.per_page_media_positive_error+" "+Math.round(i.val())+".",j=Math.round(i.val())),""!=e)return alert(e),i.val(j),b=!1,!1}b||a.preventDefault()}),jQuery(document).on("click","#bpm-services .encoding-try-now,#rtm-services .encoding-try-now",function(a){if(a.preventDefault(),confirm(rtmedia_admin_strings.are_you_sure)){var b={src:rtmedia_admin_url+"images/wpspin_light.gif"};jQuery(this).after(rtMediaAdmin.templates.rtm_image(b));var b={action:"rtmedia_free_encoding_subscribe"};jQuery.getJSON(ajaxurl,b,function(a){if(void 0===a.error&&a.apikey){var b=window.location.href,c=window.location.hash;b=b.replace(c,""),document.location.href=b+"&apikey="+a.apikey+c}else{jQuery(".encoding-try-now").next().remove(),jQuery("#settings-error-encoding-error").remove();var d={id:"settings-error-encoding-error",msg:a.error,"class":"error"};jQuery("#bp-media-settings-boxes").before(rtMediaAdmin.templates.rtm_msg_div(d))}})}}),jQuery(document).on("click","#api-key-submit",function(a){if(a.preventDefault(),0==jQuery(this).next("img").length){var b={src:rtmedia_admin_url+"images/wpspin_light.gif"};jQuery(this).after(rtMediaAdmin.templates.rtm_image(b))}var b={action:"rtmedia_enter_api_key",apikey:jQuery("#new-api-key").val()};jQuery.getJSON(ajaxurl,b,function(a){if(void 0===a.error&&a.apikey){var b=window.location.href,c=window.location.hash;b=b.replace(c,""),-1==b.toString().indexOf("&apikey="+a.apikey)&&(b+="&apikey="+a.apikey),-1==b.toString().indexOf("&update=true")&&(b+="&update=true"),document.location.href=b+c}else{jQuery("#settings-error-api-key-error").remove();var d={id:"settings-error-api-key-error",msg:a.error,"class":"error"};jQuery("h2:first").after(rtMediaAdmin.templates.rtm_msg_div(d))}jQuery("#api-key-submit").next("img").remove()})}),jQuery(document).on("click","#disable-encoding",function(a){if(a.preventDefault(),confirm(rtmedia_admin_strings.disable_encoding)){var b={src:rtmedia_admin_url+"images/wpspin_light.gif"};jQuery(this).after(rtMediaAdmin.templates.rtm_image(b));var b={action:"rtmedia_disable_encoding"};jQuery.post(ajaxurl,b,function(a){if(a){if(jQuery(".settings-error-encoding-disabled").remove(),jQuery("#settings-encoding-successfully-updated").length>0)jQuery("#settings-encoding-successfully-updated p").html(a);else{var b={id:"settings-encoding-successfully-updated",msg:a,"class":"updated"};jQuery("h2:first").after(rtMediaAdmin.templates.rtm_msg_div(b))}jQuery("#rtmedia-encoding-usage").hide(),jQuery("#disable-encoding").next("img").remove(),jQuery("#disable-encoding").hide(),jQuery("#enable-encoding").show()}else{jQuery("#settings-error-encoding-disabled").remove();var b={id:"settings-error-encoding-disabled",msg:rtmedia_admin_strings.something_went_wrong,"class":"error"};jQuery("h2:first").after(rtMediaAdmin.templates.rtm_msg_div(b))}})}}),jQuery(document).on("click","#enable-encoding",function(a){if(a.preventDefault(),confirm(rtmedia_admin_strings.enable_encoding)){var b={src:rtmedia_admin_url+"images/wpspin_light.gif"};jQuery(this).after(rtMediaAdmin.templates.rtm_image(b));var b={action:"rtmedia_enable_encoding"};jQuery.post(ajaxurl,b,function(a){if(a){if(jQuery(".settings-error-encoding-enabled").remove(),jQuery("#settings-encoding-successfully-updated").length>0)jQuery("#settings-encoding-successfully-updated p").html(a);else{var b={id:"settings-encoding-successfully-updated",msg:a,"class":"updated"};jQuery("h2:first").after(rtMediaAdmin.templates.rtm_msg_div(b))}jQuery("#enable-encoding").next("img").remove(),jQuery("#enable-encoding").hide(),jQuery("#disable-encoding").show()}else{jQuery("#settings-error-encoding-disabled").remove();var b={id:"settings-error-encoding-enabled",msg:rtmedia_admin_strings.something_went_wrong,"class":"error"};jQuery("h2:first").after(rtMediaAdmin.templates.rtm_msg_div(b))}})}}),jQuery(".bp-media-encoding-table").on("click",".bpm-unsubscribe",function(a){a.preventDefault(),jQuery("#bpm-unsubscribe-dialog").dialog({dialogClass:"wp-dialog",modal:!0,buttons:{Unsubscribe:function(){jQuery(this).dialog("close");var a={src:rtmedia_admin_url+"images/wpspin_light.gif"};jQuery(".bpm-unsubscribe").after(rtMediaAdmin.templates.rtm_image(a));var a={action:"rtmedia_unsubscribe_encoding_service",note:jQuery("#bpm-unsubscribe-note").val(),plan:jQuery(".bpm-unsubscribe").attr("data-plan"),price:jQuery(".bpm-unsubscribe").attr("data-price")};jQuery.getJSON(ajaxurl,a,function(a){if(void 0===a.error&&a.updated){jQuery(".bpm-unsubscribe").next().remove(),jQuery(".bpm-unsubscribe").after(a.form),jQuery(".bpm-unsubscribe").remove(),jQuery("#settings-unsubscribed-successfully").remove(),jQuery("#settings-unsubscribe-error").remove();var b={id:"settings-unsubscribed-successfully",msg:a.updated,"class":"updated"};jQuery("h2:first").after(rtMediaAdmin.templates.rtm_msg_div(b)),window.location.hash="#settings-unsubscribed-successfully"}else{jQuery(".bpm-unsubscribe").next().remove(),jQuery("#settings-unsubscribed-successfully").remove(),jQuery("#settings-unsubscribe-error").remove();var b={id:"settings-unsubscribe-error",msg:a.error,"class":"error"};jQuery("h2:first").after(rtMediaAdmin.templates.rtm_msg_div(b)),window.location.hash="#settings-unsubscribe-error"}})}}})}),jQuery("#bpmedia-bpalbumimporter").on("change","#bp-album-import-accept",function(){jQuery(".bp-album-import-accept").toggleClass("i-accept"),jQuery(".bp-album-importer-wizard").slideToggle()}),jQuery("#rtprivacyinstall").click(function(a){a.preventDefault(),$progress_parent=jQuery("#rtprivacyinstaller"),$progress_parent.find(".rtprivacytype").each(function(){if($type=jQuery(this).attr("id"),"total"==$type){$values=[],jQuery(this).find("input").each(function(){$values[jQuery(this).attr("name")]=[jQuery(this).val()]}),$data={};for(var a=1;a<=$values.steps[0];a++)$count=20,a==$values.steps[0]&&($count=parseInt($values.laststep[0]),0==$count&&($count=20)),newvals={page:a,action:"rtmedia_privacy_install",count:$count,values:$values},$data[a]=newvals;var c=jQuery.Deferred();c.resolve(),jQuery.each($data,function(a,d){c=c.pipe(function(){return b(d)})})}})}),jQuery("#bpmedia-bpalbumimport-cleanup").click(function(a){a.preventDefault(),jQuery.post(ajaxurl,{action:"rtmedia_rt_album_cleanup",rtm_wpnonce:jQuery("#bpaimporter_wpnonce").val()},function(a){window.location=settings_rt_album_import_url})}),jQuery("#bpmedia-bpalbumimporter").on("click","#bpmedia-bpalbumimport",function(a){if(a.preventDefault(),!jQuery("#bp-album-import-accept").prop("checked")){jQuery("html, body").animate({scrollTop:jQuery("#bp-album-import-accept").offset().top},500);var b=jQuery(".bp-album-import-accept"),d=500,e="#FFEBE8",f=3;return void function i(){b.css("background-color","#EE0000"),setTimeout(function(){b.css("background-color",e),--f&&setTimeout(i,d)},d)}()}if(jQuery(this).prop("disabled",!0),wp_admin_url=ajaxurl.replace("admin-ajax.php",""),!jQuery(".bpm-ajax-loader").length){var g={src:rtmedia_admin_url+"images/wpspin_light.gif","class":"bpm-ajax-loader",norefresh:rtmedia_admin_strings.no_refresh};jQuery(this).after(rtMediaAdmin.templates.rtm_image(g))}$progress_parent=jQuery("#bpmedia-bpalbumimport"),$values=[],jQuery(this).parent().find("input").each(function(){$values[jQuery(this).attr("name")]=[jQuery(this).val()]}),0==$values.steps[0]&&($values.steps[0]=1),$data={};for(var f=1;f<=$values.steps[0];f++)$count=5,f==$values.steps[0]&&($count=parseInt($values.laststep[0]),0==$count&&($count=5)),newvals={page:f,action:"rtmedia_rt_album_import",count:$count,values:$values,rtm_wpnonce:jQuery("#bpaimporter_wpnonce").val()},$data[f]=newvals;var h=jQuery.Deferred();h.resolve(),jQuery.each($data,function(a,b){h=h.pipe(function(){return c(b)})})}),jQuery("#bp-media-settings-boxes").on("click",".interested",function(){jQuery(".interested-container").removeClass("hidden"),jQuery(".choice-free").attr("required","required")}),jQuery("#bp-media-settings-boxes").on("click",".not-interested",function(){jQuery(".interested-container").addClass("hidden"),jQuery(".choice-free").removeAttr("required")}),jQuery("#video-transcoding-main-container").on("click",".video-transcoding-survey",function(a){a.preventDefault();var b={action:"rtmedia_convert_videos_form",email:jQuery(".email").val(),url:jQuery(".url").val(),choice:jQuery('input[name="choice"]:checked').val(),interested:jQuery('input[name="interested"]:checked').val()};return jQuery.post(ajaxurl,b,function(a){var b={msg:a,strong:"yes"};jQuery("#video-transcoding-main-container").html(rtMediaAdmin.templates.rtm_p_tag(b))}),!1}),jQuery("#bpmedia-bpalbumimporter").on("click",".deactivate-bp-album",function(a){a.preventDefault(),$bpalbum=jQuery(this);var b={action:"rtmedia_rt_album_deactivate",rtm_wpnonce:jQuery("#bpaimporter_wpnonce").val()};jQuery.get(ajaxurl,b,function(a){if(a)location.reload();else{var b={msg:rtmedia_admin_strings.something_went_wrong};$bpalbum.parent().after(rtMediaAdmin.templates.rtm_p_tag(b))}})}),jQuery(".updated").on("click",".bpm-hide-encoding-notice",function(){var a={src:rtmedia_admin_url+"images/wpspin_light.gif"};jQuery(this).after(rtMediaAdmin.templates.rtm_image(a));var a={action:"rtmedia_hide_encoding_notice"};jQuery.post(ajaxurl,a,function(a){a&&jQuery(".bpm-hide-encoding-notice").closest(".updated").remove()})}),jQuery("#rtmedia-bp-enable-activity").is(":checked")?jQuery(".rtmedia-bp-activity-setting").prop("readonly",!1):jQuery(".rtmedia-bp-activity-setting").prop("readonly",!0),jQuery("#rtmedia-bp-enable-activity").on("click",function(a){jQuery(this).is(":checked")?jQuery(".rtmedia-bp-activity-setting").prop("readonly",!1):jQuery(".rtmedia-bp-activity-setting").prop("readonly",!0)});var g="",h="";void 0!==rtmedia_on_label&&(g='data-on-label="'+rtmedia_on_label+'"'),void 0!==rtmedia_off_label&&(h='data-off-label="'+rtmedia_off_label+'"'),jQuery("#rtmedia-submit-request").click(function(){var b=jQuery("#name").val(),c=jQuery("#email").val(),d=jQuery("#website").val(),e=jQuery("#phone").val(),f=jQuery("#subject").val(),g=jQuery("#details").val(),h=jQuery('input[name="request_type"]').val(),i=jQuery('input[name="request_id"]').val(),j=jQuery('input[name="server_address"]').val(),k=jQuery('input[name="ip_address"]').val(),l=jQuery('input[name="server_type"]').val(),m=jQuery('input[name="user_agent"]').val(),n={name:b,email:c,website:d,phone:e,subject:f,details:g,request_id:i,request_type:"premium_support",server_address:j,ip_address:k,server_type:l,user_agent:m};if("bug_report"==h){var o=jQuery("#wp_admin_username").val();if(""==o)return alert(rtmedia_admin_support_strings.wp_admin_username_error),!1;var p=jQuery("#wp_admin_pwd").val();if(""==p)return alert(rtmedia_admin_support_strings.wp_admin_pwd_error),!1;var q=jQuery("#ssh_ftp_host").val();if(""==q)return alert(rtmedia_admin_support_strings.ssh_ftp_host_error),!1;var r=jQuery("#ssh_ftp_username").val();if(""==r)return alert(rtmedia_admin_support_strings.ssh_ftp_username_error),!1;var s=jQuery("#ssh_ftp_pwd").val();if(""==s)return alert(rtmedia_admin_support_strings.ssh_ftp_pwd_error),!1;n={name:b,email:c,website:d,phone:e,subject:f,details:g,request_id:i,request_type:"premium_support",server_address:j,ip_address:k,server_type:l,user_agent:m,wp_admin_username:o,wp_admin_pwd:p,ssh_ftp_host:q,ssh_ftp_username:r,ssh_ftp_pwd:s}}for(formdata in n)if(""==n[formdata]&&"phone"!=formdata)return alert("Please enter "+formdata.replace("_"," ")+" field."),!1;return data={action:"rtmedia_submit_request",form_data:n,support_wpnonce:jQuery("#support_wpnonce").val()},jQuery.post(ajaxurl,data,function(b){return b=b.trim(),"false"==b?(alert(rtmedia_admin_support_strings.all_fields_error),!1):(a("#rtmedia_service_contact_container").empty(),void a("#rtmedia_service_contact_container").append(b))}),!1}),jQuery("#cancel-request").click(function(){return!1}),jQuery(".rtm_enable_masonry_view input[type=checkbox]").is(":checked")?jQuery(".rtm_enable_masonry_view").parents(".metabox-holder").find(".rtmedia-info").show():jQuery(".rtm_enable_masonry_view").parents(".metabox-holder").find(".rtmedia-info").hide(),jQuery(".rtm_enable_masonry_view input[type=checkbox]").on("click",function(a){jQuery(this).is(":checked")?jQuery(".rtm_enable_masonry_view").parents(".metabox-holder").find(".rtmedia-info").show():jQuery(".rtm_enable_masonry_view").parents(".metabox-holder").find(".rtmedia-info").hide()}),jQuery("#rtm-masonry-change-thumbnail-info").click(function(a){jQuery("html, body").animate({scrollTop:0},"500","swing")})}),jQuery(window).load(function(){jQuery(".rtmedia-addon-thickbox").trigger("click")});
app/assets/admin/js/scripts.js CHANGED
@@ -1,9 +1,9 @@
1
  /**
2
  * Responsive Table JS
3
  */
4
- jQuery( document ).ready( function ( $ ) {
5
 
6
- var rtm_warning = document.createElement('div');
7
  rtm_warning.setAttribute( 'class', 'rtm-warning rtm-fly-warning hide' );
8
 
9
  // Tabs
@@ -13,8 +13,8 @@ jQuery( document ).ready( function ( $ ) {
13
  $( 'input[name^="rtmedia-options"]' ).on( 'change', function () {
14
  $( '.rtm-save-settings-msg' ).remove();
15
 
16
- if ( $( '.rtm-fly-warning' ).length === 0 ) {
17
- rtm_warning.innerText = "Settings have changed, you should save them!";
18
 
19
  $( '.rtm-button-container.top' ).prepend( rtm_warning );
20
  $( '.rtm-fly-warning' ).slideDown();
@@ -24,14 +24,14 @@ jQuery( document ).ready( function ( $ ) {
24
  // This is for chrome border issue
25
  $( '.rtm-img-size-setting .form-table tr:nth-child(7) td:last-child' ).attr( 'colspan', '3' );
26
 
27
- $( '.rtm-field-wrap .switch input[type=checkbox]' ).each( function () {
28
  var self = $( this );
29
 
30
  if ( ! self.parents( 'table' ).attr( 'data-depends' ) ) {
31
  if ( self.is( ':checked' ) ) {
32
  self.parents( 'table' ).next( '.rtm-notice' ).slideDown();
33
 
34
- self.parents( 'table' ).siblings( 'table' ).each( function () {
35
  if ( $( this ).attr( 'data-depends' ) ) {
36
  $( this ).slideDown();
37
  }
@@ -39,7 +39,7 @@ jQuery( document ).ready( function ( $ ) {
39
  } else {
40
  self.parents( 'table' ).next( '.rtm-notice' ).slideUp();
41
 
42
- self.parents( 'table' ).siblings( 'table' ).each( function () {
43
  if ( $( this ).attr( 'data-depends' ) ) {
44
  $( this ).slideUp();
45
  }
@@ -56,14 +56,13 @@ jQuery( document ).ready( function ( $ ) {
56
  }
57
  } );
58
 
59
- $( '.rtm-field-wrap .switch input[type=checkbox]' ).on( 'change', function () {
60
  var self = $( this );
61
 
62
  if ( ! self.parents( 'table' ).attr( 'data-depends' ) ) {
63
-
64
  self.parents( 'table' ).next( '.rtm-notice' ).slideToggle();
65
 
66
- self.parents( 'table' ).siblings( 'table' ).each( function () {
67
  if ( $( this ).attr( 'data-depends' ) ) {
68
  $( this ).slideToggle();
69
  }
@@ -71,7 +70,6 @@ jQuery( document ).ready( function ( $ ) {
71
  }
72
 
73
  if ( self.parents( 'tr' ).next( 'tr' ).attr( 'data-depends' ) ) {
74
-
75
  self.parents( 'tr' ).next( 'tr' ).slideToggle();
76
  }
77
  } );
@@ -80,7 +78,6 @@ jQuery( document ).ready( function ( $ ) {
80
  // May be not like Backbone, But I will surely update this code. ;)
81
  var ListView = Backbone.View.extend( {
82
  el: $( '.bp-media-admin' ), // attaches `this.el` to an existing element.
83
-
84
  events: {
85
  'click .rtm-theme': 'render',
86
  'click .rtm-close': 'close',
@@ -88,12 +85,12 @@ jQuery( document ).ready( function ( $ ) {
88
  'click .rtm-next': 'nextTheme',
89
  'keyup': 'keyEvent'
90
  },
91
- initialize: function () {
92
  _.bindAll( this, 'render', 'close', 'nextTheme', 'previousTheme', 'keyEvent' ); // fixes loss of context for 'this' within methods
93
 
94
  this.keyEvent();
95
  },
96
- render: function ( event ) {
97
  $( '.rtm-theme' ).removeClass( 'rtm-modal-open' );
98
 
99
  var themeContent = $( event.currentTarget ).addClass( 'rtm-modal-open' ).find( '.rtm-theme-content' ).html();
@@ -103,7 +100,7 @@ jQuery( document ).ready( function ( $ ) {
103
  $( this.el ).find( '.rtm-theme-content-wrap' ).empty().append( themeContent );
104
  } else {
105
  var data = {
106
- themeContent : themeContent
107
  };
108
 
109
  $( this.el ).append( rtMediaAdmin.templates.rtm_theme_overlay( data ) );
@@ -116,65 +113,71 @@ jQuery( document ).ready( function ( $ ) {
116
  } else {
117
  $( '.rtm-next, .rtm-previous' ).removeClass( 'disabled' );
118
  }
119
-
120
  },
121
- close: function () {
122
  $( '.rtm-theme' ).removeClass( 'rtm-modal-open' );
123
  $( '.rtm-theme-overlay' ).hide();
124
  $( '.rtm-next, .rtm-previous' ).removeClass( 'disabled' );
125
  },
126
- nextTheme: function ( event ) {
127
  $( '.rtm-next, .rtm-previous' ).removeClass( 'disabled' );
 
128
  if ( $( '.rtm-theme:last-child' ).hasClass( 'rtm-modal-open' ) ) {
129
  $( event.currentTarget ).addClass( 'disabled' );
130
  }
131
 
132
  $( '.rtm-modal-open' ).next().trigger( 'click' );
 
133
  return false;
134
  },
135
- previousTheme: function ( event ) {
136
  $( '.rtm-next, .rtm-previous' ).removeClass( 'disabled' );
 
137
  if ( $( '.rtm-theme:first-child' ).hasClass( 'rtm-modal-open' ) ) {
138
  $( event.currentTarget ).addClass( 'disabled' );
139
  }
140
 
141
  $( '.rtm-modal-open' ).prev().trigger( 'click' );
 
142
  return false;
143
  },
144
- keyEvent: function ( ) {
145
  // Bind keyboard events.
146
- $( 'body' ).on( 'keyup', function ( event ) {
147
  // The right arrow key, next theme
148
- if ( event.keyCode === 39 ) {
149
  $( '.rtm-next, .rtm-previous' ).removeClass( 'disabled' );
 
150
  if ( $( '.rtm-theme:last-child' ).hasClass( 'rtm-modal-open' ) ) {
151
  $( event.currentTarget ).addClass( 'disabled' );
152
  }
153
 
154
  $( '.rtm-modal-open' ).next().trigger( 'click' );
 
155
  return false;
156
  }
157
 
158
  // The left arrow key, previous theme
159
- if ( event.keyCode === 37 ) {
160
  $( '.rtm-next, .rtm-previous' ).removeClass( 'disabled' );
 
161
  if ( $( '.rtm-theme:first-child' ).hasClass( 'rtm-modal-open' ) ) {
162
  $( event.currentTarget ).addClass( 'disabled' );
163
  }
164
 
165
  $( '.rtm-modal-open' ).prev().trigger( 'click' );
 
166
  return false;
167
  }
168
 
169
  // The escape key closes the preview
170
- if ( event.keyCode === 27 ) {
171
  $( '.rtm-close' ).trigger( 'click' );
172
  }
173
  } );
174
  }
175
-
176
  } );
177
 
178
  var listView = new ListView();
179
 
180
- } );
1
  /**
2
  * Responsive Table JS
3
  */
4
+ jQuery( document ).ready( function( $ ) {
5
 
6
+ var rtm_warning = document.createElement( 'div' );
7
  rtm_warning.setAttribute( 'class', 'rtm-warning rtm-fly-warning hide' );
8
 
9
  // Tabs
13
  $( 'input[name^="rtmedia-options"]' ).on( 'change', function () {
14
  $( '.rtm-save-settings-msg' ).remove();
15
 
16
+ if ( 0 === $( '.rtm-fly-warning' ).length ) {
17
+ rtm_warning.innerText = rtmedia_admin_strings.settings_changed;
18
 
19
  $( '.rtm-button-container.top' ).prepend( rtm_warning );
20
  $( '.rtm-fly-warning' ).slideDown();
24
  // This is for chrome border issue
25
  $( '.rtm-img-size-setting .form-table tr:nth-child(7) td:last-child' ).attr( 'colspan', '3' );
26
 
27
+ $( '.rtm-field-wrap .switch input[type=checkbox]' ).each( function() {
28
  var self = $( this );
29
 
30
  if ( ! self.parents( 'table' ).attr( 'data-depends' ) ) {
31
  if ( self.is( ':checked' ) ) {
32
  self.parents( 'table' ).next( '.rtm-notice' ).slideDown();
33
 
34
+ self.parents( 'table' ).siblings( 'table' ).each( function() {
35
  if ( $( this ).attr( 'data-depends' ) ) {
36
  $( this ).slideDown();
37
  }
39
  } else {
40
  self.parents( 'table' ).next( '.rtm-notice' ).slideUp();
41
 
42
+ self.parents( 'table' ).siblings( 'table' ).each( function() {
43
  if ( $( this ).attr( 'data-depends' ) ) {
44
  $( this ).slideUp();
45
  }
56
  }
57
  } );
58
 
59
+ $( '.rtm-field-wrap .switch input[type=checkbox]' ).on( 'change', function() {
60
  var self = $( this );
61
 
62
  if ( ! self.parents( 'table' ).attr( 'data-depends' ) ) {
 
63
  self.parents( 'table' ).next( '.rtm-notice' ).slideToggle();
64
 
65
+ self.parents( 'table' ).siblings( 'table' ).each( function() {
66
  if ( $( this ).attr( 'data-depends' ) ) {
67
  $( this ).slideToggle();
68
  }
70
  }
71
 
72
  if ( self.parents( 'tr' ).next( 'tr' ).attr( 'data-depends' ) ) {
 
73
  self.parents( 'tr' ).next( 'tr' ).slideToggle();
74
  }
75
  } );
78
  // May be not like Backbone, But I will surely update this code. ;)
79
  var ListView = Backbone.View.extend( {
80
  el: $( '.bp-media-admin' ), // attaches `this.el` to an existing element.
 
81
  events: {
82
  'click .rtm-theme': 'render',
83
  'click .rtm-close': 'close',
85
  'click .rtm-next': 'nextTheme',
86
  'keyup': 'keyEvent'
87
  },
88
+ initialize: function() {
89
  _.bindAll( this, 'render', 'close', 'nextTheme', 'previousTheme', 'keyEvent' ); // fixes loss of context for 'this' within methods
90
 
91
  this.keyEvent();
92
  },
93
+ render: function( event ) {
94
  $( '.rtm-theme' ).removeClass( 'rtm-modal-open' );
95
 
96
  var themeContent = $( event.currentTarget ).addClass( 'rtm-modal-open' ).find( '.rtm-theme-content' ).html();
100
  $( this.el ).find( '.rtm-theme-content-wrap' ).empty().append( themeContent );
101
  } else {
102
  var data = {
103
+ themeContent: themeContent
104
  };
105
 
106
  $( this.el ).append( rtMediaAdmin.templates.rtm_theme_overlay( data ) );
113
  } else {
114
  $( '.rtm-next, .rtm-previous' ).removeClass( 'disabled' );
115
  }
 
116
  },
117
+ close: function() {
118
  $( '.rtm-theme' ).removeClass( 'rtm-modal-open' );
119
  $( '.rtm-theme-overlay' ).hide();
120
  $( '.rtm-next, .rtm-previous' ).removeClass( 'disabled' );
121
  },
122
+ nextTheme: function( event ) {
123
  $( '.rtm-next, .rtm-previous' ).removeClass( 'disabled' );
124
+
125
  if ( $( '.rtm-theme:last-child' ).hasClass( 'rtm-modal-open' ) ) {
126
  $( event.currentTarget ).addClass( 'disabled' );
127
  }
128
 
129
  $( '.rtm-modal-open' ).next().trigger( 'click' );
130
+
131
  return false;
132
  },
133
+ previousTheme: function( event ) {
134
  $( '.rtm-next, .rtm-previous' ).removeClass( 'disabled' );
135
+
136
  if ( $( '.rtm-theme:first-child' ).hasClass( 'rtm-modal-open' ) ) {
137
  $( event.currentTarget ).addClass( 'disabled' );
138
  }
139
 
140
  $( '.rtm-modal-open' ).prev().trigger( 'click' );
141
+
142
  return false;
143
  },
144
+ keyEvent: function() {
145
  // Bind keyboard events.
146
+ $( 'body' ).on( 'keyup', function( event ) {
147
  // The right arrow key, next theme
148
+ if ( 39 === event.keyCode ) {
149
  $( '.rtm-next, .rtm-previous' ).removeClass( 'disabled' );
150
+
151
  if ( $( '.rtm-theme:last-child' ).hasClass( 'rtm-modal-open' ) ) {
152
  $( event.currentTarget ).addClass( 'disabled' );
153
  }
154
 
155
  $( '.rtm-modal-open' ).next().trigger( 'click' );
156
+
157
  return false;
158
  }
159
 
160
  // The left arrow key, previous theme
161
+ if ( 37 === event.keyCode ) {
162
  $( '.rtm-next, .rtm-previous' ).removeClass( 'disabled' );
163
+
164
  if ( $( '.rtm-theme:first-child' ).hasClass( 'rtm-modal-open' ) ) {
165
  $( event.currentTarget ).addClass( 'disabled' );
166
  }
167
 
168
  $( '.rtm-modal-open' ).prev().trigger( 'click' );
169
+
170
  return false;
171
  }
172
 
173
  // The escape key closes the preview
174
+ if ( 27 === event.keyCode ) {
175
  $( '.rtm-close' ).trigger( 'click' );
176
  }
177
  } );
178
  }
 
179
  } );
180
 
181
  var listView = new ListView();
182
 
183
+ } );
app/assets/admin/js/settings.js CHANGED
@@ -93,10 +93,10 @@ jQuery( document ).ready( function ( $ ) {
93
  var error_msg = "";
94
  var general_videothumb_val = 0;
95
  if ( general_videothumb.val() <= 0 ) {
96
- error_msg += "Number of video thumbnails to be generated should be greater than 0 in media sizes settings. Setting it to default value 2.";
97
  general_videothumb_val = 2;
98
  } else if ( !reg.test( general_videothumb.val() ) ) {
99
- error_msg += 'Invalid value for Number of video thumbnails in media sizes settings. Setting it to round value ' + Math.round( general_videothumb.val() ) + ".";
100
  general_videothumb_val = Math.round( general_videothumb.val() );
101
  }
102
  if ( error_msg != "" ) {
@@ -112,13 +112,13 @@ jQuery( document ).ready( function ( $ ) {
112
  var error_msg = "";
113
  var general_jpeg_image_quality_val = 0;
114
  if ( general_jpeg_image_quality.val() <= 0 ) {
115
- error_msg += "Number of percentage in JPEG image quality should be greater than 0 in media sizes settings. Setting it to default value 90.";
116
  general_jpeg_image_quality_val = 90;
117
  } else if ( general_jpeg_image_quality.val() > 100 ) {
118
- error_msg += "Number of percentage in JPEG image quality should be less than 100 in media sizes settings. Setting it to 100.";
119
  general_jpeg_image_quality_val = 100;
120
  } else if ( !reg.test( general_jpeg_image_quality.val() ) ) {
121
- error_msg += 'Invalid value for percentage in JPEG image quality in media sizes settings. Setting it to round value ' + Math.round( general_jpeg_image_quality.val() ) + ".";
122
  general_jpeg_image_quality_val = Math.round( general_jpeg_image_quality.val() );
123
  }
124
  if ( error_msg != "" ) {
@@ -134,10 +134,10 @@ jQuery( document ).ready( function ( $ ) {
134
  var error_msg = "";
135
  var general_perPageMedia_val = 0;
136
  if ( general_perPageMedia.val() < 1 ) {
137
- error_msg += "Please enter positive integer value only. Setting number of media per page value to default value 10.";
138
  general_perPageMedia_val = 10;
139
  } else if ( jQuery.isNumeric( general_perPageMedia.val() ) && ( Math.floor( general_perPageMedia.val() ) != general_perPageMedia.val() ) ) {
140
- error_msg += "Please enter positive integer value only. Setting number of media per page value to round value " + Math.round( general_perPageMedia.val() ) + ".";
141
  general_perPageMedia_val = Math.round( general_perPageMedia.val() );
142
  }
143
  if ( error_msg != "" ) {
@@ -551,7 +551,7 @@ jQuery( document ).ready( function ( $ ) {
551
  jQuery('#map_progress_msgs').html( rtMediaAdmin.templates.rtm_map_mapping_failure( map_data ) );
552
  } else {
553
  var map_data = {
554
- msg : "Request failed."
555
  };
556
 
557
  jQuery('#map_progress_msgs').html( rtMediaAdmin.templates.rtm_map_mapping_failure( map_data ) );
@@ -783,27 +783,27 @@ jQuery( document ).ready( function ( $ ) {
783
  if ( request_type == "bug_report" ) {
784
  var wp_admin_username = jQuery( '#wp_admin_username' ).val();
785
  if ( wp_admin_username == "" ) {
786
- alert( "Please enter WP Admin Login." );
787
  return false;
788
  }
789
  var wp_admin_pwd = jQuery( '#wp_admin_pwd' ).val();
790
  if ( wp_admin_pwd == "" ) {
791
- alert( "Please enter WP Admin password." );
792
  return false;
793
  }
794
  var ssh_ftp_host = jQuery( '#ssh_ftp_host' ).val();
795
  if ( ssh_ftp_host == "" ) {
796
- alert( "Please enter SSH / FTP host." );
797
  return false;
798
  }
799
  var ssh_ftp_username = jQuery( '#ssh_ftp_username' ).val();
800
  if ( ssh_ftp_username == "" ) {
801
- alert( "Please enter SSH / FTP login." );
802
  return false;
803
  }
804
  var ssh_ftp_pwd = jQuery( '#ssh_ftp_pwd' ).val();
805
  if ( ssh_ftp_pwd == "" ) {
806
- alert( "Please enter SSH / FTP password." );
807
  return false;
808
  }
809
  form_data = {
@@ -840,7 +840,7 @@ jQuery( document ).ready( function ( $ ) {
840
  jQuery.post( ajaxurl, data, function ( data ) {
841
  data = data.trim();
842
  if ( data == "false" ) {
843
- alert( "Please fill all the fields." );
844
  return false;
845
  }
846
  $( '#rtmedia_service_contact_container' ).empty();
93
  var error_msg = "";
94
  var general_videothumb_val = 0;
95
  if ( general_videothumb.val() <= 0 ) {
96
+ error_msg += rtmedia_admin_strings.video_thumbnail_error;
97
  general_videothumb_val = 2;
98
  } else if ( !reg.test( general_videothumb.val() ) ) {
99
+ error_msg += rtmedia_admin_strings.video_thumbnail_invalid_value + ' ' + Math.round( general_videothumb.val() ) + ".";
100
  general_videothumb_val = Math.round( general_videothumb.val() );
101
  }
102
  if ( error_msg != "" ) {
112
  var error_msg = "";
113
  var general_jpeg_image_quality_val = 0;
114
  if ( general_jpeg_image_quality.val() <= 0 ) {
115
+ error_msg += rtmedia_admin_strings.jpeg_quality_negative_error;
116
  general_jpeg_image_quality_val = 90;
117
  } else if ( general_jpeg_image_quality.val() > 100 ) {
118
+ error_msg += rtmedia_admin_strings.jpeg_quality_percentage_error;
119
  general_jpeg_image_quality_val = 100;
120
  } else if ( !reg.test( general_jpeg_image_quality.val() ) ) {
121
+ error_msg += rtmedia_admin_strings.jpeg_quality_invalid_value + ' ' + Math.round( general_jpeg_image_quality.val() ) + ".";
122
  general_jpeg_image_quality_val = Math.round( general_jpeg_image_quality.val() );
123
  }
124
  if ( error_msg != "" ) {
134
  var error_msg = "";
135
  var general_perPageMedia_val = 0;
136
  if ( general_perPageMedia.val() < 1 ) {
137
+ error_msg += rtmedia_admin_strings.per_page_media_negative_value;
138
  general_perPageMedia_val = 10;
139
  } else if ( jQuery.isNumeric( general_perPageMedia.val() ) && ( Math.floor( general_perPageMedia.val() ) != general_perPageMedia.val() ) ) {
140
+ error_msg += rtmedia_admin_strings.per_page_media_positive_error + " " + Math.round( general_perPageMedia.val() ) + ".";
141
  general_perPageMedia_val = Math.round( general_perPageMedia.val() );
142
  }
143
  if ( error_msg != "" ) {
551
  jQuery('#map_progress_msgs').html( rtMediaAdmin.templates.rtm_map_mapping_failure( map_data ) );
552
  } else {
553
  var map_data = {
554
+ msg : rtmedia_admin_strings.request_failed
555
  };
556
 
557
  jQuery('#map_progress_msgs').html( rtMediaAdmin.templates.rtm_map_mapping_failure( map_data ) );
783
  if ( request_type == "bug_report" ) {
784
  var wp_admin_username = jQuery( '#wp_admin_username' ).val();
785
  if ( wp_admin_username == "" ) {
786
+ alert( rtmedia_admin_support_strings.wp_admin_username_error );
787
  return false;
788
  }
789
  var wp_admin_pwd = jQuery( '#wp_admin_pwd' ).val();
790
  if ( wp_admin_pwd == "" ) {
791
+ alert( rtmedia_admin_support_strings.wp_admin_pwd_error );
792
  return false;
793
  }
794
  var ssh_ftp_host = jQuery( '#ssh_ftp_host' ).val();
795
  if ( ssh_ftp_host == "" ) {
796
+ alert( rtmedia_admin_support_strings.ssh_ftp_host_error );
797
  return false;
798
  }
799
  var ssh_ftp_username = jQuery( '#ssh_ftp_username' ).val();
800
  if ( ssh_ftp_username == "" ) {
801
+ alert( rtmedia_admin_support_strings.ssh_ftp_username_error );
802
  return false;
803
  }
804
  var ssh_ftp_pwd = jQuery( '#ssh_ftp_pwd' ).val();
805
  if ( ssh_ftp_pwd == "" ) {
806
+ alert( rtmedia_admin_support_strings.ssh_ftp_pwd_error );
807
  return false;
808
  }
809
  form_data = {
840
  jQuery.post( ajaxurl, data, function ( data ) {
841
  data = data.trim();
842
  if ( data == "false" ) {
843
+ alert( rtmedia_admin_support_strings.all_fields_error );
844
  return false;
845
  }
846
  $( '#rtmedia_service_contact_container' ).empty();
app/main/controllers/activity/RTMediaBuddyPressActivity.php CHANGED
@@ -42,6 +42,10 @@ class RTMediaBuddyPressActivity {
42
  add_action( 'rtmedia_after_add_comment', array( $this, 'activity_after_media_comment' ) );
43
  add_action( 'rtmedia_before_remove_comment', array( $this, 'remove_activity_after_media_comment_delete' ) );
44
  }
 
 
 
 
45
  }
46
 
47
  function bp_activity_deleted_activities( $activity_ids_deleted ) {
@@ -678,4 +682,88 @@ class RTMediaBuddyPressActivity {
678
  }
679
  }
680
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
681
  }
42
  add_action( 'rtmedia_after_add_comment', array( $this, 'activity_after_media_comment' ) );
43
  add_action( 'rtmedia_before_remove_comment', array( $this, 'remove_activity_after_media_comment_delete' ) );
44
  }
45
+
46
+ add_filter( 'bp_activity_user_can_delete', array( $this, 'rtm_bp_activity_user_can_delete' ), 10, 2 );
47
+
48
+ add_filter( 'bp_activity_permalink_access', array( $this, 'rtm_bp_activity_permalink_access' ) );
49
  }
50
 
51
  function bp_activity_deleted_activities( $activity_ids_deleted ) {
682
  }
683
  }
684
  }
685
+
686
+ /**
687
+ * To check whether user can delete the activity or not
688
+ *
689
+ * @access public
690
+ *
691
+ * @since 4.0.2
692
+ *
693
+ * @param bool $can_delete Whether the user can delete the item.
694
+ * @param object $activity Current activity item object.
695
+ *
696
+ * @return bool $can_delete
697
+ */
698
+ public function rtm_bp_activity_user_can_delete( $can_delete, $activity ) {
699
+
700
+ if ( isset( $activity->user_id ) && ( intval( $activity->user_id ) === intval( bp_loggedin_user_id() ) ) ) {
701
+ $can_delete = true;
702
+ }
703
+
704
+ return $can_delete;
705
+
706
+ }
707
+
708
+ /**
709
+ * To check user has access to view single activity
710
+ *
711
+ * @access public
712
+ *
713
+ * @since 4.0.2
714
+ *
715
+ * @param bool $args
716
+ *
717
+ * @return bool $has_access
718
+ */
719
+ public function rtm_bp_activity_permalink_access( $args ) {
720
+
721
+ $bp = buddypress();
722
+
723
+ // Get the activity details.
724
+ $activity = bp_activity_get_specific( array( 'activity_ids' => bp_current_action(), 'show_hidden' => true, 'spam' => 'ham_only', ) );
725
+
726
+ // 404 if activity does not exist
727
+ if ( empty( $activity['activities'][0] ) || bp_action_variables() ) {
728
+ bp_do_404();
729
+
730
+ return;
731
+ } else {
732
+ $activity = $activity['activities'][0];
733
+ }
734
+
735
+ // Default access is true.
736
+ $has_access = true;
737
+
738
+ // If activity is from a group, do an extra cap check.
739
+ if ( isset( $bp->groups->id ) && $activity->component == $bp->groups->id ) {
740
+ // Activity is from a group, but groups is currently disabled.
741
+ if ( ! bp_is_active( 'groups' ) ) {
742
+ bp_do_404();
743
+
744
+ return;
745
+ }
746
+
747
+ // Check to see if the group is not public, if so, check the
748
+ // user has access to see this activity.
749
+ if ( $group = groups_get_group( array( 'group_id' => $activity->item_id ) ) ) {
750
+ // Group is not public.
751
+ if ( 'public' != $group->status ) {
752
+ // User is not a member of group.
753
+ if ( ! groups_is_user_member( bp_loggedin_user_id(), $group->id ) ) {
754
+ $has_access = false;
755
+ }
756
+ }
757
+ }
758
+ }
759
+
760
+ // If activity author does not match displayed user, block access.
761
+ if ( true === $has_access && intval( bp_displayed_user_id() ) !== intval( $activity->user_id ) ) {
762
+ $has_access = false;
763
+ }
764
+
765
+ return $has_access;
766
+
767
+ }
768
+
769
  }
app/main/controllers/upload/RTMediaUpload.php CHANGED
@@ -56,7 +56,7 @@ class RTMediaUpload {
56
  /**
57
  * if upload successful then populate the rtMedia database and insert the media into album
58
  */
59
- if ( $file_object && $uploaded ) {
60
  $this->media_ids = $this->media->add( $uploaded, $file_object );
61
  do_action( 'rtemdia_after_file_upload_before_activity', $file_object, $this );
62
  if ( $this->media_ids ) {
56
  /**
57
  * if upload successful then populate the rtMedia database and insert the media into album
58
  */
59
+ if ( ! is_wp_error( $file_object ) && $file_object && $uploaded ) {
60
  $this->media_ids = $this->media->add( $uploaded, $file_object );
61
  do_action( 'rtemdia_after_file_upload_before_activity', $file_object, $this );
62
  if ( $this->media_ids ) {
index.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: rtMedia for WordPress, BuddyPress and bbPress
5
  Plugin URI: https://rtmedia.io/?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: 4.0.1
8
  Author: rtCamp
9
  Text Domain: buddypress-media
10
  Author URI: http://rtcamp.com/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
4
  Plugin Name: rtMedia for WordPress, BuddyPress and bbPress
5
  Plugin URI: https://rtmedia.io/?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: 4.0.2
8
  Author: rtCamp
9
  Text Domain: buddypress-media
10
  Author URI: http://rtcamp.com/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
languages/buddypress-media.po CHANGED
@@ -1,16 +1,28 @@
1
- # <!=Copyright (C) 2016 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 4.0.1\n"
6
- "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/index\n"
7
- "POT-Creation-Date: 2016-06-23 09:00:56+00:00\n"
8
  "MIME-Version: 1.0\n"
9
- "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
  "PO-Revision-Date: 2016-MO-DA HO:MI+ZONE\n"
12
- "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
- "Language-Team: LANGUAGE <LL@li.org>\n"
 
 
 
 
 
 
 
 
 
 
 
 
14
 
15
  #: app/admin/RTMediaAdmin.php:154
16
  msgid "View &#8220;%s&#8221;"
@@ -28,9 +40,9 @@ msgstr ""
28
  msgid "We have released 30+ premium add-ons for rtMedia plugin. Read more about it "
29
  msgstr ""
30
 
31
- #: app/admin/RTMediaAdmin.php:225 app/admin/RTMediaAdmin.php:1166
32
- #: app/admin/RTMediaAdmin.php:1837 app/admin/RTMediaAdmin.php:1855
33
- #: app/admin/RTMediaAdmin.php:1873 app/admin/RTMediaFormHandler.php:435
34
  #: app/admin/RTMediaFormHandler.php:446 app/helper/RTMediaSettings.php:297
35
  #: app/helper/RTMediaSupport.php:368 app/helper/RTMediaSupport.php:636
36
  msgid "here"
@@ -133,46 +145,46 @@ msgid "Right Now in rtMedia"
133
  msgstr ""
134
 
135
  #: app/admin/RTMediaAdmin.php:728 app/admin/RTMediaAdmin.php:800
136
- #: app/admin/RTMediaAdmin.php:803 app/admin/RTMediaAdmin.php:958
137
- #: app/admin/RTMediaAdmin.php:1547
138
  msgid "Settings"
139
  msgstr ""
140
 
141
  #: app/admin/RTMediaAdmin.php:730 app/admin/RTMediaAdmin.php:824
142
- #: app/admin/RTMediaAdmin.php:827 app/admin/RTMediaAdmin.php:968
143
- #: app/admin/RTMediaAdmin.php:1573 app/helper/RTMediaSettings.php:221
144
  #: app/helper/RTMediaSupport.php:52 app/helper/RTMediaSupport.php:53
145
  msgid "Support"
146
  msgstr ""
147
 
148
- #: app/admin/RTMediaAdmin.php:750 app/admin/RTMediaAdmin.php:997
149
- #: app/admin/RTMediaAdmin.php:1049
150
  msgid "Regenerate Thumbnail"
151
  msgstr ""
152
 
153
- #: app/admin/RTMediaAdmin.php:793 app/admin/RTMediaAdmin.php:1519
154
- #: app/admin/RTMediaAdmin.php:1520 app/importers/RTMediaActivityUpgrade.php:116
155
  #: app/importers/RTMediaMigration.php:68 app/main/RTMedia.php:908
156
  msgid "rtMedia"
157
  msgstr ""
158
 
159
  #: app/admin/RTMediaAdmin.php:812 app/admin/RTMediaAdmin.php:815
160
- #: app/admin/RTMediaAdmin.php:963 app/admin/RTMediaAdmin.php:1552
161
  msgid "Addons"
162
  msgstr ""
163
 
164
  #: app/admin/RTMediaAdmin.php:836 app/admin/RTMediaAdmin.php:839
165
- #: app/admin/RTMediaAdmin.php:974 app/admin/RTMediaAdmin.php:1560
166
  msgid "Themes"
167
  msgstr ""
168
 
169
  #: app/admin/RTMediaAdmin.php:849 app/admin/RTMediaAdmin.php:852
170
- #: app/admin/RTMediaAdmin.php:981 app/admin/RTMediaAdmin.php:1566
171
  msgid "Hire Us"
172
  msgstr ""
173
 
174
  #: app/admin/RTMediaAdmin.php:862 app/admin/RTMediaAdmin.php:865
175
- #: app/admin/RTMediaAdmin.php:988 app/admin/RTMediaAdmin.php:1580
176
  msgid "Licenses"
177
  msgstr ""
178
 
@@ -212,243 +224,326 @@ msgstr ""
212
  msgid "Are you sure you want to enable the encoding service?"
213
  msgstr ""
214
 
215
- #: app/admin/RTMediaAdmin.php:997
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
216
  msgid "Regen. Thumbnail "
217
  msgstr ""
218
 
219
- #: app/admin/RTMediaAdmin.php:1018
220
  msgid "rtMedia: Regenerate Video Thumbnails"
221
  msgstr ""
222
 
223
- #: app/admin/RTMediaAdmin.php:1040
224
  msgid "You can see this page because you have "
225
  msgstr ""
226
 
227
- #: app/admin/RTMediaAdmin.php:1041
228
  msgid "subscribed"
229
  msgstr ""
230
 
231
- #: app/admin/RTMediaAdmin.php:1042
232
  msgid " for "
233
  msgstr ""
234
 
235
- #: app/admin/RTMediaAdmin.php:1043
236
  msgid "rtMedia audio/video encoding service"
237
  msgstr ""
238
 
239
- #: app/admin/RTMediaAdmin.php:1046
240
  msgid "You can regenerate thumbnails of a specific video by visiting "
241
  msgstr ""
242
 
243
- #: app/admin/RTMediaAdmin.php:1047
244
  msgid "media page"
245
  msgstr ""
246
 
247
- #: app/admin/RTMediaAdmin.php:1048
248
  msgid " and clicking the "
249
  msgstr ""
250
 
251
- #: app/admin/RTMediaAdmin.php:1050
252
  msgid " option for that particular video."
253
  msgstr ""
254
 
255
- #: app/admin/RTMediaAdmin.php:1053
256
  msgid "Click "
257
  msgstr ""
258
 
259
- #: app/admin/RTMediaAdmin.php:1054 app/admin/RTMediaAdmin.php:1059
260
  msgid "Regenerate Pending Thumbnails"
261
  msgstr ""
262
 
263
- #: app/admin/RTMediaAdmin.php:1055
264
  msgid " to regenerate thumbnails of pending videos."
265
  msgstr ""
266
 
267
- #: app/admin/RTMediaAdmin.php:1071
268
  msgid "Total Videos"
269
  msgstr ""
270
 
271
- #: app/admin/RTMediaAdmin.php:1075
272
  msgid "Sent of regenerate thumbails"
273
  msgstr ""
274
 
275
- #: app/admin/RTMediaAdmin.php:1078
276
  msgid "Fail to regenerate thumbails"
277
  msgstr ""
278
 
279
- #: app/admin/RTMediaAdmin.php:1119
280
  msgid "Regenerate Video Thumbnails Done"
281
  msgstr ""
282
 
283
- #: app/admin/RTMediaAdmin.php:1165
284
  msgid "You have %s videos without thumbnails. Click "
285
  msgstr ""
286
 
287
- #: app/admin/RTMediaAdmin.php:1167
288
  msgid " to generate thumbnails."
289
  msgstr ""
290
 
291
- #: app/admin/RTMediaAdmin.php:1250
292
  msgid "not a video ..."
293
  msgstr ""
294
 
295
- #: app/admin/RTMediaAdmin.php:1401
296
  msgid "Empowering The Web With WordPress"
297
  msgstr ""
298
 
299
- #: app/admin/RTMediaAdmin.php:1422
300
  msgid "Settings saved successfully!"
301
  msgstr ""
302
 
303
- #: app/admin/RTMediaAdmin.php:1428 app/admin/RTMediaAdmin.php:1457
304
  msgid "Save Settings"
305
  msgstr ""
306
 
307
- #: app/admin/RTMediaAdmin.php:1654 app/admin/RTMediaAdmin.php:1655
308
  msgid "Display"
309
  msgstr ""
310
 
311
- #: app/admin/RTMediaAdmin.php:1663
312
  msgid "rtMedia BuddyPress"
313
  msgstr ""
314
 
315
- #: app/admin/RTMediaAdmin.php:1664
316
  msgid "BuddyPress"
317
  msgstr ""
318
 
319
- #: app/admin/RTMediaAdmin.php:1672
320
  msgid "rtMedia Types"
321
  msgstr ""
322
 
323
- #: app/admin/RTMediaAdmin.php:1673
324
  msgid "Types"
325
  msgstr ""
326
 
327
- #: app/admin/RTMediaAdmin.php:1680
328
  msgid "rtMedia Sizes"
329
  msgstr ""
330
 
331
- #: app/admin/RTMediaAdmin.php:1681
332
  msgid "Media Sizes"
333
  msgstr ""
334
 
335
- #: app/admin/RTMediaAdmin.php:1688
336
  msgid "rtMedia Privacy"
337
  msgstr ""
338
 
339
- #: app/admin/RTMediaAdmin.php:1689
340
  #: app/main/controllers/privacy/RTMediaPrivacy.php:417
341
  msgid "Privacy"
342
  msgstr ""
343
 
344
- #: app/admin/RTMediaAdmin.php:1695
345
  msgid "rtMedia Custom CSS"
346
  msgstr ""
347
 
348
- #: app/admin/RTMediaAdmin.php:1696
349
  msgid "Custom CSS"
350
  msgstr ""
351
 
352
- #: app/admin/RTMediaAdmin.php:1705 app/admin/RTMediaAdmin.php:1706
353
  msgid "Other Settings"
354
  msgstr ""
355
 
356
- #: app/admin/RTMediaAdmin.php:1753
357
  msgid "I use @rtMediaWP http://rt.cx/rtmedia on %s"
358
  msgstr ""
359
 
360
- #: app/admin/RTMediaAdmin.php:1755
361
  msgid "Post to Twitter Now"
362
  msgstr ""
363
 
364
- #: app/admin/RTMediaAdmin.php:1755
365
  msgid "Post to Twitter"
366
  msgstr ""
367
 
368
- #: app/admin/RTMediaAdmin.php:1756
369
  msgid "Share on Facebook Now"
370
  msgstr ""
371
 
372
- #: app/admin/RTMediaAdmin.php:1756
373
  msgid "Share on Facebook"
374
  msgstr ""
375
 
376
- #: app/admin/RTMediaAdmin.php:1757
377
  msgid "Rate rtMedia on Wordpress.org"
378
  msgstr ""
379
 
380
- #: app/admin/RTMediaAdmin.php:1757
381
  msgid "Rate on Wordpress.org"
382
  msgstr ""
383
 
384
- #: app/admin/RTMediaAdmin.php:1758
385
  msgid "Subscribe to our Feeds"
386
  msgstr ""
387
 
388
- #: app/admin/RTMediaAdmin.php:1761
389
  msgid "Spread the Word"
390
  msgstr ""
391
 
392
- #: app/admin/RTMediaAdmin.php:1767 app/admin/RTMediaAdmin.php:1774
393
  msgid "Subscribe"
394
  msgstr ""
395
 
396
- #: app/admin/RTMediaAdmin.php:1805
397
  msgid "Thank you for your time."
398
  msgstr ""
399
 
400
- #: app/admin/RTMediaAdmin.php:1818
401
  msgid "Premium Add-ons"
402
  msgstr ""
403
 
404
- #: app/admin/RTMediaAdmin.php:1836
405
- msgid "You have images enabled on rtMedia but your network allowed filetypes do not permit uploading of %s. Click "
 
 
406
  msgstr ""
407
 
408
- #: app/admin/RTMediaAdmin.php:1838 app/admin/RTMediaAdmin.php:1856
409
- #: app/admin/RTMediaAdmin.php:1874
410
  msgid " to change your settings manually."
411
  msgstr ""
412
 
413
- #: app/admin/RTMediaAdmin.php:1840 app/admin/RTMediaAdmin.php:1858
414
- #: app/admin/RTMediaAdmin.php:1876
415
  msgid "Recommended:"
416
  msgstr ""
417
 
418
- #: app/admin/RTMediaAdmin.php:1841 app/admin/RTMediaAdmin.php:1859
419
- #: app/admin/RTMediaAdmin.php:1877
420
  msgid "Update Network Settings Automatically"
421
  msgstr ""
422
 
423
- #: app/admin/RTMediaAdmin.php:1854
424
- msgid "You have video enabled on BuddyPress Media but your network allowed filetypes do not permit uploading of mp4. Click "
 
 
425
  msgstr ""
426
 
427
- #: app/admin/RTMediaAdmin.php:1872
428
- msgid "You have audio enabled on BuddyPress Media but your network allowed filetypes do not permit uploading of mp3. Click "
 
 
429
  msgstr ""
430
 
431
- #: app/admin/RTMediaAdmin.php:1893
432
  msgid "Network settings updated successfully."
433
  msgstr ""
434
 
435
- #: app/admin/RTMediaAdmin.php:2005
436
  msgid "Video is sent to generate thumbnails."
437
  msgstr ""
438
 
439
- #: app/admin/RTMediaAdmin.php:2007
440
  msgid "Video cannot be sent to generate thumbnails."
441
  msgstr ""
442
 
443
- #: app/admin/RTMediaAdmin.php:2021
444
  msgid "Regenerate Video Thumbnails"
445
  msgstr ""
446
 
447
- #: app/admin/RTMediaAdmin.php:2033
448
- msgid "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."
 
 
 
449
  msgstr ""
450
 
451
- #: app/admin/RTMediaAdmin.php:2033
452
  #: app/importers/RTMediaMediaSizeImporter.php:73
453
  #: app/importers/RTMediaMigration.php:68
454
  msgid "Hide"
@@ -477,7 +572,9 @@ msgid "Allow user to comment on uploaded media"
477
  msgstr ""
478
 
479
  #: app/admin/RTMediaFormHandler.php:296
480
- msgid "This will display the comment form and comment listing on single media pages as well as inside lightbox (if lightbox is enabled)."
 
 
481
  msgstr ""
482
 
483
  #: app/admin/RTMediaFormHandler.php:301
@@ -533,7 +630,9 @@ msgid "and uncheck the crop box for thumbnails."
533
  msgstr ""
534
 
535
  #: app/admin/RTMediaFormHandler.php:344
536
- msgid "To set gallery for fixed width, set image height to 0 and width as per your requirement and vice-versa."
 
 
537
  msgstr ""
538
 
539
  #: app/admin/RTMediaFormHandler.php:347
@@ -565,7 +664,10 @@ msgid "Allow usage data tracking"
565
  msgstr ""
566
 
567
  #: app/admin/RTMediaFormHandler.php:402
568
- msgid "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."
 
 
 
569
  msgstr ""
570
 
571
  #: app/admin/RTMediaFormHandler.php:406
@@ -573,7 +675,9 @@ msgid "Admin bar menu integration"
573
  msgstr ""
574
 
575
  #: app/admin/RTMediaFormHandler.php:411
576
- msgid "Add rtMedia menu to WordPress admin bar for easy access to settings and moderation page (if enabled)."
 
 
577
  msgstr ""
578
 
579
  #: app/admin/RTMediaFormHandler.php:416
@@ -589,7 +693,9 @@ msgid "Also add my affiliate-id to rtMedia footer link"
589
  msgstr ""
590
 
591
  #: app/admin/RTMediaFormHandler.php:431
592
- msgid "Add your affiliate-id along with footer link and get rewarded by our affiliation program."
 
 
593
  msgstr ""
594
 
595
  #: app/admin/RTMediaFormHandler.php:435
@@ -605,7 +711,9 @@ msgid "Enable JSON API"
605
  msgstr ""
606
 
607
  #: app/admin/RTMediaFormHandler.php:443
608
- msgid "This will allow handling API requests for rtMedia sent through any mobile app."
 
 
609
  msgstr ""
610
 
611
  #: app/admin/RTMediaFormHandler.php:446
@@ -685,7 +793,9 @@ msgid "Number of thumbnails to generate on video upload"
685
  msgstr ""
686
 
687
  #: app/admin/RTMediaFormHandler.php:821
688
- msgid " 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."
 
 
689
  msgstr ""
690
 
691
  #: app/admin/RTMediaFormHandler.php:829
@@ -713,7 +823,9 @@ msgid "rtMedia default styles"
713
  msgstr ""
714
 
715
  #: app/admin/RTMediaFormHandler.php:895
716
- msgid "Load default rtMedia styles. You need to write your own style for rtMedia if you disable it."
 
 
717
  msgstr ""
718
 
719
  #: app/admin/RTMediaFormHandler.php:900
@@ -745,7 +857,9 @@ msgid "Allow users to set privacy for their content"
745
  msgstr ""
746
 
747
  #: app/admin/RTMediaFormHandler.php:957
748
- msgid "If you choose this, users will be able to change privacy of their own uploads."
 
 
749
  msgstr ""
750
 
751
  #: app/admin/RTMediaFormHandler.php:961
@@ -781,7 +895,11 @@ msgid "Number of media items to show in activity stream"
781
  msgstr ""
782
 
783
  #: app/admin/RTMediaFormHandler.php:1039
784
- msgid "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. \"0\" means unlimited."
 
 
 
 
785
  msgstr ""
786
 
787
  #: app/admin/RTMediaFormHandler.php:1046
@@ -789,7 +907,9 @@ msgid "Enable media notification"
789
  msgstr ""
790
 
791
  #: app/admin/RTMediaFormHandler.php:1051
792
- msgid "This will enable notifications to media authors for media likes and comments."
 
 
793
  msgstr ""
794
 
795
  #: app/admin/RTMediaFormHandler.php:1057
@@ -813,7 +933,9 @@ msgid "Organize media into albums"
813
  msgstr ""
814
 
815
  #: app/admin/RTMediaFormHandler.php:1085
816
- msgid "This will add 'album' tab to BuddyPress profile and group depending on the ^above^ settings."
 
 
817
  msgstr ""
818
 
819
  #: app/admin/templates/tmpl-rtm-album-favourites-importer.php:4
@@ -833,7 +955,10 @@ msgid "SEO"
833
  msgstr ""
834
 
835
  #: app/helper/RTMediaAddon.php:117
836
- msgid "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."
 
 
 
837
  msgstr ""
838
 
839
  #: app/helper/RTMediaAddon.php:125
@@ -841,7 +966,9 @@ msgid "Moderation"
841
  msgstr ""
842
 
843
  #: app/helper/RTMediaAddon.php:128
844
- msgid "Report media if they find offensive. Set number of reports to automatically take down media from site."
 
 
845
  msgstr ""
846
 
847
  #: app/helper/RTMediaAddon.php:136
@@ -849,7 +976,9 @@ msgid "Custom Attributes"
849
  msgstr ""
850
 
851
  #: app/helper/RTMediaAddon.php:139
852
- msgid "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."
 
 
853
  msgstr ""
854
 
855
  #: app/helper/RTMediaAddon.php:147
@@ -857,7 +986,9 @@ msgid "Docs and Other files"
857
  msgstr ""
858
 
859
  #: app/helper/RTMediaAddon.php:150
860
- msgid "Allow users to upload documents and other file type using rtMedia upload box. This addon support all the file extensions which WordPress allows."
 
 
861
  msgstr ""
862
 
863
  #: app/helper/RTMediaAddon.php:158
@@ -865,7 +996,9 @@ msgid "Default Albums"
865
  msgstr ""
866
 
867
  #: app/helper/RTMediaAddon.php:161
868
- msgid "This plugin allows the creation of multiple default albums for rtMedia uploads. One of these albums can be set as the default global album."
 
 
869
  msgstr ""
870
 
871
  #: app/helper/RTMediaAddon.php:169
@@ -873,7 +1006,9 @@ msgid "Podcast (RSS and Atom feeds)"
873
  msgstr ""
874
 
875
  #: app/helper/RTMediaAddon.php:172
876
- msgid "Read rtMedia uploads from iTunes as well as any RSS feed-reader/podcasting software."
 
 
877
  msgstr ""
878
 
879
  #: app/helper/RTMediaAddon.php:180
@@ -881,7 +1016,9 @@ msgid "Playlists"
881
  msgstr ""
882
 
883
  #: app/helper/RTMediaAddon.php:183
884
- msgid "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."
 
 
885
  msgstr ""
886
 
887
  #: app/helper/RTMediaAddon.php:191
@@ -889,7 +1026,9 @@ msgid "Favorites"
889
  msgstr ""
890
 
891
  #: app/helper/RTMediaAddon.php:194
892
- msgid "Users can create their list of favorite media in which they can add media previously uploaded by any user."
 
 
893
  msgstr ""
894
 
895
  #: app/helper/RTMediaAddon.php:202
@@ -897,7 +1036,9 @@ msgid "Restrictions"
897
  msgstr ""
898
 
899
  #: app/helper/RTMediaAddon.php:205
900
- msgid "Site admin can set an upload limit on the basis of time span, file size (MB) and number of files user can upload."
 
 
901
  msgstr ""
902
 
903
  #: app/helper/RTMediaAddon.php:213
@@ -913,7 +1054,9 @@ msgid "WordPress Sitewide Gallery"
913
  msgstr ""
914
 
915
  #: app/helper/RTMediaAddon.php:227
916
- msgid "Site admin can create and upload media into WordPress album. Create album without being dependent on BuddyPress."
 
 
917
  msgstr ""
918
 
919
  #: app/helper/RTMediaAddon.php:235
@@ -921,7 +1064,9 @@ msgid "WordPress Comment Attachments"
921
  msgstr ""
922
 
923
  #: app/helper/RTMediaAddon.php:238
924
- msgid "Allow users to upload a media file in WordPress comment attachment box. It will display a thumbnail of attached file."
 
 
925
  msgstr ""
926
 
927
  #: app/helper/RTMediaAddon.php:246
@@ -929,7 +1074,9 @@ msgid "Social Sharing"
929
  msgstr ""
930
 
931
  #: app/helper/RTMediaAddon.php:249
932
- msgid "Share uploaded media on social network sites like Facebook, twitter, linkedin, Google +. This addon integrate with rtSocial plugin."
 
 
933
  msgstr ""
934
 
935
  #: app/helper/RTMediaAddon.php:257
@@ -937,7 +1084,9 @@ msgid "Sidebar Widgets"
937
  msgstr ""
938
 
939
  #: app/helper/RTMediaAddon.php:260
940
- msgid "This addon provide widgets to upload media and display gallery for rtMedia plugin."
 
 
941
  msgstr ""
942
 
943
  #: app/helper/RTMediaAddon.php:268
@@ -945,7 +1094,9 @@ msgid "5 Star Ratings"
945
  msgstr ""
946
 
947
  #: app/helper/RTMediaAddon.php:271
948
- msgid "Display 5 star rating for all the uploaded media. User can rate the media files from 1 to 5 star."
 
 
949
  msgstr ""
950
 
951
  #: app/helper/RTMediaAddon.php:279
@@ -961,7 +1112,9 @@ msgid "Media Sorting"
961
  msgstr ""
962
 
963
  #: app/helper/RTMediaAddon.php:293
964
- msgid "Sort uploaded media based on file size, ascending/descending title, upload date of media."
 
 
965
  msgstr ""
966
 
967
  #: app/helper/RTMediaAddon.php:301
@@ -969,7 +1122,10 @@ msgid "Bulk Edit"
969
  msgstr ""
970
 
971
  #: app/helper/RTMediaAddon.php:304
972
- msgid "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."
 
 
 
973
  msgstr ""
974
 
975
  #: app/helper/RTMediaAddon.php:312
@@ -993,7 +1149,9 @@ msgid "Direct Download Link"
993
  msgstr ""
994
 
995
  #: app/helper/RTMediaAddon.php:337
996
- msgid "User can download media from website. Site owner can restrict which media type can be allowed to download."
 
 
997
  msgstr ""
998
 
999
  #: app/helper/RTMediaAddon.php:345
@@ -1001,7 +1159,10 @@ msgid "Upload by URL"
1001
  msgstr ""
1002
 
1003
  #: app/helper/RTMediaAddon.php:348
1004
- msgid "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."
 
 
 
1005
  msgstr ""
1006
 
1007
  #: app/helper/RTMediaAddon.php:356
@@ -1009,7 +1170,9 @@ msgid "Media Likes"
1009
  msgstr ""
1010
 
1011
  #: app/helper/RTMediaAddon.php:359
1012
- msgid "This add-on let you know who liked the media. User can also see which media they liked under their profile."
 
 
1013
  msgstr ""
1014
 
1015
  #: app/helper/RTMediaAddon.php:367
@@ -1017,7 +1180,10 @@ msgid "Activity URL Preview"
1017
  msgstr ""
1018
 
1019
  #: app/helper/RTMediaAddon.php:370
1020
- msgid "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."
 
 
 
1021
  msgstr ""
1022
 
1023
  #: app/helper/RTMediaAddon.php:378
@@ -1025,7 +1191,10 @@ msgid "View Counter"
1025
  msgstr ""
1026
 
1027
  #: app/helper/RTMediaAddon.php:381
1028
- msgid "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."
 
 
 
1029
  msgstr ""
1030
 
1031
  #: app/helper/RTMediaAddon.php:389
@@ -1033,7 +1202,9 @@ msgid "Shortcode Generator"
1033
  msgstr ""
1034
 
1035
  #: app/helper/RTMediaAddon.php:392
1036
- msgid "This add-on will add shortcode generator button in WordPress post and page editor for all the rtMedia shortcodes."
 
 
1037
  msgstr ""
1038
 
1039
  #: app/helper/RTMediaAddon.php:400
@@ -1041,7 +1212,10 @@ msgid "Album Privacy"
1041
  msgstr ""
1042
 
1043
  #: app/helper/RTMediaAddon.php:403
1044
- msgid "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."
 
 
 
1045
  msgstr ""
1046
 
1047
  #: app/helper/RTMediaAddon.php:411
@@ -1057,7 +1231,9 @@ msgid "Set Custom Thumbnail for Audio/Video"
1057
  msgstr ""
1058
 
1059
  #: app/helper/RTMediaAddon.php:425
1060
- msgid "Allow media owner to change the thumbnail of uploaded audio/video files. The File Upload box will be provided to change media thumbnail."
 
 
1061
  msgstr ""
1062
 
1063
  #: app/helper/RTMediaAddon.php:433
@@ -1065,7 +1241,10 @@ msgid "myCRED"
1065
  msgstr ""
1066
 
1067
  #: app/helper/RTMediaAddon.php:436
1068
- msgid "This plugin integrates rtMedia and myCRED plugin, users can be can award virtual points for various rtMedia activities, like media upload, likes, deleted etc."
 
 
 
1069
  msgstr ""
1070
 
1071
  #: app/helper/RTMediaAddon.php:444
@@ -1073,7 +1252,9 @@ msgid "Upload Terms"
1073
  msgstr ""
1074
 
1075
  #: app/helper/RTMediaAddon.php:447
1076
- msgid "User must have to check the terms and conditions checkbox before uploading the media."
 
 
1077
  msgstr ""
1078
 
1079
  #: app/helper/RTMediaAddon.php:455
@@ -1081,7 +1262,10 @@ msgid "CubePoints"
1081
  msgstr ""
1082
 
1083
  #: app/helper/RTMediaAddon.php:458
1084
- msgid "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."
 
 
 
1085
  msgstr ""
1086
 
1087
  #: app/helper/RTMediaAddon.php:466
@@ -1097,7 +1281,9 @@ msgid "Photo Watermark"
1097
  msgstr ""
1098
 
1099
  #: app/helper/RTMediaAddon.php:480
1100
- msgid "rtMedia Photo Watermark let you add watermark on your images uploaded using rtMedia."
 
 
1101
  msgstr ""
1102
 
1103
  #: app/helper/RTMediaAddon.php:488
@@ -1105,7 +1291,9 @@ msgid "Photo Tagging"
1105
  msgstr ""
1106
 
1107
  #: app/helper/RTMediaAddon.php:491
1108
- msgid "rtMedia Photo Tagging enable users to tag their friends on photos uploaded using rtMedia."
 
 
1109
  msgstr ""
1110
 
1111
  #: app/helper/RTMediaAddon.php:499
@@ -1113,7 +1301,9 @@ msgid "Photo Filters"
1113
  msgstr ""
1114
 
1115
  #: app/helper/RTMediaAddon.php:502
1116
- msgid "rtMedia Photo Filters adds Instagram like filters to images uploaded with rtMedia."
 
 
1117
  msgstr ""
1118
 
1119
  #: app/helper/RTMediaAddon.php:510
@@ -1121,7 +1311,9 @@ msgid "Kaltura Add-on"
1121
  msgstr ""
1122
 
1123
  #: app/helper/RTMediaAddon.php:513
1124
- msgid "Add support for more video formats using Kaltura video solution. It works with Kaltura.com, self-hosted Kaltura-CE and Kaltura-on-premise."
 
 
1125
  msgstr ""
1126
 
1127
  #: app/helper/RTMediaAddon.php:521
@@ -1129,7 +1321,9 @@ msgid "FFMPEG Add-on"
1129
  msgstr ""
1130
 
1131
  #: app/helper/RTMediaAddon.php:524
1132
- msgid "Add supports for more audio & video formats using open-source media-node. Media node comes with automated setup script for Ubuntu/Debian."
 
 
1133
  msgstr ""
1134
 
1135
  #: app/helper/RTMediaAddon.php:532
@@ -1137,7 +1331,9 @@ msgid "Membership Add-on"
1137
  msgstr ""
1138
 
1139
  #: app/helper/RTMediaAddon.php:535
1140
- msgid "rtMedia Membership add-on provides membership functionality in your site in terms of media upload."
 
 
1141
  msgstr ""
1142
 
1143
  #: app/helper/RTMediaAddon.php:575
@@ -1233,7 +1429,9 @@ msgid "rtMedia Themes"
1233
  msgstr ""
1234
 
1235
  #: app/helper/RTMediaSettings.php:296
1236
- msgid "Currently your network allows uploading of the following file types. You can change the settings %s"
 
 
1237
  msgstr ""
1238
 
1239
  #: app/helper/RTMediaSettings.php:317 app/helper/RTMediaSettings.php:319
@@ -1273,7 +1471,9 @@ msgid "Update Database"
1273
  msgstr ""
1274
 
1275
  #: app/helper/RTMediaSettings.php:399
1276
- msgid "If your site has some issues due to rtMedia and you want one on one support then you can create a support topic on the "
 
 
1277
  msgstr ""
1278
 
1279
  #: app/helper/RTMediaSettings.php:400
@@ -1281,7 +1481,9 @@ msgid "rtMedia Support Forum"
1281
  msgstr ""
1282
 
1283
  #: app/helper/RTMediaSettings.php:402
1284
- msgid "If you have any suggestions, enhancements or bug reports, then you can open a new issue on "
 
 
1285
  msgstr ""
1286
 
1287
  #: app/helper/RTMediaSettings.php:403 app/helper/RTMediaSupport.php:419
@@ -1352,7 +1554,9 @@ msgid "Submit Support Request"
1352
  msgstr ""
1353
 
1354
  #: app/helper/RTMediaSupport.php:411
1355
- msgid "If your site has some issues due to rtMedia and you want support, feel free to create a support topic on %s"
 
 
1356
  msgstr ""
1357
 
1358
  #: app/helper/RTMediaSupport.php:412
@@ -1360,7 +1564,9 @@ msgid "Community Forum"
1360
  msgstr ""
1361
 
1362
  #: app/helper/RTMediaSupport.php:418
1363
- msgid "If you have any suggestions, enhancements or bug reports, then you can open a new issue on %s"
 
 
1364
  msgstr ""
1365
 
1366
  #: app/helper/RTMediaSupport.php:438
@@ -1452,13 +1658,15 @@ msgstr ""
1452
  msgid "rtDating"
1453
  msgstr ""
1454
 
1455
- #: app/helper/RTMediaThemes.php:108 app/helper/RTMediaThemes.php:118
1456
- #: app/helper/RTMediaThemes.php:128
1457
  msgid "rtCamp"
1458
  msgstr ""
1459
 
1460
  #: app/helper/RTMediaThemes.php:111
1461
- msgid "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."
 
 
 
1462
  msgstr ""
1463
 
1464
  #: app/helper/RTMediaThemes.php:115
@@ -1466,7 +1674,9 @@ msgid "InspireBook"
1466
  msgstr ""
1467
 
1468
  #: app/helper/RTMediaThemes.php:121
1469
- msgid "InspireBook is a premium WordPress theme, designed especially for BuddyPress and rtMedia powered social-networks."
 
 
1470
  msgstr ""
1471
 
1472
  #: app/helper/RTMediaThemes.php:125
@@ -1474,7 +1684,9 @@ msgid "Foodmania"
1474
  msgstr ""
1475
 
1476
  #: app/helper/RTMediaThemes.php:131
1477
- msgid "Its premium WordPress theme, designed especially for Food, recipe and photography community sites."
 
 
1478
  msgstr ""
1479
 
1480
  #: app/helper/RTMediaThemes.php:149 app/helper/RTMediaThemes.php:302
@@ -1510,7 +1722,9 @@ msgid "Alkaweb"
1510
  msgstr ""
1511
 
1512
  #: app/helper/RTMediaThemes.php:233
1513
- msgid "Woffice is a feature rich, powerful Multipurpose Intranet/Extranet Wordpress theme."
 
 
1514
  msgstr ""
1515
 
1516
  #: app/helper/RTMediaThemes.php:237
@@ -1522,7 +1736,9 @@ msgid "dunhakdis"
1522
  msgstr ""
1523
 
1524
  #: app/helper/RTMediaThemes.php:243
1525
- msgid "Thrive is an innovative WordPress Theme designed to cater company portals, organisational websites, company intranet and extranets."
 
 
1526
  msgstr ""
1527
 
1528
  #: app/helper/RTMediaThemes.php:247
@@ -1534,7 +1750,11 @@ msgid "gavick"
1534
  msgstr ""
1535
 
1536
  #: app/helper/RTMediaThemes.php:253
1537
- msgid "(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."
 
 
 
 
1538
  msgstr ""
1539
 
1540
  #: app/helper/RTMediaThemes.php:257
@@ -1542,7 +1762,10 @@ msgid "Klein"
1542
  msgstr ""
1543
 
1544
  #: app/helper/RTMediaThemes.php:263
1545
- msgid "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."
 
 
 
1546
  msgstr ""
1547
 
1548
  #: app/helper/RTMediaThemes.php:267
@@ -1554,7 +1777,11 @@ msgid "SeventhQueen"
1554
  msgstr ""
1555
 
1556
  #: app/helper/RTMediaThemes.php:273
1557
- msgid "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."
 
 
 
 
1558
  msgstr ""
1559
 
1560
  #: app/helper/RTMediaThemes.php:277
@@ -1562,11 +1789,16 @@ msgid "KLEO"
1562
  msgstr ""
1563
 
1564
  #: app/helper/RTMediaThemes.php:283
1565
- msgid "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."
 
 
 
1566
  msgstr ""
1567
 
1568
  #: app/helper/RTMediaThemes.php:365
1569
- msgid "These are the third party themes. For any issues or queries regarding these themes please contact theme developers."
 
 
1570
  msgstr ""
1571
 
1572
  #: app/helper/RTMediaThemes.php:368
@@ -1574,7 +1806,9 @@ msgid "Are you a developer?"
1574
  msgstr ""
1575
 
1576
  #: app/helper/RTMediaThemes.php:371
1577
- msgid "If you have developed a rtMedia compatible theme and would like it to list here, please email us at"
 
 
1578
  msgstr ""
1579
 
1580
  #: app/helper/RTMediaThemes.php:372
@@ -1582,7 +1816,9 @@ msgid "rtmedia@rtcamp.com"
1582
  msgstr ""
1583
 
1584
  #: app/helper/RTMediaUploadException.php:41
1585
- msgid "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form"
 
 
1586
  msgstr ""
1587
 
1588
  #: app/helper/RTMediaUploadException.php:44
@@ -1618,7 +1854,9 @@ msgid "Warning!"
1618
  msgstr ""
1619
 
1620
  #: app/importers/BPMediaAlbumimporter.php:65
1621
- msgid "This import process is irreversible. Although everything is tested, please take a "
 
 
1622
  msgstr ""
1623
 
1624
  #: app/importers/BPMediaAlbumimporter.php:66
@@ -1626,7 +1864,9 @@ msgid "backup of your database and files"
1626
  msgstr ""
1627
 
1628
  #: app/importers/BPMediaAlbumimporter.php:67
1629
- msgid ", before proceeding. If you don't know your way around databases and files, consider "
 
 
1630
  msgstr ""
1631
 
1632
  #: app/importers/BPMediaAlbumimporter.php:68
@@ -1638,7 +1878,9 @@ msgid ", or another professional."
1638
  msgstr ""
1639
 
1640
  #: app/importers/BPMediaAlbumimporter.php:71
1641
- msgid "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."
 
 
1642
  msgstr ""
1643
 
1644
  #: app/importers/BPMediaAlbumimporter.php:72
@@ -1703,7 +1945,9 @@ msgid "Tweet this"
1703
  msgstr ""
1704
 
1705
  #: app/importers/BPMediaAlbumimporter.php:154
1706
- msgid "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."
 
 
1707
  msgstr ""
1708
 
1709
  #: app/importers/BPMediaAlbumimporter.php:157
@@ -1719,7 +1963,9 @@ msgid "Why don't you try adding some instagram like effects to your images?"
1719
  msgstr ""
1720
 
1721
  #: app/importers/BPMediaAlbumimporter.php:172
1722
- msgid "rtMedia Photo Filters adds Instagram like filters to images uploaded with BuddyPress Media."
 
 
1723
  msgstr ""
1724
 
1725
  #: app/importers/BPMediaAlbumimporter.php:173
@@ -1727,11 +1973,15 @@ msgid "Important"
1727
  msgstr ""
1728
 
1729
  #: app/importers/BPMediaAlbumimporter.php:173
1730
- msgid "You need to have ImageMagick installed on your server for this addon to work."
 
 
1731
  msgstr ""
1732
 
1733
  #: app/importers/BPMediaAlbumimporter.php:183
1734
- msgid "Looks like you don't use BP Album. Is there any other BuddyPress Plugin you want an importer for?"
 
 
1735
  msgstr ""
1736
 
1737
  #: app/importers/BPMediaAlbumimporter.php:184
@@ -2082,47 +2332,47 @@ msgstr ""
2082
  msgid "There are some uploads in progress. Do you want to cancel them?"
2083
  msgstr ""
2084
 
2085
- #: app/main/controllers/activity/RTMediaBuddyPressActivity.php:280
2086
  msgid "Media Files"
2087
  msgstr ""
2088
 
2089
- #: app/main/controllers/activity/RTMediaBuddyPressActivity.php:319
2090
  #: app/main/controllers/shortcodes/RTMediaUploadShortcode.php:100
2091
  #: app/main/controllers/template/rt-template-functions.php:1581
2092
  msgid "You are not allowed to upload/attach media."
2093
  msgstr ""
2094
 
2095
- #: app/main/controllers/activity/RTMediaBuddyPressActivity.php:454
2096
  msgid "%s added a %s"
2097
  msgstr ""
2098
 
2099
- #: app/main/controllers/activity/RTMediaBuddyPressActivity.php:461
2100
- #: app/main/controllers/activity/RTMediaBuddyPressActivity.php:463
2101
  #: app/main/controllers/upload/RTMediaUploadEndpoint.php:122
2102
  msgid "%s added %d %s"
2103
  msgstr ""
2104
 
2105
- #: app/main/controllers/activity/RTMediaBuddyPressActivity.php:515
2106
  msgid "%1$s liked a %2$s in the group %3$s"
2107
  msgstr ""
2108
 
2109
- #: app/main/controllers/activity/RTMediaBuddyPressActivity.php:518
2110
  msgid "%1$s liked their %2$s"
2111
  msgstr ""
2112
 
2113
- #: app/main/controllers/activity/RTMediaBuddyPressActivity.php:522
2114
  msgid "%1$s liked %2$s's %3$s"
2115
  msgstr ""
2116
 
2117
- #: app/main/controllers/activity/RTMediaBuddyPressActivity.php:603
2118
  msgid "%1$s commented on a %2$s in the group %3$s"
2119
  msgstr ""
2120
 
2121
- #: app/main/controllers/activity/RTMediaBuddyPressActivity.php:606
2122
  msgid "%1$s commented on their %2$s"
2123
  msgstr ""
2124
 
2125
- #: app/main/controllers/activity/RTMediaBuddyPressActivity.php:610
2126
  msgid "%1$s commented on %2$s's %3$s"
2127
  msgstr ""
2128
 
@@ -2187,7 +2437,9 @@ msgid "Username: %s"
2187
  msgstr ""
2188
 
2189
  #: app/main/controllers/api/RTMediaJsonApi.php:341
2190
- msgid "To reset your password visit the following address, otherwise just ignore this email and nothing will happen."
 
 
2191
  msgstr ""
2192
 
2193
  #: app/main/controllers/api/RTMediaJsonApi.php:344
@@ -2381,15 +2633,11 @@ msgstr ""
2381
 
2382
  #: app/main/controllers/group/RTMediaGroupExtension.php:170
2383
  msgid ""
2384
- "You could display a small snippet of information from your group extension here. It will show on the group\n"
 
2385
  "\t home screen."
2386
  msgstr ""
2387
 
2388
- #: app/main/controllers/media/RTMediaAlbum.php:35
2389
- msgctxt "Status General Name"
2390
- msgid "hidden"
2391
- msgstr ""
2392
-
2393
  #: app/main/controllers/media/RTMediaAlbum.php:36
2394
  msgid "Hidden (%s)"
2395
  msgid_plural "Hidden (%s)"
@@ -2549,11 +2797,6 @@ msgstr ""
2549
  msgid "Data mismatch, Please insert data properly."
2550
  msgstr ""
2551
 
2552
- #: app/main/controllers/template/RTMediaNav.php:32
2553
- msgctxt "My Account Privacy sub nav"
2554
- msgid "Privacy"
2555
- msgstr ""
2556
-
2557
  #: app/main/controllers/template/RTMediaTemplate.php:109
2558
  #: app/main/controllers/template/RTMediaTemplate.php:160
2559
  msgid "Invalid attribute passed for rtmedia_gallery shortcode."
@@ -2730,9 +2973,8 @@ msgid_plural "%s hours"
2730
  msgstr[0] ""
2731
  msgstr[1] ""
2732
 
2733
- #. translators: date format, see http:php.net/date
2734
-
2735
  #: app/main/controllers/template/rt-template-functions.php:2799
 
2736
  msgid "You can consider rtMedia Team for following :"
2737
  msgstr ""
2738
 
@@ -2796,7 +3038,9 @@ msgstr ""
2796
 
2797
  #: app/main/controllers/upload/processors/RTMediaUploadFile.php:240
2798
  #: app/main/controllers/upload/processors/RTMediaUploadFile.php:245
2799
- msgid "The MP4 file you have uploaded is using an unsupported video codec. Supported video codec is H.264."
 
 
2800
  msgstr ""
2801
 
2802
  #: app/main/controllers/upload/processors/RTMediaUploadFile.php:250
@@ -2809,7 +3053,9 @@ msgstr ""
2809
 
2810
  #: app/main/controllers/upload/processors/RTMediaUploadFile.php:270
2811
  #: app/main/controllers/upload/processors/RTMediaUploadFile.php:275
2812
- msgid "The MP3 file you have uploaded is using an unsupported audio format. Supported audio format is MP3."
 
 
2813
  msgstr ""
2814
 
2815
  #: app/main/controllers/upload/processors/RTMediaUploadFile.php:280
@@ -2817,7 +3063,9 @@ msgid "The MP3 file you have uploaded is not an audio file."
2817
  msgstr ""
2818
 
2819
  #: app/main/controllers/upload/processors/RTMediaUploadFile.php:288
2820
- msgid "Media File you have tried to upload is not supported. Supported media files are .jpg, .png, .gif, .mp3, .mov and .mp4."
 
 
2821
  msgstr ""
2822
 
2823
  #: app/main/deprecated/RTMediaDeprecated.php:27
@@ -2870,7 +3118,9 @@ msgid "Unsubscribe"
2870
  msgstr ""
2871
 
2872
  #: app/services/RTMediaEncoding.php:278
2873
- msgid "Just to improve our service we would like to know the reason for you to leave us."
 
 
2874
  msgstr ""
2875
 
2876
  #: app/services/RTMediaEncoding.php:328 app/services/RTMediaEncoding.php:448
@@ -2996,7 +3246,9 @@ msgid "Could not read file."
2996
  msgstr ""
2997
 
2998
  #: app/services/RTMediaEncoding.php:583
2999
- msgid "Something went wrong. The required attachment id does not exists. It must have been deleted."
 
 
3000
  msgstr ""
3001
 
3002
  #: app/services/RTMediaEncoding.php:600
@@ -3117,22 +3369,36 @@ msgstr ""
3117
  #: templates/media/media-single.php:41
3118
  msgid "under"
3119
  msgstr ""
 
3120
  #. Plugin Name of the plugin/theme
3121
  msgid "rtMedia for WordPress, BuddyPress and bbPress"
3122
  msgstr ""
3123
 
3124
  #. Plugin URI of the plugin/theme
3125
- msgid "https://rtmedia.io/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media"
 
 
3126
  msgstr ""
3127
 
3128
  #. Description of the plugin/theme
3129
- msgid "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!"
 
 
 
3130
  msgstr ""
3131
 
3132
- #. Author of the plugin/theme
3133
- msgid "rtCamp"
 
 
3134
  msgstr ""
3135
 
3136
- #. Author URI of the plugin/theme
3137
- msgid "http://rtcamp.com/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media"
 
3138
  msgstr ""
 
 
 
 
 
1
+ # Copyright (C) 2016 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 4.0.1\n"
6
+ "Report-Msgid-Bugs-To: http://community.rtcamp.com/c/rtmedia/\n"
7
+ "POT-Creation-Date: 2016-06-27 06:38:37+00:00\n"
8
  "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
  "PO-Revision-Date: 2016-MO-DA HO:MI+ZONE\n"
12
+ "Last-Translator: rtMedia <rtmedia@rtcamp.com>\n"
13
+ "Language-Team: rtMedia <rtmedia@rtcamp.com>\n"
14
+ "X-Generator: grunt-wp-i18n 0.5.4\n"
15
+ "X-Poedit-KeywordsList: "
16
+ "__;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_"
17
+ "attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c;\n"
18
+ "Language: en\n"
19
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
20
+ "X-Poedit-Country: United States\n"
21
+ "X-Poedit-SourceCharset: UTF-8\n"
22
+ "X-Poedit-Basepath: ../\n"
23
+ "X-Poedit-SearchPath-0: .\n"
24
+ "X-Poedit-Bookmarks: \n"
25
+ "X-Textdomain-Support: yes\n"
26
 
27
  #: app/admin/RTMediaAdmin.php:154
28
  msgid "View &#8220;%s&#8221;"
40
  msgid "We have released 30+ premium add-ons for rtMedia plugin. Read more about it "
41
  msgstr ""
42
 
43
+ #: app/admin/RTMediaAdmin.php:225 app/admin/RTMediaAdmin.php:1186
44
+ #: app/admin/RTMediaAdmin.php:1857 app/admin/RTMediaAdmin.php:1875
45
+ #: app/admin/RTMediaAdmin.php:1893 app/admin/RTMediaFormHandler.php:435
46
  #: app/admin/RTMediaFormHandler.php:446 app/helper/RTMediaSettings.php:297
47
  #: app/helper/RTMediaSupport.php:368 app/helper/RTMediaSupport.php:636
48
  msgid "here"
145
  msgstr ""
146
 
147
  #: app/admin/RTMediaAdmin.php:728 app/admin/RTMediaAdmin.php:800
148
+ #: app/admin/RTMediaAdmin.php:803 app/admin/RTMediaAdmin.php:978
149
+ #: app/admin/RTMediaAdmin.php:1567
150
  msgid "Settings"
151
  msgstr ""
152
 
153
  #: app/admin/RTMediaAdmin.php:730 app/admin/RTMediaAdmin.php:824
154
+ #: app/admin/RTMediaAdmin.php:827 app/admin/RTMediaAdmin.php:988
155
+ #: app/admin/RTMediaAdmin.php:1593 app/helper/RTMediaSettings.php:221
156
  #: app/helper/RTMediaSupport.php:52 app/helper/RTMediaSupport.php:53
157
  msgid "Support"
158
  msgstr ""
159
 
160
+ #: app/admin/RTMediaAdmin.php:750 app/admin/RTMediaAdmin.php:1017
161
+ #: app/admin/RTMediaAdmin.php:1069
162
  msgid "Regenerate Thumbnail"
163
  msgstr ""
164
 
165
+ #: app/admin/RTMediaAdmin.php:793 app/admin/RTMediaAdmin.php:1539
166
+ #: app/admin/RTMediaAdmin.php:1540 app/importers/RTMediaActivityUpgrade.php:116
167
  #: app/importers/RTMediaMigration.php:68 app/main/RTMedia.php:908
168
  msgid "rtMedia"
169
  msgstr ""
170
 
171
  #: app/admin/RTMediaAdmin.php:812 app/admin/RTMediaAdmin.php:815
172
+ #: app/admin/RTMediaAdmin.php:983 app/admin/RTMediaAdmin.php:1572
173
  msgid "Addons"
174
  msgstr ""
175
 
176
  #: app/admin/RTMediaAdmin.php:836 app/admin/RTMediaAdmin.php:839
177
+ #: app/admin/RTMediaAdmin.php:994 app/admin/RTMediaAdmin.php:1580
178
  msgid "Themes"
179
  msgstr ""
180
 
181
  #: app/admin/RTMediaAdmin.php:849 app/admin/RTMediaAdmin.php:852
182
+ #: app/admin/RTMediaAdmin.php:1001 app/admin/RTMediaAdmin.php:1586
183
  msgid "Hire Us"
184
  msgstr ""
185
 
186
  #: app/admin/RTMediaAdmin.php:862 app/admin/RTMediaAdmin.php:865
187
+ #: app/admin/RTMediaAdmin.php:1008 app/admin/RTMediaAdmin.php:1600
188
  msgid "Licenses"
189
  msgstr ""
190
 
224
  msgid "Are you sure you want to enable the encoding service?"
225
  msgstr ""
226
 
227
+ #: app/admin/RTMediaAdmin.php:928
228
+ msgid "Settings have changed, you should save them!"
229
+ msgstr ""
230
+
231
+ #: app/admin/RTMediaAdmin.php:929
232
+ msgid ""
233
+ "Number of video thumbnails to be generated should be greater than 0 in "
234
+ "media sizes settings. Setting it to default value 2."
235
+ msgstr ""
236
+
237
+ #: app/admin/RTMediaAdmin.php:930
238
+ msgid ""
239
+ "Invalid value for number of video thumbnails in media sizes settings. "
240
+ "Setting it to round value"
241
+ msgstr ""
242
+
243
+ #: app/admin/RTMediaAdmin.php:931
244
+ msgid ""
245
+ "Number of percentage in JPEG image quality should be greater than 0 in "
246
+ "media sizes settings. Setting it to default value 90."
247
+ msgstr ""
248
+
249
+ #: app/admin/RTMediaAdmin.php:932
250
+ msgid ""
251
+ "Number of percentage in JPEG image quality should be less than 100 in media "
252
+ "sizes settings. Setting it to 100."
253
+ msgstr ""
254
+
255
+ #: app/admin/RTMediaAdmin.php:933
256
+ msgid ""
257
+ "Invalid value for percentage in JPEG image quality in media sizes settings. "
258
+ "Setting it to round value"
259
+ msgstr ""
260
+
261
+ #: app/admin/RTMediaAdmin.php:934
262
+ msgid ""
263
+ "Please enter positive integer value only. Setting number of media per page "
264
+ "value to default value 10."
265
+ msgstr ""
266
+
267
+ #: app/admin/RTMediaAdmin.php:935
268
+ msgid ""
269
+ "Please enter positive integer value only. Setting number of media per page "
270
+ "value to round value"
271
+ msgstr ""
272
+
273
+ #: app/admin/RTMediaAdmin.php:936
274
+ msgid "Request failed."
275
+ msgstr ""
276
+
277
+ #: app/admin/RTMediaAdmin.php:944
278
+ msgid "Please enter WP Admin Login."
279
+ msgstr ""
280
+
281
+ #: app/admin/RTMediaAdmin.php:945
282
+ msgid "Please enter WP Admin password."
283
+ msgstr ""
284
+
285
+ #: app/admin/RTMediaAdmin.php:946
286
+ msgid "Please enter SSH / FTP host."
287
+ msgstr ""
288
+
289
+ #: app/admin/RTMediaAdmin.php:947
290
+ msgid "Please enter SSH / FTP login."
291
+ msgstr ""
292
+
293
+ #: app/admin/RTMediaAdmin.php:948
294
+ msgid "Please enter SSH / FTP password."
295
+ msgstr ""
296
+
297
+ #: app/admin/RTMediaAdmin.php:949
298
+ msgid "Please fill all the fields."
299
+ msgstr ""
300
+
301
+ #: app/admin/RTMediaAdmin.php:1017
302
  msgid "Regen. Thumbnail "
303
  msgstr ""
304
 
305
+ #: app/admin/RTMediaAdmin.php:1038
306
  msgid "rtMedia: Regenerate Video Thumbnails"
307
  msgstr ""
308
 
309
+ #: app/admin/RTMediaAdmin.php:1060
310
  msgid "You can see this page because you have "
311
  msgstr ""
312
 
313
+ #: app/admin/RTMediaAdmin.php:1061
314
  msgid "subscribed"
315
  msgstr ""
316
 
317
+ #: app/admin/RTMediaAdmin.php:1062
318
  msgid " for "
319
  msgstr ""
320
 
321
+ #: app/admin/RTMediaAdmin.php:1063
322
  msgid "rtMedia audio/video encoding service"
323
  msgstr ""
324
 
325
+ #: app/admin/RTMediaAdmin.php:1066
326
  msgid "You can regenerate thumbnails of a specific video by visiting "
327
  msgstr ""
328
 
329
+ #: app/admin/RTMediaAdmin.php:1067
330
  msgid "media page"
331
  msgstr ""
332
 
333
+ #: app/admin/RTMediaAdmin.php:1068
334
  msgid " and clicking the "
335
  msgstr ""
336
 
337
+ #: app/admin/RTMediaAdmin.php:1070
338
  msgid " option for that particular video."
339
  msgstr ""
340
 
341
+ #: app/admin/RTMediaAdmin.php:1073
342
  msgid "Click "
343
  msgstr ""
344
 
345
+ #: app/admin/RTMediaAdmin.php:1074 app/admin/RTMediaAdmin.php:1079
346
  msgid "Regenerate Pending Thumbnails"
347
  msgstr ""
348
 
349
+ #: app/admin/RTMediaAdmin.php:1075
350
  msgid " to regenerate thumbnails of pending videos."
351
  msgstr ""
352
 
353
+ #: app/admin/RTMediaAdmin.php:1091
354
  msgid "Total Videos"
355
  msgstr ""
356
 
357
+ #: app/admin/RTMediaAdmin.php:1095
358
  msgid "Sent of regenerate thumbails"
359
  msgstr ""
360
 
361
+ #: app/admin/RTMediaAdmin.php:1098
362
  msgid "Fail to regenerate thumbails"
363
  msgstr ""
364
 
365
+ #: app/admin/RTMediaAdmin.php:1139
366
  msgid "Regenerate Video Thumbnails Done"
367
  msgstr ""
368
 
369
+ #: app/admin/RTMediaAdmin.php:1185
370
  msgid "You have %s videos without thumbnails. Click "
371
  msgstr ""
372
 
373
+ #: app/admin/RTMediaAdmin.php:1187
374
  msgid " to generate thumbnails."
375
  msgstr ""
376
 
377
+ #: app/admin/RTMediaAdmin.php:1270
378
  msgid "not a video ..."
379
  msgstr ""
380
 
381
+ #: app/admin/RTMediaAdmin.php:1421
382
  msgid "Empowering The Web With WordPress"
383
  msgstr ""
384
 
385
+ #: app/admin/RTMediaAdmin.php:1442
386
  msgid "Settings saved successfully!"
387
  msgstr ""
388
 
389
+ #: app/admin/RTMediaAdmin.php:1448 app/admin/RTMediaAdmin.php:1477
390
  msgid "Save Settings"
391
  msgstr ""
392
 
393
+ #: app/admin/RTMediaAdmin.php:1674 app/admin/RTMediaAdmin.php:1675
394
  msgid "Display"
395
  msgstr ""
396
 
397
+ #: app/admin/RTMediaAdmin.php:1683
398
  msgid "rtMedia BuddyPress"
399
  msgstr ""
400
 
401
+ #: app/admin/RTMediaAdmin.php:1684
402
  msgid "BuddyPress"
403
  msgstr ""
404
 
405
+ #: app/admin/RTMediaAdmin.php:1692
406
  msgid "rtMedia Types"
407
  msgstr ""
408
 
409
+ #: app/admin/RTMediaAdmin.php:1693
410
  msgid "Types"
411
  msgstr ""
412
 
413
+ #: app/admin/RTMediaAdmin.php:1700
414
  msgid "rtMedia Sizes"
415
  msgstr ""
416
 
417
+ #: app/admin/RTMediaAdmin.php:1701
418
  msgid "Media Sizes"
419
  msgstr ""
420
 
421
+ #: app/admin/RTMediaAdmin.php:1708
422
  msgid "rtMedia Privacy"
423
  msgstr ""
424
 
425
+ #: app/admin/RTMediaAdmin.php:1709
426
  #: app/main/controllers/privacy/RTMediaPrivacy.php:417
427
  msgid "Privacy"
428
  msgstr ""
429
 
430
+ #: app/admin/RTMediaAdmin.php:1715
431
  msgid "rtMedia Custom CSS"
432
  msgstr ""
433
 
434
+ #: app/admin/RTMediaAdmin.php:1716
435
  msgid "Custom CSS"
436
  msgstr ""
437
 
438
+ #: app/admin/RTMediaAdmin.php:1725 app/admin/RTMediaAdmin.php:1726
439
  msgid "Other Settings"
440
  msgstr ""
441
 
442
+ #: app/admin/RTMediaAdmin.php:1773
443
  msgid "I use @rtMediaWP http://rt.cx/rtmedia on %s"
444
  msgstr ""
445
 
446
+ #: app/admin/RTMediaAdmin.php:1775
447
  msgid "Post to Twitter Now"
448
  msgstr ""
449
 
450
+ #: app/admin/RTMediaAdmin.php:1775
451
  msgid "Post to Twitter"
452
  msgstr ""
453
 
454
+ #: app/admin/RTMediaAdmin.php:1776
455
  msgid "Share on Facebook Now"
456
  msgstr ""
457
 
458
+ #: app/admin/RTMediaAdmin.php:1776
459
  msgid "Share on Facebook"
460
  msgstr ""
461
 
462
+ #: app/admin/RTMediaAdmin.php:1777
463
  msgid "Rate rtMedia on Wordpress.org"
464
  msgstr ""
465
 
466
+ #: app/admin/RTMediaAdmin.php:1777
467
  msgid "Rate on Wordpress.org"
468
  msgstr ""
469
 
470
+ #: app/admin/RTMediaAdmin.php:1778
471
  msgid "Subscribe to our Feeds"
472
  msgstr ""
473
 
474
+ #: app/admin/RTMediaAdmin.php:1781
475
  msgid "Spread the Word"
476
  msgstr ""
477
 
478
+ #: app/admin/RTMediaAdmin.php:1787 app/admin/RTMediaAdmin.php:1794
479
  msgid "Subscribe"
480
  msgstr ""
481
 
482
+ #: app/admin/RTMediaAdmin.php:1825
483
  msgid "Thank you for your time."
484
  msgstr ""
485
 
486
+ #: app/admin/RTMediaAdmin.php:1838
487
  msgid "Premium Add-ons"
488
  msgstr ""
489
 
490
+ #: app/admin/RTMediaAdmin.php:1856
491
+ msgid ""
492
+ "You have images enabled on rtMedia but your network allowed filetypes do "
493
+ "not permit uploading of %s. Click "
494
  msgstr ""
495
 
496
+ #: app/admin/RTMediaAdmin.php:1858 app/admin/RTMediaAdmin.php:1876
497
+ #: app/admin/RTMediaAdmin.php:1894
498
  msgid " to change your settings manually."
499
  msgstr ""
500
 
501
+ #: app/admin/RTMediaAdmin.php:1860 app/admin/RTMediaAdmin.php:1878
502
+ #: app/admin/RTMediaAdmin.php:1896
503
  msgid "Recommended:"
504
  msgstr ""
505
 
506
+ #: app/admin/RTMediaAdmin.php:1861 app/admin/RTMediaAdmin.php:1879
507
+ #: app/admin/RTMediaAdmin.php:1897
508
  msgid "Update Network Settings Automatically"
509
  msgstr ""
510
 
511
+ #: app/admin/RTMediaAdmin.php:1874
512
+ msgid ""
513
+ "You have video enabled on BuddyPress Media but your network allowed "
514
+ "filetypes do not permit uploading of mp4. Click "
515
  msgstr ""
516
 
517
+ #: app/admin/RTMediaAdmin.php:1892
518
+ msgid ""
519
+ "You have audio enabled on BuddyPress Media but your network allowed "
520
+ "filetypes do not permit uploading of mp3. Click "
521
  msgstr ""
522
 
523
+ #: app/admin/RTMediaAdmin.php:1913
524
  msgid "Network settings updated successfully."
525
  msgstr ""
526
 
527
+ #: app/admin/RTMediaAdmin.php:2025
528
  msgid "Video is sent to generate thumbnails."
529
  msgstr ""
530
 
531
+ #: app/admin/RTMediaAdmin.php:2027
532
  msgid "Video cannot be sent to generate thumbnails."
533
  msgstr ""
534
 
535
+ #: app/admin/RTMediaAdmin.php:2041
536
  msgid "Regenerate Video Thumbnails"
537
  msgstr ""
538
 
539
+ #: app/admin/RTMediaAdmin.php:2053
540
+ msgid ""
541
+ "Please update rtMedia template files if you have overridden the default "
542
+ "rtMedia templates in your theme. If not, you can ignore and hide this "
543
+ "notice."
544
  msgstr ""
545
 
546
+ #: app/admin/RTMediaAdmin.php:2053
547
  #: app/importers/RTMediaMediaSizeImporter.php:73
548
  #: app/importers/RTMediaMigration.php:68
549
  msgid "Hide"
572
  msgstr ""
573
 
574
  #: app/admin/RTMediaFormHandler.php:296
575
+ msgid ""
576
+ "This will display the comment form and comment listing on single media "
577
+ "pages as well as inside lightbox (if lightbox is enabled)."
578
  msgstr ""
579
 
580
  #: app/admin/RTMediaFormHandler.php:301
630
  msgstr ""
631
 
632
  #: app/admin/RTMediaFormHandler.php:344
633
+ msgid ""
634
+ "To set gallery for fixed width, set image height to 0 and width as per your "
635
+ "requirement and vice-versa."
636
  msgstr ""
637
 
638
  #: app/admin/RTMediaFormHandler.php:347
664
  msgstr ""
665
 
666
  #: app/admin/RTMediaFormHandler.php:402
667
+ msgid ""
668
+ "To make rtMedia better compatible with your sites, you can help the rtMedia "
669
+ "team learn what themes and plugins you are using. No private information "
670
+ "about your setup will be sent during tracking."
671
  msgstr ""
672
 
673
  #: app/admin/RTMediaFormHandler.php:406
675
  msgstr ""
676
 
677
  #: app/admin/RTMediaFormHandler.php:411
678
+ msgid ""
679
+ "Add rtMedia menu to WordPress admin bar for easy access to settings and "
680
+ "moderation page (if enabled)."
681
  msgstr ""
682
 
683
  #: app/admin/RTMediaFormHandler.php:416
693
  msgstr ""
694
 
695
  #: app/admin/RTMediaFormHandler.php:431
696
+ msgid ""
697
+ "Add your affiliate-id along with footer link and get rewarded by our "
698
+ "affiliation program."
699
  msgstr ""
700
 
701
  #: app/admin/RTMediaFormHandler.php:435
711
  msgstr ""
712
 
713
  #: app/admin/RTMediaFormHandler.php:443
714
+ msgid ""
715
+ "This will allow handling API requests for rtMedia sent through any mobile "
716
+ "app."
717
  msgstr ""
718
 
719
  #: app/admin/RTMediaFormHandler.php:446
793
  msgstr ""
794
 
795
  #: app/admin/RTMediaFormHandler.php:821
796
+ msgid ""
797
+ " If you choose more than 1 thumbnail, your users will be able to change the "
798
+ "thumbnail by going to video 'edit' section. Maximum value is 10."
799
  msgstr ""
800
 
801
  #: app/admin/RTMediaFormHandler.php:829
823
  msgstr ""
824
 
825
  #: app/admin/RTMediaFormHandler.php:895
826
+ msgid ""
827
+ "Load default rtMedia styles. You need to write your own style for rtMedia "
828
+ "if you disable it."
829
  msgstr ""
830
 
831
  #: app/admin/RTMediaFormHandler.php:900
857
  msgstr ""
858
 
859
  #: app/admin/RTMediaFormHandler.php:957
860
+ msgid ""
861
+ "If you choose this, users will be able to change privacy of their own "
862
+ "uploads."
863
  msgstr ""
864
 
865
  #: app/admin/RTMediaFormHandler.php:961
895
  msgstr ""
896
 
897
  #: app/admin/RTMediaFormHandler.php:1039
898
+ msgid ""
899
+ "With bulk uploads activity, the stream may get flooded. You can control the "
900
+ "maximum number of media items or files per activity. This limit will not "
901
+ "affect the actual number of uploads. This is only for display. \"0\" means "
902
+ "unlimited."
903
  msgstr ""
904
 
905
  #: app/admin/RTMediaFormHandler.php:1046
907
  msgstr ""
908
 
909
  #: app/admin/RTMediaFormHandler.php:1051
910
+ msgid ""
911
+ "This will enable notifications to media authors for media likes and "
912
+ "comments."
913
  msgstr ""
914
 
915
  #: app/admin/RTMediaFormHandler.php:1057
933
  msgstr ""
934
 
935
  #: app/admin/RTMediaFormHandler.php:1085
936
+ msgid ""
937
+ "This will add 'album' tab to BuddyPress profile and group depending on the "
938
+ "^above^ settings."
939
  msgstr ""
940
 
941
  #: app/admin/templates/tmpl-rtm-album-favourites-importer.php:4
955
  msgstr ""
956
 
957
  #: app/helper/RTMediaAddon.php:117
958
+ msgid ""
959
+ "Generate an XML sitemap for all the public media files uploaded via rtMedia "
960
+ "plugin. These sitemaps can be useful to index search engine to improve "
961
+ "website SEO."
962
  msgstr ""
963
 
964
  #: app/helper/RTMediaAddon.php:125
966
  msgstr ""
967
 
968
  #: app/helper/RTMediaAddon.php:128
969
+ msgid ""
970
+ "Report media if they find offensive. Set number of reports to automatically "
971
+ "take down media from site."
972
  msgstr ""
973
 
974
  #: app/helper/RTMediaAddon.php:136
976
  msgstr ""
977
 
978
  #: app/helper/RTMediaAddon.php:139
979
+ msgid ""
980
+ "Categories media based on attributes. Site owner need to create attributes. "
981
+ "When user upload a media, can select in which attribute that media can add."
982
  msgstr ""
983
 
984
  #: app/helper/RTMediaAddon.php:147
986
  msgstr ""
987
 
988
  #: app/helper/RTMediaAddon.php:150
989
+ msgid ""
990
+ "Allow users to upload documents and other file type using rtMedia upload "
991
+ "box. This addon support all the file extensions which WordPress allows."
992
  msgstr ""
993
 
994
  #: app/helper/RTMediaAddon.php:158
996
  msgstr ""
997
 
998
  #: app/helper/RTMediaAddon.php:161
999
+ msgid ""
1000
+ "This plugin allows the creation of multiple default albums for rtMedia "
1001
+ "uploads. One of these albums can be set as the default global album."
1002
  msgstr ""
1003
 
1004
  #: app/helper/RTMediaAddon.php:169
1006
  msgstr ""
1007
 
1008
  #: app/helper/RTMediaAddon.php:172
1009
+ msgid ""
1010
+ "Read rtMedia uploads from iTunes as well as any RSS feed-reader/podcasting "
1011
+ "software."
1012
  msgstr ""
1013
 
1014
  #: app/helper/RTMediaAddon.php:180
1016
  msgstr ""
1017
 
1018
  #: app/helper/RTMediaAddon.php:183
1019
+ msgid ""
1020
+ "Audio can be grouped into playlists. Once the user upload any audio file, "
1021
+ "can create a playlist or use existing one to manage audio files."
1022
  msgstr ""
1023
 
1024
  #: app/helper/RTMediaAddon.php:191
1026
  msgstr ""
1027
 
1028
  #: app/helper/RTMediaAddon.php:194
1029
+ msgid ""
1030
+ "Users can create their list of favorite media in which they can add media "
1031
+ "previously uploaded by any user."
1032
  msgstr ""
1033
 
1034
  #: app/helper/RTMediaAddon.php:202
1036
  msgstr ""
1037
 
1038
  #: app/helper/RTMediaAddon.php:205
1039
+ msgid ""
1040
+ "Site admin can set an upload limit on the basis of time span, file size "
1041
+ "(MB) and number of files user can upload."
1042
  msgstr ""
1043
 
1044
  #: app/helper/RTMediaAddon.php:213
1054
  msgstr ""
1055
 
1056
  #: app/helper/RTMediaAddon.php:227
1057
+ msgid ""
1058
+ "Site admin can create and upload media into WordPress album. Create album "
1059
+ "without being dependent on BuddyPress."
1060
  msgstr ""
1061
 
1062
  #: app/helper/RTMediaAddon.php:235
1064
  msgstr ""
1065
 
1066
  #: app/helper/RTMediaAddon.php:238
1067
+ msgid ""
1068
+ "Allow users to upload a media file in WordPress comment attachment box. It "
1069
+ "will display a thumbnail of attached file."
1070
  msgstr ""
1071
 
1072
  #: app/helper/RTMediaAddon.php:246
1074
  msgstr ""
1075
 
1076
  #: app/helper/RTMediaAddon.php:249
1077
+ msgid ""
1078
+ "Share uploaded media on social network sites like Facebook, twitter, "
1079
+ "linkedin, Google +. This addon integrate with rtSocial plugin."
1080
  msgstr ""
1081
 
1082
  #: app/helper/RTMediaAddon.php:257
1084
  msgstr ""
1085
 
1086
  #: app/helper/RTMediaAddon.php:260
1087
+ msgid ""
1088
+ "This addon provide widgets to upload media and display gallery for rtMedia "
1089
+ "plugin."
1090
  msgstr ""
1091
 
1092
  #: app/helper/RTMediaAddon.php:268
1094
  msgstr ""
1095
 
1096
  #: app/helper/RTMediaAddon.php:271
1097
+ msgid ""
1098
+ "Display 5 star rating for all the uploaded media. User can rate the media "
1099
+ "files from 1 to 5 star."
1100
  msgstr ""
1101
 
1102
  #: app/helper/RTMediaAddon.php:279
1112
  msgstr ""
1113
 
1114
  #: app/helper/RTMediaAddon.php:293
1115
+ msgid ""
1116
+ "Sort uploaded media based on file size, ascending/descending title, upload "
1117
+ "date of media."
1118
  msgstr ""
1119
 
1120
  #: app/helper/RTMediaAddon.php:301
1122
  msgstr ""
1123
 
1124
  #: app/helper/RTMediaAddon.php:304
1125
+ msgid ""
1126
+ "Bulk edit option will allow user to quickly select media files and do "
1127
+ "required actions like move files from one album to another, change "
1128
+ "attributes, change privacy, delete files."
1129
  msgstr ""
1130
 
1131
  #: app/helper/RTMediaAddon.php:312
1149
  msgstr ""
1150
 
1151
  #: app/helper/RTMediaAddon.php:337
1152
+ msgid ""
1153
+ "User can download media from website. Site owner can restrict which media "
1154
+ "type can be allowed to download."
1155
  msgstr ""
1156
 
1157
  #: app/helper/RTMediaAddon.php:345
1159
  msgstr ""
1160
 
1161
  #: app/helper/RTMediaAddon.php:348
1162
+ msgid ""
1163
+ "Users do not need to download media files from a URL and then upload it "
1164
+ "with rtMedia. Just provide the absolute URL for the media and it will "
1165
+ "upload on site."
1166
  msgstr ""
1167
 
1168
  #: app/helper/RTMediaAddon.php:356
1170
  msgstr ""
1171
 
1172
  #: app/helper/RTMediaAddon.php:359
1173
+ msgid ""
1174
+ "This add-on let you know who liked the media. User can also see which media "
1175
+ "they liked under their profile."
1176
  msgstr ""
1177
 
1178
  #: app/helper/RTMediaAddon.php:367
1180
  msgstr ""
1181
 
1182
  #: app/helper/RTMediaAddon.php:370
1183
+ msgid ""
1184
+ "This addon provides a preview of the URL that is shared in BuddyPress "
1185
+ "activity. Just enter the URL you want to share on your site and see a "
1186
+ "preview of it before it is shared."
1187
  msgstr ""
1188
 
1189
  #: app/helper/RTMediaAddon.php:378
1191
  msgstr ""
1192
 
1193
  #: app/helper/RTMediaAddon.php:381
1194
+ msgid ""
1195
+ "Enable view count for all the uploaded media. Whenever user open that media "
1196
+ "file in lightbox or in single media view, that view count will be "
1197
+ "calculated and display next to media file."
1198
  msgstr ""
1199
 
1200
  #: app/helper/RTMediaAddon.php:389
1202
  msgstr ""
1203
 
1204
  #: app/helper/RTMediaAddon.php:392
1205
+ msgid ""
1206
+ "This add-on will add shortcode generator button in WordPress post and page "
1207
+ "editor for all the rtMedia shortcodes."
1208
  msgstr ""
1209
 
1210
  #: app/helper/RTMediaAddon.php:400
1212
  msgstr ""
1213
 
1214
  #: app/helper/RTMediaAddon.php:403
1215
+ msgid ""
1216
+ "Set album privacy when user create an album or change album privacy when "
1217
+ "editing existing albums. The privacy levels are Public, Logged in user, "
1218
+ "Friends and Private."
1219
  msgstr ""
1220
 
1221
  #: app/helper/RTMediaAddon.php:411
1231
  msgstr ""
1232
 
1233
  #: app/helper/RTMediaAddon.php:425
1234
+ msgid ""
1235
+ "Allow media owner to change the thumbnail of uploaded audio/video files. "
1236
+ "The File Upload box will be provided to change media thumbnail."
1237
  msgstr ""
1238
 
1239
  #: app/helper/RTMediaAddon.php:433
1241
  msgstr ""
1242
 
1243
  #: app/helper/RTMediaAddon.php:436
1244
+ msgid ""
1245
+ "This plugin integrates rtMedia and myCRED plugin, users can be can award "
1246
+ "virtual points for various rtMedia activities, like media upload, likes, "
1247
+ "deleted etc."
1248
  msgstr ""
1249
 
1250
  #: app/helper/RTMediaAddon.php:444
1252
  msgstr ""
1253
 
1254
  #: app/helper/RTMediaAddon.php:447
1255
+ msgid ""
1256
+ "User must have to check the terms and conditions checkbox before uploading "
1257
+ "the media."
1258
  msgstr ""
1259
 
1260
  #: app/helper/RTMediaAddon.php:455
1262
  msgstr ""
1263
 
1264
  #: app/helper/RTMediaAddon.php:458
1265
+ msgid ""
1266
+ "If you are using CubePoints plugin on your website than rtMedia CubePoint "
1267
+ "add-on can be integrate with that plugin to setup point management system "
1268
+ "for rtMedia related activities."
1269
  msgstr ""
1270
 
1271
  #: app/helper/RTMediaAddon.php:466
1281
  msgstr ""
1282
 
1283
  #: app/helper/RTMediaAddon.php:480
1284
+ msgid ""
1285
+ "rtMedia Photo Watermark let you add watermark on your images uploaded using "
1286
+ "rtMedia."
1287
  msgstr ""
1288
 
1289
  #: app/helper/RTMediaAddon.php:488
1291
  msgstr ""
1292
 
1293
  #: app/helper/RTMediaAddon.php:491
1294
+ msgid ""
1295
+ "rtMedia Photo Tagging enable users to tag their friends on photos uploaded "
1296
+ "using rtMedia."
1297
  msgstr ""
1298
 
1299
  #: app/helper/RTMediaAddon.php:499
1301
  msgstr ""
1302
 
1303
  #: app/helper/RTMediaAddon.php:502
1304
+ msgid ""
1305
+ "rtMedia Photo Filters adds Instagram like filters to images uploaded with "
1306
+ "rtMedia."
1307
  msgstr ""
1308
 
1309
  #: app/helper/RTMediaAddon.php:510
1311
  msgstr ""
1312
 
1313
  #: app/helper/RTMediaAddon.php:513
1314
+ msgid ""
1315
+ "Add support for more video formats using Kaltura video solution. It works "
1316
+ "with Kaltura.com, self-hosted Kaltura-CE and Kaltura-on-premise."
1317
  msgstr ""
1318
 
1319
  #: app/helper/RTMediaAddon.php:521
1321
  msgstr ""
1322
 
1323
  #: app/helper/RTMediaAddon.php:524
1324
+ msgid ""
1325
+ "Add supports for more audio & video formats using open-source media-node. "
1326
+ "Media node comes with automated setup script for Ubuntu/Debian."
1327
  msgstr ""
1328
 
1329
  #: app/helper/RTMediaAddon.php:532
1331
  msgstr ""
1332
 
1333
  #: app/helper/RTMediaAddon.php:535
1334
+ msgid ""
1335
+ "rtMedia Membership add-on provides membership functionality in your site in "
1336
+ "terms of media upload."
1337
  msgstr ""
1338
 
1339
  #: app/helper/RTMediaAddon.php:575
1429
  msgstr ""
1430
 
1431
  #: app/helper/RTMediaSettings.php:296
1432
+ msgid ""
1433
+ "Currently your network allows uploading of the following file types. You "
1434
+ "can change the settings %s"
1435
  msgstr ""
1436
 
1437
  #: app/helper/RTMediaSettings.php:317 app/helper/RTMediaSettings.php:319
1471
  msgstr ""
1472
 
1473
  #: app/helper/RTMediaSettings.php:399
1474
+ msgid ""
1475
+ "If your site has some issues due to rtMedia and you want one on one support "
1476
+ "then you can create a support topic on the "
1477
  msgstr ""
1478
 
1479
  #: app/helper/RTMediaSettings.php:400
1481
  msgstr ""
1482
 
1483
  #: app/helper/RTMediaSettings.php:402
1484
+ msgid ""
1485
+ "If you have any suggestions, enhancements or bug reports, then you can open "
1486
+ "a new issue on "
1487
  msgstr ""
1488
 
1489
  #: app/helper/RTMediaSettings.php:403 app/helper/RTMediaSupport.php:419
1554
  msgstr ""
1555
 
1556
  #: app/helper/RTMediaSupport.php:411
1557
+ msgid ""
1558
+ "If your site has some issues due to rtMedia and you want support, feel free "
1559
+ "to create a support topic on %s"
1560
  msgstr ""
1561
 
1562
  #: app/helper/RTMediaSupport.php:412
1564
  msgstr ""
1565
 
1566
  #: app/helper/RTMediaSupport.php:418
1567
+ msgid ""
1568
+ "If you have any suggestions, enhancements or bug reports, then you can open "
1569
+ "a new issue on %s"
1570
  msgstr ""
1571
 
1572
  #: app/helper/RTMediaSupport.php:438
1658
  msgid "rtDating"
1659
  msgstr ""
1660
 
1661
+ #. Author of the plugin/theme
 
1662
  msgid "rtCamp"
1663
  msgstr ""
1664
 
1665
  #: app/helper/RTMediaThemes.php:111
1666
+ msgid ""
1667
+ "rtDating is a unique, clean and modern theme only for WordPress. This theme "
1668
+ "is mostly useful for dating sites and community websites. It can also be "
1669
+ "use for any other WordPress based website."
1670
  msgstr ""
1671
 
1672
  #: app/helper/RTMediaThemes.php:115
1674
  msgstr ""
1675
 
1676
  #: app/helper/RTMediaThemes.php:121
1677
+ msgid ""
1678
+ "InspireBook is a premium WordPress theme, designed especially for "
1679
+ "BuddyPress and rtMedia powered social-networks."
1680
  msgstr ""
1681
 
1682
  #: app/helper/RTMediaThemes.php:125
1684
  msgstr ""
1685
 
1686
  #: app/helper/RTMediaThemes.php:131
1687
+ msgid ""
1688
+ "Its premium WordPress theme, designed especially for Food, recipe and "
1689
+ "photography community sites."
1690
  msgstr ""
1691
 
1692
  #: app/helper/RTMediaThemes.php:149 app/helper/RTMediaThemes.php:302
1722
  msgstr ""
1723
 
1724
  #: app/helper/RTMediaThemes.php:233
1725
+ msgid ""
1726
+ "Woffice is a feature rich, powerful Multipurpose Intranet/Extranet "
1727
+ "Wordpress theme."
1728
  msgstr ""
1729
 
1730
  #: app/helper/RTMediaThemes.php:237
1736
  msgstr ""
1737
 
1738
  #: app/helper/RTMediaThemes.php:243
1739
+ msgid ""
1740
+ "Thrive is an innovative WordPress Theme designed to cater company portals, "
1741
+ "organisational websites, company intranet and extranets."
1742
  msgstr ""
1743
 
1744
  #: app/helper/RTMediaThemes.php:247
1750
  msgstr ""
1751
 
1752
  #: app/helper/RTMediaThemes.php:253
1753
+ msgid ""
1754
+ "(M)Social is a sophisticated, vibrant community theme that offers "
1755
+ "incredible grid layouts, with full BuddyPress support so your users can "
1756
+ "interact with each other, create their own pages, and share their thoughts "
1757
+ "and images with the community."
1758
  msgstr ""
1759
 
1760
  #: app/helper/RTMediaThemes.php:257
1762
  msgstr ""
1763
 
1764
  #: app/helper/RTMediaThemes.php:263
1765
+ msgid ""
1766
+ "Klein is an innovative WordPress theme built to support BuddyPress, "
1767
+ "bbPress, and WooCommerce out of the box. Perfect for websites that "
1768
+ "interacts with many users."
1769
  msgstr ""
1770
 
1771
  #: app/helper/RTMediaThemes.php:267
1777
  msgstr ""
1778
 
1779
  #: app/helper/RTMediaThemes.php:273
1780
+ msgid ""
1781
+ "SweetDate is a unique, clean and modern Premium Wordpress theme. It is "
1782
+ "perfect for a dating or community website but can be used as well for any "
1783
+ "other domain. They added all the things you need to create a perfect "
1784
+ "community system."
1785
  msgstr ""
1786
 
1787
  #: app/helper/RTMediaThemes.php:277
1789
  msgstr ""
1790
 
1791
  #: app/helper/RTMediaThemes.php:283
1792
+ msgid ""
1793
+ "You no longer need to be a professional developer or designer to create an "
1794
+ "awesome website. Let your imagination run wild and create the site of your "
1795
+ "dreams. KLEO has all the tools to get you started."
1796
  msgstr ""
1797
 
1798
  #: app/helper/RTMediaThemes.php:365
1799
+ msgid ""
1800
+ "These are the third party themes. For any issues or queries regarding these "
1801
+ "themes please contact theme developers."
1802
  msgstr ""
1803
 
1804
  #: app/helper/RTMediaThemes.php:368
1806
  msgstr ""
1807
 
1808
  #: app/helper/RTMediaThemes.php:371
1809
+ msgid ""
1810
+ "If you have developed a rtMedia compatible theme and would like it to list "
1811
+ "here, please email us at"
1812
  msgstr ""
1813
 
1814
  #: app/helper/RTMediaThemes.php:372
1816
  msgstr ""
1817
 
1818
  #: app/helper/RTMediaUploadException.php:41
1819
+ msgid ""
1820
+ "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in "
1821
+ "the HTML form"
1822
  msgstr ""
1823
 
1824
  #: app/helper/RTMediaUploadException.php:44
1854
  msgstr ""
1855
 
1856
  #: app/importers/BPMediaAlbumimporter.php:65
1857
+ msgid ""
1858
+ "This import process is irreversible. Although everything is tested, please "
1859
+ "take a "
1860
  msgstr ""
1861
 
1862
  #: app/importers/BPMediaAlbumimporter.php:66
1864
  msgstr ""
1865
 
1866
  #: app/importers/BPMediaAlbumimporter.php:67
1867
+ msgid ""
1868
+ ", before proceeding. If you don't know your way around databases and files, "
1869
+ "consider "
1870
  msgstr ""
1871
 
1872
  #: app/importers/BPMediaAlbumimporter.php:68
1878
  msgstr ""
1879
 
1880
  #: app/importers/BPMediaAlbumimporter.php:71
1881
+ msgid ""
1882
+ "If you have set \"WP_DEBUG\" in you wp-config.php file, please make sure it "
1883
+ "is set to \"false\", so that it doesn't conflict with the import process."
1884
  msgstr ""
1885
 
1886
  #: app/importers/BPMediaAlbumimporter.php:72
1945
  msgstr ""
1946
 
1947
  #: app/importers/BPMediaAlbumimporter.php:154
1948
+ msgid ""
1949
+ "However, a lot of unnecessary files and a database table are still eating "
1950
+ "up your resources. If everything seems fine, you can clean this data up."
1951
  msgstr ""
1952
 
1953
  #: app/importers/BPMediaAlbumimporter.php:157
1963
  msgstr ""
1964
 
1965
  #: app/importers/BPMediaAlbumimporter.php:172
1966
+ msgid ""
1967
+ "rtMedia Photo Filters adds Instagram like filters to images uploaded with "
1968
+ "BuddyPress Media."
1969
  msgstr ""
1970
 
1971
  #: app/importers/BPMediaAlbumimporter.php:173
1973
  msgstr ""
1974
 
1975
  #: app/importers/BPMediaAlbumimporter.php:173
1976
+ msgid ""
1977
+ "You need to have ImageMagick installed on your server for this addon to "
1978
+ "work."
1979
  msgstr ""
1980
 
1981
  #: app/importers/BPMediaAlbumimporter.php:183
1982
+ msgid ""
1983
+ "Looks like you don't use BP Album. Is there any other BuddyPress Plugin you "
1984
+ "want an importer for?"
1985
  msgstr ""
1986
 
1987
  #: app/importers/BPMediaAlbumimporter.php:184
2332
  msgid "There are some uploads in progress. Do you want to cancel them?"
2333
  msgstr ""
2334
 
2335
+ #: app/main/controllers/activity/RTMediaBuddyPressActivity.php:284
2336
  msgid "Media Files"
2337
  msgstr ""
2338
 
2339
+ #: app/main/controllers/activity/RTMediaBuddyPressActivity.php:323
2340
  #: app/main/controllers/shortcodes/RTMediaUploadShortcode.php:100
2341
  #: app/main/controllers/template/rt-template-functions.php:1581
2342
  msgid "You are not allowed to upload/attach media."
2343
  msgstr ""
2344
 
2345
+ #: app/main/controllers/activity/RTMediaBuddyPressActivity.php:458
2346
  msgid "%s added a %s"
2347
  msgstr ""
2348
 
2349
+ #: app/main/controllers/activity/RTMediaBuddyPressActivity.php:465
2350
+ #: app/main/controllers/activity/RTMediaBuddyPressActivity.php:467
2351
  #: app/main/controllers/upload/RTMediaUploadEndpoint.php:122
2352
  msgid "%s added %d %s"
2353
  msgstr ""
2354
 
2355
+ #: app/main/controllers/activity/RTMediaBuddyPressActivity.php:519
2356
  msgid "%1$s liked a %2$s in the group %3$s"
2357
  msgstr ""
2358
 
2359
+ #: app/main/controllers/activity/RTMediaBuddyPressActivity.php:522
2360
  msgid "%1$s liked their %2$s"
2361
  msgstr ""
2362
 
2363
+ #: app/main/controllers/activity/RTMediaBuddyPressActivity.php:526
2364
  msgid "%1$s liked %2$s's %3$s"
2365
  msgstr ""
2366
 
2367
+ #: app/main/controllers/activity/RTMediaBuddyPressActivity.php:607
2368
  msgid "%1$s commented on a %2$s in the group %3$s"
2369
  msgstr ""
2370
 
2371
+ #: app/main/controllers/activity/RTMediaBuddyPressActivity.php:610
2372
  msgid "%1$s commented on their %2$s"
2373
  msgstr ""
2374
 
2375
+ #: app/main/controllers/activity/RTMediaBuddyPressActivity.php:614
2376
  msgid "%1$s commented on %2$s's %3$s"
2377
  msgstr ""
2378
 
2437
  msgstr ""
2438
 
2439
  #: app/main/controllers/api/RTMediaJsonApi.php:341
2440
+ msgid ""
2441
+ "To reset your password visit the following address, otherwise just ignore "
2442
+ "this email and nothing will happen."
2443
  msgstr ""
2444
 
2445
  #: app/main/controllers/api/RTMediaJsonApi.php:344
2633
 
2634
  #: app/main/controllers/group/RTMediaGroupExtension.php:170
2635
  msgid ""
2636
+ "You could display a small snippet of information from your group extension "
2637
+ "here. It will show on the group\n"
2638
  "\t home screen."
2639
  msgstr ""
2640
 
 
 
 
 
 
2641
  #: app/main/controllers/media/RTMediaAlbum.php:36
2642
  msgid "Hidden (%s)"
2643
  msgid_plural "Hidden (%s)"
2797
  msgid "Data mismatch, Please insert data properly."
2798
  msgstr ""
2799
 
 
 
 
 
 
2800
  #: app/main/controllers/template/RTMediaTemplate.php:109
2801
  #: app/main/controllers/template/RTMediaTemplate.php:160
2802
  msgid "Invalid attribute passed for rtmedia_gallery shortcode."
2973
  msgstr[0] ""
2974
  msgstr[1] ""
2975
 
 
 
2976
  #: app/main/controllers/template/rt-template-functions.php:2799
2977
+ #. translators: date format, see http:php.net/date
2978
  msgid "You can consider rtMedia Team for following :"
2979
  msgstr ""
2980
 
3038
 
3039
  #: app/main/controllers/upload/processors/RTMediaUploadFile.php:240
3040
  #: app/main/controllers/upload/processors/RTMediaUploadFile.php:245
3041
+ msgid ""
3042
+ "The MP4 file you have uploaded is using an unsupported video codec. "
3043
+ "Supported video codec is H.264."
3044
  msgstr ""
3045
 
3046
  #: app/main/controllers/upload/processors/RTMediaUploadFile.php:250
3053
 
3054
  #: app/main/controllers/upload/processors/RTMediaUploadFile.php:270
3055
  #: app/main/controllers/upload/processors/RTMediaUploadFile.php:275
3056
+ msgid ""
3057
+ "The MP3 file you have uploaded is using an unsupported audio format. "
3058
+ "Supported audio format is MP3."
3059
  msgstr ""
3060
 
3061
  #: app/main/controllers/upload/processors/RTMediaUploadFile.php:280
3063
  msgstr ""
3064
 
3065
  #: app/main/controllers/upload/processors/RTMediaUploadFile.php:288
3066
+ msgid ""
3067
+ "Media File you have tried to upload is not supported. Supported media files "
3068
+ "are .jpg, .png, .gif, .mp3, .mov and .mp4."
3069
  msgstr ""
3070
 
3071
  #: app/main/deprecated/RTMediaDeprecated.php:27
3118
  msgstr ""
3119
 
3120
  #: app/services/RTMediaEncoding.php:278
3121
+ msgid ""
3122
+ "Just to improve our service we would like to know the reason for you to "
3123
+ "leave us."
3124
  msgstr ""
3125
 
3126
  #: app/services/RTMediaEncoding.php:328 app/services/RTMediaEncoding.php:448
3246
  msgstr ""
3247
 
3248
  #: app/services/RTMediaEncoding.php:583
3249
+ msgid ""
3250
+ "Something went wrong. The required attachment id does not exists. It must "
3251
+ "have been deleted."
3252
  msgstr ""
3253
 
3254
  #: app/services/RTMediaEncoding.php:600
3369
  #: templates/media/media-single.php:41
3370
  msgid "under"
3371
  msgstr ""
3372
+
3373
  #. Plugin Name of the plugin/theme
3374
  msgid "rtMedia for WordPress, BuddyPress and bbPress"
3375
  msgstr ""
3376
 
3377
  #. Plugin URI of the plugin/theme
3378
+ msgid ""
3379
+ "https://rtmedia.io/?utm_source=dashboard&utm_medium=plugin&utm_campaign="
3380
+ "buddypress-media"
3381
  msgstr ""
3382
 
3383
  #. Description of the plugin/theme
3384
+ msgid ""
3385
+ "This plugin adds missing media rich features like photos, videos and audio "
3386
+ "uploading to BuddyPress which are essential if you are building social "
3387
+ "network, seriously!"
3388
  msgstr ""
3389
 
3390
+ #. Author URI of the plugin/theme
3391
+ msgid ""
3392
+ "http://rtcamp.com/?utm_source=dashboard&utm_medium=plugin&utm_campaign="
3393
+ "buddypress-media"
3394
  msgstr ""
3395
 
3396
+ #: app/main/controllers/media/RTMediaAlbum.php:35
3397
+ msgctxt "Status General Name"
3398
+ msgid "hidden"
3399
  msgstr ""
3400
+
3401
+ #: app/main/controllers/template/RTMediaNav.php:32
3402
+ msgctxt "My Account Privacy sub nav"
3403
+ msgid "Privacy"
3404
+ msgstr ""
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.5.3
9
- Stable tag: 4.0.1
10
 
11
  Add albums, photo, audio/video encoding, privacy, sharing, front-end uploads & more. All this works on mobile/tablets devices.
12
 
@@ -138,6 +138,10 @@ http://www.youtube.com/watch?v=dJrykKQGDcs
138
 
139
  == Changelog ==
140
 
 
 
 
 
141
  = 4.0.1 [Jun 23, 2016] =
142
  * Fixed issue of wpdb prepare statement missing argument
143
  * Fixed time conversion issue in lightbox
@@ -1169,8 +1173,8 @@ http://www.youtube.com/watch?v=dJrykKQGDcs
1169
 
1170
  == Upgrade Notice ==
1171
 
1172
- = 4.0.1 =
1173
- Requires BuddyPress 1.7 or higher, if using BuddyPress. Fixed lightbox issue and other bug fixes.
1174
 
1175
  == Sponsors ==
1176
 
6
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  Requires at least: WordPress 3.6
8
  Tested up to: 4.5.3
9
+ Stable tag: 4.0.2
10
 
11
  Add albums, photo, audio/video encoding, privacy, sharing, front-end uploads & more. All this works on mobile/tablets devices.
12
 
138
 
139
  == Changelog ==
140
 
141
+ = 4.0.2 [Jun 27, 2016] =
142
+ * Fixed privacy issue in activity for BuddyPress 2.6.0
143
+ * Fixed single activity permalink issue
144
+
145
  = 4.0.1 [Jun 23, 2016] =
146
  * Fixed issue of wpdb prepare statement missing argument
147
  * Fixed time conversion issue in lightbox
1173
 
1174
  == Upgrade Notice ==
1175
 
1176
+ = 4.0.2 =
1177
+ Requires BuddyPress 1.7 or higher, if using BuddyPress. Fixed privacy and permalink issues for BuddyPress activity.
1178
 
1179
  == Sponsors ==
1180