Make WordPress Core

Ticket #27069: 27069.patch

File 27069.patch, 1.4 KB (added by SergeyBiryukov, 11 years ago)
  • src/wp-content/themes/twentyfourteen/inc/widgets.php

     
    5858                        'link'    => __( 'Links',     'twentyfourteen' ),
    5959                        'gallery' => __( 'Galleries', 'twentyfourteen' ),
    6060                );
     61
     62                $this->format_strings_more = array(
     63                        'aside'   => __( 'More Asides',    'twentyfourteen' ),
     64                        'image'   => __( 'More Images',    'twentyfourteen' ),
     65                        'video'   => __( 'More Videos',    'twentyfourteen' ),
     66                        'audio'   => __( 'More Audio',     'twentyfourteen' ),
     67                        'quote'   => __( 'More Quotes',    'twentyfourteen' ),
     68                        'link'    => __( 'More Links',     'twentyfourteen' ),
     69                        'gallery' => __( 'More Galleries', 'twentyfourteen' ),
     70                );
    6171        }
    6272
    6373        /**
     
    191201                                <?php endwhile; ?>
    192202
    193203                        </ol>
    194                         <a class="post-format-archive-link" href="<?php echo esc_url( get_post_format_link( $format ) ); ?>"><?php printf( __( 'More %s <span class="meta-nav">&rarr;</span>', 'twentyfourteen' ), $this->format_strings[ $format ] ); ?></a>
     204                        <a class="post-format-archive-link" href="<?php echo esc_url( get_post_format_link( $format ) ); ?>"><?php printf( __( '%s <span class="meta-nav">&rarr;</span>', 'twentyfourteen' ), $this->format_strings_more[ $format ] ); ?></a>
    195205                        <?php
    196206
    197207                        echo $args['after_widget'];