WP Better Emails - Version 0.2.2

Version Description

  • Added 3.3 compatibility
    • Turkish translation
Download this release

Release Info

Developer nlemoine
Plugin Icon 128x128 WP Better Emails
Version 0.2.2
Comparing to
See all releases

Code changes from version 0.2.1 to 0.2.2

langs/wp-better-emails-tr_TR.mo ADDED
Binary file
langs/wp-better-emails-tr_TR.po ADDED
@@ -0,0 +1,258 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WP Better Emails\n"
4
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-better-emails\n"
5
+ "POT-Creation-Date: 2011-09-06 23:22:41+00:00\n"
6
+ "PO-Revision-Date: 2011-09-12 17:37+0100\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: Team <plugins@artyshow-studio.fr>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
13
+ "X-Poedit-Language: \n"
14
+ "X-Poedit-Country: \n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
17
+ "X-Poedit-Basepath: \n"
18
+ "X-Poedit-Bookmarks: \n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+ "X-Textdomain-Support: yes"
21
+
22
+ #: wpbe-options.php:2
23
+ #: wpbe.php:161
24
+ #@ wp-better-emails
25
+ msgid "Email settings"
26
+ msgstr "E-posta ayarları"
27
+
28
+ #: wpbe-options.php:8
29
+ #@ wp-better-emails
30
+ msgid "Set your own sender name and email address. Default Wordpress values will be used if empty."
31
+ msgstr "Kendi gönderici adı ve e-posta adresinizi ayarlayın. Eğer boş kalırsa, Wordpress'in varsayılan ayarları kullanılacaktır."
32
+
33
+ #: wpbe-options.php:11
34
+ #@ wp-better-emails
35
+ msgid "Name"
36
+ msgstr "Gönderici Adı"
37
+
38
+ #: wpbe-options.php:15
39
+ #@ wp-better-emails
40
+ msgid "Email address"
41
+ msgstr "E-Posta Adresi"
42
+
43
+ #: wpbe-options.php:21
44
+ #@ wp-better-emails
45
+ msgid "HTML Template"
46
+ msgstr "HTML Şablonu"
47
+
48
+ #: wpbe-options.php:23
49
+ #@ wp-better-emails
50
+ msgid "Live template preview"
51
+ msgstr "Canlı şablon önizleme"
52
+
53
+ #: wpbe-options.php:23
54
+ #@ wp-better-emails
55
+ msgid "Live preview"
56
+ msgstr "Canlı önizleme"
57
+
58
+ #: wpbe-options.php:34
59
+ #@ wp-better-emails
60
+ msgid "Send an email preview to"
61
+ msgstr "Deneme amaçlı önizleme e-postası gönder:"
62
+
63
+ #: wpbe-options.php:38
64
+ #@ wp-better-emails
65
+ msgid "Send"
66
+ msgstr "Gönder"
67
+
68
+ #: wpbe-options.php:40
69
+ #@ wp-better-emails
70
+ msgid "You must save your template before sending an email preview."
71
+ msgstr "Önizleme e-postası göndermeden önce şablonu kaydetmeniz gerekmektedir."
72
+
73
+ #: wpbe-options.php:45
74
+ #@ wp-better-emails
75
+ msgid "Save Changes"
76
+ msgstr "Değişiklikleri Kaydet"
77
+
78
+ #: wpbe-options.php:50
79
+ #@ wp-better-emails
80
+ msgid "Support & bug report"
81
+ msgstr "Destek ve hata raporu gönderimi"
82
+
83
+ #: wpbe-options.php:51
84
+ #@ wp-better-emails
85
+ msgid "If you have any idea to improve this plugin or any bug to report, please email me at : <a href=\"mailto:plugins@artyshow-studio.fr?subject=[wp-better-emails]\">plugins@artyshow-studio.fr</a>"
86
+ msgstr "Eğer bu eklentiyi geliştirmek için yeni bir fikriniz varsa, lütfen <a href=\"mailto:plugins@artyshow-studio.fr?subject=[wp-better-emails]\">plugins@artyshow-studio.fr</a> posta adresine e-posta gönderin."
87
+
88
+ #: wpbe-options.php:53
89
+ #, php-format
90
+ #@ wp-better-emails
91
+ msgid "You like this plugin ? You use it in a business context ? Please, consider a <a href=\"%s\" target=\"_blank\" rel=\"external\">donation</a>."
92
+ msgstr "Bu eklentiyi beğendiniz mi? Bu eklentiyi ticari içerik de mi kullanıyorsınuz? Lütfen <a href=\"%s\" target=\"_blank\" rel=\"external\">bağış</a> yapmayı düşünün."
93
+
94
+ #: templates/template-1.php:38
95
+ #@ wp-better-emails
96
+ msgid "Date"
97
+ msgstr "Tarih"
98
+
99
+ #: templates/template-1.php:38
100
+ #@ wp-better-emails
101
+ msgid "Email sent"
102
+ msgstr "E-Posta Gönderilme Tarihi"
103
+
104
+ #: templates/template-1.php:39
105
+ #@ wp-better-emails
106
+ msgid "Contact"
107
+ msgstr "İletişim"
108
+
109
+ #: templates/template-1.php:39
110
+ #@ wp-better-emails
111
+ msgid "For any requests, please contact"
112
+ msgstr "Herhangi bir soru veya talebinizi yetkiliye iletebilirsiniz:"
113
+
114
+ #: wpbe.php:134
115
+ #@ wp-better-emails
116
+ msgid "Settings"
117
+ msgstr "Ayarlar"
118
+
119
+ #: wpbe.php:150
120
+ #@ wp-better-emails
121
+ msgid "WP Better Emails requires WordPress 2.8 or newer."
122
+ msgstr "WP Better Emails eklentisi WordPress 2.8 veya daha yeni bir sürüm gerektirmektedir."
123
+
124
+ #: wpbe.php:150
125
+ #@ wp-better-emails
126
+ msgid "Upgrade your Wordpress installation."
127
+ msgstr "Wordpress kurulumunuzu yükseltin."
128
+
129
+ #: wpbe.php:161
130
+ #@ wp-better-emails
131
+ msgid "WP Better Emails"
132
+ msgstr "WP Daha İyi E-Postalar"
133
+
134
+ #: wpbe.php:233
135
+ #@ wp-better-emails
136
+ msgid "Please enter a valid sender email address."
137
+ msgstr "Lütfen geçerli bir gönderici e-posta adresinizi girin."
138
+
139
+ #: wpbe.php:243
140
+ #@ wp-better-emails
141
+ msgid "Template is empty"
142
+ msgstr "Şablon boş"
143
+
144
+ #: wpbe.php:246
145
+ #, php-format
146
+ #@ wp-better-emails
147
+ msgid "No content tag found. The %content% tag is required in your template"
148
+ msgstr "İçerik etiketi bulunamadı. %content% etikletini şablonunuzda kullanmak zorundasınız."
149
+
150
+ #: wpbe.php:264
151
+ #@ wp-better-emails
152
+ msgid "Please enter an email"
153
+ msgstr "Lütfen bir e-posta adresi girin"
154
+
155
+ #: wpbe.php:266
156
+ #@ wp-better-emails
157
+ msgid "Please enter a valid email"
158
+ msgstr "Lütfen geçerli bir e-posta adresi girin"
159
+
160
+ #: wpbe.php:267
161
+ #@ wp-better-emails
162
+ msgid "Hey !"
163
+ msgstr "Hey !"
164
+
165
+ #: wpbe.php:269
166
+ #@ wp-better-emails
167
+ msgid "This is a sample email to test your HTML template."
168
+ msgstr "Bu, HTML şablonu test etmek için örnek bir e-postadır."
169
+
170
+ #: wpbe.php:271
171
+ #@ wp-better-emails
172
+ msgid "If you're not skilled in HTML/CSS email coding, I strongly recommend to leave the default template as it is. It has been tested on various and popular email clients like Gmail, Yahoo Mail, Hotmail/Live, Thunderbird, Apple Mail, Outlook, and many more."
173
+ msgstr "HTML / CSS e-posta kodlama konusunda yetenekli değilseniz, varsayılan şablonu olduğu gibi bırakmanızı şiddetle tavsiye ediyorum. Bu şablon, Gmail, Yahoo Mail, Hotmail / Live, Thunderbird, Apple Mail, Outlook gibi çok çeşitli ve popüler e-posta istemcileri üzerinde test edilmiştir."
174
+
175
+ #: wpbe.php:273
176
+ #@ wp-better-emails
177
+ msgid "If you have any problems or any suggestions to improve this plugin, please let me know."
178
+ msgstr "Bu eklentiyi geliştirmek için herhangi bir sorun veya herhangi bir öneriniz varsa, lütfen bana bildirin."
179
+
180
+ #: wpbe.php:275
181
+ #@ wp-better-emails
182
+ msgid "Email template preview"
183
+ msgstr "E-posta şablon önizleme"
184
+
185
+ #: wpbe.php:276
186
+ #, php-format
187
+ #@ wp-better-emails
188
+ msgid "An email preview has been successfully sent to %s"
189
+ msgstr "Bir e-posta önizleme %s adresine başarıyla gönderildi."
190
+
191
+ #: wpbe.php:278
192
+ #@ wp-better-emails
193
+ msgid "An error occured while sending email. Please check your server configuration."
194
+ msgstr "E-posta gönderirken bir hata oluştu. Sunucu yapılandırmasını kontrol edin."
195
+
196
+ #: wpbe.php:415
197
+ #@ wp-better-emails
198
+ msgid "Some dynamic tags can be included in your email template :"
199
+ msgstr "Bazı dinamik etiketler, e-posta şablonuna eklenebilir:"
200
+
201
+ #: wpbe.php:417
202
+ #, php-format
203
+ #@ wp-better-emails
204
+ msgid "<strong>%content%</strong> : will be replaced with the message content."
205
+ msgstr "<strong>%content%</strong> mesaj içeriğiniz ile değiştirilecektir."
206
+
207
+ #: wpbe.php:418
208
+ #@ wp-better-emails
209
+ msgid "NOTE: The content tag is <strong>required</strong>, WP Better Emails will be automatically desactivated if no content tag is found."
210
+ msgstr "NOT: içerik etiketi <strong>gereklidir</strong>, WP Daha İyi E-Postalar eklentisi içerik etiketi olmadığı zaman otomatik olarak etkisizleştirilecektir."
211
+
212
+ #: wpbe.php:419
213
+ #, php-format
214
+ #@ wp-better-emails
215
+ msgid "<strong>%blog_url%</strong> : will be replaced with your blog URL."
216
+ msgstr "<strong>%blog_url%</strong> etiketi blog adresiniz ile değiştirilecektir."
217
+
218
+ #: wpbe.php:420
219
+ #, php-format
220
+ #@ wp-better-emails
221
+ msgid "<strong>%home_url%</strong> : will be replaced with your home URL."
222
+ msgstr "<strong>%home_url%</strong> etiketi ana sayfa adresiniz ile değiştirilecektir."
223
+
224
+ #: wpbe.php:421
225
+ #, php-format
226
+ #@ wp-better-emails
227
+ msgid "<strong>%blog_name%</strong> : will be replaced with your blog name."
228
+ msgstr "<strong>%blog_name%</strong> etiketi site isminiz ile değiştirilecektir."
229
+
230
+ #: wpbe.php:422
231
+ #, php-format
232
+ #@ wp-better-emails
233
+ msgid "<strong>%blog_description%</strong> : will be replaced with your blog description."
234
+ msgstr "<strong>%blog_description%</strong> etiketi site sloganınız ile değiştirilecektir."
235
+
236
+ #: wpbe.php:423
237
+ #, php-format
238
+ #@ wp-better-emails
239
+ msgid "<strong>%admin_email%</strong> : will be replaced with admin email."
240
+ msgstr "<strong>%admin_email%</strong> etiketi yönetici e-posta adresi ile değiştirilecektir."
241
+
242
+ #: wpbe.php:424
243
+ #, php-format
244
+ #@ wp-better-emails
245
+ msgid "<strong>%date%</strong> : will be replaced with current date, as formatted in <a href=\"options-general.php\">general options</a>."
246
+ msgstr "<strong>%date%</strong> etiketi şu anki tarih ile değiştirilecektir. <a href=\"options-general.php\">Genel Ayarlar</a>'daki tarih biçimi kullanılacaktır."
247
+
248
+ #: wpbe.php:425
249
+ #, php-format
250
+ #@ wp-better-emails
251
+ msgid "<strong>%time%</strong> : will be replaced with current time, as formatted in <a href=\"options-general.php\">general options</a>."
252
+ msgstr "<strong>%time%</strong> etiketi şu anki saat ile değiştirilecektir. <a href=\"options-general.php\">Genel Ayarlar</a>'daki saat biçimi kullanılacaktır."
253
+
254
+ #: wpbe-options.php:26
255
+ #@ wp-better-emails
256
+ msgid "Edit the HTML email template if you want to customize it. You might have a look at the <a href=\"#\" id=\"wpbe_help\">help tab</a> for further information."
257
+ msgstr "HTML şablonunu değiştirmek isterseniz burada düzenleyebilirsiniz.Daha ayrıntılı bilgi için <a href=\"#\" id=\"wpbe_help\">Yardım Sekmesi</a>ne bakabilirsiniz."
258
+
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=7Q49VJQNRCQ8E&lc=FR&item_name=ArtyShow&item_number=wp%2dbetter%2demails&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
3
  Tags: email, emails, html emails, templates, notification, wp_mail, wpmu, multisite
