Email Log - Version 0.8.1

Version Description

Download this release

Release Info

Developer sudar
Plugin Icon 128x128 Email Log
Version 0.8.1
Comparing to
See all releases

Code changes from version 0.8 to 0.8.1

Files changed (3) hide show
  1. email-log.php +10 -8
  2. languages/email-log.pot +69 -67
  3. readme.txt +8 -5
email-log.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://sudarmuthu.com/wordpress/email-log
5
  Description: Logs every email sent through WordPress. Compatiable with WPMU too.
6
  Donate Link: http://sudarmuthu.com/if-you-wanna-thank-me
7
  Author: Sudar
8
- Version: 0.8
9
  Author URI: http://sudarmuthu.com/
10
  Text Domain: email-log
11
 
@@ -26,6 +26,8 @@ Text Domain: email-log
26
  2012-07-12 - v0.8 - (Dev time: 1 hour)
27
  - Fixed undefined notices - http://wordpress.org/support/topic/plugin-email-log-notices-undefined-indices
28
  - Added Dutch translations
 
 
29
 
30
  */
31
  /* Copyright 2009 Sudar Muthu (email : sudar@sudarmuthu.com)
@@ -229,9 +231,9 @@ class EmailLog {
229
  if ('' != $to_email) {
230
  $delete_logs = $wpdb->query("DELETE FROM $this->table_name where to_email = '$to_email'");
231
  if($delete_logs) {
232
- $text = '<font color="green">'.sprintf(__('All Email Logs For email id %s Have Been Deleted.', 'email-log'), $to_email).'</font>';
233
  } else {
234
- $text = '<font color="red">'.sprintf(__('An error has occurred while deleting All Email Logs For email id %s.', 'email-log'), $to_email).'</font>';
235
  }
236
  }
237
 
@@ -239,9 +241,9 @@ class EmailLog {
239
  if ('' != $subject) {
240
  $delete_logs = $wpdb->query("DELETE FROM $this->table_name where subject = '$subject'");
241
  if($delete_logs) {
242
- $text .= '<font color="green">'.sprintf(__('All Email Logs With Subject %s Have Been Deleted.', 'email-log'), $subject).'</font>';
243
  } else {
244
- $text .= '<font color="red">'.sprintf(__('An Error Has Occurred While Deleting All Email Logs With Subject %s.', 'email-log'), $subject).'</font>';
245
  }
246
  }
247
  break;
@@ -249,9 +251,9 @@ class EmailLog {
249
  // Delete all
250
  $delete_logs = $wpdb->query("DELETE FROM $this->table_name ");
251
  if ($delete_logs) {
252
- $text = '<font color="green">'.__('All Email log Has Been Deleted.', 'email-log').'</font><br />';
253
  } else {
254
- $text = '<font color="red">'.__('An Error Has Occurred While Deleting All Email Logs', 'email-log').'</font>';
255
  }
256
  break;
257
  }
@@ -501,7 +503,7 @@ jQuery('document').ready(function() {
501
  $i++;
502
  }
503
  } else {
504
- echo '<tr><td colspan="7" align="center"><strong>'.__('No email Logs Found', 'email-log').'</strong></td></tr>';
505
  }
506
  ?>
507
  </tbody>
5
  Description: Logs every email sent through WordPress. Compatiable with WPMU too.
6
  Donate Link: http://sudarmuthu.com/if-you-wanna-thank-me
7
  Author: Sudar
8
+ Version: 0.8.1
9
  Author URI: http://sudarmuthu.com/
10
  Text Domain: email-log
11
 
26
  2012-07-12 - v0.8 - (Dev time: 1 hour)
27
  - Fixed undefined notices - http://wordpress.org/support/topic/plugin-email-log-notices-undefined-indices
28
  - Added Dutch translations
29
+ 2012-07-23 - v0.8.1 - (Dev time: 0.5 hour)
30
+ - Reworded most error messages and fixed lot of typos
31
 
32
  */
