0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0;if(!e||!Object.keys(e).length)return t;var r=t,n=t.indexOf("?");return-1!==n&&(e=Object.assign(U(t),e),r=r.substr(0,n)),r+"?"+function(t){for(var e,r="",n=Object.entries(t);e=n.shift();){var o=C(e,2),i=o[0],a=o[1];if(Array.isArray(a)||a&&a.constructor===Object){var u,c=z(Object.entries(a).reverse());try{for(c.s();!(u=c.n()).done;){var s=C(u.value,2),l=s[0],f=s[1];n.unshift(["".concat(i,"[").concat(l,"]"),f])}}catch(t){c.e(t)}finally{c.f()}}else void 0!==a&&(null===a&&(a=""),r+="&"+[i,a].map(encodeURIComponent).join("="))}return r.substr(1)}(e)}var W=function(t){return t.json?t.json():Promise.reject(t)},Z=function(t){return function(t){if(!t)return{};var e=t.match(/<([^>]+)>; rel="next"/);return e?{next:e[1]}:{}}(t.headers.get("link")).next},B=function(t){var e=t.path&&-1!==t.path.indexOf("per_page=-1"),r=t.url&&-1!==t.url.indexOf("per_page=-1");return e||r},H=function(){var t,e=(t=N.a.mark((function t(e,r){var n,o,u,c,s,l;return N.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!1!==e.parse){t.next=2;break}return t.abrupt("return",r(e));case 2:if(B(e)){t.next=4;break}return t.abrupt("return",r(e));case 4:return t.next=6,r(i({},(p={per_page:100},h=(f=e).path,d=f.url,i({},a(f,["path","url"]),{url:d&&X(d,p),path:h&&X(h,p)})),{parse:!1}));case 6:return n=t.sent,t.next=9,W(n);case 9:if(o=t.sent,Array.isArray(o)){t.next=12;break}return t.abrupt("return",o);case 12:if(u=Z(n)){t.next=15;break}return t.abrupt("return",o);case 15:c=[].concat(o);case 16:if(!u){t.next=27;break}return t.next=19,r(i({},e,{path:void 0,url:u,parse:!1}));case 19:return s=t.sent,t.next=22,W(s);case 22:l=t.sent,c=c.concat(l),u=Z(s),t.next=16;break;case 27:return t.abrupt("return",c);case 28:case"end":return t.stop()}var f,p,h,d}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){D(i,n,o,a,u,"next",t)}function u(t){D(i,n,o,a,u,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}(),J=new Set(["PATCH","PUT","DELETE"]);function K(t,e){return void 0!==function(t,e){return U(t)[e]}(t,e)}var Y={Accept:"application/json, */*;q=0.1"},q={credentials:"include"},Q=[function(t,e){return"string"!=typeof t.url||K(t.url,"_locale")||(t.url=X(t.url,{_locale:"user"})),"string"!=typeof t.path||K(t.path,"_locale")||(t.path=X(t.path,{_locale:"user"})),e(t,e)},I,function(t,e){var r=t.method,n=void 0===r?"GET":r;return J.has(n.toUpperCase())&&(t=i({},t,{headers:i({},t.headers,{"X-HTTP-Method-Override":n,"Content-Type":"application/json"}),method:"POST"})),e(t,e)},H],V=function(t){if(t.status>=200&&t.status<300)return t;throw t},tt=function(t){var e=t.url,r=t.path,n=t.data,o=t.parse,u=void 0===o||o,c=a(t,["url","path","data","parse"]),s=t.body,l=t.headers;return l=i({},Y,l),n&&(s=JSON.stringify(n),l["Content-Type"]="application/json"),window.fetch(e||r,i({},q,c,{body:s,headers:l})).then(V).then((function(t){return u?204===t.status?null:t.json?t.json():Promise.reject(t):t})).catch((function(t){if(!u)throw t;var e={code:"invalid_json",message:L("The response is not a valid JSON response.")};if(!t||!t.json)throw e;return t.json().catch((function(){throw e})).then((function(t){var e={code:"unknown_error",message:L("An unknown error occurred.")};throw t||e}))}))};function et(t){var e=[].concat(Q,[tt]);return new Promise((function(r,n){(function t(r){return function(n){var o=e[r];return r===e.length-1?o(n):o(n,t(r+1))}})(0)(t).then(r).catch((function(e){if("rest_cookie_invalid_nonce"!==e.code)return n(e);window.fetch(et.nonceEndpoint).then(V).then((function(t){return t.text()})).then((function(e){et.nonceMiddleware.nonce=e,et(t).then(r).catch(n)})).catch(n)}))}))}et.use=function(t){Q.unshift(t)},et.setFetchHandler=function(t){tt=t},et.createNonceMiddleware=function(t){function e(t,r){var n=t.headers,o=void 0===n?{}:n;for(var a in o)if("x-wp-nonce"===a.toLowerCase())return r(t);return r(i({},t,{headers:i({},o,{"X-WP-Nonce":e.nonce})}))}return e.nonce=t,e},et.createPreloadingMiddleware=function(t){return function(e,r){var n=e.parse,o=void 0===n||n;if("string"==typeof e.path){var i=e.method||"GET",a=function(t){var e=t.split("?"),r=e[1],n=e[0];return r?n+"?"+r.split("&").map((function(t){return t.split("=")})).sort((function(t,e){return t[0].localeCompare(e[0])})).map((function(t){return t.join("=")})).join("&"):n}(e.path);if(o&&"GET"===i&&t[a])return Promise.resolve(t[a].body);if("OPTIONS"===i&&t[i]&&t[i][a])return Promise.resolve(t[i][a])}return r(e)}},et.createRootURLMiddleware=function(t){return function(e,r){return I(e,(function(e){var n,o=e.url,a=e.path;return"string"==typeof a&&(n=t,-1!==t.indexOf("?")&&(a=a.replace("?","&")),a=a.replace(/^\//,""),"string"==typeof n&&-1!==n.indexOf("?")&&(a=a.replace("?","&")),o=n+a),r(i({},e,{url:o}))}))}},et.fetchAllMiddleware=H;var rt=et,nt=window.rtTranscoderBlockEditorSupport;wp.hooks.addFilter("editor.BlockEdit","rt-transcoder-amp/set-media-attributes",(function(t){return function(e){var r=e.attributes,n="amp/amp-story-page"===e.name,o="core/video"===e.name,i=n?r.mediaId:r.id;return void 0!==i&&(void 0===r.poster?n&&void 0!==r.mediaType&&"video"===r.mediaType&&!r.mediaUrl.endsWith("mp4")?e.setAttributes({poster:nt.amp_story_fallback_poster}):o&&void 0!==r.src&&0!==r.src.indexOf("blob:")&&!r.src.endsWith("mp4")&&e.setAttributes({poster:nt.amp_video_fallback_poster}):r.poster.endsWith("-fallback-poster.png")&&rt({path:"/wp-json/transcoder/v1/amp-media / "+i}).then((function(t){!1!==t&&null!==t&&t.poster.length&&t.transcodedMedia.length&&(n&&void 0!==r.mediaType&&"video"===r.mediaType?e.setAttributes({poster:t.poster,mediaUrl:t.transcodedMedia}):o&&e.setAttributes({poster:t.poster,src:t.transcodedMedia}))}))),wp.element.createElement(t,e)}}))}]);
\ No newline at end of file
diff --git a/admin/rt-retranscode-admin.php b/admin/rt-retranscode-admin.php
index 82f0a340..45fcccf9 100644
--- a/admin/rt-retranscode-admin.php
+++ b/admin/rt-retranscode-admin.php
@@ -122,7 +122,6 @@ public function add_admin_menu() {
'rt-retranscoder',
array( $this, 'retranscode_interface' )
);
-
}
/**
@@ -230,7 +229,7 @@ public function add_bulk_actions_via_javascript() {
?>
?>
- |
+ |
|
- |
+ |
|
@@ -422,7 +421,7 @@ public function retranscode_interface() {
-
+
@@ -594,7 +593,7 @@ function RetranscodeMedia( id ) {
-
+
@@ -717,10 +716,10 @@ public function die_json_error_msg( $id, $message ) {
/**
* Helper function to escape quotes in strings for use in Javascript
*
- * @param string $string String to escape quotes from.
+ * @param string $str String to escape quotes from.
*/
- public function esc_quotes( $string ) {
- return str_replace( '"', '\"', $string );
+ public function esc_quotes( $str ) {
+ return str_replace( '"', '\"', $str );
}
/**
@@ -744,7 +743,7 @@ private function retranscode_admin_error_notice() {
* @param number $media_id Post ID of the media.
* @param array $post_request Post request coming for the transcoder API.
*/
- public function rtt_before_thumbnail_store( $media_id = '', $post_request = '' ) {
+ public function rtt_before_thumbnail_store( $media_id = '', $post_request = '' ) { // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed
if ( empty( $media_id ) ) {
return;
}
@@ -767,7 +766,6 @@ public function rtt_before_thumbnail_store( $media_id = '', $post_request = '' )
rtt_delete_transcoded_files( $previous_thumbs );
}
delete_post_meta( $media_id, '_rt_media_thumbnails' );
-
}
/**
@@ -776,7 +774,7 @@ public function rtt_before_thumbnail_store( $media_id = '', $post_request = '' )
* @param number $media_id Post ID of the media.
* @param array $transcoded_files Post request coming for the transcoder API.
*/
- public function rtt_before_transcoded_media_store( $media_id = '', $transcoded_files = '' ) {
+ public function rtt_before_transcoded_media_store( $media_id = '', $transcoded_files = '' ) { // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed
if ( empty( $media_id ) ) {
return;
}
@@ -791,7 +789,6 @@ public function rtt_before_transcoded_media_store( $media_id = '', $transcoded_f
}
}
delete_post_meta( $media_id, '_rt_media_transcoded_files' );
-
}
/**
@@ -872,7 +869,7 @@ public function transcoded_thumbnails_added( $media_id = '' ) {
* @param number $attachment_id Post ID of the media.
* @param string $job_id Unique job ID of the transcoding request.
*/
- public function rtt_handle_callback_finished( $attachment_id = '', $job_id = '' ) {
+ public function rtt_handle_callback_finished( $attachment_id = '', $job_id = '' ) { // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed
if ( empty( $attachment_id ) ) {
return;
}
@@ -884,7 +881,6 @@ public function rtt_handle_callback_finished( $attachment_id = '', $job_id = ''
delete_post_meta( $attachment_id, '_rt_retranscoding_sent' );
}
-
}
/**
@@ -1015,7 +1011,6 @@ public function add_search_mime_types( $where ) {
$where .= " AND post_mime_type LIKE 'audio/%' OR post_mime_type LIKE 'video/%'";
return $where;
}
-
}
// Start up this plugin.
@@ -1024,11 +1019,9 @@ public function add_search_mime_types( $where ) {
/**
* Execute RetranscodeMedia constructor.
*/
-function retranscode_media() {
+function retranscode_media() { // phpcs:ignore Universal.Files.SeparateFunctionsFromOO.Mixed
global $RetranscodeMedia; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase
$RetranscodeMedia = new RetranscodeMedia(); // phpcs:ignore WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase
}
-
-?>
diff --git a/admin/rt-transcoder-functions.php b/admin/rt-transcoder-functions.php
index a3ab97bf..812f4e4c 100755
--- a/admin/rt-transcoder-functions.php
+++ b/admin/rt-transcoder-functions.php
@@ -52,6 +52,7 @@ function rt_media_shortcode( $attrs, $content = '' ) {
}
$mime_type = explode( '/', $type );
+ $media_url = '';
if ( 'video' === $mime_type[0] ) {
@@ -81,6 +82,10 @@ function rt_media_shortcode( $attrs, $content = '' ) {
$content = do_shortcode( "[audio {$audio_shortcode_attributes}]" );
+ } elseif ( 'image' === $mime_type[0] ) {
+
+ $content = '' . esc_html__( 'Image attachments are not handled by Transcoder plugin.', 'transcoder' ) . '
';
+
}
if ( is_file_being_transcoded( $attachment_id ) ) {
@@ -160,7 +165,6 @@ function rt_media_get_video_thumbnail( $attachment_id ) {
}
return false;
-
}
/**
@@ -199,7 +203,6 @@ function rtt_get_media_url( $attachment_id, $media_type = 'mp4' ) {
}
return $final_file_url;
-
}
if ( ! function_exists( 'rtt_update_activity_after_thumb_set' ) ) {
@@ -455,7 +458,7 @@ function rtt_bp_get_activity_content( $content, $activity = null ) {
}
// If media is sent to the transcoder then show the message.
if ( is_file_being_transcoded( $media->media_id ) ) {
- if ( current_user_can( 'administrator' ) && '1' === get_option( 'rtt_client_check_status_button', false ) ) {
+ if ( current_user_can( 'manage_options' ) && '1' === get_option( 'rtt_client_check_status_button', false ) ) {
$check_button_text = __( 'Check Status', 'transcoder' );
@@ -701,7 +704,6 @@ function rtt_add_status_columns_head( $defaults ) {
$defaults['convert_status'] = __( 'Transcode Status', 'transcoder' );
return $defaults;
-
}
add_filter( 'manage_media_columns', 'rtt_add_status_columns_head' );
@@ -760,7 +762,6 @@ function rtt_status_column_register_sortable( $columns ) {
$columns['convert_status'] = 'convert_status';
return $columns;
-
}
add_filter( 'manage_upload_sortable_columns', 'rtt_status_column_register_sortable' );
@@ -773,11 +774,11 @@ function rtt_status_column_register_sortable( $columns ) {
*/
function rtt_enqueue_scripts() {
- if ( current_user_can( 'administrator' ) ) {
+ if ( current_user_can( 'manage_options' ) ) {
wp_register_script( 'rt_transcoder_js', plugins_url( 'js/rt-transcoder.min.js', __FILE__ ), array(), RT_TRANSCODER_VERSION, false );
$translation_array = array(
- 'load_flag' => current_user_can( 'administrator' ),
+ 'load_flag' => true,
'security_nonce' => esc_js( wp_create_nonce( 'check-transcoding-status-ajax-nonce' ) ),
);
@@ -806,7 +807,7 @@ function rtt_enqueue_frontend_scripts() {
$file_to_use = 'public-assets/js/build/transcoder.min.js';
$file = path_join( RT_TRANSCODER_PATH, $file_to_use );
- if ( file_exists( $file ) ) {
+ if ( file_exists( $file ) && class_exists( 'RTMedia' ) ) {
wp_enqueue_script( 'rt-transcoder-front-js', RT_TRANSCODER_URL . $file_to_use, array( 'jquery', 'rtmedia-backbone' ), filemtime( $file ), true );
$rest_url_prefix = get_site_url() . '/' . rest_get_url_prefix();
@@ -854,7 +855,6 @@ function rtt_ajax_process_check_status_request() {
}
wp_die();
-
}
// Action added to handle check_status onclick request.
@@ -911,7 +911,7 @@ function rtt_add_transcoding_process_status_button_single_media_page( $rtmedia_i
if ( is_file_being_transcoded( $post_id ) ) {
- if ( current_user_can( 'administrator' ) && '1' === get_option( 'rtt_client_check_status_button', false ) ) {
+ if ( current_user_can( 'manage_options' ) && '1' === get_option( 'rtt_client_check_status_button', false ) ) {
$message = sprintf(
'',
esc_attr( $post_id ),
@@ -983,7 +983,7 @@ function rtt_filter_single_media_page_video_markup( $html, $rtmedia_media ) {
* @param int $attachment_id ID of attachment.
* @param string $autoformat If true then generating thumbs only else trancode video.
*/
-function rtt_media_update_usage( $wp_metadata, $attachment_id, $autoformat = true ) {
+function rtt_media_update_usage( $wp_metadata, $attachment_id, $autoformat = true ) { // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed
$stored_key = get_site_option( 'rt-transcoding-api-key' );
$transient_flag = get_transient( 'rtt_usage_update_flag' );
@@ -1022,3 +1022,17 @@ function get_server_var( $server_key, $filter_type = FILTER_SANITIZE_FULL_SPECIA
}
return $server_val;
}
+
+/**
+ * Get local ip addresses for block.
+ *
+ * @return array
+ */
+function rtt_get_blacklist_ip_addresses() {
+ // If custom API URL added then don't block local ips.
+ if ( defined( 'TRANSCODER_API_URL' ) ) {
+ return array();
+ }
+
+ return array( '127.0.0.1', '::1' );
+}
diff --git a/admin/rt-transcoder-handler.php b/admin/rt-transcoder-handler.php
index a52e02dd..27bed378 100755
--- a/admin/rt-transcoder-handler.php
+++ b/admin/rt-transcoder-handler.php
@@ -167,7 +167,7 @@ public function __construct( $no_init = false ) {
}
/* Do not let the user to upload non supported media types on localhost */
- $blacklist = array( '127.0.0.1', '::1' );
+ $blacklist = rtt_get_blacklist_ip_addresses();
$remote_addr = rtt_get_remote_ip_address();
if ( ! in_array( wp_unslash( $remote_addr ), $blacklist, true ) ) {
add_filter( 'rtmedia_plupload_files_filter', array( $this, 'allowed_types' ), 10, 1 );
@@ -319,7 +319,6 @@ public function get_thumbnails_required( $attachment_id = '' ) {
$thumb_count = apply_filters( 'rt_media_total_video_thumbnails', $thumb_count, $attachment_id );
return $thumb_count > 10 ? 10 : $thumb_count;
-
}
/**
@@ -489,12 +488,14 @@ public function save_api_key() {
add_action( 'admin_notices', array( $this, 'public_host_needed_notice' ) );
}
- $apikey = trim( transcoder_filter_input( INPUT_GET, 'apikey', FILTER_SANITIZE_FULL_SPECIAL_CHARS ) );
- $page = transcoder_filter_input( INPUT_GET, 'page', FILTER_SANITIZE_FULL_SPECIAL_CHARS );
+ $filtered_apikey = transcoder_filter_input( INPUT_GET, 'apikey', FILTER_SANITIZE_FULL_SPECIAL_CHARS );
+ $apikey = ! empty( $filtered_apikey ) ? trim( $filtered_apikey ) : '';
+
+ $page = transcoder_filter_input( INPUT_GET, 'page', FILTER_SANITIZE_FULL_SPECIAL_CHARS );
if ( ! empty( $apikey ) && is_admin() && ! empty( $page ) && ( 'rt-transcoder' === $page ) ) {
/* Do not activate transcoding service on localhost */
- $blacklist = array( '127.0.0.1', '::1' );
+ $blacklist = rtt_get_blacklist_ip_addresses();
$remote_addr = rtt_get_remote_ip_address();
if ( in_array( wp_unslash( $remote_addr ), $blacklist, true ) ) {
$return_page = add_query_arg(
@@ -650,7 +651,7 @@ public function usage_widget() {
}
if ( ! empty( $api_key ) ) {
- if ( $usage_details && isset( $usage_details[ $api_key ]->status ) && $usage_details[ $api_key ]->status ) {
+ if ( $usage_details && isset( $usage_details[ $api_key ]->status ) && $usage_details[ $api_key ]->status && 'error' !== $usage_details[ $api_key ]->status ) {
if ( isset( $usage_details[ $api_key ]->plan->name ) ) {
$plan_name = strtolower( $usage_details[ $api_key ]->plan->name );
@@ -1332,14 +1333,12 @@ public function upload_dir( $upload_dir ) {
$rtmedia_upload_prefix = 'groups/';
$id = $this->uploaded['context_id'];
}
- } else {
- if ( 'group' !== $rtmedia_interaction->context->type ) {
+ } elseif ( 'group' !== $rtmedia_interaction->context->type ) {
$rtmedia_upload_prefix = 'users/';
$id = $this->uploaded['media_author'];
- } else {
- $rtmedia_upload_prefix = 'groups/';
- $id = $rtmedia_interaction->context->id;
- }
+ } else {
+ $rtmedia_upload_prefix = 'groups/';
+ $id = $rtmedia_interaction->context->id;
}
if ( ! $id ) {
@@ -1366,11 +1365,15 @@ public function upload_dir( $upload_dir ) {
* @param string $message Email message.
* @param boolean $include_admin If true then send an email to admin also else not.
*/
- public function send_notification( $email_ids = array(), $subject, $message, $include_admin = true ) {
+ public function send_notification( $email_ids, $subject, $message, $include_admin = true ) {
if ( defined( 'RT_TRANSCODER_NO_MAIL' ) ) {
return;
}
+ if ( ! is_array( $email_ids ) ) {
+ $email_ids = array();
+ }
+
if ( empty( $subject ) || empty( $message ) ) {
return true;
}
@@ -1629,7 +1632,6 @@ class_exists( 'ImagickPixel', false ) &&
}
$this->wp_media_transcoding( array( 'mime_type' => 'application/pdf' ), $post_id );
-
}
/**
diff --git a/inc/helpers/custom-functions.php b/inc/helpers/custom-functions.php
index 9c08e3d4..27a547b6 100644
--- a/inc/helpers/custom-functions.php
+++ b/inc/helpers/custom-functions.php
@@ -21,7 +21,7 @@
* @return mixed Value of the requested variable on success, FALSE if the filter fails, or NULL if the
* variable_name variable is not set.
*/
-function transcoder_filter_input( $type, $variable_name, $filter = FILTER_DEFAULT, $options = null ) {
+function transcoder_filter_input( $type, $variable_name, $filter = FILTER_DEFAULT, $options = 0 ) {
if ( php_sapi_name() !== 'cli' ) {
@@ -118,5 +118,4 @@ function transcoder_filter_input( $type, $variable_name, $filter = FILTER_DEFAUL
// phpcs:enable WordPress.Security.NonceVerification.Recommended, WordPress.Security.NonceVerification.Missing, WordPressVIPMinimum.Variables.RestrictedVariables.cache_constraints___COOKIE
return filter_var( $input, $filter );
-
}
diff --git a/languages/transcoder.pot b/languages/transcoder.pot
index 90942a36..486cc8ae 100644
--- a/languages/transcoder.pot
+++ b/languages/transcoder.pot
@@ -1,14 +1,14 @@
-# Copyright (C) 2021
+# Copyright (C) 2023
# This file is distributed under the same license as the package.
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: http://community.rtcamp.com/\n"
-"POT-Creation-Date: 2021-08-17 07:53:36+00:00\n"
+"POT-Creation-Date: 2023-10-19 10:13:00+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"PO-Revision-Date: 2021-MO-DA HO:MI+ZONE\n"
+"PO-Revision-Date: 2023-MO-DA HO:MI+ZONE\n"
"Last-Translator: Transcoder \n"
"Language-Team: Transcoder \n"
"Language: en\n"
@@ -206,49 +206,49 @@ msgid "Subscribe"
msgstr ""
#: admin/rt-retranscode-admin.php:119 admin/rt-retranscode-admin.php:120
-#: admin/rt-retranscode-admin.php:192 admin/rt-retranscode-admin.php:213
-#: admin/rt-retranscode-admin.php:233 admin/rt-retranscode-admin.php:284
+#: admin/rt-retranscode-admin.php:191 admin/rt-retranscode-admin.php:212
+#: admin/rt-retranscode-admin.php:232 admin/rt-retranscode-admin.php:283
msgid "Retranscode Media"
msgstr ""
-#: admin/rt-retranscode-admin.php:191
+#: admin/rt-retranscode-admin.php:190
msgid "Retranscode this single media"
msgstr ""
-#: admin/rt-retranscode-admin.php:292
+#: admin/rt-retranscode-admin.php:291
msgid "Cheatin’ uh?"
msgstr ""
-#: admin/rt-retranscode-admin.php:326
+#: admin/rt-retranscode-admin.php:325
#. translators: Link to the media page.
msgid "Unable to find any media. Are you sure some exist?"
msgstr ""
-#: admin/rt-retranscode-admin.php:352
+#: admin/rt-retranscode-admin.php:351
msgid "There are no media available to send for transcoding."
msgstr ""
-#: admin/rt-retranscode-admin.php:362
+#: admin/rt-retranscode-admin.php:361
msgid "You do not have sufficient bandwidth remaining to perform the transcoding."
msgstr ""
-#: admin/rt-retranscode-admin.php:363
+#: admin/rt-retranscode-admin.php:362
msgid "Your remaining bandwidth is : "
msgstr ""
-#: admin/rt-retranscode-admin.php:364
+#: admin/rt-retranscode-admin.php:363
msgid "Required bandwidth is: "
msgstr ""
-#: admin/rt-retranscode-admin.php:368
+#: admin/rt-retranscode-admin.php:367
msgid "You can select the files manually and try again."
msgstr ""
-#: admin/rt-retranscode-admin.php:375 admin/rt-retranscode-admin.php:389
+#: admin/rt-retranscode-admin.php:374 admin/rt-retranscode-admin.php:388
msgid "Proceed with retranscoding"
msgstr ""
-#: admin/rt-retranscode-admin.php:403
+#: admin/rt-retranscode-admin.php:402
msgid ""
"Your files are being re-transcoded. Do not navigate away from this page "
"until the process is completed, as doing so will prematurely abort the "
@@ -256,7 +256,7 @@ msgid ""
"can view the progress below."
msgstr ""
-#: admin/rt-retranscode-admin.php:410
+#: admin/rt-retranscode-admin.php:409
#. translators: Count of media which were successfully transcoded with the time
#. in seconds.
msgid ""
@@ -264,7 +264,7 @@ msgid ""
"href=\"#\">click here