PB SEO Friendly Images - Version 3.0.0

Version Description

  • new interface for woocommerce settings
  • fixed compability with woocommerce
Download this release

Release Info

Developer PascalBajorat
Plugin Icon 128x128 PB SEO Friendly Images
Version 3.0.0
Comparing to
See all releases

Code changes from version 2.6.0 to 3.0.0

inc/settings.php CHANGED
@@ -305,21 +305,132 @@ if( !class_exists('pbSEOFriendlyImagesSettings') ):
305
  echo '<div class="pb-custom-message code">';
306
  echo '<p><code>&lt;img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="<strong>'.__('REAL SRC HERE', 'pb-seo-friendly-images').'</strong>" class="pb-seo-lazy" /&gt;</code></p>';
307
  echo '</div>';
308
-
309
- echo '<h2 class="pb-section-title">'.__('Additional features', 'pb-seo-friendly-images').'</h2>';
310
  }
311
  );
312
 
313
- pbSEOFriendlyImagesSettings::$settings->addSettingsField(
314
- 'pbsfi_wc_title',
315
- __('WooCommerce', 'pb-seo-friendly-images'),
316
- array(
317
- 'type' => 'checkbox',
318
- 'default' => false,
319
- 'desc' => __('Use the product name as alt and title for WooCommerce product images', 'pb-seo-friendly-images'),
320
- 'disabled' => ((pbSEOFriendlyImages::$proVersion)?false:true)
321
- )
322
- );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
323
 
324
  pbSEOFriendlyImagesSettings::$settings->addSettingsField(
325
  'pbsfi_link_title',
@@ -478,6 +589,25 @@ if( !class_exists('pbSEOFriendlyImagesSettings') ):
478
  </div>
479
  </div>
480
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
481
  <?php
482
  }
483
 
305
  echo '<div class="pb-custom-message code">';
306
  echo '<p><code>&lt;img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="<strong>'.__('REAL SRC HERE', 'pb-seo-friendly-images').'</strong>" class="pb-seo-lazy" /&gt;</code></p>';
307
  echo '</div>';
 
 
308
  }
309
  );
310
 
311
+ /**
312
+ * Section WooCommerce
313
+ */
314
+ pbSEOFriendlyImagesSettings::$settings = new pbSettingsFramework(array(
315
+ 'text-domain' => 'pb-seo-friendly-images',
316
+ 'page' => 'pb-seo-friendly-images',
317
+ 'section' => 'pb-seo-friendly-images-pro3',
318
+ 'option-group' => 'pb-seo-friendly-images'
319
+ ));
320
+
321
+ pbSEOFriendlyImagesSettings::$settings->addSettingsSection(
322
+ 'pb-seo-friendly-images-pro3',
323
+ '',
324
+ function()
325
+ {
326
+ echo '<h2 class="pb-section-title">'.__('WooCommerce settings', 'pb-seo-friendly-images').'</h2>';
327
+ echo '<div class="pb-section-wrap no-margin-bottom">';
328
+ echo '<p>'.__('This settings are specially for images inside your WooCommerce Shop. In most cases you need to activate the override to use your custom settings.', 'pb-seo-friendly-images').'</p>';
329
+ echo '</div>';
330
+
331
+ if( ! pbSEOFriendlyImages::$proVersion ) {
332
+ echo '<div class="pb-custom-message info"><p>';
333
+ echo sprintf(
334
+ __('Please consider upgrading to <a href="%s" target="_blank">PB SEO Friendly Images Pro</a> if you want to use this feature.', 'pb-seo-friendly-images'),
335
+ pbSEOFriendlyImages::$proURL
336
+ );
337
+ echo '</p><a href="'.pbSEOFriendlyImages::$proURL2.'" class="pb-btn" target="_blank">'.__('Upgrade now', 'pb-seo-friendly-images').'</a></div>';
338
+ }
339
+ }
340
+ );
341
+
342
+ pbSEOFriendlyImagesSettings::$settings->addSettingsField(
343
+ 'pbsfi_wc_title',
344
+ __('WooCommerce', 'pb-seo-friendly-images'),
345
+ array(
346
+ 'type' => 'checkbox',
347
+ 'default' => false,
348
+ 'desc' => __('Use the product name as alt and title for WooCommerce product images', 'pb-seo-friendly-images'),
349
+ 'disabled' => ((pbSEOFriendlyImages::$proVersion)?false:true)
350
+ )
351
+ );
352
+
353
+ pbSEOFriendlyImagesSettings::$settings->addSettingsField(
354
+ 'pbsfi_wc_sync_method',
355
+ __('sync method', 'pb-seo-friendly-images'),
356
+ array(
357
+ 'type' => 'select',
358
+ 'default' => 'both',
359
+ 'select' => array(
360
+ 'both' => __('alt <=> title', 'pb-seo-friendly-images').' ('.__('recommended', 'pb-seo-friendly-images').')',
361
+ 'alt' => __('alt => title', 'pb-seo-friendly-images'),
362
+ 'title' => __('alt <= title', 'pb-seo-friendly-images'),
363
+ ),
364
+ 'desc' => __('select sync method for "alt" and "title" attribute.', 'pb-seo-friendly-images').'<br />'.
365
+ __('<code>alt <=> title</code> - if one attribute is set use it also for the other one', 'pb-seo-friendly-images').'<br />'.
366
+ __('<code>alt => title</code> - if "alt" is set use it for the title attribute', 'pb-seo-friendly-images').'<br />'.
367
+ __('<code>alt <= title</code> - if "title" is set use it for the alt attribute', 'pb-seo-friendly-images'),
368
+ 'disabled' => ((pbSEOFriendlyImages::$proVersion)?false:true)
369
+ )
370
+ );
371
+
372
+ pbSEOFriendlyImagesSettings::$settings->addSettingsField(
373
+ 'pbsfi_wc_override_alt',
374
+ __('override "alt"', 'pb-seo-friendly-images'),
375
+ array(
376
+ 'type' => 'checkbox',
377
+ 'default' => '',
378
+ 'desc' => __('override existing image alt attributes', 'pb-seo-friendly-images'),
379
+ 'disabled' => ((pbSEOFriendlyImages::$proVersion)?false:true)
380
+ )
381
+ );
382
+
383
+ pbSEOFriendlyImagesSettings::$settings->addSettingsField(
384
+ 'pbsfi_wc_override_title',
385
+ __('override "title"', 'pb-seo-friendly-images'),
386
+ array(
387
+ 'type' => 'checkbox',
388
+ 'default' => '',
389
+ 'desc' => __('override existing image title attributes', 'pb-seo-friendly-images'),
390
+ 'disabled' => ((pbSEOFriendlyImages::$proVersion)?false:true)
391
+ )
392
+ );
393
+
394
+ pbSEOFriendlyImagesSettings::$settings->addSettingsField(
395
+ 'pbsfi_wc_alt_scheme',
396
+ __('alt scheme', 'pb-seo-friendly-images'),
397
+ array(
398
+ 'type' => 'text',
399
+ 'default' => '%name - %title',
400
+ 'desc' => __('default', 'pb-seo-friendly-images').': <code>%name - %title</code><br />'.$placeholder,
401
+ 'disabled' => ((pbSEOFriendlyImages::$proVersion)?false:true)
402
+ )
403
+ );
404
+
405
+ pbSEOFriendlyImagesSettings::$settings->addSettingsField(
406
+ 'pbsfi_wc_title_scheme',
407
+ __('title scheme', 'pb-seo-friendly-images'),
408
+ array(
409
+ 'type' => 'text',
410
+ 'default' => '%title',
411
+ 'desc' => __('default', 'pb-seo-friendly-images').': <code>%title</code><br />'.$placeholder,
412
+ 'disabled' => ((pbSEOFriendlyImages::$proVersion)?false:true)
413
+ )
414
+ );
415
+
416
+ /**
417
+ * Additional features
418
+ */
419
+ pbSEOFriendlyImagesSettings::$settings = new pbSettingsFramework(array(
420
+ 'text-domain' => 'pb-seo-friendly-images',
421
+ 'page' => 'pb-seo-friendly-images',
422
+ 'section' => 'pb-seo-friendly-images-pro4',
423
+ 'option-group' => 'pb-seo-friendly-images'
424
+ ));
425
+
426
+ pbSEOFriendlyImagesSettings::$settings->addSettingsSection(
427
+ 'pb-seo-friendly-images-pro4',
428
+ '',
429
+ function()
430
+ {
431
+ echo '<h2 class="pb-section-title">'.__('Additional features', 'pb-seo-friendly-images').'</h2>';
432
+ }
433
+ );
434
 
435
  pbSEOFriendlyImagesSettings::$settings->addSettingsField(
436
  'pbsfi_link_title',
589
  </div>
590
  </div>
591
  </div>
592
+ <script>
593
+ jQuery(document).ready(function(){
594
+
595
+ var $wc_setting_elements = jQuery('#pbsfi_wc_sync_method, label[for="pbsfi_wc_sync_method"], #pbsfi_wc_override_alt, label[for="pbsfi_wc_override_alt"], #pbsfi_wc_override_title, label[for="pbsfi_wc_override_title"], #pbsfi_wc_alt_scheme, label[for="pbsfi_wc_alt_scheme"], #pbsfi_wc_title_scheme, label[for="pbsfi_wc_title_scheme"]');
596
+
597
+ if( jQuery('#pbsfi_wc_title').is(':checked') ) {
598
+ console.log('fade out');
599
+ $wc_setting_elements.css('opacity', .4);
600
+ }
601
+
602
+ jQuery('#pbsfi_wc_title').on('change', function(e){
603
+ if( jQuery(this).is(':checked') ) {
604
+ $wc_setting_elements.css('opacity', .4);
605
+ } else {
606
+ $wc_setting_elements.css('opacity', 1);
607
+ }
608
+ });
609
+ });
610
+ </script>
611
  <?php
612
  }
613
 
lang/pb-seo-friendly-images-de_DE.mo CHANGED
Binary file
lang/pb-seo-friendly-images-de_DE.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: PB SEO Friendly Images\n"
4
- "POT-Creation-Date: 2018-01-02 22:39+0100\n"
5
- "PO-Revision-Date: 2018-01-02 22:48+0100\n"
6
  "Last-Translator: Pascal Bajorat <pascal@pascal-bajorat.com>\n"
