diff --git a/pressbooks-shortcode-handler.php b/pressbooks-shortcode-handler.php index 8049100..4607ea5 100644 --- a/pressbooks-shortcode-handler.php +++ b/pressbooks-shortcode-handler.php @@ -91,7 +91,9 @@ function glossaryDefinitionShortcodeHandler( $atts = [], $content = null ) { */ function videopickerShortcodeHandler( $atts = [], $content = null ) { return '
-

An interactive video picker element has been excluded from the printed version of the text. To see the interactive element that was excluded, please visit the courseware online.

+

' + . esc_html__( 'An interactive video picker element has been excluded from the printed version of the text. To see the interactive element that was excluded, please visit the courseware online.', 'pressbooks-shortcode-handler' ) + . '

'; } @@ -118,7 +120,9 @@ function choosedatasetShortcodeHandler( $atts = [], $content = null ) { return '
' . $header . '
-

An interactive dataset picker element has been excluded from the printed version of the text. To see the interactive element that was excluded, please visit the courseware online.

+

' + . esc_html__( 'An interactive dataset picker element has been excluded from the printed version of the text. To see the interactive element that was excluded, please visit the courseware online.', 'pressbooks-shortcode-handler' ) + . '

'; } @@ -130,6 +134,8 @@ function choosedatasetShortcodeHandler( $atts = [], $content = null ) { */ function ohmQuestionShortcodeHandler( $atts = [], $content = null ) { return '
-

An interactive online homework element has been excluded from the printed version of the text. To see the interactive element that was excluded, please visit the courseware online.

+

' + . esc_html__( 'An interactive online homework element has been excluded from the printed version of the text. To see the interactive element that was excluded, please visit the courseware online.', 'pressbooks-shortcode-handler' ) + . '

'; }