WordPress.org

Make WordPress Core

Ticket #22812: 22812.patch

File 22812.patch, 1.4 KB (added by SergeyBiryukov, 9 years ago)
  • wp-includes/css/media-views.css

     
    16551655        .media-sidebar .settings-save-status .spinner {
    16561656                background-image: url(../images/wpspin-2x.gif);
    16571657        }
    1658 }
    1659  No newline at end of file
     1658}
     1659
     1660/**
     1661 * Localized CSS
     1662 */
     1663
     1664/* ru_RU: Text needs more room to breathe. */
     1665.locale-ru-ru .media-sidebar .setting span,
     1666.locale-ru-ru .compat-item .label {
     1667        min-width: 35%; /* default 30% + 5% */
     1668}
     1669.locale-ru-ru .media-sidebar .setting select,
     1670.locale-ru-ru .media-sidebar .setting input,
     1671.locale-ru-ru .media-sidebar .setting textarea,
     1672.locale-ru-ru .compat-item .field {
     1673        max-width: 60%; /* default 65% - 5% */
     1674}
     1675.locale-ru-ru .media-sidebar .gallery-settings  .setting span {
     1676        width: 35%; /* default 30% + 5% */
     1677}
  • wp-includes/media-template.php

     
    1717        $class = 'media-modal wp-core-ui';
    1818        if ( $is_IE && strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 7') !== false )
    1919                $class .= ' ie7';
     20        $class .= ' locale-' . sanitize_html_class( strtolower( str_replace( '_', '-', get_locale() ) ) );
    2021        ?>
    2122        <script type="text/html" id="tmpl-media-frame">
    2223                <div class="media-frame-menu"></div>