7
  "Language-Team: Pascal Bajorat <pascal@pascal-bajorat.com>\n"
8
  "Language: de\n"
@@ -122,7 +122,7 @@ msgstr ""
122
  "Friendly Images Pro</a> in Erwägung, wenn du weitere Funktionen verwenden "
123
  "möchtest und die Entwicklung des Plugins unterstützen willst."
124
 
125
- #: inc/settings.php:117 inc/settings.php:236
126
  msgid "Upgrade now"
127
  msgstr "Jetzt upgraden"
128
 
@@ -134,7 +134,7 @@ msgstr "Bilder optimieren"
134
  msgid "post thumbnails and images in post content"
135
  msgstr "Thumbnails und Bilder innerhalb der Posts"
136
 
137
- #: inc/settings.php:129 inc/settings.php:144
138
  msgid "recommended"
139
  msgstr "empfohlen"
140
 
@@ -150,28 +150,28 @@ msgstr "Nur Bilder im Post-Inhalt"
150
  msgid "which images should be optimized"
151
  msgstr "Welche Bilder sollen optimiert werden."
152
 
153
- #: inc/settings.php:139
154
  msgid "sync method"
155
  msgstr "Synchronisierungsmethode"
156
 
157
- #: inc/settings.php:144
158
  msgid "alt <=> title"
159
  msgstr "alt <=> title"
160
 
161
- #: inc/settings.php:145
162
  msgid "alt => title"
163
  msgstr "alt => title"
164
 
165
- #: inc/settings.php:146
166
  msgid "alt <= title"
167
  msgstr "alt <= title"
168
 
169
- #: inc/settings.php:148
170
  msgid "select sync method for \"alt\" and \"title\" attribute."
171
  msgstr ""
172
  "Wähle die Synchronisierungsmethode für \"alt\" und \"title\" Attribute."
173
 
174
- #: inc/settings.php:149
175
  msgid ""
176
  "<code>alt <=> title</code> - if one attribute is set use it also for the "
177
  "other one"
@@ -179,33 +179,33 @@ msgstr ""
179
  "<code>alt <=> title</code> - Wenn ein Attribut gesetzt ist, wird dieses auch "
180
  "auf das andere übertragen"
181
 
182
- #: inc/settings.php:150
183
  msgid ""
184
  "<code>alt => title</code> - if \"alt\" is set use it for the title attribute"
185
  msgstr ""
186
  "<code>alt => title</code> - Wenn \"alt\" gesetzt ist, wird der Wert "
187
  "ebenfalls für \"title\" gesetzt"
188
 
189
- #: inc/settings.php:151
190
  msgid ""
191
  "<code>alt <= title</code> - if \"title\" is set use it for the alt attribute"
192
  msgstr ""
193
  "<code>alt <= title</code> - Wenn \"title\" gesetzt ist, wird der Wert "
194
  "ebenfalls für \"alt\" gesetzt"
195
 
196
- #: inc/settings.php:157
197
  msgid "override \"alt\""
198
  msgstr "\"alt\" überschreiben"
199
 
200
- #: inc/settings.php:161
201
  msgid "override existing image alt attributes"
202
  msgstr "Überschreibt bestehende \"alt\" Attribute"
203
 
204
- #: inc/settings.php:167
205
  msgid "override \"title\""
206
  msgstr "\"title\" überschreiben"
207
 
208
- #: inc/settings.php:171
209
  msgid "override existing image title attributes"
210
  msgstr "Überschreibt bestehende \"title\" Attribute"
211
 
@@ -256,15 +256,16 @@ msgstr ""
256
  "Wird ersetzt durch die Medien-Beschreibung (könnte leer sein, falls nicht "
257
  "gesetzt)"
258
 
259
- #: inc/settings.php:188
260
  msgid "alt scheme"
261
  msgstr "Schema alt-Attribut"
262
 
263
- #: inc/settings.php:192 inc/settings.php:202 inc/settings.php:385
 
264
  msgid "default"
265
  msgstr "Standard"
266
 
267
- #: inc/settings.php:198
268
  msgid "title scheme"
269
  msgstr "Schema title-Attribut"
270
 
@@ -305,7 +306,7 @@ msgstr ""
305
  "Wenn der Lazy Load aktiviert ist, wird die Funktion automatisch in deinen "
306
  "Beiträgen, Seite und Artikelbildern aktiviert."
307
 
308
- #: inc/settings.php:233
309
  #, php-format
310
  msgid ""
311
  "Please consider upgrading to <a href=\"%s\" target=\"_blank\">PB SEO "
@@ -372,24 +373,37 @@ msgstr ""
372
  msgid "REAL SRC HERE"
373
  msgstr "Echter SRC Pfad"
374
 
375
- #: inc/settings.php:309
376
- msgid "Additional features"
377
- msgstr "Zusatzfunktionen"
 
 
 
 
 
 
 
 
 
378
 
379
- #: inc/settings.php:315
380
  msgid "WooCommerce"
381
  msgstr "WooCommerce"
382
 
383
- #: inc/settings.php:319
384
  msgid "Use the product name as alt and title for WooCommerce product images"
385
  msgstr ""
386
  "Verwende den Produktnamen als alt und title für WooCommerce Produktbilder."
387
 
388
- #: inc/settings.php:326
 
 
 
 
389
  msgid "set title for links"
390
  msgstr "Title für Links setzen"
391
 
392
- #: inc/settings.php:330
393
  msgid ""
394
  "Use the power of PB SEO Friendly Images also for seo friendly links. This "
395
  "will set the title depending on the link text and only if there is no "
@@ -399,11 +413,11 @@ msgstr ""
399
  "Links. Das Tool wird nicht vergebene Linktitel automatisch auf Basis der "
400
  "Linktexte oder enthaltener Bilder setzen"
401
 
402
- #: inc/settings.php:337
403
  msgid "disable srcset"
404
  msgstr "srcset ausschalten"
405
 
406
- #: inc/settings.php:341
407
  msgid ""
408
  "disable srcset attribute and responsive images in WordPress if you don't "
409
  "need them"
@@ -411,11 +425,11 @@ msgstr ""
411
  "deaktiviere das srcset Attribut und Responsive Bilder in Wordpress, wenn du "
412
  "diese nicht benötigst"
413
 
414
- #: inc/settings.php:361
415
  msgid "Encoding and Parser"
416
  msgstr "Encoding und Parser"
417
 
418
- #: inc/settings.php:363
419
  msgid ""
420
  "Here you can configure the HTML-Parser of the plugin. You <u>only</u> need "
421
  "to change this settings if you have <u>problems with your encoding</u> after "
@@ -425,11 +439,11 @@ msgstr ""
425
  "Einstellungen <u>nur dann ändern</u>, falls du <u>Probleme mit dem "
426
  "Encoding / Umlauten</u> nach Aktivierung des Plugins hast."
427
 
428
- #: inc/settings.php:370
429
  msgid "encoding"
430
  msgstr "Encoding"
431
 
432
- #: inc/settings.php:374
433
  msgid ""
434
  "leave blank to use WordPress default encoding or type in something like "
435
  "\"utf-8\""
@@ -437,40 +451,54 @@ msgstr ""
437
  "Lass dieses Feld leer um das WordPress Standard-Encoding zu verwenden oder "
438
  "gib etwas ein wie z.B. „utf-8“"
439
 
440
- #: inc/settings.php:380
441
  msgid "encoding mode"
442
  msgstr "Encoding-Modus"
443
 
444
- #: inc/settings.php:385
445
  msgid "HTML-ENTITIES"
446
  msgstr "HTML-ENTITIES"
447
 
448
- #: inc/settings.php:386
449
  msgid "disable convert encoding"
450
  msgstr "Konvertierung abschalten"
451
 
452
  #. Plugin Name of the plugin/theme
453
- #: inc/settings.php:396
454
  msgid "PB SEO Friendly Images"
455
  msgstr "PB SEO Friendly Images"
456
 
457
- #: inc/settings.php:397
458
  msgid "SEO Friendly Images"
459
  msgstr "SEO Friendly Images"
460
 
461
- #: inc/settings.php:426
462
  msgid "Plugins & Support"
463
  msgstr "Plugins & Support"
464
 
465
- #: inc/settings.php:430 inc/settings.php:432
 
 
 
 
 
 
 
 
 
 
 
 
 
 
466
  msgid "PrimusNote"
467
  msgstr "PrimusNote"
468
 
469
- #: inc/settings.php:432
470
  msgid "Project Management"
471
  msgstr "Projekt-Management"
472
 
473
- #: inc/settings.php:435
474
  msgid ""
475
  "PrimusNote is a Project Management and Team Collaboration software based on "
476
  "WordPress."
@@ -478,15 +506,15 @@ msgstr ""
478
  "PrimusNote ist eine Projekt-Management und Team-Kollaborations-Software auf "
479
  "WordPress Basis."
480
 
481
- #: inc/settings.php:436 inc/settings.php:449
482
  msgid "Install Plugin"
483
  msgstr "Plugin installieren"
484
 
485
- #: inc/settings.php:443 inc/settings.php:445
486
  msgid "MailCrypt - AntiSpam Email Encryption"
487
  msgstr "MailCrypt - E-Mail Verschlüsselung"
488
 
489
- #: inc/settings.php:448
490
  msgid ""
491
  "This Plugin provides a Shortcode to encrypt email addresses / links and "
492
  "protect them against spam."
@@ -494,40 +522,26 @@ msgstr ""
494
  "Dieses Plugin stellt einen Shortcode und Funktionen für die E-Mail "
495
  "Verschlüsselung zur Verfügung und schützt gegen Spam."
496
 
