Ditty News Ticker - Version 1.2.2

Version Description

  • Added option to force line breaks on carriage returns.
Download this release

Release Info

Developer metaphorcreations
Plugin Icon 128x128 Ditty News Ticker
Version 1.2.2
Comparing to
See all releases

Code changes from version 1.2.1 to 1.2.2

ditty-news-ticker.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Ditty News Ticker
4
  Plugin URI: http://dittynewsticker.com/
5
  Description: Ditty News Ticker is a multi-functional data display plugin
6
- Version: 1.2.1
7
  Author: Metaphor Creations
8
  Author URI: http://www.metaphorcreations.com
9
  License: GPL2
@@ -45,9 +45,9 @@ The icons are licensed under a Creative Commons Attribution
45
  * @since 1.2.1
46
  */
47
  if ( WP_DEBUG ) {
48
- define ( 'MTPHR_DNT_VERSION', '1.2.1-'.time() );
49
  } else {
50
- define ( 'MTPHR_DNT_VERSION', '1.2.1' );
51
  }
52
  define ( 'MTPHR_DNT_DIR', plugin_dir_path(__FILE__) );
53
  define ( 'MTPHR_DNT_URL', plugins_url().'/ditty-news-ticker' );
3
  Plugin Name: Ditty News Ticker
4
  Plugin URI: http://dittynewsticker.com/
5
  Description: Ditty News Ticker is a multi-functional data display plugin
6
+ Version: 1.2.2
7
  Author: Metaphor Creations
8
  Author URI: http://www.metaphorcreations.com
9
  License: GPL2
45
  * @since 1.2.1
46
  */
47
  if ( WP_DEBUG ) {
48
+ define ( 'MTPHR_DNT_VERSION', '1.2.2-'.time() );
49
  } else {
50
+ define ( 'MTPHR_DNT_VERSION', '1.2.2' );
51
  }
52
  define ( 'MTPHR_DNT_DIR', plugin_dir_path(__FILE__) );
53
  define ( 'MTPHR_DNT_URL', plugins_url().'/ditty-news-ticker' );
