Plugin Directory

Changeset 1854606


Ignore:
Timestamp:
04/07/2018 06:03:13 PM (8 years ago)
Author:
mnording10
Message:

1.2.0

Location:
grouped-variations-table/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • grouped-variations-table/trunk/grouped-variations-table-settings.php

    r1853592 r1854606  
    2626    { ?>
    2727        <div class="notice notice-warning is-dismissable">
    28             <p><?php _e("You have no attributes configured for your shop!","groupedvartable")?></p>
    29             <button type="button" class="notice-dismiss"><span class="screen-reader-text"><?php _e("Close this message.","groupedvartable")?></span></button>
     28            <p><?php _e("You have no attributes configured for your shop!","grouped-variations-table")?></p>
     29            <button type="button" class="notice-dismiss"><span class="screen-reader-text"><?php _e("Close this message.","grouped-variations-table")?></span></button>
    3030        </div>
    3131    <?php }
     
    3939        <form method="post" action="options.php">
    4040            <?php settings_fields( 'groupedvartable_options_group' ); ?>
    41             <h3><?php _e("Select Main Attribute for grouping","groupedvartable") ?></h3>
     41            <h3><?php _e("Select Main Attribute for grouping","grouped-variations-table") ?></h3>
    4242            <table style="width:50%">
    4343                <tr valign="top">
    44                     <th scope="row"><label for="myplugin_option_name"><?php _e("Main Attribute for sorting:","groupedvartable")?></label></th>
     44                    <th scope="row"><label for="myplugin_option_name"><?php _e("Main Attribute for sorting:","grouped-variations-table")?></label></th>
    4545                    <td><select id="groupedvartable_option_mainsorter"  name="groupedvartable_option_mainsorter">
    4646                            <?php foreach(wc_get_attribute_taxonomies() as $attr)
     
    6363                        <select id="groupedvartable_option_mainwidth"  name="groupedvartable_option_mainwidth">
    6464                            <?php $selectedvalue = get_option('groupedvartable_option_mainwidth'); var_dump($selectedvalue) ?>
    65                             <option <?php echo $selectedvalue=="full"?"selected":""?>  value="full"><?php _e("Full width","groupedvartable");?></option>
    66                             <option <?php echo $selectedvalue=="half"?"selected":""?> value="half"><?php _e("Half width","groupedvartable");?></option>
    67                             <option <?php echo $selectedvalue=="third"?"selected":""?> value="third"><?php _e("1 / 3 Width","groupedvartable");?></option>
     65                            <option <?php echo $selectedvalue=="full"?"selected":""?>  value="full"><?php _e("Full width","grouped-variations-table");?></option>
     66                            <option <?php echo $selectedvalue=="half"?"selected":""?> value="half"><?php _e("Half width","grouped-variations-table");?></option>
     67                            <option <?php echo $selectedvalue=="third"?"selected":""?> value="third"><?php _e("1 / 3 Width","grouped-variations-table");?></option>
    6868                        </select>
    6969                    </td>
  • grouped-variations-table/trunk/grouped-variations-table.php

    r1854286 r1854606  
    44Plugin URI:   https://developer.wordpress.org/plugins/the-basics/
    55Description:  Allowing you to group variations in sleak tables on the product page
    6 Version:      1.1.0
     6Version:      1.2.0
    77Author:       mnording
    88Author URI:   https://mnording.com/
    99License:      MIT
    1010License URI:  https://opensource.org/licenses/MIT
    11 Text Domain:  groupedvartable
     11Text Domain:  grouped-variations-table
    1212Domain Path:  /languages
    1313*/
     
    3131    }
    3232    function groupedvartable_load_plugin_textdomain() {
    33         load_plugin_textdomain( 'groupedvartable', FALSE, basename( dirname( __FILE__ ) ) . '/languages/' );
     33        load_plugin_textdomain( 'grouped-variations-table', FALSE, basename( dirname( __FILE__ ) ) . '/languages/' );
    3434    }
    3535
     
    160160            }
    161161            echo "<th>";
    162             echo _e("Price","groupedvartable");
     162            echo _e("Price","grouped-variations-table");
    163163            echo "</th>";
    164164            echo "<th>";
     
    180180                echo "</td>";
    181181                echo "<td>";
    182                 echo "<a href='?add-to-cart=".$product->get_id()."&variation_id=".$data["data"]["variation_id"]."&".http_build_query($data["data"]["attributes"])."'>".__("Add to cart","groupedvartable")."</a>";
     182                echo "<a href='?add-to-cart=".$product->get_id()."&variation_id=".$data["data"]["variation_id"]."&".http_build_query($data["data"]["attributes"])."'>".__("Add to cart","grouped-variations-table")."</a>";
    183183                echo "</td>";
    184184                echo "</tr>";
  • grouped-variations-table/trunk/readme.txt

    r1854286 r1854606  
    77Stable tag: trunk
    88License: MIT
    9 Version: 1.0.1
     9Version: 1.2.0
    1010License URI: https://opensource.org/licenses/MIT
    1111
     
    2222
    2323== Changelog ==
     241.2.0 - Changing text domain to support language packs
    24251.1.0 - Adding mobile support
    25261.0.2 - Bugfix for when a product not uses all terms in a taxonomy
Note: See TracChangeset for help on using the changeset viewer.