497
- #: inc/settings.php:455
498
- msgid "WordPress Kurs"
499
- msgstr ""
500
-
501
- #: inc/settings.php:456
502
- msgid ""
503
- "Möchtest du mit WordPress richtig durchstarten? In meinem WordPress Kurs "
504
- "erfährst du spannende Tipps und Tricks zu WordPress und SEO!"
505
- msgstr ""
506
-
507
- #: inc/settings.php:459
508
- msgid "Jetzt Kurs ansehen"
509
- msgstr ""
510
-
511
- #: inc/settings.php:465
512
  msgid "Support"
513
  msgstr "Support"
514
 
515
- #: inc/settings.php:466
516
  msgid ""
517
  "Do you need some help with this plugin? I am here to help you. Get in touch:"
518
  msgstr ""
519
  "Benötigst du Unterstützung mit diesem Plugin? Ich bin gerne bereit zu "
520
  "helfen, schreib mir einfach:"
521
 
522
- #: inc/settings.php:470
523
  msgid "Support Forum"
524
  msgstr "Support Forum"
525
 
526
- #: inc/settings.php:472
527
  msgid "Contact Support"
528
  msgstr "Support kontaktieren"
529
 
530
- #: inc/settings.php:474
531
  msgid "Changelog"
532
  msgstr "Changelog"
533
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: PB SEO Friendly Images\n"
4
+ "POT-Creation-Date: 2018-01-21 12:54+0100\n"
5
+ "PO-Revision-Date: 2018-01-21 12:55+0100\n"
6
  "Last-Translator: Pascal Bajorat <pascal@pascal-bajorat.com>\n"
7
  "Language-Team: Pascal Bajorat <pascal@pascal-bajorat.com>\n"
8
  "Language: de\n"
122
  "Friendly Images Pro</a> in Erwägung, wenn du weitere Funktionen verwenden "
123
  "möchtest und die Entwicklung des Plugins unterstützen willst."
124
 
125
+ #: inc/settings.php:117 inc/settings.php:236 inc/settings.php:337
126
  msgid "Upgrade now"
127
  msgstr "Jetzt upgraden"
128
 
134
  msgid "post thumbnails and images in post content"
135
  msgstr "Thumbnails und Bilder innerhalb der Posts"
136
 
137
+ #: inc/settings.php:129 inc/settings.php:144 inc/settings.php:360
138
  msgid "recommended"
139
  msgstr "empfohlen"
140
 
150
  msgid "which images should be optimized"
151
  msgstr "Welche Bilder sollen optimiert werden."
152
 
153
+ #: inc/settings.php:139 inc/settings.php:355
154
  msgid "sync method"
155
  msgstr "Synchronisierungsmethode"
156
 
157
+ #: inc/settings.php:144 inc/settings.php:360
158
  msgid "alt <=> title"
159
  msgstr "alt <=> title"
160
 
161
+ #: inc/settings.php:145 inc/settings.php:361
162
  msgid "alt => title"
163
  msgstr "alt => title"
164
 
165
+ #: inc/settings.php:146 inc/settings.php:362
166
  msgid "alt <= title"
167
  msgstr "alt <= title"
168
 
169
+ #: inc/settings.php:148 inc/settings.php:364
170
  msgid "select sync method for \"alt\" and \"title\" attribute."
171
  msgstr ""
172
  "Wähle die Synchronisierungsmethode für \"alt\" und \"title\" Attribute."
173
 
174
+ #: inc/settings.php:149 inc/settings.php:365
175
  msgid ""
176
  "<code>alt <=> title</code> - if one attribute is set use it also for the "
177
  "other one"
179
  "<code>alt <=> title</code> - Wenn ein Attribut gesetzt ist, wird dieses auch "
180
  "auf das andere übertragen"
181
 
182
+ #: inc/settings.php:150 inc/settings.php:366
183
  msgid ""
184
  "<code>alt => title</code> - if \"alt\" is set use it for the title attribute"
185
  msgstr ""
186
  "<code>alt => title</code> - Wenn \"alt\" gesetzt ist, wird der Wert "
187
  "ebenfalls für \"title\" gesetzt"
188
 
189
+ #: inc/settings.php:151 inc/settings.php:367
190
  msgid ""
191
  "<code>alt <= title</code> - if \"title\" is set use it for the alt attribute"
192
  msgstr ""
193
  "<code>alt <= title</code> - Wenn \"title\" gesetzt ist, wird der Wert "
194
  "ebenfalls für \"alt\" gesetzt"
195
 
196
+ #: inc/settings.php:157 inc/settings.php:374
197
  msgid "override \"alt\""
198
  msgstr "\"alt\" überschreiben"
199
 
200
+ #: inc/settings.php:161 inc/settings.php:378
201
  msgid "override existing image alt attributes"
202
  msgstr "Überschreibt bestehende \"alt\" Attribute"
203
 
204
+ #: inc/settings.php:167 inc/settings.php:385
205
  msgid "override \"title\""
206
  msgstr "\"title\" überschreiben"
207
 
208
+ #: inc/settings.php:171 inc/settings.php:389
209
  msgid "override existing image title attributes"
210
  msgstr "Überschreibt bestehende \"title\" Attribute"
211
 
256
  "Wird ersetzt durch die Medien-Beschreibung (könnte leer sein, falls nicht "
257
  "gesetzt)"
258
 
259
+ #: inc/settings.php:188 inc/settings.php:396
260
  msgid "alt scheme"
261
  msgstr "Schema alt-Attribut"
262
 
263
+ #: inc/settings.php:192 inc/settings.php:202 inc/settings.php:400
264
+ #: inc/settings.php:411 inc/settings.php:496
265
  msgid "default"
266
  msgstr "Standard"
267
 
268
+ #: inc/settings.php:198 inc/settings.php:407
269
  msgid "title scheme"
270
  msgstr "Schema title-Attribut"
271
 
306
  "Wenn der Lazy Load aktiviert ist, wird die Funktion automatisch in deinen "
307
  "Beiträgen, Seite und Artikelbildern aktiviert."
308
 
309
+ #: inc/settings.php:233 inc/settings.php:334
310
  #, php-format
311
  msgid ""
312
  "Please consider upgrading to <a href=\"%s\" target=\"_blank\">PB SEO "
373
  msgid "REAL SRC HERE"
374
  msgstr "Echter SRC Pfad"
375
 
376
+ #: inc/settings.php:326
377
+ msgid "WooCommerce settings"
378
+ msgstr "WooCommerce Einstellungen"
379
+
380
+ #: inc/settings.php:328
381
+ msgid ""
382
+ "This settings are specially for images inside your WooCommerce Shop. In most "
383
+ "cases you need to activate the override to use your custom settings."
384
+ msgstr ""
385
+ "Diese Einstellungen sind speziell für Bilder innerhalb deines WooCommerce "
386
+ "Shops. In dein meisten Fällen muss der Override aktiviert werden, damit "
387
+ "diese korrekt funktionieren."
388
 
389
+ #: inc/settings.php:344
390
  msgid "WooCommerce"
391
  msgstr "WooCommerce"
392
 
393
+ #: inc/settings.php:348
394
  msgid "Use the product name as alt and title for WooCommerce product images"
395
  msgstr ""
396
  "Verwende den Produktnamen als alt und title für WooCommerce Produktbilder."
397
 
398
+ #: inc/settings.php:431
399
+ msgid "Additional features"
400
+ msgstr "Zusatzfunktionen"
401
+
402
+ #: inc/settings.php:437
403
  msgid "set title for links"
404
  msgstr "Title für Links setzen"
405
 
406
+ #: inc/settings.php:441
407
  msgid ""
408
  "Use the power of PB SEO Friendly Images also for seo friendly links. This "
409
  "will set the title depending on the link text and only if there is no "
413
  "Links. Das Tool wird nicht vergebene Linktitel automatisch auf Basis der "
414
  "Linktexte oder enthaltener Bilder setzen"
415
 
416
+ #: inc/settings.php:448
417
  msgid "disable srcset"
418
  msgstr "srcset ausschalten"
419
 
420
+ #: inc/settings.php:452
421
  msgid ""
422
  "disable srcset attribute and responsive images in WordPress if you don't "
423
  "need them"
425
  "deaktiviere das srcset Attribut und Responsive Bilder in Wordpress, wenn du "
426
  "diese nicht benötigst"
427
 
428
+ #: inc/settings.php:472
429
  msgid "Encoding and Parser"
430
  msgstr "Encoding und Parser"
431
 
432
+ #: inc/settings.php:474
433
  msgid ""
434
  "Here you can configure the HTML-Parser of the plugin. You <u>only</u> need "
435
  "to change this settings if you have <u>problems with your encoding</u> after "
439
  "Einstellungen <u>nur dann ändern</u>, falls du <u>Probleme mit dem "
440
  "Encoding / Umlauten</u> nach Aktivierung des Plugins hast."
441
 
442
+ #: inc/settings.php:481
443
  msgid "encoding"
444
  msgstr "Encoding"
445
 
446
+ #: inc/settings.php:485
447
  msgid ""
448
  "leave blank to use WordPress default encoding or type in something like "
449
  "\"utf-8\""
451
  "Lass dieses Feld leer um das WordPress Standard-Encoding zu verwenden oder "
452
  "gib etwas ein wie z.B. „utf-8“"
453
 
454
+ #: inc/settings.php:491
455
  msgid "encoding mode"
456
  msgstr "Encoding-Modus"
457
 
458
+ #: inc/settings.php:496
459
  msgid "HTML-ENTITIES"
460
  msgstr "HTML-ENTITIES"
461
 
462
+ #: inc/settings.php:497
463
  msgid "disable convert encoding"
464
  msgstr "Konvertierung abschalten"
465
 
466
  #. Plugin Name of the plugin/theme
467
+ #: inc/settings.php:507
468
  msgid "PB SEO Friendly Images"
469
  msgstr "PB SEO Friendly Images"
470
 
471
+ #: inc/settings.php:508
472
  msgid "SEO Friendly Images"
473
  msgstr "SEO Friendly Images"
474
 
475
+ #: inc/settings.php:537
476
  msgid "Plugins & Support"
477
  msgstr "Plugins & Support"
478
 