4
  Requires at least: 2.8
5
- Tested up to: 3.2+
6
- Stable tag: 0.2.1
7
 
8
  Adds a customizable good looking HTML template to all WP default plain/text emails and lets you set
9
  a custom sender name and email address.
@@ -40,6 +40,7 @@ WP Better Emails is currently available in :
40
  * French
41
  * German - [Robert Tremmel](http://roberttremmel.de/ "Robert Tremmel")
42
  * Hebrew - [Avi Ben-Avraham](mailto:avi@nrich.co.il "Avi Ben-Avraham")
 
43
 
44
  I'm looking for translators to extend to other languages. If you have translated the plugin in your language or want to,
45
  please let me know : plugins [ at ] artyshow-studio.fr
@@ -116,6 +117,11 @@ You can place this function in your functions.php theme file or in a plugin.
116
 
117
  == Changelog ==
118
 
 
 
 
 
 
119
  = 0.2.1 =
120
 
121
  * Editor role bug fix
2
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=7Q49VJQNRCQ8E&lc=FR&item_name=ArtyShow&item_number=wp%2dbetter%2demails&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
3
  Tags: email, emails, html emails, templates, notification, wp_mail, wpmu, multisite
4
  Requires at least: 2.8
5
+ Tested up to: 3.3
6
+ Stable tag: 0.2.2
7
 
8
  Adds a customizable good looking HTML template to all WP default plain/text emails and lets you set
9
  a custom sender name and email address.
40
  * French
41
  * German - [Robert Tremmel](http://roberttremmel.de/ "Robert Tremmel")
42
  * Hebrew - [Avi Ben-Avraham](mailto:avi@nrich.co.il "Avi Ben-Avraham")
43
+ * Turkish - [Ünsal Korkmaz](http://www.unsalkorkmaz.com/ "Ünsal Korkmaz")
44
 
45
  I'm looking for translators to extend to other languages. If you have translated the plugin in your language or want to,
46
  please let me know : plugins [ at ] artyshow-studio.fr
117
 
118
  == Changelog ==
119
 
120
+ = 0.2.2 =
121
+
122
+ * Added 3.3 compatibility
123
+ * Turkish translation
124
+
125
  = 0.2.1 =
126
 
127
  * Editor role bug fix
wpbe.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP Better Emails
4
  Plugin URI: http://wordpress.org/extend/plugins/wp-better-emails/
5
  Description: Beautify the default text/plain WP mails into fully customizable HTML emails.
6
- Version: 0.2.1
7
  Author: ArtyShow
8
  Author URI: http://wordpress.org/extend/plugins/wp-better-emails/
9
  License: GPLv2
@@ -73,7 +73,8 @@ if (!class_exists('WP_Better_Emails')) {
73
  add_action('admin_init', array(&$this, 'init'));
74
  add_action('admin_menu', array(&$this, 'admin_menu'));
75
  add_action('wp_ajax_send_preview', array(&$this, 'ajax_send_preview'));
76
- add_action("admin_head", array(&$this, 'load_wp_tiny_mce'));
 
77
  if( version_compare($wp_version, '3.2', '<') && version_compare($wp_version, '3.0.6', '>') )
78
  add_action( 'admin_print_footer_scripts', 'wp_tiny_mce_preload_dialogs');
79
 
@@ -158,7 +159,7 @@ if (!class_exists('WP_Better_Emails')) {
158
  * @since 0.1
159
  */
160
  function admin_menu() {
161
- $this->page = add_options_page(__('Email settings', 'wp-better-emails'), __('WP Better Emails', 'wp-better-emails'), 'add_users', 'wpbe_options', array(&$this, 'admin_page'));
162
  add_action('admin_print_scripts-' . $this->page, array(&$this, 'admin_print_script'));
163
  add_action('admin_print_styles-' . $this->page, array(&$this, 'admin_print_style'));
164
  }
@@ -172,9 +173,7 @@ if (!class_exists('WP_Better_Emails')) {
172
  */
173
  function is_wpbe_page() {
174
  global $page_hook;
175
- if( $this->page === false )
176
- return false;
177
- if ( $this->page == $page_hook )
178
  return true;
179
  return false;
180
  }
@@ -514,8 +513,8 @@ if (!class_exists('WP_Better_Emails')) {
514
  <?php
515
  } else {
516
  // WP >= 3.3
517
- $settings = array('wpautop' => false, 'editor_class' => 'wpbe_template', 'quicktags' => true);
518
- wp_editor($template, 'wpbe_options[template]', $settings);
519
  }
520
  }
521
 
3
  Plugin Name: WP Better Emails
4
  Plugin URI: http://wordpress.org/extend/plugins/wp-better-emails/
5
  Description: Beautify the default text/plain WP mails into fully customizable HTML emails.
6
+ Version: 0.2.2
7
  Author: ArtyShow
8
  Author URI: http://wordpress.org/extend/plugins/wp-better-emails/
9
  License: GPLv2
73
  add_action('admin_init', array(&$this, 'init'));
74
  add_action('admin_menu', array(&$this, 'admin_menu'));
75
  add_action('wp_ajax_send_preview', array(&$this, 'ajax_send_preview'));
76
+ if(version_compare($wp_version, '3.3', '<'))
77
+ add_action('admin_head', array(&$this, 'load_wp_tiny_mce'));
78
  if( version_compare($wp_version, '3.2', '<') && version_compare($wp_version, '3.0.6', '>') )
79
  add_action( 'admin_print_footer_scripts', 'wp_tiny_mce_preload_dialogs');
80
 
159
  * @since 0.1
160
  */
161
  function admin_menu() {
162
+ $this->page = add_options_page(__('Email settings', 'wp-better-emails'), __('WP Better Emails', 'wp-better-emails'), 'administrator', 'wpbe_options', array(&$this, 'admin_page'));
163
  add_action('admin_print_scripts-' . $this->page, array(&$this, 'admin_print_script'));
164
  add_action('admin_print_styles-' . $this->page, array(&$this, 'admin_print_style'));
165
  }
173
  */
174
  function is_wpbe_page() {
175
  global $page_hook;
176
+ if ($page_hook == $this->page)
 
 
177
  return true;
178
  return false;
179
  }
513
  <?php
514
  } else {
515
  // WP >= 3.3
516
+ $settings = array('wpautop' => false, 'editor_class' => 'wpbe_template', 'quicktags' => false);
517
+ wp_editor($this->options['template'], 'wpbe_options[template]', $settings);
518
  }
519
  }
520