diff --git a/includes/admin.php b/includes/admin.php index 42708b2..211aab2 100644 --- a/includes/admin.php +++ b/includes/admin.php @@ -199,7 +199,10 @@ public function sanitize_checkbox_input($input) public function render_settings_description() { echo '
' . - __('Global settings for the Protected Video plugin.', 'protected-video') . + __( + 'Control the global settings for Protected Video below.', + 'protected-video' + ) . '
'; } @@ -234,7 +237,7 @@ public function render_color_input($val) } /** - * Render the "Disable right-click" checkbox field. + * Render the "Disable right-click" field. */ public function render_disable_right_click_checkbox($val) { @@ -249,12 +252,11 @@ public function render_disable_right_click_checkbox($val) checked(1, $value, false) ); - printf( - '%s
', + echo '' . __( - 'Disables right-click on pages where a Protected Video is displayed.', + 'Disables right-click on pages where a video is displayed.', 'protected-video' - ) - ); + ) . + '
'; } } diff --git a/readme.hbs b/readme.hbs index a58f552..1263c78 100644 --- a/readme.hbs +++ b/readme.hbs @@ -103,7 +103,7 @@ If the player is not looking or behaving like [the demo](https://protected-video Please try disabling all other plugins one by one and switching to a default theme, to isolate which plugin or theme is causing the issue. -For performance reasons, Protected Video only loads its associated JS and CSS when it detects that a Gutenberg block or Shortcode is present on the page. If you insert a Protected Video in a non-standard way this detection may fail. +For performance reasons, Protected Video only loads its associated JS and CSS when it detects that a Gutenberg block or Shortcode is present on the page. If you insert a video in a non-standard way this detection may fail. == Screenshots ==