479
+ #: inc/settings.php:541
480
+ msgid "WordPress Kurs"
481
+ msgstr ""
482
+
483
+ #: inc/settings.php:542
484
+ msgid ""
485
+ "Möchtest du mit WordPress richtig durchstarten? In meinem WordPress Kurs "
486
+ "erfährst du spannende Tipps und Tricks zu WordPress und SEO!"
487
+ msgstr ""
488
+
489
+ #: inc/settings.php:545
490
+ msgid "Jetzt Kurs ansehen"
491
+ msgstr ""
492
+
493
+ #: inc/settings.php:553 inc/settings.php:555
494
  msgid "PrimusNote"
495
  msgstr "PrimusNote"
496
 
497
+ #: inc/settings.php:555
498
  msgid "Project Management"
499
  msgstr "Projekt-Management"
500
 
501
+ #: inc/settings.php:558
502
  msgid ""
503
  "PrimusNote is a Project Management and Team Collaboration software based on "
504
  "WordPress."
506
  "PrimusNote ist eine Projekt-Management und Team-Kollaborations-Software auf "
507
  "WordPress Basis."
508
 
509
+ #: inc/settings.php:559 inc/settings.php:572
510
  msgid "Install Plugin"
511
  msgstr "Plugin installieren"
512
 
513
+ #: inc/settings.php:566 inc/settings.php:568
514
  msgid "MailCrypt - AntiSpam Email Encryption"
515
  msgstr "MailCrypt - E-Mail Verschlüsselung"
516
 
517
+ #: inc/settings.php:571
518
  msgid ""
519
  "This Plugin provides a Shortcode to encrypt email addresses / links and "
520
  "protect them against spam."
522
  "Dieses Plugin stellt einen Shortcode und Funktionen für die E-Mail "
523
  "Verschlüsselung zur Verfügung und schützt gegen Spam."
524
 
525
+ #: inc/settings.php:577
 
 
 
 
 
 
 
 
 
 
 
 
 
 
526
  msgid "Support"
527
  msgstr "Support"
528
 
529
+ #: inc/settings.php:578
530
  msgid ""
531
  "Do you need some help with this plugin? I am here to help you. Get in touch:"
532
  msgstr ""
533
  "Benötigst du Unterstützung mit diesem Plugin? Ich bin gerne bereit zu "
534
  "helfen, schreib mir einfach:"
535
 
536
+ #: inc/settings.php:582
537
  msgid "Support Forum"
538
  msgstr "Support Forum"
539
 
540
+ #: inc/settings.php:584
541
  msgid "Contact Support"
542
  msgstr "Support kontaktieren"
543
 
544
+ #: inc/settings.php:586
545
  msgid "Changelog"
546
  msgstr "Changelog"
547
 
lang/pb-seo-friendly-images-de_DE_formal.mo CHANGED
Binary file
lang/pb-seo-friendly-images-de_DE_formal.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: PB SEO Friendly Images\n"
4
- "POT-Creation-Date: 2018-01-02 22:39+0100\n"
5
- "PO-Revision-Date: 2018-01-02 22:48+0100\n"
6
  "Last-Translator: Pascal Bajorat <pascal@pascal-bajorat.com>\n"
7
  "Language-Team: Pascal Bajorat <pascal@pascal-bajorat.com>\n"
8
  "Language: de\n"
@@ -122,7 +122,7 @@ msgstr ""
122
  "Friendly Images Pro</a> in Erwägung, wenn du weitere Funktionen verwenden "
123
  "möchtest und die Entwicklung des Plugins unterstützen willst."
124
 
125
- #: inc/settings.php:117 inc/settings.php:236
126
  msgid "Upgrade now"
127
  msgstr "Jetzt upgraden"
128
 
@@ -134,7 +134,7 @@ msgstr "Bilder optimieren"
134
  msgid "post thumbnails and images in post content"
135
  msgstr "Thumbnails und Bilder innerhalb der Posts"
136
 
137
- #: inc/settings.php:129 inc/settings.php:144
138
  msgid "recommended"
139
  msgstr "empfohlen"
140
 
@@ -150,28 +150,28 @@ msgstr "Nur Bilder im Post-Inhalt"
150
  msgid "which images should be optimized"
151
  msgstr "Welche Bilder sollen optimiert werden."
152
 
153
- #: inc/settings.php:139
154
  msgid "sync method"
155
  msgstr "Synchronisierungsmethode"
156
 
157
- #: inc/settings.php:144
158
  msgid "alt <=> title"
159
  msgstr "alt <=> title"
160
 
161
- #: inc/settings.php:145
162
  msgid "alt => title"
163
  msgstr "alt => title"
164
 
165
- #: inc/settings.php:146
166
  msgid "alt <= title"
167
  msgstr "alt <= title"
168
 
169
- #: inc/settings.php:148
170
  msgid "select sync method for \"alt\" and \"title\" attribute."
171
  msgstr ""
172
  "Wähle die Synchronisierungsmethode für \"alt\" und \"title\" Attribute."
173
 
174
- #: inc/settings.php:149
175
  msgid ""
176
  "<code>alt <=> title</code> - if one attribute is set use it also for the "
177
  "other one"
@@ -179,33 +179,33 @@ msgstr ""
179
  "<code>alt <=> title</code> - Wenn ein Attribut gesetzt ist, wird dieses auch "
180
  "auf das andere übertragen"
181
 
182
- #: inc/settings.php:150
183
  msgid ""
184
  "<code>alt => title</code> - if \"alt\" is set use it for the title attribute"
185
  msgstr ""
186
  "<code>alt => title</code> - Wenn \"alt\" gesetzt ist, wird der Wert "
187
  "ebenfalls für \"title\" gesetzt"
188
 
189
- #: inc/settings.php:151
190
  msgid ""
191
  "<code>alt <= title</code> - if \"title\" is set use it for the alt attribute"
192
  msgstr ""
193
  "<code>alt <= title</code> - Wenn \"title\" gesetzt ist, wird der Wert "
194
  "ebenfalls für \"alt\" gesetzt"
195
 
196
- #: inc/settings.php:157
197
  msgid "override \"alt\""
198
  msgstr "\"alt\" überschreiben"
199
 
200
- #: inc/settings.php:161
201
  msgid "override existing image alt attributes"
202
  msgstr "Überschreibt bestehende \"alt\" Attribute"
203
 
204
- #: inc/settings.php:167
205
  msgid "override \"title\""
206
  msgstr "\"title\" überschreiben"
207
 
208
- #: inc/settings.php:171
209
  msgid "override existing image title attributes"
210
  msgstr "Überschreibt bestehende \"title\" Attribute"
211
 
@@ -256,15 +256,16 @@ msgstr ""
256
  "Wird ersetzt durch die Medien-Beschreibung (könnte leer sein, falls nicht "
257
  "gesetzt)"
258
 
259
- #: inc/settings.php:188
260
  msgid "alt scheme"
261
  msgstr "Schema alt-Attribut"
262
 
263
- #: inc/settings.php:192 inc/settings.php:202 inc/settings.php:385
 
264
  msgid "default"
265
  msgstr "Standard"
266
 
267
- #: inc/settings.php:198
268
  msgid "title scheme"
269
  msgstr "Schema title-Attribut"
270
 
@@ -305,7 +306,7 @@ msgstr ""
305
  "Wenn der Lazy Load aktiviert ist, wird die Funktion automatisch in deinen "
306
  "Beiträgen, Seite und Artikelbildern aktiviert."
307
 
308
- #: inc/settings.php:233
309
  #, php-format
310
  msgid ""
311
  "Please consider upgrading to <a href=\"%s\" target=\"_blank\">PB SEO "
@@ -372,24 +373,37 @@ msgstr ""
372
  msgid "REAL SRC HERE"
373
  msgstr "Echter SRC Pfad"
374
 
375
- #: inc/settings.php:309
376
- msgid "Additional features"
377
- msgstr "Zusatzfunktionen"
 
 
 
 
 
 
 
 
 
378
 
379
- #: inc/settings.php:315
380
  msgid "WooCommerce"
381
  msgstr "WooCommerce"
382
 
383
- #: inc/settings.php:319
384
  msgid "Use the product name as alt and title for WooCommerce product images"
385
  msgstr ""
386
  "Verwende den Produktnamen als alt und title für WooCommerce Produktbilder."
387
 
388
- #: inc/settings.php:326
 
 
 
 
389
  msgid "set title for links"
390
  msgstr "Title für Links setzen"
391
 
392
- #: inc/settings.php:330
393
  msgid ""
394
  "Use the power of PB SEO Friendly Images also for seo friendly links. This "
395
  "will set the title depending on the link text and only if there is no "
@@ -399,11 +413,11 @@ msgstr ""
399
  "Links. Das Tool wird nicht vergebene Linktitel automatisch auf Basis der "
400
  "Linktexte oder enthaltener Bilder setzen"
401
 
402
- #: inc/settings.php:337
403
  msgid "disable srcset"
404
  msgstr "srcset ausschalten"
405
 
406
- #: inc/settings.php:341
407
  msgid ""
408
  "disable srcset attribute and responsive images in WordPress if you don't "
409
  "need them"
@@ -411,11 +425,11 @@ msgstr ""
411
  "deaktiviere das srcset Attribut und Responsive Bilder in Wordpress, wenn du "
412
  "diese nicht benötigst"
413
 
414
- #: inc/settings.php:361
415
  msgid "Encoding and Parser"
416
  msgstr "Encoding und Parser"
417
 
418
- #: inc/settings.php:363
419
  msgid ""
420
  "Here you can configure the HTML-Parser of the plugin. You <u>only</u> need "
421
  "to change this settings if you have <u>problems with your encoding</u> after "
@@ -425,11 +439,11 @@ msgstr ""
425
  "Einstellungen <u>nur dann ändern</u>, falls du <u>Probleme mit dem "
426
  "Encoding / Umlauten</u> nach Aktivierung des Plugins hast."
427
 
428
- #: inc/settings.php:370
429
  msgid "encoding"
430
  msgstr "Encoding"
431
 
432
- #: inc/settings.php:374
433
  msgid ""
434
  "leave blank to use WordPress default encoding or type in something like "
435
  "\"utf-8\""
@@ -437,40 +451,54 @@ msgstr ""
437
  "Lass dieses Feld leer um das WordPress Standard-Encoding zu verwenden oder "
