Plugin Directory

Changeset 1193164


Ignore:
Timestamp:
07/06/2015 09:27:33 AM (11 years ago)
Author:
mmtechmaster
Message:

Cleaned up a few bugs. Added some text and a "please review" link. Still unreleased but heading for it very soon.

Location:
militant-moderates-css-parent-selector-mmps/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • militant-moderates-css-parent-selector-mmps/trunk/languages/militant-moderates-css-parent-selector-mmps-en_US.po

    r1191132 r1193164  
    44msgstr ""
    55"Project-Id-Version: Militant Moderates CSS Parent Selector MMPS 1.2.1\n"
    6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/militant-"
    7 "moderates-css-parent-selector-mmps\n"
     6"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/militant-moderates-css-parent-selector-mmps\n"
    87"POT-Creation-Date: 2015-07-02 04:28-0400\n"
    98"MIME-Version: 1.0\n"
    109"Content-Type: text/plain; charset=UTF-8\n"
    1110"Content-Transfer-Encoding: 8bit\n"
    12 "PO-Revision-Date: 2015-07-02 04:34-0400\n"
     11"PO-Revision-Date: 2015-07-06 05:20-0400\n"
    1312"Last-Translator: MM Techmaster <[email protected]>\n"
    1413"Language-Team: \n"
     
    2019#: mmParentSelector.php:108
    2120msgid "Settings"
    22 msgstr ""
     21msgstr "Settings"
    2322
    2423#. translators: Formal Display name of the plugin
    2524#: mmParentSelector.php:174 mmParentSelector.php:278 mmParentSelector.php:290
    2625msgid "Militant Moderates Parent Selector (MMPS)"
    27 msgstr ""
     26msgstr "Militant Moderates Parent Selector (MMPS)"
    2827
    2928#. translators: Abbreviation for MMPS (probably does not need to change)
    3029#: mmParentSelector.php:176
    3130msgid "MMPS"
    32 msgstr ""
     31msgstr "MMPS"
    3332
    3433#. translators: Settings Section Heading for the inclusion settings
     
    5251#: mmParentSelector.php:217
    5352msgid "Site-wide Normal and Parent Selector CSS Rules"
    54 msgstr ""
     53msgstr "Site-wide Normal and Parent Selector CSS Rules"
    5554
    5655#. translators: Name of text area that holds MMPS custom CSS rules
    5756#: mmParentSelector.php:224
    5857msgid "Site-wide CSS rules:"
    59 msgstr ""
     58msgstr "Site-wide CSS rules:"
    6059
    6160#. translators: Description of the textarea to hold page or post specific CSS
     
    6362#: mmParentSelector.php:237
    6463msgid "MMPS Normal and Parent Selector CSS"
    65 msgstr ""
     64msgstr "MMPS Normal and Parent Selector CSS"
    6665
    6766#. translators: %s will be replaced with $post->post_type ('page' or 'post')
    6867#: mmParentSelector.php:249
    6968msgid ""
    70 "The Normal and Parent Selector CSS Rules entered here will always be scanned "
    71 "by MMPS and will always be applied to this %s."
     69"The Normal and Parent Selector CSS Rules entered here will always be scanned by MMPS and will always be "
     70"applied to this %s."
    7271msgstr ""
     72"The Normal and Parent Selector CSS Rules entered here will always be scanned by MMPS and will always be "
     73"applied to this %s."
    7374
    7475#. translators: Error message to user
    7576#: mmParentSelector.php:281
    7677msgid "You do not have permission to change these options."
    77 msgstr ""
     78msgstr "You do not have permission to change these options."
    7879
    7980#. translators: Button text to save settings
     
    8586#: mmParentSelector.php:306
    8687msgid ""
    87 "CSS Style Rules come from several different sources. MMPS will normally "
    88 "search for Parent Selectors only in the Site-wide CSS Rules below. You can "
    89 "use the following options to select which additional sources will be "
    90 "searched by MMPS."
     88"CSS Style Rules come from several different sources. MMPS will normally search for Parent Selectors only "
     89"in the Site-wide CSS Rules below. You can use the following options to select which additional sources "
     90"will be searched by MMPS."
    9191msgstr ""
    92 "CSS Style Rules come from several different sources. MMPS will normally "
    93 "search for Parent Selectors only in the Site-wide CSS Rules below. You may "
    94 "use the following options to search additional sources."
     92"CSS Style Rules come from several different sources. MMPS will normally search for Parent Selectors only "
     93"in the Site-wide CSS Rules below. You may use the following options to search additional sources."
    9594
    9695#. translators: Second paragraph of Description for the MMPS inclusion settings
    9796#: mmParentSelector.php:309
    9897msgid ""
    99 "NOTE: These options do not change normal CSS processing, they only control "
    100 "which additional sources MMPS searches for Parent Selectors. Your pages will "
    101 "load faster if you put all Parent Selector rules into the Site-wide CSS "
    102 "Rules section below then uncheck the following Inclusion options."
     98"NOTE: These options do not change normal CSS processing, they only control which additional sources MMPS "
     99"searches for Parent Selectors. Your pages will load faster if you put all Parent Selector rules into the "
     100"Site-wide CSS Rules section below then uncheck the following Inclusion options."
    103101msgstr ""
    104 "NOTE: These options do not change normal CSS processing, they only control "
    105 "which additional sources MMPS searches for Parent Selectors. Your pages will "
    106 "load faster if you put all Parent Selector rules into the Site-wide CSS "
    107 "Rules section below then uncheck the following options."
     102"NOTE: These options do not change normal CSS processing, they only control which additional sources MMPS "
     103"searches for Parent Selectors. Your pages will load faster if you put all Parent Selector rules into the "
     104"Site-wide CSS Rules section below then uncheck the following options."
    108105
    109106#. translators: Description of the MMPS custom CSS Rules setting
    110107#: mmParentSelector.php:314
    111108msgid ""
    112 "The Site-wide CSS Rules will be applied to the entire web site and may "
    113 "include both Normal and Parent Selector rules. The rules entered here will "
    114 "always be searched for Parent Selectors."
     109"The Site-wide CSS Rules will be applied to the entire web site and may include both Normal and Parent "
     110"Selector rules. The rules entered here will always be searched for Parent Selectors."
    115111msgstr ""
     112"The Site-wide CSS Rules will be applied to the entire web site and may include both Normal and Parent "
     113"Selector rules. The rules entered here will always be searched for Parent Selectors."
    116114
    117115#. translators: Instructions for a Checkbox setting
    118116#: mmParentSelector.php:321
    119 msgid ""
    120 "Check this option to also scan all External CSS Stylesheet files for Parent "
    121 "Selectors"
    122 msgstr ""
    123 "Check this option to search all External CSS Stylesheet files for Parent "
    124 "Selectors"
     117msgid "Check this option to also scan all External CSS Stylesheet files for Parent Selectors"
     118msgstr "Check this option to search all External CSS Stylesheet files for Parent Selectors"
    125119
    126120#. translators: Instructions for a Checkbox setting
    127121#: mmParentSelector.php:327
    128 msgid ""
    129 "Check this option to also scan all Inline CSS Styles for Parent Selectors"
     122msgid "Check this option to also scan all Inline CSS Styles for Parent Selectors"
    130123msgstr "Check this option to search all Inline CSS Styles for Parent Selectors"
    131124
    132125#. Plugin Name of the plugin/theme
    133126msgid "Militant Moderates CSS Parent Selector MMPS"
    134 msgstr ""
     127msgstr "Militant Moderates CSS Parent Selector MMPS"
    135128
    136129#. Plugin URI of the plugin/theme
    137130msgid "http://www.militantmoderates.org/mmps-quick-start/"
    138 msgstr ""
     131msgstr "http://www.militantmoderates.org/mmps-quick-start/"
    139132
    140133#. Description of the plugin/theme
    141134msgid ""
    142 "Adds CSS \"Parent Selector\" support to your Theme. Apply your CSS Style to "
    143 "Parent/Sibling elements not just the Selected element."
     135"Adds CSS \"Parent Selector\" support to your Theme. Apply your CSS Style to Parent/Sibling elements not "
     136"just the Selected element."
    144137msgstr ""
     138"Adds CSS \"Parent Selector\" support to your Theme. Apply your CSS Style to Parent/Sibling elements not "
     139"just the Selected element."
    145140
    146141#. Author of the plugin/theme
    147142msgid "MM Techmaster"
    148 msgstr ""
     143msgstr "MM Techmaster"
    149144
    150145#. Author URI of the plugin/theme
    151146msgid "https://profiles.wordpress.org/mmtechmaster"
    152 msgstr ""
     147msgstr "https://profiles.wordpress.org/mmtechmaster"
  • militant-moderates-css-parent-selector-mmps/trunk/mmParentSelector.php

    r1191359 r1193164  
    9999                add_action( 'save_post', array( $this, 'mmps_single_save' ) );
    100100
    101                 add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), array( $this, 'mmpsccss_settings_link' ) );
    102             }
    103         }
    104 
    105         function mmpsccss_settings_link( $links ) {
    106             $settings_link = '<a href="admin.php?page=mmps-ccss-option_settings">' .
     101                add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), array( $this, 'mmps_settings_link' ) );
     102            }
     103        }
     104
     105        function mmps_settings_link( $links ) {
     106            $settings_link = '<a href="options-general.php?page=mmps-option-settings">' .
    107107                /* translators: Link Text for the plugin's settings page */
    108108                __( 'Settings', 'militant-moderates-css-parent-selector-mmps' ) . '</a>';
     
    175175                /* translators: Abbreviation for MMPS (probably does not need to change) */
    176176                __('MMPS', 'militant-moderates-css-parent-selector-mmps'),
    177                 'manage_options', 'mmps-ccss-option_settings', array( $this, 'create_settings_page' ) );
     177                'manage_options', 'mmps-option-settings', array( $this, 'create_settings_page' ) );
    178178        }
    179179
     
    189189                    __('Select CSS sources to include while scanning for Parent Selector Rules', 'militant-moderates-css-parent-selector-mmps'),
    190190                    array( $this, 'print_parse_info' ),
    191                     'mmps-ccss-option_settings'
     191                    'mmps-option-settings'
    192192            );
    193193
     
    197197                    __('Include External CSS files?', 'militant-moderates-css-parent-selector-mmps'),
    198198                    array( $this, 'parse_external_input' ),
    199                     'mmps-ccss-option_settings',
     199                    'mmps-option-settings',
    200200                    'mmpsccss_include_opts',
    201201                    array( 'label_for' => 'mmpsccss_settings[mmps_ccss_parse_external]' )
     
    207207                    __('Include Inline CSS rules?', 'militant-moderates-css-parent-selector-mmps'),
    208208                    array( $this, 'parse_inline_input' ),
    209                     'mmps-ccss-option_settings',
     209                    'mmps-option-settings',
    210210                    'mmpsccss_include_opts',
    211211                    array( 'label_for' => 'mmpsccss_settings[mmps_ccss_parse_inline]' )
     
    217217                    __('Site-wide Normal and Parent Selector CSS Rules', 'militant-moderates-css-parent-selector-mmps'),
    218218                    array( $this, 'print_section_info' ),
    219                     'mmps-ccss-option_settings'
     219                    'mmps-option-settings'
    220220            );
    221221            add_settings_field(
     
    224224                    __('Site-wide CSS rules:', 'militant-moderates-css-parent-selector-mmps'),
    225225                    array( $this, 'main_css_input' ),
    226                     'mmps-ccss-option_settings',
     226                    'mmps-option-settings',
    227227                    'mmpsccss_main_style'
    228228            );
     
    289289            /* translators: Formal Display name of the plugin */
    290290            _e('Militant Moderates Parent Selector (MMPS)', 'militant-moderates-css-parent-selector-mmps'); ?></h2>
     291                <h3><em><?php
     292            /* translators: Polite heading asking the user to Review the plugin at WordPress.org */
     293            _e('Please review this plugin:', 'militant-moderates-css-parent-selector-mmps'); ?></em></h3>
     294                <p><em><?php
     295            echo sprintf(
     296            /* translators: The word 'Review' after translation MUST be surrounded by %s */
     297            __('We work very hard to create the very best in tools and utilities. Please consider leaving a %s Review %s to let us know how we\'re doing', 'militant-moderates-css-parent-selector-mmps'),
     298                '<a href="https://wordpress.org/support/view/plugin-reviews/militant-moderates-css-parent-selector-mmps" target="_blank">',
     299                '</a>'); ?></em></p>
    291300                <form id="mmps_ccss_form" method="post" action="options.php">
    292301                    <?php settings_fields( 'mmpsccss_group' ); ?>
    293                     <?php do_settings_sections( 'mmps-ccss-option_settings' ); ?>
     302                    <?php do_settings_sections( 'mmps-option-settings' ); ?>
    294303                    <?php submit_button(
    295304                    /* translators: Button text to save settings */
     
    386395
    387396//if(isset($mmpsccss)) {
    388 //  function mmpsccss_settings_link($links) {
    389 //      $settings_link = '<a href="admin.php?page=mmps-ccss-option_settings">' .
     397//  function mmps_settings_link($links) {
     398//      $settings_link = '<a href="options-general.php?page=mmps-option-settings">' .
    390399//          /* translators: Link Text for the plugin's settings page */
    391400//          __('Settings', 'militant-moderates-css-parent-selector-mmps') . '</a>';
     
    393402//      return $links;
    394403//  }
    395 //  add_filter('plugin_action_links_' . plugin_basename(__FILE__), 'mmpsccss_settings_link');
     404//  add_filter('plugin_action_links_' . plugin_basename(__FILE__), 'mmps_settings_link');
    396405//}
    397406
  • militant-moderates-css-parent-selector-mmps/trunk/readme.txt

    r1191359 r1193164  
    4444== Changelog ==
    4545= 1.2.2 (development) =
    46 * (changes pending)
     46* Fixed link from Plugin admin to MMPS Settings - 'MMPS' was not highlighted in the Settings menu.
     47* Added a 'Please Review' section and link at the top of the Settings page.
     48* (more changes pending)
    4749
    4850= 1.2.1 =
     
    9597
    9698== Upgrade Notice ==
    97 = 1.2.1 =
    98 Moved MMPS from main Admin menu to a sub-menu of Settings. More improvements in load speed and less overhead on WordPress.
     99= 1.2.2 =
     100General bug cleanup. We recommend you upgrade, but this revision contains only cosmetic fixes.
Note: See TracChangeset for help on using the changeset viewer.