Plugin Directory

Changeset 1189744


Ignore:
Timestamp:
06/29/2015 05:20:00 PM (11 years ago)
Author:
mmtechmaster
Message:

Yet another tweak to improve i18n behavior.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • militant-moderates-css-parent-selector-mmps/trunk/mmParentSelector.php

    r1189734 r1189744  
    109109                // delegate to the WP function add_meta_box
    110110                add_meta_box( 'mmps_ccss_add_mmps',
    111                     __( 'Parent Selector CSS', 'militant-moderates-css-parent-selector-mmps' ),
     111                    __( 'MMPS Normal and Parent Selector CSS', 'militant-moderates-css-parent-selector-mmps' ),
    112112                    array( $this, 'render_meta_box_content' ),
    113113                    $post_type, 'advanced', 'high'
     
    138138            wp_nonce_field( 'single_add_mmps_box', 'mmps_ccss_add_mmps_box_nonce' );
    139139            $single_mmps_css = get_post_meta( $post->ID, '_single_add_mmps', true );
    140             echo '<p>'.  sprintf( __( 'The normal CSS and Parent Selector CSS Rules entered here will always be scanned by MMPS and will be applied to this %s irregardless of the MMPS Ignore settings.', 'militant-moderates-css-parent-selector-mmps' ), $post->post_type ). '</p>';
     140            /* translators: %s will be replaced with $post->post_type */
     141            echo '<p>'.  sprintf( __( 'The Normal and Parent Selector CSS Rules entered here will always be scanned by MMPS and will always be applied to this %s.', 'militant-moderates-css-parent-selector-mmps' ), $post->post_type ). '</p>';
    141142            echo '<textarea id="single_mmps_css" name="single_mmps_css" style="width:100%; min-height:200px;">' . esc_attr( $single_mmps_css ) . '</textarea>';
    142143        }
Note: See TracChangeset for help on using the changeset viewer.