438
  "gib etwas ein wie z.B. „utf-8“"
439
 
440
- #: inc/settings.php:380
441
  msgid "encoding mode"
442
  msgstr "Encoding-Modus"
443
 
444
- #: inc/settings.php:385
445
  msgid "HTML-ENTITIES"
446
  msgstr "HTML-ENTITIES"
447
 
448
- #: inc/settings.php:386
449
  msgid "disable convert encoding"
450
  msgstr "Konvertierung abschalten"
451
 
452
  #. Plugin Name of the plugin/theme
453
- #: inc/settings.php:396
454
  msgid "PB SEO Friendly Images"
455
  msgstr "PB SEO Friendly Images"
456
 
457
- #: inc/settings.php:397
458
  msgid "SEO Friendly Images"
459
  msgstr "SEO Friendly Images"
460
 
461
- #: inc/settings.php:426
462
  msgid "Plugins & Support"
463
  msgstr "Plugins & Support"
464
 
465
- #: inc/settings.php:430 inc/settings.php:432
 
 
 
 
 
 
 
 
 
 
 
 
 
 
466
  msgid "PrimusNote"
467
  msgstr "PrimusNote"
468
 
469
- #: inc/settings.php:432
470
  msgid "Project Management"
471
  msgstr "Projekt-Management"
472
 
473
- #: inc/settings.php:435
474
  msgid ""
475
  "PrimusNote is a Project Management and Team Collaboration software based on "
476
  "WordPress."
@@ -478,15 +506,15 @@ msgstr ""
478
  "PrimusNote ist eine Projekt-Management und Team-Kollaborations-Software auf "
479
  "WordPress Basis."
480
 
481
- #: inc/settings.php:436 inc/settings.php:449
482
  msgid "Install Plugin"
483
  msgstr "Plugin installieren"
484
 
485
- #: inc/settings.php:443 inc/settings.php:445
486
  msgid "MailCrypt - AntiSpam Email Encryption"
487
  msgstr "MailCrypt - E-Mail Verschlüsselung"
488
 
489
- #: inc/settings.php:448
490
  msgid ""
491
  "This Plugin provides a Shortcode to encrypt email addresses / links and "
492
  "protect them against spam."
@@ -494,40 +522,26 @@ msgstr ""
494
  "Dieses Plugin stellt einen Shortcode und Funktionen für die E-Mail "
495
  "Verschlüsselung zur Verfügung und schützt gegen Spam."
496
 
497
- #: inc/settings.php:455
498
- msgid "WordPress Kurs"
499
- msgstr ""
500
-
501
- #: inc/settings.php:456
502
- msgid ""
503
- "Möchtest du mit WordPress richtig durchstarten? In meinem WordPress Kurs "
504
- "erfährst du spannende Tipps und Tricks zu WordPress und SEO!"
505
- msgstr ""
506
-
507
- #: inc/settings.php:459
508
- msgid "Jetzt Kurs ansehen"
509
- msgstr ""
510
-
511
- #: inc/settings.php:465
512
  msgid "Support"
513
  msgstr "Support"
514
 
515
- #: inc/settings.php:466
516
  msgid ""
517
  "Do you need some help with this plugin? I am here to help you. Get in touch:"
518
  msgstr ""
519
  "Benötigst du Unterstützung mit diesem Plugin? Ich bin gerne bereit zu "
520
  "helfen, schreib mir einfach:"
521
 
522
- #: inc/settings.php:470
523
  msgid "Support Forum"
524
  msgstr "Support Forum"
525
 
526
- #: inc/settings.php:472
527
  msgid "Contact Support"
528
  msgstr "Support kontaktieren"
529
 
530
- #: inc/settings.php:474
531
  msgid "Changelog"
532
  msgstr "Changelog"
533
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: PB SEO Friendly Images\n"
4
+ "POT-Creation-Date: 2018-01-21 12:54+0100\n"
5
+ "PO-Revision-Date: 2018-01-21 12:55+0100\n"
6
  "Last-Translator: Pascal Bajorat <pascal@pascal-bajorat.com>\n"
7
  "Language-Team: Pascal Bajorat <pascal@pascal-bajorat.com>\n"
8
  "Language: de\n"
122
  "Friendly Images Pro</a> in Erwägung, wenn du weitere Funktionen verwenden "
123
  "möchtest und die Entwicklung des Plugins unterstützen willst."
124
 
125
+ #: inc/settings.php:117 inc/settings.php:236 inc/settings.php:337
126
  msgid "Upgrade now"
127
  msgstr "Jetzt upgraden"
128
 
134
  msgid "post thumbnails and images in post content"
135
  msgstr "Thumbnails und Bilder innerhalb der Posts"
136
 
137
+ #: inc/settings.php:129 inc/settings.php:144 inc/settings.php:360
138
  msgid "recommended"
139
  msgstr "empfohlen"
140
 
150
  msgid "which images should be optimized"
151
  msgstr "Welche Bilder sollen optimiert werden."
152
 
153
+ #: inc/settings.php:139 inc/settings.php:355
154
  msgid "sync method"
155
  msgstr "Synchronisierungsmethode"
156
 
157
+ #: inc/settings.php:144 inc/settings.php:360
158
  msgid "alt <=> title"
159
  msgstr "alt <=> title"
160
 
161
+ #: inc/settings.php:145 inc/settings.php:361
162
  msgid "alt => title"
163
  msgstr "alt => title"
164
 
165
+ #: inc/settings.php:146 inc/settings.php:362
166
  msgid "alt <= title"
167
  msgstr "alt <= title"
168
 
169
+ #: inc/settings.php:148 inc/settings.php:364
170
  msgid "select sync method for \"alt\" and \"title\" attribute."
171
  msgstr ""
172
  "Wähle die Synchronisierungsmethode für \"alt\" und \"title\" Attribute."
173
 
174
+ #: inc/settings.php:149 inc/settings.php:365
175
  msgid ""
176
  "<code>alt <=> title</code> - if one attribute is set use it also for the "
177
  "other one"
179
  "<code>alt <=> title</code> - Wenn ein Attribut gesetzt ist, wird dieses auch "
180
  "auf das andere übertragen"
181
 
182
+ #: inc/settings.php:150 inc/settings.php:366
183
  msgid ""
184
  "<code>alt => title</code> - if \"alt\" is set use it for the title attribute"
185
  msgstr ""
186
  "<code>alt => title</code> - Wenn \"alt\" gesetzt ist, wird der Wert "
187
  "ebenfalls für \"title\" gesetzt"
188
 
189
+ #: inc/settings.php:151 inc/settings.php:367
190
  msgid ""
191
  "<code>alt <= title</code> - if \"title\" is set use it for the alt attribute"
192
  msgstr ""
193
  "<code>alt <= title</code> - Wenn \"title\" gesetzt ist, wird der Wert "
194
  "ebenfalls für \"alt\" gesetzt"
195
 
196
+ #: inc/settings.php:157 inc/settings.php:374
197
  msgid "override \"alt\""
198
  msgstr "\"alt\" überschreiben"
199
 
200
+ #: inc/settings.php:161 inc/settings.php:378
201
  msgid "override existing image alt attributes"
202
  msgstr "Überschreibt bestehende \"alt\" Attribute"
203
 
204
+ #: inc/settings.php:167 inc/settings.php:385
205
  msgid "override \"title\""
206
  msgstr "\"title\" überschreiben"
207
 
208
+ #: inc/settings.php:171 inc/settings.php:389
209
  msgid "override existing image title attributes"
210
  msgstr "Überschreibt bestehende \"title\" Attribute"
211
 
256
  "Wird ersetzt durch die Medien-Beschreibung (könnte leer sein, falls nicht "
257
  "gesetzt)"
258
 
259
+ #: inc/settings.php:188 inc/settings.php:396
260
  msgid "alt scheme"
261
  msgstr "Schema alt-Attribut"
262
 
263
+ #: inc/settings.php:192 inc/settings.php:202 inc/settings.php:400
264
+ #: inc/settings.php:411 inc/settings.php:496
265
  msgid "default"
266
  msgstr "Standard"
267
 
268
+ #: inc/settings.php:198 inc/settings.php:407
269
  msgid "title scheme"
270
  msgstr "Schema title-Attribut"
271
 
306
  "Wenn der Lazy Load aktiviert ist, wird die Funktion automatisch in deinen "
307
  "Beiträgen, Seite und Artikelbildern aktiviert."
308
 
309
+ #: inc/settings.php:233 inc/settings.php:334
310
  #, php-format
311
  msgid ""
312
  "Please consider upgrading to <a href=\"%s\" target=\"_blank\">PB SEO "
373
  msgid "REAL SRC HERE"
374
  msgstr "Echter SRC Pfad"
375
 
376
+ #: inc/settings.php:326
377
+ msgid "WooCommerce settings"
378
+ msgstr "WooCommerce Einstellungen"
379
+
380
+ #: inc/settings.php:328
381
+ msgid ""
382
+ "This settings are specially for images inside your WooCommerce Shop. In most "
383
+ "cases you need to activate the override to use your custom settings."
384
+ msgstr ""
385
+ "Diese Einstellungen sind speziell für Bilder innerhalb deines WooCommerce "
386
+ "Shops. In dein meisten Fällen muss der Override aktiviert werden, damit "
387
+ "diese korrekt funktionieren."
388
 
389
+ #: inc/settings.php:344
390
  msgid "WooCommerce"
391
  msgstr "WooCommerce"
392
 
393
+ #: inc/settings.php:348
394
  msgid "Use the product name as alt and title for WooCommerce product images"
395
  msgstr ""
396
  "Verwende den Produktnamen als alt und title für WooCommerce Produktbilder."
397
 
398
+ #: inc/settings.php:431
399
+ msgid "Additional features"
400
+ msgstr "Zusatzfunktionen"
401
+
402
+ #: inc/settings.php:437
403
  msgid "set title for links"
404
  msgstr "Title für Links setzen"
405
 
406
+ #: inc/settings.php:441
407
  msgid ""
408
  "Use the power of PB SEO Friendly Images also for seo friendly links. This "
