Making WordPress.org

Changeset 11294


Ignore:
Timestamp:
10/22/2021 10:44:47 PM (4 years ago)
Author:
coreymckrill
Message:

WordPress.org Learn: Sync with GitHub

Props psykro, alexstine, chetan200891

https://github.com/WordPress/learn/compare/7ea99ea7ed2b193eb3b8e85ca8d338347865dc2b...b33b5d02045af0a3ee379dc43d1326a75c7d026a

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  
    8181    $columns = array_slice( $columns, 0, -2, true )
    8282                + array( 'video_language' => __( 'Language', 'wporg-learn' ) )
    83                 + array( 'video_caption_language' => __( 'Captions', 'wporg-learn' ) )
     83                + array( 'video_caption_language' => __( 'Subtitles', 'wporg-learn' ) )
    8484                + array_slice( $columns, -2, 2, true );
    8585
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/blocks.php

    r10461 r11294  
    8282        __( 'Level', 'wporg-learn' )    => implode( ', ', array_map( 'esc_html', $level ) ),
    8383        __( 'Language', 'wporg-learn' ) => esc_html( get_locale_name_from_code( $post->video_language, 'native' ) ),
    84         __( 'Captions', 'wporg-learn' ) => implode(
     84        __( 'Subtitles', 'wporg-learn' ) => implode(
    8585            ', ',
    8686            array_map(
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/post-meta.php

    r11275 r11294  
    134134        'video_caption_language',
    135135        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' ),
    137137            'type'              => 'string',
    138138            'single'            => false,
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/views/metabox-workshop-details.php

    r10866 r11294  
    7878
    7979<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>
    8181    <select id="workshop-video-caption-language" name="video-caption-language[]" style="width: 100%;" multiple>
    8282        <?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  
    1818    </h2>
    1919    <?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">
    2121        <li class="col-6 video-grid_item previous-series-item">
    2222            <?php if ( $previous ) : ?>
     
    3636        </li>
    3737    </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>
    3854</nav>
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2020/template-parts/component-workshop-filters.php

    r10926 r11294  
    2727    ),
    2828    array(
    29         'label' => __( 'Captions', 'wporg-learn' ),
     29        'label' => __( 'Subtitles', 'wporg-learn' ),
    3030        'name'  => 'captions',
    3131        'items' => \WPOrg_Learn\Post_Meta\get_available_workshop_locales( 'video_caption_language', 'native' ),
Note: See TracChangeset for help on using the changeset viewer.