Version Description
- Show media extensions in the post finder modal.
- Added Dutch translation.
Download this release
Release Info
Developer | bradyvercher |
Plugin | Simple Image Widget |
Version | 4.2.2 |
Comparing to | |
See all releases |
Code changes from version 4.2.1 to 4.2.2
includes/class-simple-image-widget-plugin.php
CHANGED
@@ -322,11 +322,20 @@ class Simple_Image_Widget_Plugin {
|
|
322 |
$time = mysql2date( __( 'Y/m/d' ), $post->post_date );
|
323 |
}
|
324 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
325 |
$html .= sprintf(
|
326 |
'<tr class="found-posts"><td>%1$s <input type="hidden" value="%2$s"></td><td class="no-break">%3$s</td><td class="no-break">%4$s</td><td class="no-break">%5$s</td></tr>',
|
327 |
esc_html( $title ),
|
328 |
esc_url( apply_filters( 'simple_image_widget_find_posts_post_link', $post_link ), $post->ID ),
|
329 |
-
esc_html(
|
330 |
esc_html( $time ),
|
331 |
esc_html( $status )
|
332 |
);
|
322 |
$time = mysql2date( __( 'Y/m/d' ), $post->post_date );
|
323 |
}
|
324 |
|
325 |
+
$post_type_label = get_post_type_object( $post->post_type )->labels->singular_name;
|
326 |
+
if ( 'attachment' == get_post_type( $post->ID ) ) {
|
327 |
+
if ( preg_match( '/^.*?\.(\w+)$/', get_attached_file( $post->ID ), $matches ) ) {
|
328 |
+
$post_type_label = esc_html( strtoupper( $matches[1] ) );
|
329 |
+
} else {
|
330 |
+
$post_type_label = strtoupper( str_replace( 'image/', '', get_post_mime_type( $post->ID ) ) );
|
331 |
+
}
|
332 |
+
}
|
333 |
+
|
334 |
$html .= sprintf(
|
335 |
'<tr class="found-posts"><td>%1$s <input type="hidden" value="%2$s"></td><td class="no-break">%3$s</td><td class="no-break">%4$s</td><td class="no-break">%5$s</td></tr>',
|
336 |
esc_html( $title ),
|
337 |
esc_url( apply_filters( 'simple_image_widget_find_posts_post_link', $post_link ), $post->ID ),
|
338 |
+
esc_html( $post_type_label ),
|
339 |
esc_html( $time ),
|
340 |
esc_html( $status )
|
341 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+
msgstr ""
|
5 |
+
"Project-Id-Version: Simple Image Widget 4.2.1\n"
|
6 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/simple-image-"
|
7 |
+
"widget\n"
|
8 |
+
"POT-Creation-Date: 2014-06-13 21:26:00+00:00\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"PO-Revision-Date: 2015-05-03 09:57+0100\n"
|
13 |
+
"X-Generator: Poedit 1.7.6\n"
|
14 |
+
"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;"
|
15 |
+
"_n_noop:1,2;_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;"
|
16 |
+
"esc_attr_x:1,2c;esc_html_x:1,2c\n"
|
17 |
+
"Language: nl\n"
|
18 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
19 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
20 |
+
"X-Poedit-Basepath: ../\n"
|
21 |
+
"X-Textdomain-Support: yes\n"
|
22 |
+
"Last-Translator: Ronald de Caluwe <rdecauwe@webzenz.nl>\n"
|
23 |
+
"Language-Team: \n"
|
24 |
+
"X-Poedit-SearchPath-0: .\n"
|
25 |
+
|
26 |
+
#: includes/class-simple-image-widget-legacy.php:108
|
27 |
+
msgid "These fields are here to maintain your data from an earlier version."
|
28 |
+
msgstr "Deze velden zijn er om je gegevens van eerdere versies te bewaren."
|
29 |
+
|
30 |
+
#: includes/class-simple-image-widget-legacy.php:111
|
31 |
+
msgid ""
|
32 |
+
"Select an image, then clear these values, and they will disappear when you "
|
33 |
+
"save the widget."
|
34 |
+
msgstr ""
|
35 |
+
"Kies een afbeelding, verwijder daarna deze waarden, en ze zullen "
|
36 |
+
"verdwijnen wanneer je de widget opslaat."
|
37 |
+
|
38 |
+
#: includes/class-simple-image-widget-legacy.php:116
|
39 |
+
msgid "Image URL:"
|
40 |
+
msgstr "Afbeelding URL:"
|
41 |
+
|
42 |
+
#: includes/class-simple-image-widget-legacy.php:120
|
43 |
+
msgid "Alternate Text:"
|
44 |
+
msgstr "Alternatieve tekst:"
|
45 |
+
|
46 |
+
#: includes/class-simple-image-widget-plugin.php:88
|
47 |
+
msgid "Choose an Attachment"
|
48 |
+
msgstr "Kies een bijlage"
|
49 |
+
|
50 |
+
#: includes/class-simple-image-widget-plugin.php:89
|
51 |
+
msgid "Update Attachment"
|
52 |
+
msgstr "Bijlage bijwerken"
|
53 |
+
|
54 |
+
#: includes/class-simple-image-widget-plugin.php:90
|
55 |
+
#: includes/class-simple-image-widget-plugin.php:185
|
56 |
+
#: includes/class-simple-image-widget.php:462
|
57 |
+
msgid "Full Size"
|
58 |
+
msgstr "Volledige grootte"
|
59 |
+
|
60 |
+
#: includes/class-simple-image-widget-plugin.php:92
|
61 |
+
msgid "An error has occurred. Please reload the page and try again."
|
62 |
+
msgstr "Er is een fout opgetreden. Herlaad de pagina en probeer het opnieuw."
|
63 |
+
|
64 |
+
#. Plugin Name of the plugin/theme
|
65 |
+
msgid "Simple Image Widget"
|
66 |
+
msgstr "Simple Image Widget"
|
67 |
+
|
68 |
+
#: includes/class-simple-image-widget-plugin.php:120
|
69 |
+
msgid "Image Size"
|
70 |
+
msgstr "Afbeelding grootte"
|
71 |
+
|
72 |
+
#: includes/class-simple-image-widget-plugin.php:121
|
73 |
+
msgid "Link"
|
74 |
+
msgstr "Link"
|
75 |
+
|
76 |
+
#: includes/class-simple-image-widget-plugin.php:122
|
77 |
+
msgid "Link Classes"
|
78 |
+
msgstr "Link class(es)"
|
79 |
+
|
80 |
+
#: includes/class-simple-image-widget-plugin.php:123
|
81 |
+
msgid "Link Text"
|
82 |
+
msgstr "Link tekst"
|
83 |
+
|
84 |
+
#: includes/class-simple-image-widget-plugin.php:124
|
85 |
+
msgid "New Window"
|
86 |
+
msgstr "Nieuw venster"
|
87 |
+
|
88 |
+
#: includes/class-simple-image-widget-plugin.php:125
|
89 |
+
msgid "Text"
|
90 |
+
msgstr "Tekst"
|
91 |
+
|
92 |
+
#: includes/class-simple-image-widget-plugin.php:182
|
93 |
+
msgid "Thumbnail"
|
94 |
+
msgstr "Thumbnail"
|
95 |
+
|
96 |
+
#: includes/class-simple-image-widget-plugin.php:183
|
97 |
+
msgid "Medium"
|
98 |
+
msgstr "Gemiddeld"
|
99 |
+
|
100 |
+
#: includes/class-simple-image-widget-plugin.php:184
|
101 |
+
msgid "Large"
|
102 |
+
msgstr "Groot"
|
103 |
+
|
104 |
+
#: includes/class-simple-image-widget-plugin.php:250
|
105 |
+
msgid "No items found."
|
106 |
+
msgstr "Geen items gevonden."
|
107 |
+
|
108 |
+
#: includes/class-simple-image-widget-plugin.php:291
|
109 |
+
msgid "Title"
|
110 |
+
msgstr "Titel"
|
111 |
+
|
112 |
+
#: includes/class-simple-image-widget-plugin.php:292
|
113 |
+
msgid "Type"
|
114 |
+
msgstr "Type"
|
115 |
+
|
116 |
+
#: includes/class-simple-image-widget-plugin.php:293
|
117 |
+
msgid "Date"
|
118 |
+
msgstr "Datum"
|
119 |
+
|
120 |
+
#: includes/class-simple-image-widget-plugin.php:294
|
121 |
+
msgid "Status"
|
122 |
+
msgstr "Status"
|
123 |
+
|
124 |
+
#: includes/class-simple-image-widget-plugin.php:298
|
125 |
+
msgid "(no title)"
|
126 |
+
msgstr "(geen titel)"
|
127 |
+
|
128 |
+
#: includes/class-simple-image-widget-plugin.php:305
|
129 |
+
msgid "Published"
|
130 |
+
msgstr "Gepubliceerd"
|
131 |
+
|
132 |
+
#: includes/class-simple-image-widget-plugin.php:308
|
133 |
+
msgid "Scheduled"
|
134 |
+
msgstr "Gepland"
|
135 |
+
|
136 |
+
#: includes/class-simple-image-widget-plugin.php:311
|
137 |
+
msgid "Pending Review"
|
138 |
+
msgstr "Wacht op beoordeling"
|
139 |
+
|
140 |
+
#: includes/class-simple-image-widget-plugin.php:314
|
141 |
+
msgid "Draft"
|
142 |
+
msgstr "Concept"
|
143 |
+
|
144 |
+
#. translators: date format in table columns, see http:php.net/date
|
145 |
+
#: includes/class-simple-image-widget-plugin.php:322
|
146 |
+
msgid "Y/m/d"
|
147 |
+
msgstr "Y/m/d"
|
148 |
+
|
149 |
+
#: includes/class-simple-image-widget-plugin.php:349
|
150 |
+
msgid "Find Post"
|
151 |
+
msgstr "Vind Bericht"
|
152 |
+
|
153 |
+
#: includes/class-simple-image-widget-plugin.php:357
|
154 |
+
msgid "Search"
|
155 |
+
msgstr "Zoek"
|
156 |
+
|
157 |
+
#: includes/class-simple-image-widget.php:43
|
158 |
+
msgid "Image"
|
159 |
+
msgstr "Afbeelding"
|
160 |
+
|
161 |
+
#: includes/class-simple-image-widget.php:49
|
162 |
+
msgid "An image from your Media Library."
|
163 |
+
msgstr "Een afbeelding uit je media-bibliotheek."
|
164 |
+
|
165 |
+
#: includes/class-simple-image-widget.php:254
|
166 |
+
msgid "Title:"
|
167 |
+
msgstr "Titel:"
|
168 |
+
|
169 |
+
#: includes/class-simple-image-widget.php:260
|
170 |
+
#: includes/class-simple-image-widget.php:270
|
171 |
+
msgid "Choose an Image"
|
172 |
+
msgstr "Kies een afbeelding"
|
173 |
+
|
174 |
+
#: includes/class-simple-image-widget.php:261
|
175 |
+
msgid "Update Image"
|
176 |
+
msgstr "Afbeelding bijwerken"
|
177 |
+
|
178 |
+
#: includes/class-simple-image-widget.php:282
|
179 |
+
msgid "Size:"
|
180 |
+
msgstr "Grootte:"
|
181 |
+
|
182 |
+
#: includes/class-simple-image-widget.php:302
|
183 |
+
msgid "Link:"
|
184 |
+
msgstr "Link:"
|
185 |
+
|
186 |
+
#: includes/class-simple-image-widget.php:311
|
187 |
+
msgid "Open in new window?"
|
188 |
+
msgstr "Openen in nieuw venster?"
|
189 |
+
|
190 |
+
#: includes/class-simple-image-widget.php:320
|
191 |
+
msgid "Link Classes:"
|
192 |
+
msgstr "Link class(es):"
|
193 |
+
|
194 |
+
#: includes/class-simple-image-widget.php:329
|
195 |
+
msgid "Link Text:"
|
196 |
+
msgstr "Link tekst:"
|
197 |
+
|
198 |
+
#: includes/class-simple-image-widget.php:338
|
199 |
+
msgid "Text:"
|
200 |
+
msgstr "Tekst: "
|
201 |
+
|
202 |
+
#. Plugin URI of the plugin/theme
|
203 |
+
msgid "https://wordpress.org/extend/plugins/simple-image-widget/"
|
204 |
+
msgstr "https://wordpress.org/extend/plugins/simple-image-widget/"
|
205 |
+
|
206 |
+
#. Description of the plugin/theme
|
207 |
+
msgid "A simple image widget utilizing the new WordPress media manager."
|
208 |
+
msgstr ""
|
209 |
+
"Een eenvoudige afbeeldingswidget die gebruik maakt van de nieuwe WordPress "
|
210 |
+
"media manager."
|
211 |
+
|
212 |
+
#. Author of the plugin/theme
|
213 |
+
msgid "Blazer Six"
|
214 |
+
msgstr "Blazer Six"
|
215 |
+
|
216 |
+
#. Author URI of the plugin/theme
|
217 |
+
msgid "http://www.blazersix.com/"
|
218 |
+
msgstr "http://www.blazersix.com/"
|
languages/simple-image-widget.pot
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# This file is distributed under the GPL-2.0+.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Simple Image Widget 4.2.
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"http://wordpress.org/support/plugin/simple-image-widget\n"
|
8 |
"POT-Creation-Date: 2014-06-13 21:26:00+00:00\n"
|
@@ -146,11 +146,11 @@ msgstr ""
|
|
146 |
msgid "Y/m/d"
|
147 |
msgstr ""
|
148 |
|
149 |
-
#: includes/class-simple-image-widget-plugin.php:
|
150 |
msgid "Find Post"
|
151 |
msgstr ""
|
152 |
|
153 |
-
#: includes/class-simple-image-widget-plugin.php:
|
154 |
msgid "Search"
|
155 |
msgstr ""
|
156 |
|
2 |
# This file is distributed under the GPL-2.0+.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Simple Image Widget 4.2.2\n"
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"http://wordpress.org/support/plugin/simple-image-widget\n"
|
8 |
"POT-Creation-Date: 2014-06-13 21:26:00+00:00\n"
|
146 |
msgid "Y/m/d"
|
147 |
msgstr ""
|
148 |
|
149 |
+
#: includes/class-simple-image-widget-plugin.php:358
|
150 |
msgid "Find Post"
|
151 |
msgstr ""
|
152 |
|
153 |
+
#: includes/class-simple-image-widget-plugin.php:366
|
154 |
msgid "Search"
|
155 |
msgstr ""
|
156 |
|
readme.txt
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
Contributors: blazersix, bradyvercher
|
3 |
Tags: image widget, widget, media, media manager, sidebar, image, photo, picture
|
4 |
Requires at least: 3.5
|
5 |
-
Tested up to: 4.
|
6 |
Stable tag: trunk
|
7 |
License: GPL-2.0+
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -27,6 +27,7 @@ Blazer Six took over development and maintenance of Simple Image Widget with ver
|
|
27 |
|
28 |
= Translation Credits =
|
29 |
|
|
|
30 |
* Finnish (fi) - Tomi Mäenpää [v4.1.1]
|
31 |
* French (fr_FR) - Alexandre Sadowski [v4.0.1]
|
32 |
* Japanese (ja) - Fumito Mizuno [v4.2.0]
|
@@ -78,6 +79,10 @@ The widget uses the core function `wp_get_attachment_image()` to display the ima
|
|
78 |
|
79 |
== Changelog ==
|
80 |
|
|
|
|
|
|
|
|
|
81 |
= 4.2.1 =
|
82 |
* Fixed a PHP 5.2 incompatibility that prevented the correct image from showing on the front-end.
|
83 |
* Fixed a debug notice when searching for attachments in the new find posts modal.
|
2 |
Contributors: blazersix, bradyvercher
|
3 |
Tags: image widget, widget, media, media manager, sidebar, image, photo, picture
|
4 |
Requires at least: 3.5
|
5 |
+
Tested up to: 4.2
|
6 |
Stable tag: trunk
|
7 |
License: GPL-2.0+
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
27 |
|
28 |
= Translation Credits =
|
29 |
|
30 |
+
* Dutch (nl_NL) - Ronald de Caluwé [4.2.2]
|
31 |
* Finnish (fi) - Tomi Mäenpää [v4.1.1]
|
32 |
* French (fr_FR) - Alexandre Sadowski [v4.0.1]
|
33 |
* Japanese (ja) - Fumito Mizuno [v4.2.0]
|
79 |
|
80 |
== Changelog ==
|
81 |
|
82 |
+
= 4.2.2 =
|
83 |
+
* Show media extensions in the post finder modal.
|
84 |
+
* Added Dutch translation.
|
85 |
+
|
86 |
= 4.2.1 =
|
87 |
* Fixed a PHP 5.2 incompatibility that prevented the correct image from showing on the front-end.
|
88 |
* Fixed a debug notice when searching for attachments in the new find posts modal.
|
simple-image-widget.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* Plugin Name: Simple Image Widget
|
12 |
* Plugin URI: https://wordpress.org/extend/plugins/simple-image-widget/
|
13 |
* Description: A simple image widget utilizing the new WordPress media manager.
|
14 |
-
* Version: 4.2.
|
15 |
* Author: Blazer Six
|
16 |
* Author URI: http://www.blazersix.com/
|
17 |
* License: GPL-2.0+
|
11 |
* Plugin Name: Simple Image Widget
|
12 |
* Plugin URI: https://wordpress.org/extend/plugins/simple-image-widget/
|
13 |
* Description: A simple image widget utilizing the new WordPress media manager.
|
14 |
+
* Version: 4.2.2
|
15 |
* Author: Blazer Six
|
16 |
* Author URI: http://www.blazersix.com/
|
17 |
* License: GPL-2.0+
|