409
  "will set the title depending on the link text and only if there is no "
413
  "Links. Das Tool wird nicht vergebene Linktitel automatisch auf Basis der "
414
  "Linktexte oder enthaltener Bilder setzen"
415
 
416
+ #: inc/settings.php:448
417
  msgid "disable srcset"
418
  msgstr "srcset ausschalten"
419
 
420
+ #: inc/settings.php:452
421
  msgid ""
422
  "disable srcset attribute and responsive images in WordPress if you don't "
423
  "need them"
425
  "deaktiviere das srcset Attribut und Responsive Bilder in Wordpress, wenn du "
426
  "diese nicht benötigst"
427
 
428
+ #: inc/settings.php:472
429
  msgid "Encoding and Parser"
430
  msgstr "Encoding und Parser"
431
 
432
+ #: inc/settings.php:474
433
  msgid ""
434
  "Here you can configure the HTML-Parser of the plugin. You <u>only</u> need "
435
  "to change this settings if you have <u>problems with your encoding</u> after "
439
  "Einstellungen <u>nur dann ändern</u>, falls du <u>Probleme mit dem "
440
  "Encoding / Umlauten</u> nach Aktivierung des Plugins hast."
441
 
442
+ #: inc/settings.php:481
443
  msgid "encoding"
444
  msgstr "Encoding"
445
 
446
+ #: inc/settings.php:485
447
  msgid ""
448
  "leave blank to use WordPress default encoding or type in something like "
449
  "\"utf-8\""
451
  "Lass dieses Feld leer um das WordPress Standard-Encoding zu verwenden oder "
452
  "gib etwas ein wie z.B. „utf-8“"
453
 
454
+ #: inc/settings.php:491
455
  msgid "encoding mode"
456
  msgstr "Encoding-Modus"
457
 
458
+ #: inc/settings.php:496
459
  msgid "HTML-ENTITIES"
460
  msgstr "HTML-ENTITIES"
461
 
462
+ #: inc/settings.php:497
463
  msgid "disable convert encoding"
464
  msgstr "Konvertierung abschalten"
465
 
466
  #. Plugin Name of the plugin/theme
467
+ #: inc/settings.php:507
468
  msgid "PB SEO Friendly Images"
469
  msgstr "PB SEO Friendly Images"
470
 
471
+ #: inc/settings.php:508
472
  msgid "SEO Friendly Images"
473
  msgstr "SEO Friendly Images"
474
 
475
+ #: inc/settings.php:537
476
  msgid "Plugins & Support"
477
  msgstr "Plugins & Support"
478
 
479
+ #: inc/settings.php:541
480
+ msgid "WordPress Kurs"
481
+ msgstr ""
482
+
483
+ #: inc/settings.php:542
484
+ msgid ""
485
+ "Möchtest du mit WordPress richtig durchstarten? In meinem WordPress Kurs "
486
+ "erfährst du spannende Tipps und Tricks zu WordPress und SEO!"
487
+ msgstr ""
488
+
489
+ #: inc/settings.php:545
490
+ msgid "Jetzt Kurs ansehen"
491
+ msgstr ""
492
+
493
+ #: inc/settings.php:553 inc/settings.php:555
494
  msgid "PrimusNote"
495
  msgstr "PrimusNote"
496
 
497
+ #: inc/settings.php:555
498
  msgid "Project Management"
499
  msgstr "Projekt-Management"
500
 
501
+ #: inc/settings.php:558
502
  msgid ""
503
  "PrimusNote is a Project Management and Team Collaboration software based on "
504
  "WordPress."
506
  "PrimusNote ist eine Projekt-Management und Team-Kollaborations-Software auf "
507
  "WordPress Basis."
508
 
509
+ #: inc/settings.php:559 inc/settings.php:572
510
  msgid "Install Plugin"
511
  msgstr "Plugin installieren"
512
 
513
+ #: inc/settings.php:566 inc/settings.php:568
514
  msgid "MailCrypt - AntiSpam Email Encryption"
515
  msgstr "MailCrypt - E-Mail Verschlüsselung"
516
 
517
+ #: inc/settings.php:571
518
  msgid ""
519
  "This Plugin provides a Shortcode to encrypt email addresses / links and "
520
  "protect them against spam."
522
  "Dieses Plugin stellt einen Shortcode und Funktionen für die E-Mail "
523
  "Verschlüsselung zur Verfügung und schützt gegen Spam."
524
 
525
+ #: inc/settings.php:577
 
 
 
 
 
 
 
 
 
 
 
 
 
 
526
  msgid "Support"
527
  msgstr "Support"
528
 
529
+ #: inc/settings.php:578
530
  msgid ""
531
  "Do you need some help with this plugin? I am here to help you. Get in touch:"
532
  msgstr ""
533
  "Benötigst du Unterstützung mit diesem Plugin? Ich bin gerne bereit zu "
534
  "helfen, schreib mir einfach:"
535
 
536
+ #: inc/settings.php:582
537
  msgid "Support Forum"
538
  msgstr "Support Forum"
539
 
540
+ #: inc/settings.php:584
541
  msgid "Contact Support"
542
  msgstr "Support kontaktieren"
543
 
544
+ #: inc/settings.php:586
545
  msgid "Changelog"
546
  msgstr "Changelog"
547
 
lang/pb-seo-friendly-images.pot CHANGED
@@ -3,7 +3,7 @@ msgid ""
3
  msgstr ""
4
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
  "Project-Id-Version: PB SEO Friendly Images Pro\n"
6
- "POT-Creation-Date: 2018-01-02 22:39+0100\n"
7
  "PO-Revision-Date: 2016-12-23 22:36+0100\n"
8
  "Last-Translator: Pascal Bajorat <pascal@pascal-bajorat.com>\n"
9
  "Language-Team: Pascal Bajorat <pascal@pascal-bajorat.com>\n"
@@ -93,7 +93,7 @@ msgid ""
93
  "this plugin."
94
  msgstr ""
95
 
96
- #: inc/settings.php:117 inc/settings.php:236
97
  msgid "Upgrade now"
98
  msgstr ""
99
 
@@ -105,7 +105,7 @@ msgstr ""
105
  msgid "post thumbnails and images in post content"
106
  msgstr ""
107
 
108
- #: inc/settings.php:129 inc/settings.php:144
109
  msgid "recommended"
110
  msgstr ""
111
 
@@ -121,55 +121,55 @@ msgstr ""
121
  msgid "which images should be optimized"
122
  msgstr ""
123
 
124
- #: inc/settings.php:139
125
  msgid "sync method"
126
  msgstr ""
127
 
128
- #: inc/settings.php:144
129
  msgid "alt <=> title"
130
  msgstr ""
131
 
132
- #: inc/settings.php:145
133
  msgid "alt => title"
134
  msgstr ""
135
 
136
- #: inc/settings.php:146
137
  msgid "alt <= title"
138
  msgstr ""
139
 
140
- #: inc/settings.php:148
141
  msgid "select sync method for \"alt\" and \"title\" attribute."
142
  msgstr ""
143
 
144
- #: inc/settings.php:149
145
  msgid ""
146
  "<code>alt <=> title</code> - if one attribute is set use it also for the other "
147
  "one"
148
  msgstr ""
149
 
150
- #: inc/settings.php:150
151
  msgid ""
152
  "<code>alt => title</code> - if \"alt\" is set use it for the title attribute"
153
  msgstr ""
154
 
155
- #: inc/settings.php:151
156
  msgid ""
157
  "<code>alt <= title</code> - if \"title\" is set use it for the alt attribute"
158
  msgstr ""
159
 
160
- #: inc/settings.php:157
161
  msgid "override \"alt\""
162
  msgstr ""
163
 
164
- #: inc/settings.php:161
165
  msgid "override existing image alt attributes"
166
  msgstr ""
167
 
168
- #: inc/settings.php:167
169
  msgid "override \"title\""
170
  msgstr ""
171
 
172
- #: inc/settings.php:171
173
  msgid "override existing image title attributes"
174
  msgstr ""
175
 
@@ -213,15 +213,16 @@ msgstr ""
213
  msgid "replaces attachment description (could be empty if not set)"
214
  msgstr ""
215
 
216
- #: inc/settings.php:188
217
  msgid "alt scheme"
218
  msgstr ""
219
 
220
- #: inc/settings.php:192 inc/settings.php:202 inc/settings.php:385
 
221
  msgid "default"
222
  msgstr ""
223
 
224
- #: inc/settings.php:198
225
  msgid "title scheme"
226
  msgstr ""
227
 
@@ -253,7 +254,7 @@ msgid ""
253
  "page content and also to post thumbnails."
254
  msgstr ""
255
 
256
- #: inc/settings.php:233
257
  #, php-format
258
  msgid ""
259
  "Please consider upgrading to <a href=\"%s\" target=\"_blank\">PB SEO Friendly "
@@ -310,143 +311,153 @@ msgstr ""
310
  msgid "REAL SRC HERE"
311
  msgstr ""
312
 
313
- #: inc/settings.php:309
314
- msgid "Additional features"
 
 
 
 
 
 
315
  msgstr ""
316
 
317
- #: inc/settings.php:315
318
  msgid "WooCommerce"
319
  msgstr ""
320
 
321
- #: inc/settings.php:319
322
  msgid "Use the product name as alt and title for WooCommerce product images"
323
  msgstr ""
324
 
325
- #: inc/settings.php:326
 
 
 
 
326
  msgid "set title for links"
327
  msgstr ""
328
 
329
- #: inc/settings.php:330
330
  msgid ""
331
  "Use the power of PB SEO Friendly Images also for seo friendly links. This will "
332
  "set the title depending on the link text and only if there is no existing title"
333
  msgstr ""
334
 
335
- #: inc/settings.php:337
336
  msgid "disable srcset"
337
  msgstr ""
338
 
339
- #: inc/settings.php:341
340
  msgid ""
341
  "disable srcset attribute and responsive images in WordPress if you don't need "
342
  "them"
343
  msgstr ""
344
 
345
- #: inc/settings.php:361
346
  msgid "Encoding and Parser"
347
  msgstr ""
348
 
