Skip to content

Commit

Permalink
Bump to version 4.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bradyvercher committed Jan 22, 2015
1 parent f3e1c48 commit e8c78f6
Show file tree
Hide file tree
Showing 6 changed files with 97 additions and 35 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A simple image widget that makes it a breeze to add images to sidebars in WordPr

__Contributors:__ [Brady Vercher](https://github.com/bradyvercher)
__Requires:__ 3.5
__Tested up to:__ 4.0
__Tested up to:__ 4.1
__License:__ [GPL-2.0+](http://www.gnu.org/licenses/gpl-2.0.html)

Simple Image Widget is what the name implies -- the easiest way to add images to sidebars in WordPress.
Expand All @@ -18,7 +18,6 @@ Simple Image Widget is available in the [WordPress plugin repository](http://wor
## Potential Roadmap

* Drag and drop uploading
* Allow searching for a post/page/attachment to use as the link

## Credits

Expand Down
6 changes: 3 additions & 3 deletions assets/js/simple-image-widget.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*global _:false, ajaxurl:false, wp:false */
/*global _:false, ajaxurl:false, Backbone:false, wp:false */

window.SimpleImageWidget = window.SimpleImageWidget || {};

Expand Down Expand Up @@ -240,7 +240,7 @@ window.SimpleImageWidget = window.SimpleImageWidget || {};
}).done(function( response ) {
self.$response.html( response );
}).fail(function() {
self.$response.text( settings.l10n.responseError );
self.$response.text( l10n.responseError );
});
},

Expand Down Expand Up @@ -281,7 +281,7 @@ window.SimpleImageWidget = window.SimpleImageWidget || {};
$page = $( '.wp-full-overlay' );

if ( $page.length < 1 ) {
$page = $body
$page = $body;
}

// Open the media frame when the choose button or image are clicked.
Expand Down
111 changes: 84 additions & 27 deletions languages/simple-image-widget.pot
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Copyright (C) 2014 Blazer Six
# Copyright (C) 2015 Blazer Six
# This file is distributed under the GPL-2.0+.
msgid ""
msgstr ""
"Project-Id-Version: Simple Image Widget 4.1.2\n"
"Project-Id-Version: Simple Image Widget 4.2.0\n"
"Report-Msgid-Bugs-To: "
"http://wordpress.org/support/plugin/simple-image-widget\n"
"POT-Creation-Date: 2014-06-13 21:26:00+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2014-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"X-Generator: grunt-wp-i18n 0.4.8\n"
Expand Down Expand Up @@ -43,60 +43,117 @@ msgstr ""
msgid "Alternate Text:"
msgstr ""

#: includes/class-simple-image-widget-plugin.php:87
#: includes/class-simple-image-widget-plugin.php:88
msgid "Choose an Attachment"
msgstr ""

#: includes/class-simple-image-widget-plugin.php:88
#: includes/class-simple-image-widget-plugin.php:89
msgid "Update Attachment"
msgstr ""

#: includes/class-simple-image-widget-plugin.php:89
#: includes/class-simple-image-widget-plugin.php:179
#: includes/class-simple-image-widget.php:457
#: includes/class-simple-image-widget-plugin.php:90
#: includes/class-simple-image-widget-plugin.php:185
#: includes/class-simple-image-widget.php:462
msgid "Full Size"
msgstr ""

#: includes/class-simple-image-widget-plugin.php:92
msgid "An error has occurred. Please reload the page and try again."
msgstr ""

#. Plugin Name of the plugin/theme
msgid "Simple Image Widget"
msgstr ""

#: includes/class-simple-image-widget-plugin.php:115
#: includes/class-simple-image-widget-plugin.php:120
msgid "Image Size"
msgstr ""

#: includes/class-simple-image-widget-plugin.php:116
#: includes/class-simple-image-widget-plugin.php:121
msgid "Link"
msgstr ""

#: includes/class-simple-image-widget-plugin.php:117
#: includes/class-simple-image-widget-plugin.php:122
msgid "Link Classes"
msgstr ""

#: includes/class-simple-image-widget-plugin.php:118
#: includes/class-simple-image-widget-plugin.php:123
msgid "Link Text"
msgstr ""

#: includes/class-simple-image-widget-plugin.php:119
#: includes/class-simple-image-widget-plugin.php:124
msgid "New Window"
msgstr ""

#: includes/class-simple-image-widget-plugin.php:120
#: includes/class-simple-image-widget-plugin.php:125
msgid "Text"
msgstr ""

#: includes/class-simple-image-widget-plugin.php:176
#: includes/class-simple-image-widget-plugin.php:182
msgid "Thumbnail"
msgstr ""