33
  /* Copyright 2009 Sudar Muthu (email : sudar@sudarmuthu.com)
231
  if ('' != $to_email) {
232
  $delete_logs = $wpdb->query("DELETE FROM $this->table_name where to_email = '$to_email'");
233
  if($delete_logs) {
234
+ $text = '<font color="green">'.sprintf(__('All Email Logs for email id "%s" have been deleted.', 'email-log'), $to_email).'</font>';
235
  } else {
236
+ $text = '<font color="red">'.sprintf(__('An error has occurred while deleting all Email Logs for email id "%s".', 'email-log'), $to_email).'</font>';
237
  }
238
  }
239
 
241
  if ('' != $subject) {
242
  $delete_logs = $wpdb->query("DELETE FROM $this->table_name where subject = '$subject'");
243
  if($delete_logs) {
244
+ $text .= '<font color="green">'.sprintf(__('All Email Logs with subject "%s" have been deleted.', 'email-log'), $subject).'</font>';
245
  } else {
246
+ $text .= '<font color="red">'.sprintf(__('An error has occurred while deleting all Email Logs with subject "%s".', 'email-log'), $subject).'</font>';
247
  }
248
  }
249
  break;
251
  // Delete all
252
  $delete_logs = $wpdb->query("DELETE FROM $this->table_name ");
253
  if ($delete_logs) {
254
+ $text = '<font color="green">'.__('All Email Logs were deleted.', 'email-log').'</font><br />';
255
  } else {
256
+ $text = '<font color="red">'.__('An error has occurred while deleting all Email Logs', 'email-log').'</font>';
257
  }
258
  break;
259
  }
503
  $i++;
504
  }
505
  } else {
506
+ echo '<tr><td colspan="7" align="center"><strong>'.__('No Email Logs were found', 'email-log').'</strong></td></tr>';
507
  }
508
  ?>
509
  </tbody>
languages/email-log.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the Email Log package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Email Log 0.6\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/email-log\n"
7
- "POT-Creation-Date: 2012-04-29 17:11:23+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -12,234 +12,236 @@ msgstr ""
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
- #. #-#-#-#-# plugin.pot (Email Log 0.6) #-#-#-#-#
16
  #. Plugin Name of the plugin/theme
17
- #: email-log.php:85
18
  msgid "Email Log"
19
  msgstr ""
20
 
21
- #: email-log.php:106
22
  msgid "About Plugin"
23
  msgstr ""
24
 
25
- #: email-log.php:108
26
  msgid ""
27
  "Email Log WordPress Plugin, allows you to log all emails that are sent "
28
  "through WordPress."
29
  msgstr ""
30
 
31
- #: email-log.php:115
32
  msgid "More information"
33
  msgstr ""
34
 
35
- #: email-log.php:116
36
  msgid "Plugin Homepage/support"
37
  msgstr ""
38
 
39
- #: email-log.php:117
40
  msgid "Plugin author's blog"
41
  msgstr ""
42
 
43
- #: email-log.php:118
44
  msgid "Other Plugin's by Author"
45
  msgstr ""
46
 
47
- #: email-log.php:125
48
  msgid "Entries per page"
49
  msgstr ""
50
 
51
- #: email-log.php:163
52
  msgid "Settings"
53
  msgstr ""
54
 
55
- #: email-log.php:173
56
  msgid "plugin"
57
  msgstr ""
58
 
59
- #: email-log.php:173
60
  msgid "Version"
61
  msgstr ""
62
 
63
- #: email-log.php:173
64
  msgid "by"
65
  msgstr ""
66
 
67
- #: email-log.php:203 email-log.php:555 email-log.php:578
68
  msgid "Delete Logs"
69
  msgstr ""
70
 
71
- #: email-log.php:212
72
  msgid "The selected Email Logs have been deleted."
73
  msgstr ""
74
 
75
- #: email-log.php:214
76
  msgid "An error has occurred while deleting the selected Email logs"
77
  msgstr ""
78
 
79
- #: email-log.php:223
80
- msgid "All Email Logs For email id %s Have Been Deleted."
81
  msgstr ""
82
 
83
- #: email-log.php:225
84
- msgid "An error has occurred while deleting All Email Logs For email id %s."
 
85
  msgstr ""
86
 
87
- #: email-log.php:233
88
- msgid "All Email Logs With Subject %s Have Been Deleted."
89
  msgstr ""
90
 
91
- #: email-log.php:235
92
- msgid "An Error Has Occurred While Deleting All Email Logs With Subject %s."
 
93
  msgstr ""
94
 
95
- #: email-log.php:243
96
- msgid "All Email log Has Been Deleted."
97
  msgstr ""
98
 
99
- #: email-log.php:245
100
- msgid "An Error Has Occurred While Deleting All Email Logs"
101
  msgstr ""
102
 
103
- #: email-log.php:275 email-log.php:370 email-log.php:452 email-log.php:489
104
  msgid "ID"
105
  msgstr ""
106
 
107
- #: email-log.php:279 email-log.php:371 email-log.php:571
108
  msgid "To Email"
109
  msgstr ""
110
 
111
- #: email-log.php:283 email-log.php:372 email-log.php:455 email-log.php:492
112
- #: email-log.php:573
113
  msgid "Subject"
114
  msgstr ""
115
 
116
- #: email-log.php:288 email-log.php:373
117
  msgid "Date"
118
  msgstr ""
119
 
120
- #: email-log.php:295 email-log.php:377
121
  msgid "Ascending"
122
  msgstr ""
123
 
124
- #: email-log.php:300 email-log.php:378
125
  msgid "Descending"
126
  msgstr ""
127
 
128
- #: email-log.php:348
129
  msgid "Email Log Settings"
130
  msgstr ""
131
 
132
- #: email-log.php:356
133
  msgid "Filter Options:"
134
  msgstr ""
135
 
136
- #: email-log.php:358
137
  msgid "ID:"
138
  msgstr ""
139
 
140
- #: email-log.php:360
141
  msgid "To Email:"
142
  msgstr ""
143
 
144
- #: email-log.php:362
145
  msgid "Subject:"
146
  msgstr ""
147
 
148
- #: email-log.php:367
149
  msgid "Sort Options:"
150
  msgstr ""
151
 
152
- #: email-log.php:383
153
  msgid "Filter"
154
  msgstr ""
155
 
156
- #: email-log.php:388
157
  msgid ""
158
  "Displaying <strong>%s</strong> to <strong>%s</strong> of <strong>%s</strong> "
159
  "Email log entries."
160
  msgstr ""
161
 
162
- #: email-log.php:389
163
  msgid "Sorted by <strong>%s</strong> in <strong>%s</strong> order."
164
  msgstr ""
165
 
166
- #: email-log.php:401 email-log.php:504
167
  msgid "Previous Page"
168
  msgstr ""
169
 
170
- #: email-log.php:408 email-log.php:511
171
  msgid "Pages (%s): "
172
  msgstr ""
173
 
174
- #: email-log.php:411 email-log.php:514
175
  msgid "Go to First Page"
176
  msgstr ""
177
 
178
- #: email-log.php:411 email-log.php:514
179
  msgid "First"
180
  msgstr ""
181
 
182
- #: email-log.php:414 email-log.php:426 email-log.php:517 email-log.php:529
183
  msgid "Go to Page"
184
  msgstr ""
185
 
186
- #: email-log.php:421 email-log.php:524
187
  msgid "Page"
188
  msgstr ""
189
 
190
- #: email-log.php:429 email-log.php:532
191
  msgid "Go to Last Page"
192
  msgstr ""
193
 
194
- #: email-log.php:429 email-log.php:532
195
  msgid "Last"
196
  msgstr ""
197
 
198
- #: email-log.php:436 email-log.php:539
199
  msgid "Next Page"
200
  msgstr ""
201
 
202
- #: email-log.php:453 email-log.php:490
203
  msgid "Date / Time"
204
  msgstr ""
205
 
206
- #: email-log.php:454 email-log.php:491
207
  msgid "To"
208
  msgstr ""
209
 
210
- #: email-log.php:469
211
  msgid "%s @ %s"
212
  msgstr ""
213
 
214
- #: email-log.php:482
215
- msgid "No email Logs Found"
216
  msgstr ""
217
 
218
- #: email-log.php:559
219
  msgid "Delete Type : "
220
  msgstr ""
221
 
222
- #: email-log.php:562
223
  msgid "Selected entries"
224
  msgstr ""
225
 
226
- #: email-log.php:563
227
  msgid "Based on"
228
  msgstr ""
229
 
230
- #: email-log.php:564
231
  msgid "All Logs"
232
  msgstr ""
233
 
234
- #: email-log.php:569
235
  msgid "Condition:"
236
  msgstr ""
237
 
238
- #: email-log.php:572
239
  msgid "or"
240
  msgstr ""
241
 
242
- #: email-log.php:578
243
  msgid ""
244
  "You Are About To Delete Email Logs.\\nThis Action Is Not Reversible.\\n\\n "
245
  "Choose \\'Cancel\\' to stop, \\'OK\\' to delete."
2
  # This file is distributed under the same license as the Email Log package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Email Log 0.8.1\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/email-log\n"
7
+ "POT-Creation-Date: 2012-07-23 16:21:31+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
+ #. #-#-#-#-# plugin.pot (Email Log 0.8.1) #-#-#-#-#
16
  #. Plugin Name of the plugin/theme
17
+ #: email-log.php:96
18
  msgid "Email Log"
19
  msgstr ""
20
 
21
+ #: email-log.php:117
22
  msgid "About Plugin"
23
  msgstr ""
24
 
25
+ #: email-log.php:119
26
  msgid ""
27
  "Email Log WordPress Plugin, allows you to log all emails that are sent "
28
  "through WordPress."
29
  msgstr ""
30
 
31
+ #: email-log.php:126
32
  msgid "More information"
33
  msgstr ""
34
 
35
+ #: email-log.php:127
36
  msgid "Plugin Homepage/support"
37
  msgstr ""
38
 
39
+ #: email-log.php:128
40
  msgid "Plugin author's blog"
41
  msgstr ""
42
 
43
+ #: email-log.php:129
44
  msgid "Other Plugin's by Author"
45
  msgstr ""
46
 
47
+ #: email-log.php:136
48
  msgid "Entries per page"
49
  msgstr ""
50
 
51
+ #: email-log.php:174
52
  msgid "Settings"
53
  msgstr ""
54
 
55
+ #: email-log.php:184
56
  msgid "plugin"
57
  msgstr ""
58
 
59
+ #: email-log.php:184
60
  msgid "Version"
61
  msgstr ""
62
 
63
+ #: email-log.php:184
64
  msgid "by"
65
  msgstr ""
66
 
67
+ #: email-log.php:214 email-log.php:579 email-log.php:602
68
  msgid "Delete Logs"
69
  msgstr ""
70
 
71
+ #: email-log.php:223
72
  msgid "The selected Email Logs have been deleted."
73
  msgstr ""
74
 
75
+ #: email-log.php:225
76
  msgid "An error has occurred while deleting the selected Email logs"
77
  msgstr ""
78
 
79
+ #: email-log.php:234
80
+ msgid "All Email Logs for email id \"%s\" have been deleted."
81
  msgstr ""
82
 
83
+ #: email-log.php:236
84
+ msgid ""
85
+ "An error has occurred while deleting all Email Logs for email id \"%s\"."
86
  msgstr ""
87
 
88
+ #: email-log.php:244
89
+ msgid "All Email Logs with subject \"%s\" have been deleted."
90
  msgstr ""
91
 
92
+ #: email-log.php:246
93
+ msgid ""
94
+ "An error has occurred while deleting all Email Logs with subject \"%s\"."
95
  msgstr ""
96
 
97
+ #: email-log.php:254
98
+ msgid "All Email Logs were deleted."
99
  msgstr ""
100
 
101
+ #: email-log.php:256
102
+ msgid "An error has occurred while deleting all Email Logs"
103
  msgstr ""
104
 
105
+ #: email-log.php:286 email-log.php:394 email-log.php:476 email-log.php:513
106
  msgid "ID"
107
  msgstr ""
108
 
109
+ #: email-log.php:290 email-log.php:395 email-log.php:595
110
  msgid "To Email"
111
  msgstr ""
112
 
113
+ #: email-log.php:294 email-log.php:396 email-log.php:479 email-log.php:516
114
+ #: email-log.php:597
115
  msgid "Subject"
116
  msgstr ""
117
 
118
+ #: email-log.php:299 email-log.php:397
119
  msgid "Date"
120
  msgstr ""
121
 
122
+ #: email-log.php:306 email-log.php:401
123
  msgid "Ascending"
124
  msgstr ""
125
 
126
+ #: email-log.php:311 email-log.php:402
127
  msgid "Descending"
128
  msgstr ""
129
 
130
+ #: email-log.php:372
131
  msgid "Email Log Settings"
132
  msgstr ""
133
 
134
+ #: email-log.php:380
135
  msgid "Filter Options:"
136
  msgstr ""
137
 
138
+ #: email-log.php:382
139
  msgid "ID:"
140
  msgstr ""
141
 
142
+ #: email-log.php:384
143
  msgid "To Email:"
144
  msgstr ""
145
 
146
+ #: email-log.php:386
147
  msgid "Subject:"
148
  msgstr ""
149
 
150
+ #: email-log.php:391
151
  msgid "Sort Options:"
152
  msgstr ""
153
 
154
+ #: email-log.php:407
155
  msgid "Filter"
156
  msgstr ""
157
 
158
+ #: email-log.php:412
159
  msgid ""
160
  "Displaying <strong>%s</strong> to <strong>%s</strong> of <strong>%s</strong> "
161
  "Email log entries."
162
  msgstr ""
163
 
164
+ #: email-log.php:413
165
  msgid "Sorted by <strong>%s</strong> in <strong>%s</strong> order."
166
  msgstr ""
167
 
168
+ #: email-log.php:425 email-log.php:528
169
  msgid "Previous Page"
170
  msgstr ""
171
 
172
+ #: email-log.php:432 email-log.php:535
173
  msgid "Pages (%s): "
174
  msgstr ""
175
 
176
+ #: email-log.php:435 email-log.php:538
177
  msgid "Go to First Page"
178
  msgstr ""
179
 
180
+ #: email-log.php:435 email-log.php:538
181
  msgid "First"
182
  msgstr ""
183
 
184
+ #: email-log.php:438 email-log.php:450 email-log.php:541 email-log.php:553
185
  msgid "Go to Page"
186
  msgstr ""
187
 
188
+ #: email-log.php:445 email-log.php:548
189
  msgid "Page"
190
  msgstr ""
191
 
192
+ #: email-log.php:453 email-log.php:556
193
  msgid "Go to Last Page"
194
  msgstr ""
195
 
196
+ #: email-log.php:453 email-log.php:556
197
  msgid "Last"
198
  msgstr ""
199
 
200
+ #: email-log.php:460 email-log.php:563
201
  msgid "Next Page"
202
  msgstr ""
203
 
204
+ #: email-log.php:477 email-log.php:514
205
  msgid "Date / Time"
206
  msgstr ""
207
 
208
+ #: email-log.php:478 email-log.php:515
209
  msgid "To"
210
  msgstr ""
211
 
212
+ #: email-log.php:493
213
  msgid "%s @ %s"
214
  msgstr ""
215
 
216
+ #: email-log.php:506
217
+ msgid "No Email Logs were found"
218
  msgstr ""
219
 
220
+ #: email-log.php:583
221
  msgid "Delete Type : "
222
  msgstr ""
223
 
224
+ #: email-log.php:586
225
  msgid "Selected entries"
226
  msgstr ""
227
 
228
+ #: email-log.php:587
229
  msgid "Based on"
230
  msgstr ""
231
 
232
+ #: email-log.php:588
233
  msgid "All Logs"
234
  msgstr ""
235
 
236
+ #: email-log.php:593
237
  msgid "Condition:"
238
  msgstr ""
239
 
240
+ #: email-log.php:596
241
  msgid "or"
242
  msgstr ""
243
 
244
+ #: email-log.php:602
245
  msgid ""
246
  "You Are About To Delete Email Logs.\\nThis Action Is Not Reversible.\\n\\n "
247
  "Choose \\'Cancel\\' to stop, \\'OK\\' to delete."
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: sudar
3
  Tags: email, wpmu, wordpress-mu, log
4
  Requires at least: 2.8
5
  Tested up to: 3.4.1
6
- Stable tag: 0.8
7
 
8
  Logs every email sent through WordPress. Compatible with WPMU too.
9
 
@@ -100,12 +100,15 @@ Extract the zip file and drop the contents in the wp-content/plugins/ directory
100
  * Added Lithuanian translations
101
 
102
  ###v0.7 (2012-06-23) (Dev time: 1 hour)
103
- - Changed Timestamp(n) MySQL datatype to Timestamp (now compatible with MySQL 5.5+)
104
- - Added the ability to bulk delete checkboxes
105
 
106
  ###v0.8 (2012-07-12) (Dev time: 1 hour)
107
- - Fixed undefined notices - http://wordpress.org/support/topic/plugin-email-log-notices-undefined-indices
108
- - Added Dutch translations
 
 
 
109
 
110
  ==Readme Generator==
111
 
3
  Tags: email, wpmu, wordpress-mu, log
4
  Requires at least: 2.8
5
  Tested up to: 3.4.1
6
+ Stable tag: 0.8.1
7
 
8
  Logs every email sent through WordPress. Compatible with WPMU too.
9
 
100
  * Added Lithuanian translations
101
 
102
  ###v0.7 (2012-06-23) (Dev time: 1 hour)
103
+ * Changed Timestamp(n) MySQL datatype to Timestamp (now compatible with MySQL 5.5+)
104
+ * Added the ability to bulk delete checkboxes
105
 
106
  ###v0.8 (2012-07-12) (Dev time: 1 hour)
107
+ * Fixed undefined notices - http://wordpress.org/support/topic/plugin-email-log-notices-undefined-indices
108
+ * Added Dutch translations
109
+
110
+ ###v0.8.1 (2012-07-23) (Dev time: 0.5 hour)
111
+ * Reworded most error messages and fixed lot of typos
112
 
113
  ==Readme Generator==
114