Version Description
- Added Japanese (and fixed a minor language string bug - thank you @understandard)
- Added Arabic (thank you @modmenpc)
Download this release
Release Info
Developer | peterchester |
Plugin | Image Widget |
Version | 4.0.5 |
Comparing to | |
See all releases |
Code changes from version 4.0.4 to 4.0.5
- image-widget.php +2 -2
- lang/image-widget-ar_AR.mo +0 -0
- lang/image-widget-ar_AR.po +143 -0
- lang/image-widget-ja.mo +0 -0
- lang/image-widget-ja.po +132 -0
- readme.txt +9 -2
- views/widget-admin.php +1 -1
image-widget.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Image Widget
|
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/image-widget/
|
5 |
Description: A simple image widget that uses the native WordPress media manager to add image widgets to your site.
|
6 |
Author: Modern Tribe, Inc.
|
7 |
-
Version: 4.0.
|
8 |
Author URI: http://tri.be
|
9 |
*/
|
10 |
|
@@ -23,7 +23,7 @@ add_action('widgets_init', 'tribe_load_image_widget');
|
|
23 |
**/
|
24 |
class Tribe_Image_Widget extends WP_Widget {
|
25 |
|
26 |
-
const VERSION = '4.0.
|
27 |
|
28 |
const CUSTOM_IMAGE_SIZE_SLUG = 'tribe_image_widget_custom';
|
29 |
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/image-widget/
|
5 |
Description: A simple image widget that uses the native WordPress media manager to add image widgets to your site.
|
6 |
Author: Modern Tribe, Inc.
|
7 |
+
Version: 4.0.5
|
8 |
Author URI: http://tri.be
|
9 |
*/
|
10 |
|
23 |
**/
|
24 |
class Tribe_Image_Widget extends WP_Widget {
|
25 |
|
26 |
+
const VERSION = '4.0.5';
|
27 |
|
28 |
const CUSTOM_IMAGE_SIZE_SLUG = 'tribe_image_widget_custom';
|
29 |
|
lang/image-widget-ar_AR.mo
ADDED
Binary file
|
lang/image-widget-ar_AR.po
ADDED
@@ -0,0 +1,143 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Translation of the Image Widget 4.0 WordPress plugin.
|
2 |
+
# This file is distributed under the same license as the the Image Widget package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: Image Widget\n"
|
6 |
+
"POT-Creation-Date: 2013-01-30 23:34-0800\n"
|
7 |
+
"PO-Revision-Date: 2013-02-18 01:02+0300\n"
|
8 |
+
"Last-Translator: Modern Tribe, Inc. <pro@tri.be>\n"
|
9 |
+
"Language-Team: @ModernTribe <pro@tri.be>\n"
|
10 |
+
"Language: English\n"
|
11 |
+
"MIME-Version: 1.0\n"
|
12 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
+
"Content-Transfer-Encoding: 8bit\n"
|
14 |
+
"X-Generator: Poedit 1.5.5\n"
|
15 |
+
"X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
|
16 |
+
"X-Poedit-Basepath: .\n"
|
17 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
19 |
+
|
20 |
+
#: image-widget.php:40
|
21 |
+
msgid "Showcase a single image with a Title, URL, and a Description"
|
22 |
+
msgstr "مشاهدة صورة واحدة مع العنوان،الرابط،والوصف"
|
23 |
+
|
24 |
+
#: image-widget.php:42
|
25 |
+
msgid "Image Widget"
|
26 |
+
msgstr "إضافة الصور"
|
27 |
+
|
28 |
+
#: image-widget.php:74 views/widget-admin.php:13
|
29 |
+
msgid "Select an Image"
|
30 |
+
msgstr "اختر الصورة"
|
31 |
+
|
32 |
+
#: image-widget.php:75 lib/ImageWidgetDeprecated.php:66
|
33 |
+
msgid "Insert Into Widget"
|
34 |
+
msgstr "أضف في إضافة الصور"
|
35 |
+
|
36 |
+
#: image-widget.php:390
|
37 |
+
#, php-format
|
38 |
+
msgid ""
|
39 |
+
"Thanks for upgrading the Image Widget! If you like this plugin, please "
|
40 |
+
"consider <a href=\"%s\" target=\"_blank\">rating it</a> and maybe even check "
|
41 |
+
"out our premium plugins including our <a href=\"%s\" target=\"_blank"
|
42 |
+
"\">Events Calendar Pro</a>!"
|
43 |
+
msgstr ""
|
44 |
+
"شكراً لتحديثك إضافة Image Widget!إذا اعجبتك هذه الإضافة, أرجوك <a href=\"%s"
|
45 |
+
"\" target=\"_blank\">قيمها</a>وربما قد تعجبك إضافاتنا الأخرى <a href=\"%s\" "
|
46 |
+
"target=\"_blank\"> أحداث التقويم الاحترافيةEvents Calendar Pro</a>!"
|
47 |
+
|
48 |
+
#: image-widget.php:405
|
49 |
+
#, php-format
|
50 |
+
msgid ""
|
51 |
+
"Check out our other <a href=\"%s\" target=\"_blank\">plugins</a> including "
|
52 |
+
"our <a href=\"%s\" target=\"_blank\">Events Calendar Pro</a>!"
|
53 |
+
msgstr ""
|
54 |
+
"افحص هذه أو الأخرى <a href=\"%s\" target=\"_blank\">الأضافة</a>بما لدينا "
|
55 |
+
"أيضاً <a href=\"%s\" target=\"_blank\">أحداث التقويم Events Calendar Pro</a>!"
|
56 |
+
|
57 |
+
#: views/widget-admin.deprecated.php:10 views/widget-admin.php:23
|
58 |
+
msgid "Title"
|
59 |
+
msgstr "العنوان"
|
60 |
+
|
61 |
+
#: views/widget-admin.deprecated.php:13
|
62 |
+
msgid "Image"
|
63 |
+
msgstr "صورة"
|
64 |
+
|
65 |
+
#: views/widget-admin.deprecated.php:17
|
66 |
+
msgid "Change Image"
|
67 |
+
msgstr "تغيير الصورة"
|
68 |
+
|
69 |
+
#: views/widget-admin.deprecated.php:17
|
70 |
+
msgid "Add Image"
|
71 |
+
msgstr "أضف الصورة"
|
72 |
+
|
73 |
+
#: views/widget-admin.deprecated.php:25 views/widget-admin.php:29
|
74 |
+
msgid "Caption"
|
75 |
+
msgstr "شرح"
|
76 |
+
|
77 |
+
#: views/widget-admin.deprecated.php:28 views/widget-admin.php:32
|
78 |
+
msgid "Link"
|
79 |
+
msgstr "رابط"
|
80 |
+
|
81 |
+
#: views/widget-admin.deprecated.php:31 views/widget-admin.php:35
|
82 |
+
msgid "Stay in Window"
|
83 |
+
msgstr "ابق في النافذة"
|
84 |
+
|
85 |
+
#: views/widget-admin.deprecated.php:32 views/widget-admin.php:36
|
86 |
+
msgid "Open New Window"
|
87 |
+
msgstr "افتح في نافذة جديدة"
|
88 |
+
|
89 |
+
#: views/widget-admin.deprecated.php:35 views/widget-admin.php:66
|
90 |
+
msgid "Width"
|
91 |
+
msgstr "العرض"
|
92 |
+
|
93 |
+
#: views/widget-admin.deprecated.php:38 views/widget-admin.php:69
|
94 |
+
msgid "Height"
|
95 |
+
msgstr "الطول"
|
96 |
+
|
97 |
+
#: views/widget-admin.deprecated.php:41 views/widget-admin.php:74
|
98 |
+
msgid "Align"
|
99 |
+
msgstr "المحاذاة"
|
100 |
+
|
101 |
+
#: views/widget-admin.deprecated.php:43 views/widget-admin.php:76
|
102 |
+
msgid "none"
|
103 |
+
msgstr "بدون"
|
104 |
+
|
105 |
+
#: views/widget-admin.deprecated.php:44 views/widget-admin.php:77
|
106 |
+
msgid "left"
|
107 |
+
msgstr "يسار"
|
108 |
+
|
109 |
+
#: views/widget-admin.deprecated.php:45 views/widget-admin.php:78
|
110 |
+
msgid "center"
|
111 |
+
msgstr "المنتصف"
|
112 |
+
|
113 |
+
#: views/widget-admin.deprecated.php:46 views/widget-admin.php:79
|
114 |
+
msgid "right"
|
115 |
+
msgstr "يمين"
|
116 |
+
|
117 |
+
#: views/widget-admin.deprecated.php:49 views/widget-admin.php:26
|
118 |
+
msgid "Alternate Text"
|
119 |
+
msgstr "نص بديل"
|
120 |
+
|
121 |
+
#: views/widget-admin.php:44
|
122 |
+
msgid "Size"
|
123 |
+
msgstr "الحجم"
|
124 |
+
|
125 |
+
#: views/widget-admin.php:49
|
126 |
+
msgid "Full Size"
|
127 |
+
msgstr "الحجم الكامل"
|
128 |
+
|
129 |
+
#: views/widget-admin.php:50
|
130 |
+
msgid "Thumbnail"
|
131 |
+
msgstr "معاينة"
|
132 |
+
|
133 |
+
#: views/widget-admin.php:51
|
134 |
+
msgid "Medium"
|
135 |
+
msgstr "وسط"
|
136 |
+
|
137 |
+
#: views/widget-admin.php:52
|
138 |
+
msgid "Large"
|
139 |
+
msgstr "كبير"
|
140 |
+
|
141 |
+
#: views/widget-admin.php:54
|
142 |
+
msgid "Custom"
|
143 |
+
msgstr "مخصص"
|
lang/image-widget-ja.mo
ADDED
Binary file
|
lang/image-widget-ja.po
ADDED
@@ -0,0 +1,132 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Translation of the Image Widget 4.0 WordPress plugin.
|
2 |
+
# This file is distributed under the same license as the the Image Widget package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: Image Widget\n"
|
6 |
+
"POT-Creation-Date: 2013-01-30 23:34-0800\n"
|
7 |
+
"PO-Revision-Date: 2013-02-16 18:09+0900\n"
|
8 |
+
"Last-Translator: Jun SUGIMOTO <jun@understandard.net>\n"
|
9 |
+
"Language-Team: @ModernTribe <pro@tri.be>\n"
|
10 |
+
"Language: English\n"
|
11 |
+
"MIME-Version: 1.0\n"
|
12 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
+
"Content-Transfer-Encoding: 8bit\n"
|
14 |
+
"X-Generator: Poedit 1.5.5\n"
|
15 |
+
"X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
|
16 |
+
"X-Poedit-Basepath: .\n"
|
17 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
19 |
+
|
20 |
+
#: image-widget.php:40
|
21 |
+
msgid "Showcase a single image with a Title, URL, and a Description"
|
22 |
+
msgstr "単一の画像を表示します。"
|
23 |
+
|
24 |
+
#: image-widget.php:42
|
25 |
+
msgid "Image Widget"
|
26 |
+
msgstr "画像ウィジェット"
|
27 |
+
|
28 |
+
#: image-widget.php:74 views/widget-admin.php:13
|
29 |
+
msgid "Select an Image"
|
30 |
+
msgstr "画像を選択"
|
31 |
+
|
32 |
+
#: image-widget.php:75 lib/ImageWidgetDeprecated.php:66
|
33 |
+
msgid "Insert Into Widget"
|
34 |
+
msgstr "ウィジェットに挿入"
|
35 |
+
|
36 |
+
#: image-widget.php:390
|
37 |
+
#, php-format
|
38 |
+
msgid "Thanks for upgrading the Image Widget! If you like this plugin, please consider <a href=\"%s\" target=\"_blank\">rating it</a> and maybe even check out our premium plugins including our <a href=\"%s\" target=\"_blank\">Events Calendar Pro</a>!"
|
39 |
+
msgstr "画像ウィジェットのアップグレードありがとうございます!もしこのプラグインが気に入ったら、<a href=\"%s\" target=\"_blank\">評価</a>をしてください。また、<a href=\"%s\" target=\"_blank\">Events Calendar Pro</a> などの有料プラグインもチェックしてみてください!"
|
40 |
+
|
41 |
+
#: image-widget.php:405
|
42 |
+
#, php-format
|
43 |
+
msgid "Check out our other <a href=\"%s\" target=\"_blank\">plugins</a> including our <a href=\"%s\" target=\"_blank\">Events Calendar Pro</a>!"
|
44 |
+
msgstr "<a href=\"%s\" target=\"_blank\">Events Calendar Pro</a> を含む、その他の<a href=\"%s\" target=\"_blank\">プラグイン</a>もチェックしてみてください!"
|
45 |
+
|
46 |
+
#: views/widget-admin.deprecated.php:10 views/widget-admin.php:23
|
47 |
+
msgid "Title"
|
48 |
+
msgstr "タイトル"
|
49 |
+
|
50 |
+
#: views/widget-admin.deprecated.php:13
|
51 |
+
msgid "Image"
|
52 |
+
msgstr "画像"
|
53 |
+
|
54 |
+
#: views/widget-admin.deprecated.php:17
|
55 |
+
msgid "Change Image"
|
56 |
+
msgstr "画像を変更"
|
57 |
+
|
58 |
+
#: views/widget-admin.deprecated.php:17
|
59 |
+
msgid "Add Image"
|
60 |
+
msgstr "画像を追加"
|
61 |
+
|
62 |
+
#: views/widget-admin.deprecated.php:25 views/widget-admin.php:29
|
63 |
+
msgid "Caption"
|
64 |
+
msgstr "キャプション"
|
65 |
+
|
66 |
+
#: views/widget-admin.deprecated.php:28 views/widget-admin.php:32
|
67 |
+
msgid "Link"
|
68 |
+
msgstr "リンク"
|
69 |
+
|
70 |
+
#: views/widget-admin.deprecated.php:31 views/widget-admin.php:35
|
71 |
+
msgid "Stay in Window"
|
72 |
+
msgstr "同一ウィンドウで開く"
|
73 |
+
|
74 |
+
#: views/widget-admin.deprecated.php:32 views/widget-admin.php:36
|
75 |
+
msgid "Open New Window"
|
76 |
+
msgstr "新規ウィンドウで開く"
|
77 |
+
|
78 |
+
#: views/widget-admin.deprecated.php:35 views/widget-admin.php:66
|
79 |
+
msgid "Width"
|
80 |
+
msgstr "幅"
|
81 |
+
|
82 |
+
#: views/widget-admin.deprecated.php:38 views/widget-admin.php:69
|
83 |
+
msgid "Height"
|
84 |
+
msgstr "高さ"
|
85 |
+
|
86 |
+
#: views/widget-admin.deprecated.php:41 views/widget-admin.php:74
|
87 |
+
msgid "Align"
|
88 |
+
msgstr "配置"
|
89 |
+
|
90 |
+
#: views/widget-admin.deprecated.php:43 views/widget-admin.php:76
|
91 |
+
msgid "none"
|
92 |
+
msgstr "なし"
|
93 |
+
|
94 |
+
#: views/widget-admin.deprecated.php:44 views/widget-admin.php:77
|
95 |
+
msgid "left"
|
96 |
+
msgstr "左"
|
97 |
+
|
98 |
+
#: views/widget-admin.deprecated.php:45 views/widget-admin.php:78
|
99 |
+
msgid "center"
|
100 |
+
msgstr "中央"
|
101 |
+
|
102 |
+
#: views/widget-admin.deprecated.php:46 views/widget-admin.php:79
|
103 |
+
msgid "right"
|
104 |
+
msgstr "右"
|
105 |
+
|
106 |
+
#: views/widget-admin.deprecated.php:49 views/widget-admin.php:26
|
107 |
+
msgid "Alternate Text"
|
108 |
+
msgstr "代替テキスト"
|
109 |
+
|
110 |
+
#: views/widget-admin.php:44
|
111 |
+
msgid "Size"
|
112 |
+
msgstr "サイズ"
|
113 |
+
|
114 |
+
#: views/widget-admin.php:49
|
115 |
+
msgid "Full Size"
|
116 |
+
msgstr "フルサイズ"
|
117 |
+
|
118 |
+
#: views/widget-admin.php:50
|
119 |
+
msgid "Thumbnail"
|
120 |
+
msgstr "サムネイル"
|
121 |
+
|
122 |
+
#: views/widget-admin.php:51
|
123 |
+
msgid "Medium"
|
124 |
+
msgstr "中サイズ"
|
125 |
+
|
126 |
+
#: views/widget-admin.php:52
|
127 |
+
msgid "Large"
|
128 |
+
msgstr "大サイズ"
|
129 |
+
|
130 |
+
#: views/widget-admin.php:54
|
131 |
+
msgid "Custom"
|
132 |
+
msgstr "カスタム"
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== Image Widget ===
|
2 |
Contributors: ModernTribe, peterchester, mattwiebe
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4BSPTNFFY6AL6
|
4 |
-
Tags: widget, image, ad, banner, simple, upload, sidebar, admin, thickbox, resize, brazilian portuguese, dutch, italian, spanish, swedish, widget-only
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 3.6
|
7 |
-
Stable tag: 4.0.
|
8 |
|
9 |
== Description ==
|
10 |
|
@@ -22,9 +22,11 @@ A simple image widget that uses the native WordPress media manager to add image
|
|
22 |
|
23 |
Supported Languages:
|
24 |
|
|
|
25 |
* Brazilian Portuguese
|
26 |
* Dutch
|
27 |
* Italian
|
|
|
28 |
* Spanish
|
29 |
* Swedish
|
30 |
|
@@ -149,6 +151,11 @@ Accepts $instance arguments
|
|
149 |
|
150 |
== Changelog ==
|
151 |
|
|
|
|
|
|
|
|
|
|
|
152 |
= 4.0.4 =
|
153 |
|
154 |
Super minor fix to enable saving of a blank caption. (thanks @crdunst)
|
1 |
=== Image Widget ===
|
2 |
Contributors: ModernTribe, peterchester, mattwiebe
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4BSPTNFFY6AL6
|
4 |
+
Tags: widget, image, ad, banner, simple, upload, sidebar, admin, thickbox, resize, arabic, brazilian portuguese, dutch, italian, japanese, spanish, swedish, widget-only
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 3.6
|
7 |
+
Stable tag: 4.0.5
|
8 |
|
9 |
== Description ==
|
10 |
|
22 |
|
23 |
Supported Languages:
|
24 |
|
25 |
+
* Arabic
|
26 |
* Brazilian Portuguese
|
27 |
* Dutch
|
28 |
* Italian
|
29 |
+
* Japanese
|
30 |
* Spanish
|
31 |
* Swedish
|
32 |
|
151 |
|
152 |
== Changelog ==
|
153 |
|
154 |
+
= 4.0.5 =
|
155 |
+
|
156 |
+
* Added Japanese (and fixed a minor language string bug - thank you @understandard)
|
157 |
+
* Added Arabic (thank you @modmenpc)
|
158 |
+
|
159 |
= 4.0.4 =
|
160 |
|
161 |
Super minor fix to enable saving of a blank caption. (thanks @crdunst)
|
views/widget-admin.php
CHANGED
@@ -10,7 +10,7 @@ if ( !defined('ABSPATH') )
|
|
10 |
$id_prefix = $this->get_field_id('');
|
11 |
?>
|
12 |
<div class="uploader">
|
13 |
-
<input type="submit" class="button" name="<?php echo $this->get_field_name('uploader_button'); ?>" id="<?php echo $this->get_field_id('uploader_button'); ?>" value="<?php _e('Select an Image', '
|
14 |
<div class="tribe_preview" id="<?php echo $this->get_field_id('preview'); ?>">
|
15 |
<?php echo $this->get_image_html($instance, false); ?>
|
16 |
</div>
|
10 |
$id_prefix = $this->get_field_id('');
|
11 |
?>
|
12 |
<div class="uploader">
|
13 |
+
<input type="submit" class="button" name="<?php echo $this->get_field_name('uploader_button'); ?>" id="<?php echo $this->get_field_id('uploader_button'); ?>" value="<?php _e('Select an Image', 'image_widget'); ?>" onclick="imageWidget.uploader( '<?php echo $this->id; ?>', '<?php echo $id_prefix; ?>' ); return false;" />
|
14 |
<div class="tribe_preview" id="<?php echo $this->get_field_id('preview'); ?>">
|
15 |
<?php echo $this->get_image_html($instance, false); ?>
|
16 |
</div>
|