#: includes/class-simple-image-widget-plugin.php:177
#: includes/class-simple-image-widget-plugin.php:183
msgid "Medium"
msgstr ""

#: includes/class-simple-image-widget-plugin.php:178
#: includes/class-simple-image-widget-plugin.php:184
msgid "Large"
msgstr ""

#: includes/class-simple-image-widget-plugin.php:250
msgid "No items found."
msgstr ""

#: includes/class-simple-image-widget-plugin.php:291
msgid "Title"
msgstr ""

#: includes/class-simple-image-widget-plugin.php:292
msgid "Type"
msgstr ""

#: includes/class-simple-image-widget-plugin.php:293
msgid "Date"
msgstr ""

#: includes/class-simple-image-widget-plugin.php:294
msgid "Status"
msgstr ""

#: includes/class-simple-image-widget-plugin.php:298
msgid "(no title)"
msgstr ""

#: includes/class-simple-image-widget-plugin.php:304
msgid "Published"
msgstr ""

#: includes/class-simple-image-widget-plugin.php:307
msgid "Scheduled"
msgstr ""

#: includes/class-simple-image-widget-plugin.php:310
msgid "Pending Review"
msgstr ""

#: includes/class-simple-image-widget-plugin.php:313
msgid "Draft"
msgstr ""

#: includes/class-simple-image-widget-plugin.php:321
#. translators: date format in table columns, see http:php.net/date
msgid "Y/m/d"
msgstr ""

#: includes/class-simple-image-widget-plugin.php:348
msgid "Find Post"
msgstr ""

#: includes/class-simple-image-widget-plugin.php:356
msgid "Search"
msgstr ""

#: includes/class-simple-image-widget.php:43
msgid "Image"
msgstr ""
Expand All @@ -105,40 +162,40 @@ msgstr ""
msgid "An image from your Media Library."
msgstr ""

#: includes/class-simple-image-widget.php:252
#: includes/class-simple-image-widget.php:254
msgid "Title:"
msgstr ""

#: includes/class-simple-image-widget.php:258
#: includes/class-simple-image-widget.php:268
#: includes/class-simple-image-widget.php:260
#: includes/class-simple-image-widget.php:270
msgid "Choose an Image"
msgstr ""

#: includes/class-simple-image-widget.php:259
#: includes/class-simple-image-widget.php:261
msgid "Update Image"
msgstr ""

#: includes/class-simple-image-widget.php:280
#: includes/class-simple-image-widget.php:282
msgid "Size:"
msgstr ""

#: includes/class-simple-image-widget.php:300
#: includes/class-simple-image-widget.php:302
msgid "Link:"
msgstr ""

#: includes/class-simple-image-widget.php:306
#: includes/class-simple-image-widget.php:311
msgid "Open in new window?"
msgstr ""

#: includes/class-simple-image-widget.php:315
#: includes/class-simple-image-widget.php:320
msgid "Link Classes:"
msgstr ""

#: includes/class-simple-image-widget.php:324
#: includes/class-simple-image-widget.php:329
msgid "Link Text:"
msgstr ""

#: includes/class-simple-image-widget.php:333
#: includes/class-simple-image-widget.php:338
msgid "Text:"
msgstr ""

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simple-image-widget",
"version": "4.1.2",
"version": "4.2.0",
"description": "A simple WordPress image widget.",
"main": "Gruntfile.js",
"repository": {
Expand Down
8 changes: 7 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Contributors: blazersix, bradyvercher
Tags: image widget, widget, media, media manager, sidebar, image, photo, picture
Requires at least: 3.5
Tested up to: 4.0
Tested up to: 4.1
Stable tag: trunk
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -78,6 +78,12 @@ The widget uses the core function `wp_get_attachment_image()` to display the ima

== Changelog ==

= 4.2.0 =
* Added functionality to search for posts to link images to.
* Added Japanese translation.
* Changed the method for generating cache keys. Should provide better support for the_widget() and similar methods.
* Deprecated the method for flushing a single widget instance from the cache.

= 4.1.2 =
* Added Serbo-Croation translation.

Expand Down
2 changes: 1 addition & 1 deletion simple-image-widget.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Plugin Name: Simple Image Widget
* Plugin URI: https://wordpress.org/extend/plugins/simple-image-widget/
* Description: A simple image widget utilizing the new WordPress media manager.
* Version: 4.1.2
* Version: 4.2.0
* Author: Blazer Six
* Author URI: http://www.blazersix.com/
* License: GPL-2.0+
Expand Down

0 comments on commit e8c78f6

Please sign in to comment.