Version Description
- Added Portuguese translation courtesy of Gustavo Machado
Download this release
Release Info
Developer | peterchester |
Plugin | Image Widget |
Version | 3.2.2 |
Comparing to | |
See all releases |
Code changes from version 3.2.1 to 3.2.2
- image-widget.php +3 -3
- lang/SP_Image_Widget-pt_BR.mo +0 -0
- lang/SP_Image_Widget-pt_BR.po +97 -0
- readme.txt +7 -3
image-widget.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Image Widget
|
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/image-widget/
|
5 |
Description: Simple image widget that uses native Wordpress upload thickbox to add image widgets to your site.
|
6 |
Author: Shane and Peter, Inc.
|
7 |
-
Version: 3.2.
|
8 |
Author URI: http://www.shaneandpeter.com
|
9 |
*/
|
10 |
|
@@ -44,7 +44,7 @@ class SP_Image_Widget extends WP_Widget {
|
|
44 |
add_action( 'admin_head-widgets.php', array( $this, 'admin_head' ) );
|
45 |
} elseif ( 'media-upload.php' == $pagenow || 'async-upload.php' == $pagenow ) {
|
46 |
add_filter( 'image_send_to_editor', array( $this,'image_send_to_editor'), 1, 8 );
|
47 |
-
add_filter( 'gettext', array( $this, '
|
48 |
add_filter( 'media_upload_tabs', array( $this, 'media_upload_tabs' ) );
|
49 |
}
|
50 |
}
|
@@ -123,7 +123,7 @@ class SP_Image_Widget extends WP_Widget {
|
|
123 |
* @return void
|
124 |
* @author Shane & Peter, Inc. (Peter Chester)
|
125 |
*/
|
126 |
-
function
|
127 |
if ( $this->is_sp_widget_context() ) {
|
128 |
if ('Insert into Post' == $source_text) {
|
129 |
return __('Insert Into Widget', $this->pluginDomain );
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/image-widget/
|
5 |
Description: Simple image widget that uses native Wordpress upload thickbox to add image widgets to your site.
|
6 |
Author: Shane and Peter, Inc.
|
7 |
+
Version: 3.2.2
|
8 |
Author URI: http://www.shaneandpeter.com
|
9 |
*/
|
10 |
|
44 |
add_action( 'admin_head-widgets.php', array( $this, 'admin_head' ) );
|
45 |
} elseif ( 'media-upload.php' == $pagenow || 'async-upload.php' == $pagenow ) {
|
46 |
add_filter( 'image_send_to_editor', array( $this,'image_send_to_editor'), 1, 8 );
|
47 |
+
add_filter( 'gettext', array( $this, 'replace_text_in_thickbox' ), 1, 3 );
|
48 |
add_filter( 'media_upload_tabs', array( $this, 'media_upload_tabs' ) );
|
49 |
}
|
50 |
}
|
123 |
* @return void
|
124 |
* @author Shane & Peter, Inc. (Peter Chester)
|
125 |
*/
|
126 |
+
function replace_text_in_thickbox($translated_text, $source_text, $domain) {
|
127 |
if ( $this->is_sp_widget_context() ) {
|
128 |
if ('Insert into Post' == $source_text) {
|
129 |
return __('Insert Into Widget', $this->pluginDomain );
|
lang/SP_Image_Widget-pt_BR.mo
ADDED
Binary file
|
lang/SP_Image_Widget-pt_BR.po
ADDED
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Translation of the Image Widget 3.1.4 WordPress plugin.
|
2 |
+
# This file is distributed under the same license as the the Image Widget package.
|
3 |
+
# Gustavo Machado <guhemama@gmail.com>, 2010.
|
4 |
+
#
|
5 |
+
msgid ""
|
6 |
+
msgstr ""
|
7 |
+
"Project-Id-Version: Image Widget 3.1.3\n"
|
8 |
+
"Report-Msgid-Bugs-To: \n"
|
9 |
+
"POT-Creation-Date: 2010-01-30 14:15+0100\n"
|
10 |
+
"PO-Revision-Date: 2010-10-13 17:53-0300\n"
|
11 |
+
"Last-Translator: Gustavo Machado <guhemama@gmail.com>\n"
|
12 |
+
"Language-Team: Gustavo Machado <guhemama@gmail.com>\n"
|
13 |
+
"MIME-Version: 1.0\n"
|
14 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
15 |
+
"Content-Transfer-Encoding: 8bit\n"
|
16 |
+
"X-Poedit-Language: Portuguese\n"
|
17 |
+
"X-Poedit-Country: BRAZIL\n"
|
18 |
+
"X-Poedit-SourceCharset: iso-8859-1\n"
|
19 |
+
"X-Poedit-KeywordsList: __;_e\n"
|
20 |
+
"X-Poedit-Basepath: .\n"
|
21 |
+
|
22 |
+
#: image-widget.php:33
|
23 |
+
msgid "Showcase a single image with a Title, URL, and a Description"
|
24 |
+
msgstr "Mostra uma única imagem com título, link e descrição"
|
25 |
+
|
26 |
+
#: image-widget.php:35
|
27 |
+
msgid "Image Widget"
|
28 |
+
msgstr "Widget de Imagens"
|
29 |
+
|
30 |
+
#: image-widget.php:114
|
31 |
+
msgid "Insert Into Widget"
|
32 |
+
msgstr "Inserir no Widget"
|
33 |
+
|
34 |
+
#: image-widget.php:265
|
35 |
+
msgid "Title:"
|
36 |
+
msgstr "Título:"
|
37 |
+
|
38 |
+
#: image-widget.php:268
|
39 |
+
msgid "Image:"
|
40 |
+
msgstr "Imagem:"
|
41 |
+
|
42 |
+
#: image-widget.php:272
|
43 |
+
msgid "Change Image"
|
44 |
+
msgstr "Modificar Imagem:"
|
45 |
+
|
46 |
+
#: image-widget.php:272
|
47 |
+
msgid "Add Image"
|
48 |
+
msgstr "Adicionar Imagem:"
|
49 |
+
|
50 |
+
#: image-widget.php:295
|
51 |
+
msgid "Caption:"
|
52 |
+
msgstr "Legenda:"
|
53 |
+
|
54 |
+
#: image-widget.php:298
|
55 |
+
msgid "Link:"
|
56 |
+
msgstr "Link:"
|
57 |
+
|
58 |
+
#: image-widget.php:301
|
59 |
+
msgid "Stay in Window"
|
60 |
+
msgstr "Abrir na Mesma Janela"
|
61 |
+
|
62 |
+
#: image-widget.php:302
|
63 |
+
msgid "Open New Window"
|
64 |
+
msgstr "Abrir em Nova Janela"
|
65 |
+
|
66 |
+
#: image-widget.php:305
|
67 |
+
msgid "Width:"
|
68 |
+
msgstr "Comprimento:"
|
69 |
+
|
70 |
+
#: image-widget.php:308
|
71 |
+
msgid "Height:"
|
72 |
+
msgstr "Altura:"
|
73 |
+
|
74 |
+
#: image-widget.php:311
|
75 |
+
msgid "Align:"
|
76 |
+
msgstr "Alinhamento:"
|
77 |
+
|
78 |
+
#: image-widget.php:313
|
79 |
+
msgid "none"
|
80 |
+
msgstr "nenhum"
|
81 |
+
|
82 |
+
#: image-widget.php:314
|
83 |
+
msgid "left"
|
84 |
+
msgstr "esquerda"
|
85 |
+
|
86 |
+
#: image-widget.php:315
|
87 |
+
msgid "center"
|
88 |
+
msgstr "centro"
|
89 |
+
|
90 |
+
#: image-widget.php:316
|
91 |
+
msgid "right"
|
92 |
+
msgstr "direita"
|
93 |
+
|
94 |
+
#: image-widget.php:331
|
95 |
+
msgid "Alternate Text:"
|
96 |
+
msgstr "Texto Alternativo"
|
97 |
+
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
4 |
Tags: widget, image, ad, banner, simple, upload, sidebar, admin, thickbox, resize
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 3.0.1
|
7 |
-
Stable tag: 3.2.
|
8 |
|
9 |
== Description ==
|
10 |
|
@@ -67,6 +67,10 @@ function my_template_filter($template) {
|
|
67 |
|
68 |
== Changelog ==
|
69 |
|
|
|
|
|
|
|
|
|
70 |
= 3.2.1 =
|
71 |
|
72 |
* Fix image widget public declaration bug.
|
@@ -79,7 +83,7 @@ function my_template_filter($template) {
|
|
79 |
|
80 |
= 3.1.6 =
|
81 |
|
82 |
-
Fixed Wordpress 3.0 bugs. (Thanks kenvunz)
|
83 |
|
84 |
= 3.1.5 =
|
85 |
|
@@ -123,7 +127,7 @@ Fixed PHP 5 bug. Removed 'public' declaration. http://wordpress.org/support/top
|
|
123 |
|
124 |
= 3.0.6 =
|
125 |
|
126 |
-
Fix crash on insert into post.
|
127 |
|
128 |
= 3.0.5 =
|
129 |
|
4 |
Tags: widget, image, ad, banner, simple, upload, sidebar, admin, thickbox, resize
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 3.0.1
|
7 |
+
Stable tag: 3.2.2
|
8 |
|
9 |
== Description ==
|
10 |
|
67 |
|
68 |
== Changelog ==
|
69 |
|
70 |
+
= 3.2.2 =
|
71 |
+
|
72 |
+
* Added Portuguese translation courtesy of Gustavo Machado
|
73 |
+
|
74 |
= 3.2.1 =
|
75 |
|
76 |
* Fix image widget public declaration bug.
|
83 |
|
84 |
= 3.1.6 =
|
85 |
|
86 |
+
* Fixed Wordpress 3.0 bugs. (Thanks kenvunz)
|
87 |
|
88 |
= 3.1.5 =
|
89 |
|
127 |
|
128 |
= 3.0.6 =
|
129 |
|
130 |
+
* Fix crash on insert into post.
|
131 |
|
132 |
= 3.0.5 =
|
133 |
|