349
- #: inc/settings.php:363
350
  msgid ""
351
  "Here you can configure the HTML-Parser of the plugin. You <u>only</u> need to "
352
  "change this settings if you have <u>problems with your encoding</u> after "
353
  "activating the plugin."
354
  msgstr ""
355
 
356
- #: inc/settings.php:370
357
  msgid "encoding"
358
  msgstr ""
359
 
360
- #: inc/settings.php:374
361
  msgid ""
362
  "leave blank to use WordPress default encoding or type in something like \"utf-8\""
363
  msgstr ""
364
 
365
- #: inc/settings.php:380
366
  msgid "encoding mode"
367
  msgstr ""
368
 
369
- #: inc/settings.php:385
370
  msgid "HTML-ENTITIES"
371
  msgstr ""
372
 
373
- #: inc/settings.php:386
374
  msgid "disable convert encoding"
375
  msgstr ""
376
 
377
  #. Plugin Name of the plugin/theme
378
- #: inc/settings.php:396
379
  msgid "PB SEO Friendly Images"
380
  msgstr ""
381
 
382
- #: inc/settings.php:397
383
  msgid "SEO Friendly Images"
384
  msgstr ""
385
 
386
- #: inc/settings.php:426
387
  msgid "Plugins & Support"
388
  msgstr ""
389
 
390
- #: inc/settings.php:430 inc/settings.php:432
 
 
 
 
 
 
 
 
 
 
 
 
 
 
391
  msgid "PrimusNote"
392
  msgstr ""
393
 
394
- #: inc/settings.php:432
395
  msgid "Project Management"
396
  msgstr ""
397
 
398
- #: inc/settings.php:435
399
  msgid ""
400
  "PrimusNote is a Project Management and Team Collaboration software based on "
401
  "WordPress."
402
  msgstr ""
403
 
404
- #: inc/settings.php:436 inc/settings.php:449
405
  msgid "Install Plugin"
406
  msgstr ""
407
 
408
- #: inc/settings.php:443 inc/settings.php:445
409
  msgid "MailCrypt - AntiSpam Email Encryption"
410
  msgstr ""
411
 
412
- #: inc/settings.php:448
413
  msgid ""
414
  "This Plugin provides a Shortcode to encrypt email addresses / links and protect "
415
  "them against spam."
416
  msgstr ""
417
 
418
- #: inc/settings.php:455
419
- msgid "WordPress Kurs"
420
- msgstr ""
421
-
422
- #: inc/settings.php:456
423
- msgid ""
424
- "Möchtest du mit WordPress richtig durchstarten? In meinem WordPress Kurs "
425
- "erfährst du spannende Tipps und Tricks zu WordPress und SEO!"
426
- msgstr ""
427
-
428
- #: inc/settings.php:459
429
- msgid "Jetzt Kurs ansehen"
430
- msgstr ""
431
-
432
- #: inc/settings.php:465
433
  msgid "Support"
434
  msgstr ""
435
 
436
- #: inc/settings.php:466
437
  msgid ""
438
  "Do you need some help with this plugin? I am here to help you. Get in touch:"
439
  msgstr ""
440
 
441
- #: inc/settings.php:470
442
  msgid "Support Forum"
443
  msgstr ""
444
 
445
- #: inc/settings.php:472
446
  msgid "Contact Support"
447
  msgstr ""
448
 
449
- #: inc/settings.php:474
450
  msgid "Changelog"
451
  msgstr ""
452
 
3
  msgstr ""
4
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
  "Project-Id-Version: PB SEO Friendly Images Pro\n"
6
+ "POT-Creation-Date: 2018-01-21 12:54+0100\n"
7
  "PO-Revision-Date: 2016-12-23 22:36+0100\n"
8
  "Last-Translator: Pascal Bajorat <pascal@pascal-bajorat.com>\n"
9
  "Language-Team: Pascal Bajorat <pascal@pascal-bajorat.com>\n"
93
  "this plugin."
94
  msgstr ""
95
 
96
+ #: inc/settings.php:117 inc/settings.php:236 inc/settings.php:337
97
  msgid "Upgrade now"
98
  msgstr ""
99
 
105
  msgid "post thumbnails and images in post content"
106
  msgstr ""
107
 
108
+ #: inc/settings.php:129 inc/settings.php:144 inc/settings.php:360
109
  msgid "recommended"
110
  msgstr ""
111
 
121
  msgid "which images should be optimized"
122
  msgstr ""
123
 
124
+ #: inc/settings.php:139 inc/settings.php:355
125
  msgid "sync method"
126
  msgstr ""
127
 
128
+ #: inc/settings.php:144 inc/settings.php:360
129
  msgid "alt <=> title"
130
  msgstr ""
131
 
132
+ #: inc/settings.php:145 inc/settings.php:361
133
  msgid "alt => title"
134
  msgstr ""
135
 
136
+ #: inc/settings.php:146 inc/settings.php:362
137
  msgid "alt <= title"
138
  msgstr ""
139
 
140
+ #: inc/settings.php:148 inc/settings.php:364
141
  msgid "select sync method for \"alt\" and \"title\" attribute."
142
  msgstr ""
143
 
144
+ #: inc/settings.php:149 inc/settings.php:365
145
  msgid ""
146
  "<code>alt <=> title</code> - if one attribute is set use it also for the other "
147
  "one"
148
  msgstr ""
149
 
150
+ #: inc/settings.php:150 inc/settings.php:366
151
  msgid ""
152
  "<code>alt => title</code> - if \"alt\" is set use it for the title attribute"
153
  msgstr ""
154
 
155
+ #: inc/settings.php:151 inc/settings.php:367
156
  msgid ""
157
  "<code>alt <= title</code> - if \"title\" is set use it for the alt attribute"
158
  msgstr ""
159
 
160
+ #: inc/settings.php:157 inc/settings.php:374
161
  msgid "override \"alt\""
162
  msgstr ""
163
 
164
+ #: inc/settings.php:161 inc/settings.php:378
165
  msgid "override existing image alt attributes"
166
  msgstr ""
167
 
168
+ #: inc/settings.php:167 inc/settings.php:385
169
  msgid "override \"title\""
170
  msgstr ""
171
 
172
+ #: inc/settings.php:171 inc/settings.php:389
173
  msgid "override existing image title attributes"
174
  msgstr ""
175
 
213
  msgid "replaces attachment description (could be empty if not set)"
214
  msgstr ""
215
 
216
+ #: inc/settings.php:188 inc/settings.php:396
217
  msgid "alt scheme"
218
  msgstr ""
219
 
220
+ #: inc/settings.php:192 inc/settings.php:202 inc/settings.php:400
221
+ #: inc/settings.php:411 inc/settings.php:496
222
  msgid "default"
223
  msgstr ""
224
 
225
+ #: inc/settings.php:198 inc/settings.php:407
226
  msgid "title scheme"
227
  msgstr ""
228
 
254
  "page content and also to post thumbnails."
255
  msgstr ""
256
 
257
+ #: inc/settings.php:233 inc/settings.php:334
258
  #, php-format
259
  msgid ""
260
  "Please consider upgrading to <a href=\"%s\" target=\"_blank\">PB SEO Friendly "
311
  msgid "REAL SRC HERE"
312
  msgstr ""
313
 
314
+ #: inc/settings.php:326
315
+ msgid "WooCommerce settings"
316
+ msgstr ""
317
+
318
+ #: inc/settings.php:328
319
+ msgid ""
320
+ "This settings are specially for images inside your WooCommerce Shop. In most "
321
+ "cases you need to activate the override to use your custom settings."
322
  msgstr ""
323
 
324
+ #: inc/settings.php:344
325
  msgid "WooCommerce"
326
  msgstr ""
327
 
328
+ #: inc/settings.php:348
329
  msgid "Use the product name as alt and title for WooCommerce product images"
330
  msgstr ""
331
 
332
+ #: inc/settings.php:431
333
+ msgid "Additional features"
334
+ msgstr ""
335
+
336
+ #: inc/settings.php:437
337
  msgid "set title for links"
338
  msgstr ""
339
 
340
+ #: inc/settings.php:441
341
  msgid ""
342
  "Use the power of PB SEO Friendly Images also for seo friendly links. This will "
343
  "set the title depending on the link text and only if there is no existing title"
344
  msgstr ""
345
 
346
+ #: inc/settings.php:448
347
  msgid "disable srcset"
348
  msgstr ""
349
 
350
+ #: inc/settings.php:452
351
  msgid ""
352
  "disable srcset attribute and responsive images in WordPress if you don't need "
353
  "them"
354
  msgstr ""
355
 
356
+ #: inc/settings.php:472
357
  msgid "Encoding and Parser"
358
  msgstr ""
359
 
360
+ #: inc/settings.php:474
361
  msgid ""
362
  "Here you can configure the HTML-Parser of the plugin. You <u>only</u> need to "
363
  "change this settings if you have <u>problems with your encoding</u> after "
364
  "activating the plugin."
365
  msgstr ""
366
 
367
+ #: inc/settings.php:481
368
  msgid "encoding"
369
  msgstr ""
370
 
371
+ #: inc/settings.php:485
372
  msgid ""
373
  "leave blank to use WordPress default encoding or type in something like \"utf-8\""
374
  msgstr ""
375
 
376
+ #: inc/settings.php:491
377
  msgid "encoding mode"
378
  msgstr ""
379
 
380
+ #: inc/settings.php:496
381
  msgid "HTML-ENTITIES"
382
  msgstr ""
383
 
384
+ #: inc/settings.php:497
385
  msgid "disable convert encoding"
386
  msgstr ""
387
 
388
  #. Plugin Name of the plugin/theme
389
+ #: inc/settings.php:507
390
  msgid "PB SEO Friendly Images"
391
  msgstr ""
392
 
393
+ #: inc/settings.php:508
394
  msgid "SEO Friendly Images"
395
  msgstr ""
396
 
397
+ #: inc/settings.php:537
398
  msgid "Plugins & Support"
399
  msgstr ""
400
 
