Making WordPress.org


Ignore:
Timestamp:
04/09/2018 08:33:19 AM (7 years ago)
Author:
dd32
Message:

Main: About: Mark the Accessibility page strings as translatable.

H/t rianrietveld.
See #3046.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-about-accessibility.php

    r7024 r7067  
    3939                <section class="col-8">
    4040
    41                     <p>The WordPress community and the open source WordPress project is committed to being as inclusive and accessible as possible. We want users, regardless of device or ability, to be able to publish content and maintain a website or application built with WordPress.</p>
     41                    <p><?php _e( 'The WordPress community and the open source WordPress project is committed to being as inclusive and accessible as possible. We want users, regardless of device or ability, to be able to publish content and maintain a website or application built with WordPress.', 'wporg' ); ?></p>
    4242
    43                     <p>WordPress aims to make the WordPress Admin and bundled themes fully WCAG 2.0 AA compliant where possible.</p>
    44                     <p>All new and updates code released in WordPress must conform with these guidelines as per the <a href="https://make.wordpress.org/core/handbook/best-practices/coding-standards/accessibility-coding-standards/">WordPress Accessibility Coding Standards</a>. Some current features and functionality in development may not yet fully comply, and known issues are listed in the <a href="https://core.trac.wordpress.org/focus/accessibility">WordPress Trac "accessibility” focus</a>.</p>
     43                    <p><?php _e( 'WordPress aims to make the WordPress Admin and bundled themes fully WCAG 2.0 AA compliant where possible.', 'wporg' ); ?></p>
     44                    <p><?php
     45                        /* translators: 1: Link to the Core Handbook Accessibility Standards; 2: Link to Core Trac Accessibility focus. */
     46                        printf(
     47                            __( 'All new and updates code released in WordPress must conform with these guidelines as per the <a href="%1$s">WordPress Accessibility Coding Standards</a>. Some current features and functionality in development may not yet fully comply, and known issues are listed in the <a href="%2$s">WordPress Trac "accessibility" focus</a>.', 'wporg' ),
     48                            'https://make.wordpress.org/core/handbook/best-practices/coding-standards/accessibility-coding-standards/',
     49                            'https://core.trac.wordpress.org/focus/accessibility'
     50                        );
     51                    ?></p>
    4552
    46                     <p>While the WordPress project cannot guarantee that all Themes are compliant, the <a href="https://wordpress.org/themes/tags/accessibility-ready/">accessibility-ready themes</a> have been checked by the Theme Review Team to ensure that these themes pass their <a href="https://make.wordpress.org/themes/handbook/review/accessibility/required/">basic accessibility requirements</a>.</p>
     53                    <p><?php
     54                        /* translators: 1: Link to the Theme Directory Accessible Themes; 2: Link to Accessibility Handbook requirements. */
     55                        printf(
     56                            __( 'While the WordPress project cannot guarantee that all Themes are compliant, the <a href="%1$s">accessibility-ready themes</a> have been checked by the Theme Review Team to ensure that these themes pass their <a href="%2$s">basic accessibility requirements</a>.', 'wporg' ),
     57                            site_url( '/themes/tags/accessibility-ready/' ),
     58                            'https://make.wordpress.org/themes/handbook/review/accessibility/required/'
     59                        );
     60                    ?></p>
    4761
    48                     <h3>The Accessibility Team</h3>
    49                     <p>The <a href="https://make.wordpress.org/accessibility/">WordPress Accessibility Team</a> provides accessibility expertise across the project to improve the accessibility of WordPress core and resources.</p>
     62                    <h3><?php _e( 'The Accessibility Team', 'wporg' ); ?></h3>
     63                    <p><?php
     64                        /* translators: %s: Link to the Accessibility team P2 */
     65                        printf(
     66                            __( 'The <a href="%s">WordPress Accessibility Team</a> provides accessibility expertise across the project to improve the accessibility of WordPress core and resources.', 'wporg' ),
     67                            'https://make.wordpress.org/accessibility/'
     68                        );
     69                    ?></p>
    5070
    51                     <p>The <a href="https://make.wordpress.org/accessibility/handbook/">Accessibility Handbook</a> shares the <a href="https://make.wordpress.org/accessibility/handbook/best-practices/">best practices</a> for web accessibility, a list of <a href="https://make.wordpress.org/accessibility/handbook/which-tools-can-i-use/useful-tools/">accessibility tools</a>, the <a href="https://make.wordpress.org/accessibility/handbook/get-involved/audits-and-testing/">testing we do</a> to improve WordPress, themes, and plugins, and <a href="https://make.wordpress.org/accessibility/handbook/get-involved/">how to get involved</a> in WordPress accessibility.</p>
     71                    <p><?php
     72                        /* translators: 1: Link to the Accessibility handbook; 2: Link to the Accessibility handbook's Best Practices; 3: Link to the Accessibility handbook's Useful Tools; 4: Link to the Accessibility handbook's Audits & Testing; 5: Link to the Accessibility handbook's Get Involved */
     73                        printf(
     74                            __( 'The <a href="%1$s">Accessibility Handbook</a> shares the <a href="%2$s">best practices</a> for web accessibility, a list of <a href="%3$s">accessibility tools</a>, the <a href="%4$s">testing we do</a> to improve WordPress, themes, and plugins, and <a href="%5$s">how to get involved</a> in WordPress accessibility.', 'wporg' ),
     75                            'https://make.wordpress.org/accessibility/handbook/',
     76                            'https://make.wordpress.org/accessibility/handbook/best-practices/',
     77                            'https://make.wordpress.org/accessibility/handbook/which-tools-can-i-use/useful-tools/',
     78                            'https://make.wordpress.org/accessibility/handbook/get-involved/audits-and-testing/',
     79                            'https://make.wordpress.org/accessibility/handbook/get-involved/'
     80                        );
     81                    ?></p>
    5282
    53                     <p>To report an Accessibility issue you’ve encountered in WordPress or on WordPress.org, please see the Accessibility Handbook on <a href="https://make.wordpress.org/accessibility/handbook/reporting-issues/">Reporting Accessibility Issues</a>.</p>
    54 
     83                    <p><?php
     84                        /* translators: %s: Link to the Accessibility handbook's Reporting Issues */
     85                        printf(
     86                            __( 'To report an Accessibility issue you’ve encountered in WordPress or on WordPress.org, please see the Accessibility Handbook on <a href="%s">Reporting Accessibility Issues</a>.', 'wporg' ),
     87                            'https://make.wordpress.org/accessibility/handbook/reporting-issues/'
     88                        );
     89                    ?></p>
    5590
    5691                </section>
Note: See TracChangeset for help on using the changeset viewer.