_nx_noop example


    protected function get_views() {
        global $post_id$comment_status$comment_type;

        $status_links = array();
        $num_comments = ( $post_id ) ? wp_count_comments( $post_id ) : wp_count_comments();

        $stati = array(
            /* translators: %s: Number of comments. */
            'all'       => _nx_noop(
                'All <span class="count">(%s)</span>',
                'All <span class="count">(%s)</span>',
                'comments'
            ), // Singular not used.
            /* translators: %s: Number of comments. */
            'mine'      => _nx_noop(
                'Mine <span class="count">(%s)</span>',
                'Mine <span class="count">(%s)</span>',
                'comments'
            ),

            

    protected function get_views() {
        $counts = wp_count_sites();

        $statuses = array(
            /* translators: %s: Number of sites. */
            'all'      => _nx_noop(
                'All <span class="count">(%s)</span>',
                'All <span class="count">(%s)</span>',
                'sites'
            ),

            /* translators: %s: Number of sites. */
            'public'   => _n_noop(
                'Public <span class="count">(%s)</span>',
                'Public <span class="count">(%s)</span>'
            ),

            
Home | Imprint | This part of the site doesn't use cookies.