401
+ #: inc/settings.php:541
402
+ msgid "WordPress Kurs"
403
+ msgstr ""
404
+
405
+ #: inc/settings.php:542
406
+ msgid ""
407
+ "Möchtest du mit WordPress richtig durchstarten? In meinem WordPress Kurs "
408
+ "erfährst du spannende Tipps und Tricks zu WordPress und SEO!"
409
+ msgstr ""
410
+
411
+ #: inc/settings.php:545
412
+ msgid "Jetzt Kurs ansehen"
413
+ msgstr ""
414
+
415
+ #: inc/settings.php:553 inc/settings.php:555
416
  msgid "PrimusNote"
417
  msgstr ""
418
 
419
+ #: inc/settings.php:555
420
  msgid "Project Management"
421
  msgstr ""
422
 
423
+ #: inc/settings.php:558
424
  msgid ""
425
  "PrimusNote is a Project Management and Team Collaboration software based on "
426
  "WordPress."
427
  msgstr ""
428
 
429
+ #: inc/settings.php:559 inc/settings.php:572
430
  msgid "Install Plugin"
431
  msgstr ""
432
 
433
+ #: inc/settings.php:566 inc/settings.php:568
434
  msgid "MailCrypt - AntiSpam Email Encryption"
435
  msgstr ""
436
 
437
+ #: inc/settings.php:571
438
  msgid ""
439
  "This Plugin provides a Shortcode to encrypt email addresses / links and protect "
440
  "them against spam."
441
  msgstr ""
442
 
443
+ #: inc/settings.php:577
 
 
 
 
 
 
 
 
 
 
 
 
 
 
444
  msgid "Support"
445
  msgstr ""
446
 
447
+ #: inc/settings.php:578
448
  msgid ""
449
  "Do you need some help with this plugin? I am here to help you. Get in touch:"
450
  msgstr ""
451
 
452
+ #: inc/settings.php:582
453
  msgid "Support Forum"
454
  msgstr ""
455
 
456
+ #: inc/settings.php:584
457
  msgid "Contact Support"
458
  msgstr ""
459
 
460
+ #: inc/settings.php:586
461
  msgid "Changelog"
462
  msgstr ""
463
 
pb-seo-friendly-images.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: PB SEO Friendly Images
4
  Plugin URI: https://wordpress.org/extend/plugins/pb-seo-friendly-images/
5
  Description: This plugin is a full-featured solution for SEO friendly images. Optimize "alt" and "title" attributes for all images and post thumbnails. This plugin helps you to improve your traffic from search engines.
6
- Version: 2.6.0
7
  Author: Pascal Bajorat
8
  Author URI: https://www.pascal-bajorat.com
9
  Text Domain: pb-seo-friendly-images
@@ -36,7 +36,7 @@ if( !class_exists('pbSEOFriendlyImages') ):
36
 
37
  class pbSEOFriendlyImages
38
  {
39
- public static $verMajor = '2.6';
40
  public static $verMinor = '0';
41
 
42
  public static $basename = false;
@@ -83,6 +83,11 @@ if( !class_exists('pbSEOFriendlyImages') ):
83
  'enable_lazyload_styles' => get_option('pbsfi_enable_lazyload_styles', false),
84
  'lazyload_threshold' => get_option('pbsfi_lazyload_threshold', false),
85
  'wc_title' => get_option('pbsfi_wc_title', false),
 
 
 
 
 
86
  'disable_srcset' => get_option('pbsfi_disable_srcset', false),
87
  'link_title' => get_option('pbsfi_link_title', false),
88
  'encoding' => get_option('pbsfi_encoding', false),
@@ -107,11 +112,6 @@ if( !class_exists('pbSEOFriendlyImages') ):
107
  //add_filter('acf_load_value-text', array(__CLASS__, 'encrypt_mails_in_content'), 20);
108
  add_filter('acf_load_value-textarea', array(__CLASS__, 'prepareContentImages'), 20);
109
  add_filter('acf_load_value-wysiwyg', array(__CLASS__, 'prepareContentImages'), 20);
110
-
111
- // Woocommerce
112
- if( pbSEOFriendlyImages::$userSettings['wc_title'] && pbSEOFriendlyImages::$proVersion ) {
113
- add_filter('wp_get_attachment_image_attributes', array(__CLASS__, 'prepareContentImagesAttributes'), 20, 2);
114
- }
115
  }
116
  } else {
117
  add_action( 'admin_enqueue_scripts', function(){
@@ -157,7 +157,21 @@ if( !class_exists('pbSEOFriendlyImages') ):
157
 
158
  $cats = '';
159
  if ( strrpos( $content, '%category' ) !== false ) {
160
- $categories = get_the_category();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
161
 
162
  if ( $categories ) {
163
  $i = 0;
@@ -365,33 +379,6 @@ if( !class_exists('pbSEOFriendlyImages') ):
365
  return preg_replace('/^<!DOCTYPE.+?>/', '', str_replace( array('<html>', '</html>', '<body>', '</body>'), array('', '', '', ''), $return));
366
  }
367
 
368
- /**
369
- * Prepare WooCommerce Products
370
- *
371
- * @param $attr
372
- * @param $attachment
373
- * @return mixed
374
- */
375
- public static function prepareContentImagesAttributes( $attr, $attachment )
376
- {
377
- // Get post parent
378
- $parent = get_post_field( 'post_parent', $attachment);
379
-
380
- // Get post type to check if it's product
381
- $type = get_post_field( 'post_type', $parent);
382
- if( $type != 'product' ){
383
- return $attr;
384
- }
385
-
386
- /// Get title
387
- $title = get_post_field( 'post_title', $parent);
388
-
389
- $attr['alt'] = apply_filters('pbsfi-wc-alt', $title);
390
- $attr['title'] = apply_filters('pbsfi-wc-title', $title);
391
-
392
- return $attr;
393
- }
394
-
395
  /**
396
  * Add image title and alt to post thumbnails
397
  *
3
  Plugin Name: PB SEO Friendly Images
4
  Plugin URI: https://wordpress.org/extend/plugins/pb-seo-friendly-images/
5
  Description: This plugin is a full-featured solution for SEO friendly images. Optimize "alt" and "title" attributes for all images and post thumbnails. This plugin helps you to improve your traffic from search engines.
6
+ Version: 3.0.0
7
  Author: Pascal Bajorat
8
  Author URI: https://www.pascal-bajorat.com
9
  Text Domain: pb-seo-friendly-images
36
 
37
  class pbSEOFriendlyImages
38
  {
39
+ public static $verMajor = '3.0';
40
  public static $verMinor = '0';
41
 
42
  public static $basename = false;
83
  'enable_lazyload_styles' => get_option('pbsfi_enable_lazyload_styles', false),
84
  'lazyload_threshold' => get_option('pbsfi_lazyload_threshold', false),
85
  'wc_title' => get_option('pbsfi_wc_title', false),
86
+ 'wc_sync_method' => get_option('pbsfi_wc_sync_method', false),
87
+ 'wc_override_alt' => get_option('pbsfi_wc_override_alt', false),
88
+ 'wc_override_title' => get_option('pbsfi_wc_override_title', false),
89
+ 'wc_alt_scheme' => get_option('pbsfi_wc_alt_scheme', false),
90
+ 'wc_title_scheme' => get_option('pbsfi_wc_title_scheme', false),
91
  'disable_srcset' => get_option('pbsfi_disable_srcset', false),
92
  'link_title' => get_option('pbsfi_link_title', false),
93
  'encoding' => get_option('pbsfi_encoding', false),
112
  //add_filter('acf_load_value-text', array(__CLASS__, 'encrypt_mails_in_content'), 20);
113
  add_filter('acf_load_value-textarea', array(__CLASS__, 'prepareContentImages'), 20);
114
  add_filter('acf_load_value-wysiwyg', array(__CLASS__, 'prepareContentImages'), 20);
 
 
 
 
 
115
  }
116
  } else {
117
  add_action( 'admin_enqueue_scripts', function(){
157
 
158
  $cats = '';
159
  if ( strrpos( $content, '%category' ) !== false ) {
160
+
161
+ if( get_post_type($post) == 'product' ) {
162
+ $categories = get_the_terms( $post->ID, 'product_cat' );
163
+ if ( ! $categories || is_wp_error( $categories ) ) {
164
+ $categories = array();
165
+ }
166
+
167
+ $categories = array_values( $categories );
168
+
169
+ foreach ( array_keys( $categories ) as $key ) {
170
+ _make_cat_compat( $categories[$key] );
171
+ }
172
+ } else {
173
+ $categories = get_the_category();
174
+ }
175
 
176
  if ( $categories ) {
177
  $i = 0;
379
  return preg_replace('/^<!DOCTYPE.+?>/', '', str_replace( array('<html>', '</html>', '<body>', '</body>'), array('', '', '', ''), $return));
380
  }
381
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
382
  /**
383
  * Add image title and alt to post thumbnails
384
  *
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: pascalbajorat
3
  Donate link: https://www.pascal-bajorat.com/spenden/
4
  Tags: seo, images, Post, admin, google, attachment, optimize, photo, picture, image, media, photos, pictures, alt, title, lazy, load
5
  Requires at least: 3.0
6
- Tested up to: 4.9.2
7
- Stable tag: 2.6.0
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -47,6 +47,13 @@ Want to add lazy load to images in your theme? You only need to do some small mo
47
 
48
  == Changelog ==
49
 
 
 
 
 
 
 
 
50
  = 2.6.0 =
51
  * fixed some encoding problems
52
  * added settings for a better encoding handling
3
  Donate link: https://www.pascal-bajorat.com/spenden/
4
  Tags: seo, images, Post, admin, google, attachment, optimize, photo, picture, image, media, photos, pictures, alt, title, lazy, load
5
  Requires at least: 3.0
6
+ Tested up to: 4.9.3
7
+ Stable tag: 3.0.0
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
47
 
48
  == Changelog ==
49
 
50
+ = 3.0.0 =
51
+ * new interface for woocommerce settings
52
+ * fixed compability with woocommerce
53
+
54
+ = 2.6.1 =
55
+ * fixed compability with woocommerce
56
+
57
  = 2.6.0 =
58
  * fixed some encoding problems
59
  * added settings for a better encoding handling