Skip to content

Commit

Permalink
changelog etc
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskoster committed Dec 12, 2016
1 parent 5f2def7 commit 04844ec
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 13 deletions.
13 changes: 7 additions & 6 deletions languages/woocommerce-grid-list-toggle.pot
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
# Copyright (C) 2015 WooCommerce Grid / List toggle
# Copyright (C) 2016 WooCommerce Grid / List toggle
# This file is distributed under the same license as the WooCommerce Grid / List toggle package.
msgid ""
msgstr ""
"Project-Id-Version: WooCommerce Grid / List toggle 1.0.0\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/woocommerce-grid-list-toggle\n"
"POT-Creation-Date: 2015-06-19 10:52:18+00:00\n"
"Project-Id-Version: WooCommerce Grid / List toggle 1.1.0\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-grid-"
"list-toggle\n"
"POT-Creation-Date: 2016-12-12 10:08:40+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: 2016-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"

Expand All @@ -28,7 +29,7 @@ msgstr ""
msgid "List"
msgstr ""

#: woocommerce-grid-list-toggle.php:110
#: woocommerce-grid-list-toggle.php:109
msgid "Grid view"
msgstr ""

Expand Down
7 changes: 5 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Contributors: jameskoster
Tags: woocommerce, grid, list, products, ecommerce
Requires at least: 4.0
Tested up to: 4.6
Stable tag: 1.0.0
Tested up to: 4.7
Stable tag: 1.1.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -65,6 +65,9 @@ function remove_gridlist_styles() {

== Changelog ==

= 1.1.0 - 12/12/16 =
* Outputs are now filterable. Kudos joshuadavidnelson.

= 1.0.0 - 19/06/2015 =
* Revamped button styles.
* Updated textdomain to 'woocommerce-grid-list-toggle'.
Expand Down
10 changes: 5 additions & 5 deletions woocommerce-grid-list-toggle.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
Plugin Name: WooCommerce Grid / List toggle
Plugin URI: http://jameskoster.co.uk/tag/grid-list-toggle/
Description: Adds a grid/list view toggle to product archives
Version: 1.0.0
Version: 1.1.0
Author: jameskoster
Author URI: http://jameskoster.co.uk
Requires at least: 4.0
Tested up to: 4.6
Tested up to: 4.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: woocommerce-grid-list-toggle
Expand Down Expand Up @@ -105,12 +105,12 @@ function setup_scripts_script() {

// Toggle button
function gridlist_toggle_button() {

$grid_view = __( 'Grid view', 'woocommerce-grid-list-toggle' );
$list_view = __( 'List view', 'woocommerce-grid-list-toggle' );

$output = sprintf( '<nav class="gridlist-toggle"><a href="#" id="grid" title="%1$s"><span class="dashicons dashicons-grid-view"></span> <em>%1$s</em></a><a href="#" id="list" title="%2$s"><span class="dashicons dashicons-exerpt-view"></span> <em>%2$s</em></a></nav>', $grid_view, $list_view );

echo apply_filters( 'gridlist_toggle_button_output', $output, $grid_view, $list_view );
}

Expand Down

0 comments on commit 04844ec

Please sign in to comment.