Changeset 11294
- Timestamp:
- 10/22/2021 10:44:47 PM (4 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/admin.php
r11275 r11294 81 81 $columns = array_slice( $columns, 0, -2, true ) 82 82 + array( 'video_language' => __( 'Language', 'wporg-learn' ) ) 83 + array( 'video_caption_language' => __( ' Captions', 'wporg-learn' ) )83 + array( 'video_caption_language' => __( 'Subtitles', 'wporg-learn' ) ) 84 84 + array_slice( $columns, -2, 2, true ); 85 85 -
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/blocks.php
r10461 r11294 82 82 __( 'Level', 'wporg-learn' ) => implode( ', ', array_map( 'esc_html', $level ) ), 83 83 __( 'Language', 'wporg-learn' ) => esc_html( get_locale_name_from_code( $post->video_language, 'native' ) ), 84 __( ' Captions', 'wporg-learn' ) => implode(84 __( 'Subtitles', 'wporg-learn' ) => implode( 85 85 ', ', 86 86 array_map( -
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/post-meta.php
r11275 r11294 134 134 'video_caption_language', 135 135 array( 136 'description' => __( 'A language for which captions are available for the workshop video.', 'wporg_learn' ),136 'description' => __( 'A language for which subtitles are available for the workshop video.', 'wporg_learn' ), 137 137 'type' => 'string', 138 138 'single' => false, -
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/views/metabox-workshop-details.php
r10866 r11294 78 78 79 79 <p> 80 <label for="workshop-video-caption-language"><?php esc_html_e( ' Captions', 'wporg_learn' ); ?></label>80 <label for="workshop-video-caption-language"><?php esc_html_e( 'Subtitles', 'wporg_learn' ); ?></label> 81 81 <select id="workshop-video-caption-language" name="video-caption-language[]" style="width: 100%;" multiple> 82 82 <?php foreach ( $locales as $code => $label ) : ?> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2020/template-parts/component-series-navigation.php
r11278 r11294 18 18 </h2> 19 19 <?php echo wp_kses_post( wpautop( term_description( $series_term->term_id ) ) ); ?> 20 <ul class="row video-grid">20 <ul aria-hidden="true" class="row video-grid"> 21 21 <li class="col-6 video-grid_item previous-series-item"> 22 22 <?php if ( $previous ) : ?> … … 36 36 </li> 37 37 </ul> 38 <ul class="row video-grid screen-reader-text"> 39 <li class="col-6 video-grid_item previous-series-item"> 40 <?php if ( $previous ) : ?> 41 <a class="video-grid_item_link" href="<?php echo esc_url( get_the_permalink( $previous ) ); ?>"> 42 <?php echo wp_kses_post( 'Previous: ' . get_the_title( $previous ) ); ?> 43 </a> 44 <?php endif; ?> 45 </li> 46 <li class="col-6 video-grid_item next-series-item"> 47 <?php if ( $next ) : ?> 48 <a class="video-grid_item_link" href="<?php echo esc_url( get_the_permalink( $next ) ); ?>"> 49 <?php echo wp_kses_post( 'Next: ' . get_the_title( $next ) ); ?> 50 </a> 51 <?php endif; ?> 52 </li> 53 </ul> 38 54 </nav> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2020/template-parts/component-workshop-filters.php
r10926 r11294 27 27 ), 28 28 array( 29 'label' => __( ' Captions', 'wporg-learn' ),29 'label' => __( 'Subtitles', 'wporg-learn' ), 30 30 'name' => 'captions', 31 31 'items' => \WPOrg_Learn\Post_Meta\get_available_workshop_locales( 'video_caption_language', 'native' ),
Note: See TracChangeset
for help on using the changeset viewer.