includes/functions.php CHANGED
@@ -22,7 +22,7 @@ function ditty_news_ticker( $id='', $class='', $atts=false ) {
22
  /**
23
  * Return the ticker
24
  *
25
- * @since 1.2.1
26
  */
27
  function get_mtphr_dnt_ticker( $id='', $class='', $atts=false ) {
28
 
@@ -60,7 +60,11 @@ function get_mtphr_dnt_ticker( $id='', $class='', $atts=false ) {
60
  if( is_array($_mtphr_dnt_ticks) ) {
61
  foreach( $_mtphr_dnt_ticks as $i => $tick ) {
62
 
63
- if( $text = wp_kses_post(nl2br($tick['tick'])) ) {
 
 
 
 
64
 
65
  // Get the contents
66
  if( $link = esc_url($tick['link']) ) {
22
  /**
23
  * Return the ticker
24
  *
25
+ * @since 1.2.2
26
  */
27
  function get_mtphr_dnt_ticker( $id='', $class='', $atts=false ) {
28
 
60
  if( is_array($_mtphr_dnt_ticks) ) {
61
  foreach( $_mtphr_dnt_ticks as $i => $tick ) {
62
 
63
+ if( $text = $tick['tick'] ) {
64
+ if( isset($_mtphr_dnt_line_breaks) && $_mtphr_dnt_line_breaks ) {
65
+ $text = nl2br($tick['tick']);
66
+ }
67
+ $text = wp_kses_post($text);
68
 
69
  // Get the contents
70
  if( $link = esc_url($tick['link']) ) {
includes/meta-boxes.php CHANGED
@@ -48,7 +48,7 @@ add_action( 'admin_init', 'mtphr_dnt_metabox_type_default' );
48
  /**
49
  * Create the default type metabox.
50
  *
51
- * @since 1.1.4
52
  */
53
  function mtphr_dnt_metabox_type_default() {
54
 
@@ -84,6 +84,13 @@ function mtphr_dnt_metabox_type_default() {
84
  // Create an array to store the fields
85
  $default_fields = array();
86
 
 
 
 
 
 
 
 
87
  // Add the items field
88
  $default_fields['ticks'] = array(
89
  'id' => '_mtphr_dnt_ticks',
48
  /**
49
  * Create the default type metabox.
50
  *
51
+ * @since 1.2.2
52
  */
53
  function mtphr_dnt_metabox_type_default() {
54
 
84
  // Create an array to store the fields
85
  $default_fields = array();
86
 
87
+ // Add the items field
88
+ $default_fields['line_breaks'] = array(
89
+ 'id' => '_mtphr_dnt_line_breaks',
90
+ 'type' => 'checkbox',
91
+ 'label' => __('Force line breaks on carriage returns', 'ditty-news-ticker'),
92
+ );
93
+
94
  // Add the items field
95
  $default_fields['ticks'] = array(
96
  'id' => '_mtphr_dnt_ticks',
languages/ditty-news-ticker-en_US.mo CHANGED
Binary file
languages/ditty-news-ticker-en_US.po CHANGED
@@ -1,9 +1,9 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Ditty News Ticker v1.1.8\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2013-08-07 16:39:08+0000\n"
7
  "Last-Translator: admin <joe@metaphorcreations.com>\n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
@@ -31,7 +31,7 @@ msgid "Mode"
31
  msgstr "Mode"
32
 
33
  #: includes/edit-columns.php:25
34
- #: includes/meta-boxes.php:528
35
  #@ ditty-news-ticker
36
  msgid "Shortcode"
37
  msgstr "Shortcode"
@@ -41,22 +41,22 @@ msgstr "Shortcode"
41
  msgid "Direct Function"
42
  msgstr "Direct Function"
43
 
44
- #: includes/functions.php:405
45
  #@ ditty-news-ticker
46
  msgid "Default"
47
  msgstr "Default"
48
 
49
- #: includes/functions.php:425
50
  #@ ditty-news-ticker
51
  msgid "Scroll"
52
  msgstr "Scroll"
53
 
54
- #: includes/functions.php:429
55
  #@ ditty-news-ticker
56
  msgid "Rotate"
57
  msgstr "Rotate"
58
 
59
- #: includes/functions.php:433
60
  #@ ditty-news-ticker
61
  msgid "List"
62
  msgstr "List"
@@ -137,334 +137,334 @@ msgstr "Link"
137
  msgid "Target"
138
  msgstr "Target"
139
 
140
- #: includes/meta-boxes.php:97
141
  #@ ditty-news-ticker
142
  msgid "Default Ticker Items"
143
  msgstr "Default Ticker Items"
144
 
145
- #: includes/meta-boxes.php:131
146
  #@ ditty-news-ticker
147
  msgid "Ticker Mode"
148
  msgstr "Ticker Mode"
149
 
150
- #: includes/meta-boxes.php:158
151
  #@ ditty-news-ticker
152
  msgid "Scroll direction"
153
  msgstr "Scroll direction"
154
 
155
- #: includes/meta-boxes.php:160
156
  #@ ditty-news-ticker
157
  msgid "Left"
158
  msgstr "Left"
159
 
160
- #: includes/meta-boxes.php:161
161
  #@ ditty-news-ticker
162
  msgid "Right"
163
  msgstr "Right"
164
 
165
- #: includes/meta-boxes.php:162
166
  #@ ditty-news-ticker
167
  msgid "Up"
168
  msgstr "Up"
169
 
170
- #: includes/meta-boxes.php:163
171
  #@ ditty-news-ticker
172
  msgid "Down"
173
  msgstr "Down"
174
 
175
- #: includes/meta-boxes.php:166
176
  #@ ditty-news-ticker
177
  msgid "Set the scroll direction of the ticker."
178
  msgstr "Set the scroll direction of the ticker."
179
 
180
- #: includes/meta-boxes.php:180
181
- #: includes/meta-boxes.php:288
182
  #@ ditty-news-ticker
183
  msgid "Tick dimensions"
184
  msgstr "Tick dimensions"
185
 
186
- #: includes/meta-boxes.php:182
187
  #@ ditty-news-ticker
188
  msgid "Width"
189
  msgstr "Width"
190
 
191
- #: includes/meta-boxes.php:183
192
- #: includes/meta-boxes.php:291
193
  #@ ditty-news-ticker
194
  msgid "Override the auto dimensions with specific values."
195
  msgstr "Override the auto dimensions with specific values."
196
 
197
- #: includes/meta-boxes.php:188
198
- #: includes/meta-boxes.php:290
199
  #@ ditty-news-ticker
200
  msgid "Height"
201
  msgstr "Height"
202
 
203
- #: includes/meta-boxes.php:197
204
  #@ ditty-news-ticker
205
  msgid "Scroller padding"
206
  msgstr "Scroller padding"
207
 
208
- #: includes/meta-boxes.php:199
209
- #: includes/meta-boxes.php:300
210
- #: includes/meta-boxes.php:414
211
  #@ ditty-news-ticker
212
  msgid "Vertical padding"
213
  msgstr "Vertical padding"
214
 
215
- #: includes/meta-boxes.php:200
216
  #@ ditty-news-ticker
217
  msgid "Set the vertical spacing of the scrolling data."
218
  msgstr "Set the vertical spacing of the scrolling data."
219
 
220
- #: includes/meta-boxes.php:205
221
- #: includes/meta-boxes.php:306
222
- #: includes/meta-boxes.php:420
223
  #@ ditty-news-ticker
224
  msgid "Vertical margin"
225
  msgstr "Vertical margin"
226
 
227
- #: includes/meta-boxes.php:214
228
  #@ ditty-news-ticker
229
  msgid "Scroll speed"
230
  msgstr "Scroll speed"
231
 
232
- #: includes/meta-boxes.php:216
233
  #@ ditty-news-ticker
234
  msgid "Set the speed of the scrolling data."
235
  msgstr "Set the speed of the scrolling data."
236
 
237
- #: includes/meta-boxes.php:220
238
- #: includes/meta-boxes.php:326
239
  #@ ditty-news-ticker
240
  msgid "Pause on mouse over"
241
  msgstr "Pause on mouse over"
242
 
243
- #: includes/meta-boxes.php:229
244
- #: includes/meta-boxes.php:429
245
  #@ ditty-news-ticker
246
  msgid "Tick spacing"
247
  msgstr "Tick spacing"
248
 
249
- #: includes/meta-boxes.php:231
250
- #: includes/meta-boxes.php:431
251
  #@ ditty-news-ticker
252
  msgid "Pixels"
253
  msgstr "Pixels"
254
 
255
- #: includes/meta-boxes.php:232
256
  #@ ditty-news-ticker
257
  msgid "Set the spacing between scrolling data."
258
  msgstr "Set the spacing between scrolling data."
259
 
260
- #: includes/meta-boxes.php:238
261
  #@ ditty-news-ticker
262
  msgid "Scroll Settings"
263
  msgstr "Scroll Settings"
264
 
265
- #: includes/meta-boxes.php:265
266
  #@ ditty-news-ticker
267
  msgid "Rotation type"
268
  msgstr "Rotation type"
269
 
270
- #: includes/meta-boxes.php:267
271
  #@ ditty-news-ticker
272
  msgid "Fade"
273
  msgstr "Fade"
274
 
275
- #: includes/meta-boxes.php:268
276
  #@ ditty-news-ticker
277
  msgid "Slide left"
278
  msgstr "Slide left"
279
 
280
- #: includes/meta-boxes.php:269
281
  #@ ditty-news-ticker
282
  msgid "Slide right"
283
  msgstr "Slide right"
284
 
285
- #: includes/meta-boxes.php:270
286
  #@ ditty-news-ticker
287
  msgid "Slide up"
288
  msgstr "Slide up"
289
 
290
- #: includes/meta-boxes.php:271
291
  #@ ditty-news-ticker
292
  msgid "Slide down"
293
  msgstr "Slide down"
294
 
295
- #: includes/meta-boxes.php:274
296
  #@ ditty-news-ticker
297
  msgid "Set the type of rotation for the ticker."
298
  msgstr "Set the type of rotation for the ticker."
299
 
300
- #: includes/meta-boxes.php:279
301
  #@ ditty-news-ticker
302
  msgid "Dynamic slide direction"
303
  msgstr "Dynamic slide direction"
304
 
305
- #: includes/meta-boxes.php:298
306
  #@ ditty-news-ticker
307
  msgid "Rotator padding"
308
  msgstr "Rotator padding"
309
 
310
- #: includes/meta-boxes.php:301
311
  #@ ditty-news-ticker
312
  msgid "Set the vertical spacing of the rotating data."
313
  msgstr "Set the vertical spacing of the rotating data."
314
 
315
- #: includes/meta-boxes.php:315
316
  #@ ditty-news-ticker
317
  msgid "Auto rotate"
318
  msgstr "Auto rotate"
319
 
320
- #: includes/meta-boxes.php:316
321
- #: includes/meta-boxes.php:352
322
- #: includes/meta-boxes.php:367
323
  #@ ditty-news-ticker
324
  msgid "Enable"
325
  msgstr "Enable"
326
 
327
- #: includes/meta-boxes.php:317
328
  #@ ditty-news-ticker
329
  msgid "Set the delay between rotations."
330
  msgstr "Set the delay between rotations."
331
 
332
- #: includes/meta-boxes.php:322
333
  #@ ditty-news-ticker
334
  msgid "Seconds delay"
335
  msgstr "Seconds delay"
336
 
337
- #: includes/meta-boxes.php:335
338
  #@ ditty-news-ticker
339
  msgid "Rotate speed"
340
  msgstr "Rotate speed"
341
 
342
- #: includes/meta-boxes.php:337
343
  #@ ditty-news-ticker
344
  msgid "Tenths of a second"
345
  msgstr "Tenths of a second"
346
 
347
- #: includes/meta-boxes.php:338
348
  #@ ditty-news-ticker
349
  msgid "Set the speed & easing of the rotation."
350
  msgstr "Set the speed & easing of the rotation."
351
 
352
- #: includes/meta-boxes.php:351
353
  #@ ditty-news-ticker
354
  msgid "Directional navigation"
355
  msgstr "Directional navigation"
356
 
357
- #: includes/meta-boxes.php:353
358
  #@ ditty-news-ticker
359
  msgid "Set the directional navigation options."
360
  msgstr "Set the directional navigation options."
361
 
362
- #: includes/meta-boxes.php:357
363
  #@ ditty-news-ticker
364
  msgid "Autohide navigation"
365
  msgstr "Autohide navigation"
366
 
367
- #: includes/meta-boxes.php:366
368
  #@ ditty-news-ticker
369
  msgid "Control navigation"
370
  msgstr "Control navigation"
371
 
372
- #: includes/meta-boxes.php:368
373
  #@ ditty-news-ticker
374
  msgid "Set the control navigation options."
375
  msgstr "Set the control navigation options."
376
 
377
- #: includes/meta-boxes.php:373
378
  #@ ditty-news-ticker
379
  msgid "Numbers"
380
  msgstr "Numbers"
381
 
382
- #: includes/meta-boxes.php:374
383
  #@ ditty-news-ticker
384
  msgid "Buttons"
385
  msgstr "Buttons"
386
 
387
- #: includes/meta-boxes.php:385
388
  #@ ditty-news-ticker
389
  msgid "Rotate Settings"
390
  msgstr "Rotate Settings"
391
 
392
- #: includes/meta-boxes.php:412
393
  #@ ditty-news-ticker
394
  msgid "List padding"
395
  msgstr "List padding"
396
 
397
- #: includes/meta-boxes.php:415
398
  #@ ditty-news-ticker
399
  msgid "Set the vertical spacing of the list container."
400
  msgstr "Set the vertical spacing of the list container."
401
 
402
- #: includes/meta-boxes.php:432
403
  #@ ditty-news-ticker
404
  msgid "Set the spacing between ticks."
405
  msgstr "Set the spacing between ticks."
406
 
407
- #: includes/meta-boxes.php:438
408
  #@ ditty-news-ticker
409
  msgid "List Settings"
410
  msgstr "List Settings"
411
 
412
- #: includes/meta-boxes.php:465
413
  #@ ditty-news-ticker
414
  msgid "Display title"
415
  msgstr "Display title"
416
 
417
- #: includes/meta-boxes.php:469
418
  #@ ditty-news-ticker
419
  msgid "Inline title"
420
  msgstr "Inline title"
421
 
422
- #: includes/meta-boxes.php:484
423
  #@ ditty-news-ticker
424
  msgid "Ticker width <em>(optional)</em>"
425
  msgstr "Ticker width <em>(optional)</em>"
426
 
427
- #: includes/meta-boxes.php:486
428
  #@ ditty-news-ticker
429
  msgid "Override the auto width a with specific value."
430
  msgstr "Override the auto width a with specific value."
431
 
432
- #: includes/meta-boxes.php:501
433
  #@ ditty-news-ticker
434
  msgid "Global Settings"
435
  msgstr "Global Settings"
436
 
437
- #: includes/meta-boxes.php:529
438
  #@ ditty-news-ticker
439
  msgid "Select Shortcode"
440
  msgstr "Select Shortcode"
441
 
442
- #: includes/meta-boxes.php:530
443
  #@ ditty-news-ticker
444
  msgid "Use this shortcode to insert the ticker into a post/page."
445
  msgstr "Use this shortcode to insert the ticker into a post/page."
446
 
447
- #: includes/meta-boxes.php:537
448
  #@ ditty-news-ticker
449
  msgid "Direct function"
450
  msgstr "Direct function"
451
 
452
- #: includes/meta-boxes.php:538
453
  #@ ditty-news-ticker
454
  msgid "Select Function"
455
  msgstr "Select Function"
456
 
457
- #: includes/meta-boxes.php:539
458
  #@ ditty-news-ticker
459
  msgid "Place this code directly into your theme to display the ticker."
460
  msgstr "Place this code directly into your theme to display the ticker."
461
 
462
- #: includes/meta-boxes.php:545
463
  #@ ditty-news-ticker
464
  msgid "Ticker Display"
465
  msgstr "Ticker Display"
466
 
467
- #: includes/metaboxer/metaboxer.php:759
468
  #@ ditty-news-ticker
469
  msgid "Select Code"
470
  msgstr "Select Code"
@@ -536,12 +536,12 @@ msgstr "Settings"
536
  msgid "Custom CSS"
537
  msgstr "Custom CSS"
538
 
539
- #: includes/settings.php:56
540
  #@ ditty-news-ticker
541
  msgid "Custom CSS will be added to the head of each page that includes a Ditty News Ticker."
542
  msgstr "Custom CSS will be added to the head of each page that includes a Ditty News Ticker."
543
 
544
- #: includes/settings.php:97
545
  #@ ditty-news-ticker
546
  msgid "Ditty News Ticker Settings"
547
  msgstr "Ditty News Ticker Settings"
@@ -576,32 +576,32 @@ msgstr "View DNT extensions"
576
  msgid "NF"
577
  msgstr "NF"
578
 
579
- #: includes/settings.php:143
580
  #@ ditty-news-ticker
581
  msgid "The global settings to your news tickers."
582
  msgstr "The global settings to your news tickers."
583
 
584
- #: includes/meta-boxes.php:171
585
  #@ ditty-news-ticker
586
  msgid "Show first tick on init"
587
  msgstr ""
588
 
589
- #: includes/meta-boxes.php:478
590
  #@ ditty-news-ticker
591
  msgid "Randomly shuffle the ticks"
592
  msgstr ""
593
 
594
- #: includes/meta-boxes.php:494
595
  #@ ditty-news-ticker
596
  msgid "Offset ticks"
597
  msgstr ""
598
 
599
- #: includes/meta-boxes.php:495
600
  #@ ditty-news-ticker
601
  msgid "px from the edge"
602
  msgstr ""
603
 
604
- #: includes/meta-boxes.php:495
605
  #@ ditty-news-ticker
606
  msgid "The amount of pixels ticks should start and end off the screen."
607
  msgstr ""
@@ -621,3 +621,8 @@ msgstr ""
621
  msgid "*The content in the visual editors will disappear after re-arranging ticks. That content will re-populate after resaving the ticker."
622
  msgstr ""
623
 
 
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: Ditty News Ticker v1.2.2\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: \n"
6
+ "PO-Revision-Date: 2013-10-12 01:39:46+0000\n"
7
  "Last-Translator: admin <joe@metaphorcreations.com>\n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
31
  msgstr "Mode"
32
 
33
  #: includes/edit-columns.php:25
34
+ #: includes/meta-boxes.php:535
35
  #@ ditty-news-ticker
36
  msgid "Shortcode"
37
  msgstr "Shortcode"
41
  msgid "Direct Function"
42
  msgstr "Direct Function"
43
 
44
+ #: includes/functions.php:410
45
  #@ ditty-news-ticker
46
  msgid "Default"
47
  msgstr "Default"
48
 
49
+ #: includes/functions.php:430
50
  #@ ditty-news-ticker
51
  msgid "Scroll"
52
  msgstr "Scroll"
53
 
54
+ #: includes/functions.php:434
55
  #@ ditty-news-ticker
56
  msgid "Rotate"
57
  msgstr "Rotate"
58
 
59
+ #: includes/functions.php:438
60
  #@ ditty-news-ticker
61
  msgid "List"
62
  msgstr "List"
137
  msgid "Target"
138
  msgstr "Target"
139
 
140
+ #: includes/meta-boxes.php:104
141
  #@ ditty-news-ticker
142
  msgid "Default Ticker Items"
143
  msgstr "Default Ticker Items"
144
 
145
+ #: includes/meta-boxes.php:138
146
  #@ ditty-news-ticker
147
  msgid "Ticker Mode"
148
  msgstr "Ticker Mode"
149
 
150
+ #: includes/meta-boxes.php:165
151
  #@ ditty-news-ticker
152
  msgid "Scroll direction"
153
  msgstr "Scroll direction"
154
 
155
+ #: includes/meta-boxes.php:167
156
  #@ ditty-news-ticker
157
  msgid "Left"
158
  msgstr "Left"
159
 
160
+ #: includes/meta-boxes.php:168
161
  #@ ditty-news-ticker
162
  msgid "Right"
163
  msgstr "Right"
164
 
165
+ #: includes/meta-boxes.php:169
166
  #@ ditty-news-ticker
167
  msgid "Up"
168
  msgstr "Up"
169
 
170
+ #: includes/meta-boxes.php:170
171
  #@ ditty-news-ticker
172
  msgid "Down"
173
  msgstr "Down"
174
 
175
+ #: includes/meta-boxes.php:173
176
  #@ ditty-news-ticker
177
  msgid "Set the scroll direction of the ticker."
178
  msgstr "Set the scroll direction of the ticker."
179
 
180
+ #: includes/meta-boxes.php:187
181
+ #: includes/meta-boxes.php:295
182
  #@ ditty-news-ticker
183
  msgid "Tick dimensions"
184
  msgstr "Tick dimensions"
185
 
186
+ #: includes/meta-boxes.php:189
187
  #@ ditty-news-ticker
188
  msgid "Width"
189
  msgstr "Width"
190
 
191
+ #: includes/meta-boxes.php:190
192
+ #: includes/meta-boxes.php:298
193
  #@ ditty-news-ticker
194
  msgid "Override the auto dimensions with specific values."
195
  msgstr "Override the auto dimensions with specific values."
196
 
197
+ #: includes/meta-boxes.php:195
198
+ #: includes/meta-boxes.php:297
199
  #@ ditty-news-ticker
200
  msgid "Height"
201
  msgstr "Height"
202
 
203
+ #: includes/meta-boxes.php:204
204
  #@ ditty-news-ticker
205
  msgid "Scroller padding"
206
  msgstr "Scroller padding"
207
 
208
+ #: includes/meta-boxes.php:206
209
+ #: includes/meta-boxes.php:307
210
+ #: includes/meta-boxes.php:421
211
  #@ ditty-news-ticker
212
  msgid "Vertical padding"
213
  msgstr "Vertical padding"
214
 
215
+ #: includes/meta-boxes.php:207
216
  #@ ditty-news-ticker
217
  msgid "Set the vertical spacing of the scrolling data."
218
  msgstr "Set the vertical spacing of the scrolling data."
219
 
220
+ #: includes/meta-boxes.php:212
221
+ #: includes/meta-boxes.php:313
222
+ #: includes/meta-boxes.php:427
223
  #@ ditty-news-ticker
224
  msgid "Vertical margin"
225
  msgstr "Vertical margin"
226
 
227
+ #: includes/meta-boxes.php:221
228
  #@ ditty-news-ticker
229
  msgid "Scroll speed"
230
  msgstr "Scroll speed"
231
 
232
+ #: includes/meta-boxes.php:223
233
  #@ ditty-news-ticker
234
  msgid "Set the speed of the scrolling data."
235
  msgstr "Set the speed of the scrolling data."
236
 
237
+ #: includes/meta-boxes.php:227
238
+ #: includes/meta-boxes.php:333
239
  #@ ditty-news-ticker
240
  msgid "Pause on mouse over"
241
  msgstr "Pause on mouse over"
242
 
243
+ #: includes/meta-boxes.php:236
244
+ #: includes/meta-boxes.php:436
245
  #@ ditty-news-ticker
246
  msgid "Tick spacing"
247
  msgstr "Tick spacing"
248
 
249
+ #: includes/meta-boxes.php:238
250
+ #: includes/meta-boxes.php:438
251
  #@ ditty-news-ticker
252
  msgid "Pixels"
253
  msgstr "Pixels"
254
 
255
+ #: includes/meta-boxes.php:239
256
  #@ ditty-news-ticker
257
  msgid "Set the spacing between scrolling data."
258
  msgstr "Set the spacing between scrolling data."
259
 
260
+ #: includes/meta-boxes.php:245
261
  #@ ditty-news-ticker
262
  msgid "Scroll Settings"
263
  msgstr "Scroll Settings"
264
 
265
+ #: includes/meta-boxes.php:272
266
  #@ ditty-news-ticker
267
  msgid "Rotation type"
268
  msgstr "Rotation type"
269
 
270
+ #: includes/meta-boxes.php:274
271
  #@ ditty-news-ticker
272
  msgid "Fade"
273
  msgstr "Fade"
274
 
275
+ #: includes/meta-boxes.php:275
276
  #@ ditty-news-ticker
277
  msgid "Slide left"
278
  msgstr "Slide left"
279
 
280
+ #: includes/meta-boxes.php:276
281
  #@ ditty-news-ticker
282
  msgid "Slide right"
283
  msgstr "Slide right"
284
 
285
+ #: includes/meta-boxes.php:277
286
  #@ ditty-news-ticker
287
  msgid "Slide up"
288
  msgstr "Slide up"
289
 
290
+ #: includes/meta-boxes.php:278
291
  #@ ditty-news-ticker
292
  msgid "Slide down"
293
  msgstr "Slide down"
294
 
295
+ #: includes/meta-boxes.php:281
296
  #@ ditty-news-ticker
297
  msgid "Set the type of rotation for the ticker."
298
  msgstr "Set the type of rotation for the ticker."
299
 
300
+ #: includes/meta-boxes.php:286
301
  #@ ditty-news-ticker
302
  msgid "Dynamic slide direction"
303
  msgstr "Dynamic slide direction"
304
 
305
+ #: includes/meta-boxes.php:305
306
  #@ ditty-news-ticker
307
  msgid "Rotator padding"
308
  msgstr "Rotator padding"
309
 
310
+ #: includes/meta-boxes.php:308
311
  #@ ditty-news-ticker
312
  msgid "Set the vertical spacing of the rotating data."
313
  msgstr "Set the vertical spacing of the rotating data."
314
 
315
+ #: includes/meta-boxes.php:322
316
  #@ ditty-news-ticker
317
  msgid "Auto rotate"
318
  msgstr "Auto rotate"
319
 
320
+ #: includes/meta-boxes.php:323
321
+ #: includes/meta-boxes.php:359
322
+ #: includes/meta-boxes.php:374
323
  #@ ditty-news-ticker
324
  msgid "Enable"
325
  msgstr "Enable"
326
 
327
+ #: includes/meta-boxes.php:324
328
  #@ ditty-news-ticker
329
  msgid "Set the delay between rotations."
330
  msgstr "Set the delay between rotations."
331
 
332
+ #: includes/meta-boxes.php:329
333
  #@ ditty-news-ticker
334
  msgid "Seconds delay"
335
  msgstr "Seconds delay"
336
 
337
+ #: includes/meta-boxes.php:342
338
  #@ ditty-news-ticker
339
  msgid "Rotate speed"
340
  msgstr "Rotate speed"
341
 
342
+ #: includes/meta-boxes.php:344
343
  #@ ditty-news-ticker
344
  msgid "Tenths of a second"
345
  msgstr "Tenths of a second"
346
 
347
+ #: includes/meta-boxes.php:345
348
  #@ ditty-news-ticker
349
  msgid "Set the speed & easing of the rotation."
350
  msgstr "Set the speed & easing of the rotation."
351
 
352
+ #: includes/meta-boxes.php:358
353
  #@ ditty-news-ticker
354
  msgid "Directional navigation"
355
  msgstr "Directional navigation"
356
 
357
+ #: includes/meta-boxes.php:360
358
  #@ ditty-news-ticker
359
  msgid "Set the directional navigation options."
360
  msgstr "Set the directional navigation options."
361
 
362
+ #: includes/meta-boxes.php:364
363
  #@ ditty-news-ticker
364
  msgid "Autohide navigation"
365
  msgstr "Autohide navigation"
366
 
367
+ #: includes/meta-boxes.php:373
368
  #@ ditty-news-ticker
369
  msgid "Control navigation"
370
  msgstr "Control navigation"
371
 
372
+ #: includes/meta-boxes.php:375
373
  #@ ditty-news-ticker
374
  msgid "Set the control navigation options."
375
  msgstr "Set the control navigation options."
376
 
377
+ #: includes/meta-boxes.php:380
378
  #@ ditty-news-ticker
379
  msgid "Numbers"
380
  msgstr "Numbers"
381
 
382
+ #: includes/meta-boxes.php:381
383
  #@ ditty-news-ticker
384
  msgid "Buttons"
385
  msgstr "Buttons"
386
 
387
+ #: includes/meta-boxes.php:392
388
  #@ ditty-news-ticker
389
  msgid "Rotate Settings"
390
  msgstr "Rotate Settings"
391
 
392
+ #: includes/meta-boxes.php:419
393
  #@ ditty-news-ticker
394
  msgid "List padding"
395
  msgstr "List padding"
396
 
397
+ #: includes/meta-boxes.php:422
398
  #@ ditty-news-ticker
399
  msgid "Set the vertical spacing of the list container."
400
  msgstr "Set the vertical spacing of the list container."
401
 
402
+ #: includes/meta-boxes.php:439
403
  #@ ditty-news-ticker
404
  msgid "Set the spacing between ticks."
405
  msgstr "Set the spacing between ticks."
406
 
407
+ #: includes/meta-boxes.php:445
408
  #@ ditty-news-ticker
409
  msgid "List Settings"
410
  msgstr "List Settings"
411
 
412
+ #: includes/meta-boxes.php:472
413
  #@ ditty-news-ticker
414
  msgid "Display title"
415
  msgstr "Display title"
416
 
417
+ #: includes/meta-boxes.php:476
418
  #@ ditty-news-ticker
419
  msgid "Inline title"
420
  msgstr "Inline title"
421
 
422
+ #: includes/meta-boxes.php:491
423
  #@ ditty-news-ticker
424
  msgid "Ticker width <em>(optional)</em>"
425
  msgstr "Ticker width <em>(optional)</em>"
426
 
427
+ #: includes/meta-boxes.php:493
428
  #@ ditty-news-ticker
429
  msgid "Override the auto width a with specific value."
430
  msgstr "Override the auto width a with specific value."
431
 
432
+ #: includes/meta-boxes.php:508
433
  #@ ditty-news-ticker
434
  msgid "Global Settings"
435
  msgstr "Global Settings"
436
 
437
+ #: includes/meta-boxes.php:536
438
  #@ ditty-news-ticker
439
  msgid "Select Shortcode"
440
  msgstr "Select Shortcode"
441
 
442
+ #: includes/meta-boxes.php:537
443
  #@ ditty-news-ticker
444
  msgid "Use this shortcode to insert the ticker into a post/page."
445
  msgstr "Use this shortcode to insert the ticker into a post/page."
446
 
447
+ #: includes/meta-boxes.php:544
448
  #@ ditty-news-ticker
449
  msgid "Direct function"
450
  msgstr "Direct function"
451
 
452
+ #: includes/meta-boxes.php:545
453
  #@ ditty-news-ticker
454
  msgid "Select Function"
455
  msgstr "Select Function"
456
 
457
+ #: includes/meta-boxes.php:546
458
  #@ ditty-news-ticker
459
  msgid "Place this code directly into your theme to display the ticker."
460
  msgstr "Place this code directly into your theme to display the ticker."
461
 
462
+ #: includes/meta-boxes.php:552
463
  #@ ditty-news-ticker
464
  msgid "Ticker Display"
465
  msgstr "Ticker Display"
466
 
467
+ #: includes/metaboxer/metaboxer.php:756
468
  #@ ditty-news-ticker
469
  msgid "Select Code"
470
  msgstr "Select Code"
536
  msgid "Custom CSS"
537
  msgstr "Custom CSS"
538
 
539
+ #: includes/settings.php:57
540
  #@ ditty-news-ticker
541
  msgid "Custom CSS will be added to the head of each page that includes a Ditty News Ticker."
542
  msgstr "Custom CSS will be added to the head of each page that includes a Ditty News Ticker."
543
 
544
+ #: includes/settings.php:98
545
  #@ ditty-news-ticker
546
  msgid "Ditty News Ticker Settings"
547
  msgstr "Ditty News Ticker Settings"
576
  msgid "NF"
577
  msgstr "NF"
578
 
579
+ #: includes/settings.php:144
580
  #@ ditty-news-ticker
581
  msgid "The global settings to your news tickers."
582
  msgstr "The global settings to your news tickers."
583
 
584
+ #: includes/meta-boxes.php:178
585
  #@ ditty-news-ticker
586
  msgid "Show first tick on init"
587
  msgstr ""
588
 
589
+ #: includes/meta-boxes.php:485
590
  #@ ditty-news-ticker
591
  msgid "Randomly shuffle the ticks"
592
  msgstr ""
593
 
594
+ #: includes/meta-boxes.php:501
595
  #@ ditty-news-ticker
596
  msgid "Offset ticks"
597
  msgstr ""
598
 
599
+ #: includes/meta-boxes.php:502
600
  #@ ditty-news-ticker
601
  msgid "px from the edge"
602
  msgstr ""
603
 
604
+ #: includes/meta-boxes.php:502
605
  #@ ditty-news-ticker
606
  msgid "The amount of pixels ticks should start and end off the screen."
607
  msgstr ""
621
  msgid "*The content in the visual editors will disappear after re-arranging ticks. That content will re-populate after resaving the ticker."
622
  msgstr ""
623
 
624
+ #: includes/meta-boxes.php:91
625
+ #@ ditty-news-ticker
626
+ msgid "Force line breaks on carriage returns"
627
+ msgstr ""
628
+
readme.txt CHANGED
@@ -52,6 +52,9 @@ Each individual Ticker post has multiple settings to customize.
52
 
53
  == Changelog ==
54
 
 
 
 
55
  = 1.2.1 =
56
  * Modifed to allow multiline text
57
  * Updated custom css field to css editor
@@ -154,4 +157,4 @@ Each individual Ticker post has multiple settings to customize.
154
 
155
  == Upgrade Notice ==
156
 
157
- Modifed to allow multiline text and updated custom css field to css editor
52
 
53
  == Changelog ==
54
 
55
+ = 1.2.2 =
56
+ * Added option to force line breaks on carriage returns.
57
+
58
  = 1.2.1 =
59
  * Modifed to allow multiline text
60
  * Updated custom css field to css editor
157
 
158
  == Upgrade Notice ==
159
 
160
+ Added an option to force line breaks on carriage returns