PB SEO Friendly Images - Version 2.2.0

Version Description

  • Important for manual integration in themes: The lazy load class is now "pb-seo-lazy" instead of "lazy"
  • wrong class in description is fixed now
  • Better compatibility
  • Code optimization and improvements
  • german translation for de_DE_formal

=

Download this release

Release Info

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

Code changes from version 2.1.0 to 2.2.0

css/lazy.css CHANGED
@@ -1,4 +1,4 @@
1
- img.lazy[src*='data:image/gif;base64'] {
2
  border: 1px dashed #dbdbdb;
3
  background: url(/wp-includes/images/wpspin-2x.gif) no-repeat center center;
4
  background-size: 16px 16px;
1
+ img.pb-seo-lazy[src*='data:image/gif;base64'] {
2
  border: 1px dashed #dbdbdb;
3
  background: url(/wp-includes/images/wpspin-2x.gif) no-repeat center center;
4
  background-size: 16px 16px;
inc/settings.php CHANGED
@@ -103,7 +103,8 @@ if( !class_exists('pbSEOFriendlyImagesSettings') ):
103
  pbSEOFriendlyImagesSettings::$settings->addSettingsSection(
104
  'pb-seo-friendly-images',
105
  __('Image "alt" and "title" Settings', 'pb-seo-friendly-images'),
106
- function(){
 
107
  echo '<div class="pb-section-wrap">';
108
  echo '<p>'.__('PB SEO Friendly Images automatically adds "alt" and "title" attributes to all images and post thumbnails in your posts. The default options are a good starting point for the optimization and basically fine for most websites.', 'pb-seo-friendly-images').'</p>';
109
  echo '<p><strong>'.__('Override feature', 'pb-seo-friendly-images').':</strong> '.__('Enable the override means that a possible sync and also hand picked "alt" / "title" attributes will be overwritten with the selected scheme. If you have good hand picked "alt" or "title" attributes in your images, I can not recommend to use the override. Automatic sync between "alt" and "title" will do it\'s best for you.', 'pb-seo-friendly-images').'</p>';
@@ -224,8 +225,8 @@ if( !class_exists('pbSEOFriendlyImagesSettings') ):
224
  pbSEOFriendlyImagesSettings::$settings->addSettingsSection(
225
  'pb-seo-friendly-images-pro',
226
  '',
227
- function(){
228
-
229
  echo '<h2 class="pro-section"><span>'.__('Pro Features', 'pb-seo-friendly-images').'</span></h2>';
230
 
231
  echo '<h2 class="pb-section-title">'.__('Lazy Load settings', 'pb-seo-friendly-images').'</h2>';
@@ -303,14 +304,15 @@ if( !class_exists('pbSEOFriendlyImagesSettings') ):
303
  pbSEOFriendlyImagesSettings::$settings->addSettingsSection(
304
  'pb-seo-friendly-images-pro2',
305
  '',
306
- function(){
 
307
  echo '<h3 class="pb-section-title">'.__('Theme-Integration (only for developers relevant)', 'pb-seo-friendly-images').'</h3>';
308
  echo '<div class="pb-section-wrap" style="margin-bottom: 2px">';
309
  echo '<p>'.__('Want to add lazy load to images in your theme? You only need to do some small modifications. Add class "lazy" and modify the "src" like this:', 'pb-seo-friendly-images').'</p>';
310
  echo '</div>';
311
 
312
  echo '<div class="pb-custom-message code">';
313
- echo '<p><code>&lt;img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="<strong>'.__('REAL SRC HERE', 'pb-seo-friendly-images').'</strong>" class="lazy" /&gt;</code></p>';
314
  echo '</div>';
315
 
316
  echo '<h2 class="pb-section-title">'.__('Additional features', 'pb-seo-friendly-images').'</h2>';
@@ -389,26 +391,26 @@ if( !class_exists('pbSEOFriendlyImagesSettings') ):
389
  <div class="pb-plugin-box">
390
  <h4>
391
  <span class="icon">
392
- <img src="<?php echo plugins_url( 'img/mailcrypt.png', constant('pbsfi_file') ); ?>" alt="<?php _e('MailCrypt - AntiSpam Email Encryption', 'pb-seo-friendly-images') ?>" />
393
  </span>
394
- <span class="text"><?php _e('MailCrypt - AntiSpam Email Encryption', 'pb-seo-friendly-images') ?></span>
395
  </h4>
396
  <div class="desc">
397
- <p><?php _e('This Plugin provides a Shortcode to encrypt email addresses / links and protect them against spam.', 'pb-seo-friendly-images') ?></p>
398
- <p><a href="<?php echo admin_url('plugin-install.php?s=PB+MailCrypt+-+AntiSpam+Email+Encryption&tab=search&type=term') ?>" class="button"><?php _e('Install Plugin', 'pb-seo-friendly-images') ?></a></p>
399
  </div>
400
  </div>
401
 
402
  <div class="pb-plugin-box">
403
  <h4>
404
  <span class="icon">
405
- <img src="<?php echo plugins_url( 'img/primusnote.png', constant('pbsfi_file') ); ?>" alt="<?php _e('PrimusNote', 'pb-seo-friendly-images') ?>" />
406
  </span>
407
- <span class="text"><?php _e('PrimusNote', 'pb-seo-friendly-images') ?><br /><?php _e('Project Management', 'pb-seo-friendly-images') ?></span>
408
  </h4>
409
  <div class="desc">
410
- <p><?php _e('PrimusNote is a Project Management and Team Collaboration software based on WordPress.', 'pb-seo-friendly-images') ?></p>
411
- <p><a href="https://goo.gl/D9P49K" target="_blank" class="button"><?php _e('Install Plugin', 'pb-seo-friendly-images') ?></a></p>
412
  </div>
413
  </div>
414
 
103
  pbSEOFriendlyImagesSettings::$settings->addSettingsSection(
104
  'pb-seo-friendly-images',
105
  __('Image "alt" and "title" Settings', 'pb-seo-friendly-images'),
106
+ function()
107
+ {
108
  echo '<div class="pb-section-wrap">';
109
  echo '<p>'.__('PB SEO Friendly Images automatically adds "alt" and "title" attributes to all images and post thumbnails in your posts. The default options are a good starting point for the optimization and basically fine for most websites.', 'pb-seo-friendly-images').'</p>';
110
  echo '<p><strong>'.__('Override feature', 'pb-seo-friendly-images').':</strong> '.__('Enable the override means that a possible sync and also hand picked "alt" / "title" attributes will be overwritten with the selected scheme. If you have good hand picked "alt" or "title" attributes in your images, I can not recommend to use the override. Automatic sync between "alt" and "title" will do it\'s best for you.', 'pb-seo-friendly-images').'</p>';
225
  pbSEOFriendlyImagesSettings::$settings->addSettingsSection(
226
  'pb-seo-friendly-images-pro',
227
  '',
228
+ function()
229
+ {
230
  echo '<h2 class="pro-section"><span>'.__('Pro Features', 'pb-seo-friendly-images').'</span></h2>';
231
 
232
  echo '<h2 class="pb-section-title">'.__('Lazy Load settings', 'pb-seo-friendly-images').'</h2>';
304
  pbSEOFriendlyImagesSettings::$settings->addSettingsSection(
305
  'pb-seo-friendly-images-pro2',
306
  '',
307
+ function()
308
+ {
309
  echo '<h3 class="pb-section-title">'.__('Theme-Integration (only for developers relevant)', 'pb-seo-friendly-images').'</h3>';
310
  echo '<div class="pb-section-wrap" style="margin-bottom: 2px">';
311
  echo '<p>'.__('Want to add lazy load to images in your theme? You only need to do some small modifications. Add class "lazy" and modify the "src" like this:', 'pb-seo-friendly-images').'</p>';
312
  echo '</div>';
313
 
314
  echo '<div class="pb-custom-message code">';
315
+ 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>';
316
  echo '</div>';
317
 
318
  echo '<h2 class="pb-section-title">'.__('Additional features', 'pb-seo-friendly-images').'</h2>';
391
  <div class="pb-plugin-box">
392
  <h4>
393
  <span class="icon">
394
+ <img src="<?php echo plugins_url( 'img/primusnote.png', constant('pbsfi_file') ); ?>" alt="<?php _e('PrimusNote', 'pb-seo-friendly-images') ?>" />
395
  </span>
396
+ <span class="text"><?php _e('PrimusNote', 'pb-seo-friendly-images') ?><br /><?php _e('Project Management', 'pb-seo-friendly-images') ?></span>
397
  </h4>
398
  <div class="desc">
399
+ <p><?php _e('PrimusNote is a Project Management and Team Collaboration software based on WordPress.', 'pb-seo-friendly-images') ?></p>
400
+ <p><a href="https://goo.gl/D9P49K" target="_blank" class="button"><?php _e('Install Plugin', 'pb-seo-friendly-images') ?></a></p>
401
  </div>
402
  </div>
403
 
404
  <div class="pb-plugin-box">
405
  <h4>
406
  <span class="icon">
407
+ <img src="<?php echo plugins_url( 'img/mailcrypt.png', constant('pbsfi_file') ); ?>" alt="<?php _e('MailCrypt - AntiSpam Email Encryption', 'pb-seo-friendly-images') ?>" />
408
  </span>
409
+ <span class="text"><?php _e('MailCrypt - AntiSpam Email Encryption', 'pb-seo-friendly-images') ?></span>
410
  </h4>
411
  <div class="desc">
412
+ <p><?php _e('This Plugin provides a Shortcode to encrypt email addresses / links and protect them against spam.', 'pb-seo-friendly-images') ?></p>
413
+ <p><a href="<?php echo admin_url('plugin-install.php?s=PB+MailCrypt+-+AntiSpam+Email+Encryption&tab=search&type=term') ?>" class="button"><?php _e('Install Plugin', 'pb-seo-friendly-images') ?></a></p>
414
  </div>
415
  </div>
416
 
lang/pb-seo-friendly-images-de_DE.mo CHANGED
Binary file
lang/pb-seo-friendly-images-de_DE.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: PB SEO Friendly Images\n"
4
  "POT-Creation-Date: 2017-04-21 17:01+0200\n"
5
- "PO-Revision-Date: 2017-04-21 17:03+0200\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"
@@ -345,7 +345,7 @@ msgid ""
345
  msgstr ""
346
  "Möchtest du den Lazy Load auch für Bilder in deinem Theme verwenden? Du "
347
  "musst lediglich ein paar kleinere Modifikationen durchführen. Füge die "
348
- "Klasse \"lazy\" hinzu und erweitere das \"src\" Attribut wie folgt:"
349
 
350
  #: inc/settings.php:313
351
  msgid "REAL SRC HERE"
@@ -443,8 +443,8 @@ msgstr "Support"
443
  msgid ""
444
  "Do you need some help with this plugin? I am here to help you. Get in touch:"
445
  msgstr ""
446
- "Benötigst du Unterstützung mit diesem Plugin? Ich bin am zu helfen, schreib "
447
- "mir einfach:"
448
 
449
  #: inc/settings.php:420
450
  msgid "Support Forum"
2
  msgstr ""
3
  "Project-Id-Version: PB SEO Friendly Images\n"
4
  "POT-Creation-Date: 2017-04-21 17:01+0200\n"
5
+ "PO-Revision-Date: 2017-05-12 10:48+0200\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"
345
  msgstr ""
346
  "Möchtest du den Lazy Load auch für Bilder in deinem Theme verwenden? Du "
347
  "musst lediglich ein paar kleinere Modifikationen durchführen. Füge die "
348
+ "Klasse \"pb-seo-lazy\" hinzu und erweitere das \"src\" Attribut wie folgt:"
349
 
350
  #: inc/settings.php:313
351
  msgid "REAL SRC HERE"
443
  msgid ""
444
  "Do you need some help with this plugin? I am here to help you. Get in touch:"
445
  msgstr ""
446
+ "Benötigst du Unterstützung mit diesem Plugin? Ich bin gerne bereit zu "
447
+ "helfen, schreib mir einfach:"
448
 
449
  #: inc/settings.php:420
450
  msgid "Support Forum"
lang/pb-seo-friendly-images-de_DE_formal.mo ADDED
Binary file
lang/pb-seo-friendly-images-de_DE_formal.po ADDED
@@ -0,0 +1,523 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: PB SEO Friendly Images\n"
4
+ "POT-Creation-Date: 2017-04-21 17:01+0200\n"
5
+ "PO-Revision-Date: 2017-05-12 10:48+0200\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"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.12\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "X-Poedit-WPHeader: pb-seo-friendly-images.php\n"
15
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
+ "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
18
+ "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
19
+ "_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
20
+ "X-Poedit-SearchPath-0: .\n"
21
+ "X-Poedit-SearchPathExcluded-0: *.js\n"
22
+
23
+ #: inc/settings.php:35
24
+ #, php-format
25
+ msgid ""
26
+ "<strong>Hey %s</strong>, we have updated <a href=\"%s\">PB SEO Friendly "
27
+ "Images</a>. Visit the <a href=\"%s\">plugin settings page</a> to get deeper "
28
+ "insights about the new features. This message will disappear automatically "
29
+ "after you've visited the plugin settings."
30
+ msgstr ""
31
+ "<strong>Hey %s</strong>, wir haben <a href=\"%s\">PB SEO Friendly Images</a> "
32
+ "aktualisiert. Besuche die <a href=\"%s\">Plugin-Einstellungen</a> und schau "
33
+ "dir die neuen Funktionen an. Diese Nachricht verschwindet automatisch, "
34
+ "nachdem du die Plugin-Einstellung geöffnet hast."
35
+
36
+ #: inc/settings.php:40
37
+ msgid "Close"
38
+ msgstr "schließen"
39
+
40
+ #: inc/settings.php:70
41
+ msgid "Settings"
42
+ msgstr "Einstellungen"
43
+
44
+ #: inc/settings.php:82
45
+ msgid "Get Pro Version"
46
+ msgstr "Pro-Version kaufen"
47
+
48
+ #: inc/settings.php:105
49
+ msgid "Image \"alt\" and \"title\" Settings"
50
+ msgstr "Bilder \"alt\" und \"title\" Einstellungen"
51
+
52
+ #: inc/settings.php:108
53
+ msgid ""
54
+ "PB SEO Friendly Images automatically adds \"alt\" and \"title\" attributes "
55
+ "to all images and post thumbnails in your posts. The default options are a "
56
+ "good starting point for the optimization and basically fine for most "
57
+ "websites."
58
+ msgstr ""
59
+ "PB SEO Friendly Images verwaltet automatisch die \"alt\" und \"title\" "
60
+ "Attribute deiner Post-Thumbnails sowie aller Bilder innerhalb deiner Seiten "
61
+ "und Artikel. Die Standard-Einstellungen sind eine gute erste Grundlage und "
62
+ "werden für die meisten Webseiten gut funktionieren, ohne das Änderungen "
63
+ "notwendig sind."
64
+
65
+ #: inc/settings.php:109
66
+ msgid "Override feature"
67
+ msgstr "Override-Funktion"
68
+
69
+ #: inc/settings.php:109
70
+ msgid ""
71
+ "Enable the override means that a possible sync and also hand picked \"alt"
72
+ "\" / \"title\" attributes will be overwritten with the selected scheme. If "
73
+ "you have good hand picked \"alt\" or \"title\" attributes in your images, I "
74
+ "can not recommend to use the override. Automatic sync between \"alt\" and "
75
+ "\"title\" will do it's best for you."
76
+ msgstr ""
77
+ "Wenn du die Override (überschreiben) Funktion verwendest, werden alle "
78
+ "manuellen \"alt\" und/oder \"title\" Attribute durch das gewählte Schema "
79
+ "überschrieben. Wenn du bereits manuelle Attribute für deine Bilder gesetzt "
80
+ "hast, solltest du einfach die Sync Funktion ihren Job machen lassen und "
81
+ "keine Überschreibung erzwingen."
82
+
83
+ #: inc/settings.php:112
84
+ #, php-format
85
+ msgid ""
86
+ "PB SEO Friendly Images Pro is a WordPress Plugin by <a href=\"%s\" target="
87
+ "\"_blank\">Pascal Bajorat</a> and made with %s in Berlin, Germany."
88
+ msgstr ""
89
+ "PB SEO Friendly Images Pro ist ein Wordpress - Plugin von <a href=\"%s\" "
90
+ "target=\"_blank\">Pascal Bajorat</a>, entwickelt und gepflegt mit %s in "
91
+ "Berlin."
92
+
93
+ #: inc/settings.php:122
94
+ #, php-format
95
+ msgid ""
96
+ "Please consider upgrading to <a href=\"%s\" target=\"_blank\">PB SEO "
97
+ "Friendly Images Pro</a> if you want to use more features and support the "
98
+ "development of this plugin."
99
+ msgstr ""
100
+ "Bitte ziehe doch ein Upgrade auf <a href=\"%s\" target=\"_blank\">PB SEO "
101
+ "Friendly Images Pro</a> in Erwägung, wenn du weitere Funktionen verwenden "
102
+ "möchtest und die Entwicklung des Plugins unterstützen willst."
103
+
104
+ #: inc/settings.php:125 inc/settings.php:244
105
+ msgid "Upgrade now"
106
+ msgstr "Jetzt upgraden"
107
+
108
+ #: inc/settings.php:132
109
+ msgid "optimize images"
110
+ msgstr "Bilder optimieren"
111
+
112
+ #: inc/settings.php:137
113
+ msgid "post thumbnails and images in post content"
114
+ msgstr "Thumbnails und Bilder innerhalb der Posts"
115
+
116
+ #: inc/settings.php:137 inc/settings.php:152
117
+ msgid "recommended"
118
+ msgstr "empfohlen"
119
+
120
+ #: inc/settings.php:138
121
+ msgid "only post thumbnails"
122
+ msgstr "Nur Postthumbnails"
123
+
124
+ #: inc/settings.php:139
125
+ msgid "only images in post content"
126
+ msgstr "Nur Bilder im Post-Inhalt"
127
+
128
+ #: inc/settings.php:141
129
+ msgid "which images should be optimized"
130
+ msgstr "Welche Bilder sollen optimiert werden."
131
+
132
+ #: inc/settings.php:147
133
+ msgid "sync method"
134
+ msgstr "Synchronisierungsmethode"
135
+
136
+ #: inc/settings.php:152
137
+ msgid "alt <=> title"
138
+ msgstr "alt <=> title"
139
+
140
+ #: inc/settings.php:153
141
+ msgid "alt => title"
142
+ msgstr "alt => title"
143
+
144
+ #: inc/settings.php:154
145
+ msgid "alt <= title"
146
+ msgstr "alt => title"
147
+
148
+ #: inc/settings.php:156
149
+ msgid "select sync method for \"alt\" and \"title\" attribute."
150
+ msgstr ""
151
+ "Wähle die Synchronisierungsmethode für \"alt\" und \"title\" Attribute."
152
+
153
+ #: inc/settings.php:157
154
+ msgid ""
155
+ "<code>alt <=> title</code> - if one attribute is set use it also for the "
156
+ "other one"
157
+ msgstr ""
158
+ "<code>alt <=> title</code> - Wenn ein Attribut gesetzt ist, wird dieses auch "
159
+ "auf das andere übertragen"
160
+
161
+ #: inc/settings.php:158
162
+ msgid ""
163
+ "<code>alt => title</code> - if \"alt\" is set use it for the title attribute"
164
+ msgstr ""
165
+ "<code>alt => title</code> - Wenn \"alt\" gesetzt ist, wird der Wert "
166
+ "ebenfalls für \"title\" gesetzt"
167
+
168
+ #: inc/settings.php:159
169
+ msgid ""
170
+ "<code>alt <= title</code> - if \"title\" is set use it for the alt attribute"
171
+ msgstr ""
172
+ "<code>alt <= title</code> - Wenn \"title\" gesetzt ist, wird der Wert "
173
+ "ebenfalls für \"alt\" gesetzt"
174
+
175
+ #: inc/settings.php:165
176
+ msgid "override \"alt\""
177
+ msgstr "\"alt\" überschreiben"
178
+
179
+ #: inc/settings.php:169
180
+ msgid "override existing image alt attributes"
181
+ msgstr "Überschreibt bestehende \"alt\" Attribute"
182
+
183
+ #: inc/settings.php:175
184
+ msgid "override \"title\""
185
+ msgstr "\"title\" überschreiben"
186
+
187
+ #: inc/settings.php:179
188
+ msgid "override existing image title attributes"
189
+ msgstr "Überschreibt bestehende \"title\" Attribute"
190
+
191
+ #: inc/settings.php:183
192
+ msgid "possible variables:"
193
+ msgstr "Mögliche Variablen:"
194
+
195
+ #: inc/settings.php:184
196
+ msgid "replaces post title"
197
+ msgstr "Wird ersetzt durch Artikeltitel"
198
+
199
+ #: inc/settings.php:185
200
+ msgid "replaces post excerpt"
201
+ msgstr "Wird ersetzt durch den Artikelauszug"
202
+
203
+ #: inc/settings.php:186
204
+ msgid "replaces image filename (without extension)"
205
+ msgstr "Wird ersetzt mit dem Dateinamen (ohne Dateiendung)"
206
+
207
+ #: inc/settings.php:187
208
+ msgid "replaces post category"
209
+ msgstr "Wird ersetzt durch die Artikelkategorien"
210
+
211
+ #: inc/settings.php:188
212
+ msgid "replaces post tags"
213
+ msgstr "Wird ersetzt durch die Artikel-Tags"
214
+
215
+ #: inc/settings.php:189
216
+ msgid "replaces attachment title (could be empty if not set)"
217
+ msgstr ""
218
+ "Wird ersetzt durch den Medien-Titel (könnte leer sein, falls nicht gesetzt)"
219
+
220
+ #: inc/settings.php:190
221
+ msgid "replaces attachment alt-text (could be empty if not set)"
222
+ msgstr ""
223
+ "Wird ersetzt durch den Medien-Alternativtext (könnte leer sein, falls nicht "
224
+ "gesetzt)"
225
+
226
+ #: inc/settings.php:191
227
+ msgid "replaces attachment caption (could be empty if not set)"
228
+ msgstr ""
229
+ "Wird ersetzt durch die Medien-Beschriftung (könnte leer sein, falls nicht "
230
+ "gesetzt)"
231
+
232
+ #: inc/settings.php:192
233
+ msgid "replaces attachment description (could be empty if not set)"
234
+ msgstr ""
235
+ "Wird ersetzt durch die Medien-Beschreibung (könnte leer sein, falls nicht "
236
+ "gesetzt)"
237
+
238
+ #: inc/settings.php:196
239
+ msgid "alt scheme"
240
+ msgstr "Schema alt-Attribut"
241
+
242
+ #: inc/settings.php:200 inc/settings.php:210
243
+ msgid "default"
244
+ msgstr "Standard"
245
+
246
+ #: inc/settings.php:206
247
+ msgid "title scheme"
248
+ msgstr "Schema title-Attribut"
249
+
250
+ #: inc/settings.php:229
251
+ msgid "Pro Features"
252
+ msgstr "Pro Features"
253
+
254
+ #: inc/settings.php:231
255
+ msgid "Lazy Load settings"
256
+ msgstr "Lazy Load Einstellungen"
257
+
258
+ #: inc/settings.php:233
259
+ msgid ""
260
+ "This function is very useful and it boosts performance by delaying loading "
261
+ "of images in long web pages, because images outside of viewport (visible "
262
+ "part of web page) won't be loaded until the user scrolls to them."
263
+ msgstr ""
264
+ "Diese Funktion ist unglaublich hilfreich auf Seiten mit vielen Bildern. Die "
265
+ "Performance wird erheblich erhöht, dadurch das Bilder erst geladen werden, "
266
+ "wenn diese in den Viewport scrollen, nicht vorher. Damit wird die initiale "
267
+ "Datenlast beim Laden stark reduziert."
268
+
269
+ #: inc/settings.php:234
270
+ msgid ""
271
+ "The lazy load is powered by unveil.js, one of the fastest and thinnest lazy "
272
+ "loader in the web. The implementation is highly seo compatible with a no js "
273
+ "fallback."
274
+ msgstr ""
275
+ "Der Lazy Load basiert auf unveil.js, einer der schnellsten und kleinsten "
276
+ "Lazy Loader im Web. Die Umsetzung ist SEO kompatibel aufgebaut und verfügt "
277
+ "über einen JS Fallback."
278
+
279
+ #: inc/settings.php:235
280
+ msgid ""
281
+ "If enabled the lazy load will be added automatically to images in your post "
282
+ "or page content and also to post thumbnails."
283
+ msgstr ""
284
+ "Wenn der Lazy Load aktiviert ist, wird die Funktion automatisch in deinen "
285
+ "Beiträgen, Seite und Artikelbildern aktiviert."
286
+
287
+ #: inc/settings.php:241
288
+ #, php-format
289
+ msgid ""
290
+ "Please consider upgrading to <a href=\"%s\" target=\"_blank\">PB SEO "
291
+ "Friendly Images Pro</a> if you want to use this feature."
292
+ msgstr ""
293
+ "Bitte führe ein Upgrade auf <a href=\"%s\" target=\"_blank\">PB SEO Friendly "
294
+ "Images Pro</a> durch, um diese Funktion verwenden zu können."
295
+
296
+ #: inc/settings.php:251
297
+ msgid "enable lazy load"
298
+ msgstr "Lazy Load aktivieren"
299
+
300
+ #: inc/settings.php:255
301
+ msgid "enable lazy load and boost up your site speed"
302
+ msgstr "Aktiviere Lazy Load und steigere die Performance deiner Webseite"
303
+
304
+ #: inc/settings.php:262
305
+ msgid "enable lazy load for acf"
306
+ msgstr "Lazy Load für ACF"
307
+
308
+ #: inc/settings.php:266
309
+ msgid "enable lazy load for AdvancedCustomFields"
310
+ msgstr "Lazy Load für AdvancedCustomFields aktivieren"
311
+
312
+ #: inc/settings.php:273
313
+ msgid "lazy load default styles"
314
+ msgstr "Lazy Load Standard-Styles laden"
315
+
316
+ #: inc/settings.php:277
317
+ msgid "enable lazy load default styles"
318
+ msgstr "Lazy Load Standard-Styles laden"
319
+
320
+ #: inc/settings.php:284
321
+ msgid "threshold"
322
+ msgstr "Grenzwert für Lazy Load"
323
+
324
+ #: inc/settings.php:288
325
+ msgid ""
326
+ "By default, images are only loaded when the user scrolls to them and they "
327
+ "became visible on the screen (default value for this field <code>0</code>). "
328
+ "If you want your images to load earlier than that, lets say 200px then you "
329
+ "need to type in <code>200</code>."
330
+ msgstr ""
331
+ "Standardmäßig werden die Bilder nur dann geladen, wenn der Besucher zu den "
332
+ "Bildern scrollt und diese in den sichtbaren Bereich rutschen (Standardwert "
333
+ "für dieses Feld <code>0</code>). Wenn du die Bilder früher laden möchtest, "
334
+ "sagen wir 200px vor dem Viewport, dann müssen <code>200</code> als Feldwert "
335
+ "gesetzt werden."
336
+
337
+ #: inc/settings.php:307
338
+ msgid "Theme-Integration (only for developers relevant)"
339
+ msgstr "Theme-Integration (nur für Entwickler relevant)"
340
+
341
+ #: inc/settings.php:309
342
+ msgid ""
343
+ "Want to add lazy load to images in your theme? You only need to do some "
344
+ "small modifications. Add class \"lazy\" and modify the \"src\" like this:"
345
+ msgstr ""
346
+ "Möchtest du den Lazy Load auch für Bilder in deinem Theme verwenden? Du "
347
+ "musst lediglich ein paar kleinere Modifikationen durchführen. Füge die "
348
+ "Klasse \"pb-seo-lazy\" hinzu und erweitere das \"src\" Attribut wie folgt:"
349
+
350
+ #: inc/settings.php:313
351
+ msgid "REAL SRC HERE"
352
+ msgstr "Echter SRC Pfad"
353
+
354
+ #: inc/settings.php:316
355
+ msgid "Additional features"
356
+ msgstr "Zusatzfunktionen"
357
+
358
+ #: inc/settings.php:322
359
+ msgid "WooCommerce"
360
+ msgstr "WooCommerce"
361
+
362
+ #: inc/settings.php:326
363
+ msgid "Use the product name as alt and title for WooCommerce product images"
364
+ msgstr ""
365
+ "Verwende den Produktnamen als alt und title für WooCommerce Produktbilder."
366
+
367
+ #: inc/settings.php:333
368
+ msgid "set title for links"
369
+ msgstr "Title für Links setzen"
370
+
371
+ #: inc/settings.php:337
372
+ msgid ""
373
+ "Use the power of PB SEO Friendly Images also for seo friendly links. This "
374
+ "will set the title depending on the link text and only if there is no "
375
+ "existing title"
376
+ msgstr ""
377
+ "Nutze die Power von PB SEO Friendly Images ebenfalls für die Titel deiner "
378
+ "Links. Das Tool wird nicht vergebene Linktitel automatisch auf Basis der "
379
+ "Linktexte oder enthaltener Bilder setzen"
380
+
381
+ #: inc/settings.php:344
382
+ msgid "disable srcset"
383
+ msgstr "srcset ausschalten"
384
+
385
+ #: inc/settings.php:348
386
+ msgid ""
387
+ "disable srcset attribute and responsive images in WordPress if you don't "
388
+ "need them"
389
+ msgstr ""
390
+ "deaktiviere das srcset Attribut und Responsive Bilder in Wordpress, wenn du "
391
+ "diese nicht benötigst"
392
+
393
+ #. Plugin Name of the plugin/theme
394
+ #: inc/settings.php:358
395
+ msgid "PB SEO Friendly Images"
396
+ msgstr "PB SEO Friendly Images"
397
+
398
+ #: inc/settings.php:359
399
+ msgid "SEO Friendly Images"
400
+ msgstr "SEO Friendly Images"
401
+
402
+ #: inc/settings.php:388
403
+ msgid "Plugins & Support"
404
+ msgstr "Plugins & Support"
405
+
406
+ #: inc/settings.php:392 inc/settings.php:394
407
+ msgid "MailCrypt - AntiSpam Email Encryption"
408
+ msgstr "MailCrypt - E-Mail Verschlüsselung"
409
+
410
+ #: inc/settings.php:397
411
+ msgid ""
412
+ "This Plugin provides a Shortcode to encrypt email addresses / links and "
413
+ "protect them against spam."
414
+ msgstr ""
415
+ "Dieses Plugin stellt einen Shortcode und Funktionen für die E-Mail "
416
+ "Verschlüsselung zur Verfügung und schützt gegen Spam."
417
+
418
+ #: inc/settings.php:398 inc/settings.php:411
419
+ msgid "Install Plugin"
420
+ msgstr "Plugin installieren"
421
+
422
+ #: inc/settings.php:405 inc/settings.php:407
423
+ msgid "PrimusNote"
424
+ msgstr "PrimusNote"
425
+
426
+ #: inc/settings.php:407
427
+ msgid "Project Management"
428
+ msgstr "Projekt-Management"
429
+
430
+ #: inc/settings.php:410
431
+ msgid ""
432
+ "PrimusNote is a Project Management and Team Collaboration software based on "
433
+ "WordPress."
434
+ msgstr ""
435
+ "PrimusNote ist eine Projekt-Management und Team-Kollaborations-Software auf "
436
+ "WordPress Basis."
437
+
438
+ #: inc/settings.php:416
439
+ msgid "Support"
440
+ msgstr "Support"
441
+
442
+ #: inc/settings.php:417
443
+ msgid ""
444
+ "Do you need some help with this plugin? I am here to help you. Get in touch:"
445
+ msgstr ""
446
+ "Benötigst du Unterstützung mit diesem Plugin? Ich bin gerne bereit zu "
447
+ "helfen, schreib mir einfach:"
448
+
449
+ #: inc/settings.php:420
450
+ msgid "Support Forum"
451
+ msgstr "Support Forum"
452
+
453
+ #: inc/settings.php:422
454
+ msgid "Contact Support"
455
+ msgstr "Support kontaktieren"
456
+
457
+ #: plugin-update-checker/github-checker.php:119
458
+ msgid "There is no changelog available."
459
+ msgstr "Es steht kein Änderungsprotokoll zur Verfügung."
460
+
461
+ #: plugin-update-checker/plugin-update-checker.php:776
462
+ msgid "Check for updates"
463
+ msgstr "Auf Aktualisierung prüfen"
464
+
465
+ #: plugin-update-checker/plugin-update-checker.php:820
466
+ msgid "This plugin is up to date."
467
+ msgstr "Dieses Plugin ist auf dem neuesten Stand."
468
+
469
+ #: plugin-update-checker/plugin-update-checker.php:822
470
+ msgid "A new version of this plugin is available."
471
+ msgstr "Eine neue Version dieses Plugins ist verfügbar."
472
+
473
+ #: plugin-update-checker/plugin-update-checker.php:824
474
+ #, php-format
475
+ msgid "Unknown update checker status \"%s\""
476
+ msgstr "Unbekannter Aktualisierungs-Status \"%s\""
477
+
478
+ #. Plugin URI of the plugin/theme
479
+ msgid "https://wordpress.org/extend/plugins/pb-seo-friendly-images/"
480
+ msgstr "https://wordpress.org/extend/plugins/pb-seo-friendly-images/"
481
+
482
+ #. Description of the plugin/theme
483
+ msgid ""
484
+ "This plugin is a full-featured solution for SEO friendly images. Optimize "
485
+ "\"alt\" and \"title\" attributes for all images and post thumbnails. This "
486
+ "plugin helps you to improve your traffic from search engines."
487
+ msgstr ""
488
+ "PB SEO Friendly Images: Einfach, schnell und automatisch "
489
+ "suchmaschinenfreundliche Bilder für WordPress. Simple Optimierung von Alt- "
490
+ "und Title Attributen."
491
+
492
+ #. Author of the plugin/theme
493
+ msgid "Pascal Bajorat"
494
+ msgstr "Pascal Bajorat"
495
+
496
+ #. Author URI of the plugin/theme
497
+ msgid "https://www.pascal-bajorat.com"
498
+ msgstr "https://www.pascal-bajorat.com"
499
+
500
+ #~ msgid ""
501
+ #~ "Do you need some help with this plugin? We are here to help you. Get in "
502
+ #~ "touch:"
503
+ #~ msgstr ""
504
+ #~ "Benötigst du Unterstützung? Wir sind da um zu helfen, nimm Kontakt mit "
505
+ #~ "uns auf"
506
+
507
+ #~ msgid ""
508
+ #~ "PB SEO Friendly Images is a free WordPress Plugin by <a href=\"%s\" "
509
+ #~ "target=\"_blank\">Pascal Bajorat</a> and made with %s in Berlin, Germany."
510
+ #~ "<br />If you like it and maybe want to <a href=\"%s\" target=\"_blank"
511
+ #~ "\">buy me a cup of coffee or a beer</a> I would appreciate that very much."
512
+ #~ msgstr ""
513
+ #~ "PB SEO Friendly Images ist ein kostenloses WordPress Plugin von <a href="
514
+ #~ "\"%s\" target=\"_blank\">Pascal Bajorat</a> und wurde mit viel %s in "
515
+ #~ "Berlin entwickelt.<br />Wenn du das Plugin magst würde ich mich freuen, "
516
+ #~ "<a href=\"%s\" target=\"_blank\">wenn du mich mit einer kleinen Spende "
517
+ #~ "virtuell auf einen Kaffee oder Bier einlädst</a>."
518
+
519
+ #~ msgid "http://wordpress.org/extend/plugins/pb-seo-friendly-images/"
520
+ #~ msgstr "http://wordpress.org/extend/plugins/pb-seo-friendly-images/"
521
+
522
+ #~ msgid "PB SEO Friendly Images Pro"
523
+ #~ msgstr "PB SEO Friendly Images Pro"
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.1.0
7
  Author: Pascal Bajorat
8
  Author URI: https://www.pascal-bajorat.com
9
  Text Domain: pb-seo-friendly-images
@@ -38,7 +38,7 @@ if( !class_exists('pbSEOFriendlyImages') ):
38
 
39
  class pbSEOFriendlyImages
40
  {
41
- public static $verMajor = '2.1';
42
  public static $verMinor = '0';
43
 
44
  public static $basename = false;
@@ -148,7 +148,8 @@ if( !class_exists('pbSEOFriendlyImages') ):
148
  */
149
  public static function convertReplacements( $content, $src=false, $imageID=false )
150
  {
151
- global $post;
 
152
 
153
  $cats = '';
154
  if ( strrpos( $content, '%category' ) !== false ) {
@@ -233,7 +234,9 @@ if( !class_exists('pbSEOFriendlyImages') ):
233
  $charset = DB_CHARSET || 'utf-8';
234
 
235
  $document = new DOMDocument();
236
- @$content = mb_convert_encoding($content, 'HTML-ENTITIES', $charset);
 
 
237
  @$document->loadHTML($content);
238
 
239
  if( !$document ) {
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.2.0
7
  Author: Pascal Bajorat
8
  Author URI: https://www.pascal-bajorat.com
9
  Text Domain: pb-seo-friendly-images
38
 
39
  class pbSEOFriendlyImages
40
  {
41
+ public static $verMajor = '2.2';
42
  public static $verMinor = '0';
43
 
44
  public static $basename = false;
148
  */
149
  public static function convertReplacements( $content, $src=false, $imageID=false )
150
  {
151
+ //global $post;
152
+ $post = get_post();
153
 
154
  $cats = '';
155
  if ( strrpos( $content, '%category' ) !== false ) {
234
  $charset = DB_CHARSET || 'utf-8';
235
 
236
  $document = new DOMDocument();
237
+ if( function_exists('mb_convert_encoding') ) {
238
+ $content = @mb_convert_encoding($content, 'HTML-ENTITIES', $charset);
239
+ }
240
  @$document->loadHTML($content);
241
 
242
  if( !$document ) {
readme.txt CHANGED
@@ -4,7 +4,7 @@ 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
5
  Requires at least: 3.0
6
  Tested up to: 4.7.4
7
- Stable tag: 2.1.0
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -21,6 +21,7 @@ PB SEO Friendly Images is a free WordPress plugin that helps you to automaticall
21
  > - **Override:** You can override existing »alt« and »title« attributes with a custom scheme
22
  > - **Scheme:** Set up a scheme for your »alt« and »title« to flexible define and optimize your content
23
  > - **For all images:** The plugin works great with images in posts and post thumbnails as well
 
24
  > - **SEO Proved:** Default settings of the plugins are proved by a SEO consultant
25
 
26
  The idea to this plugin based on a similar WordPress plugin "SEO Friendly Images" by Vladimir Prelovac. This plugin version has more settings, possibilities to configure your »alt« / »title« attributes and it’s actively maintained. There is also a sync function, that automatically use existing »alt« as »title« and vice versa if one of the values exist. This is really important, if you have already optimized some of your images.
@@ -82,6 +83,13 @@ If you have any questions or problems, you can ask me: [Pascal Bajorat - Webdesi
82
  * Code optimization and improvements
83
  * Better WooCommerce support
84
 
 
 
 
 
 
 
 
85
  == License ==
86
 
87
  GNU General Public License v.3 - http://www.gnu.org/licenses/gpl-3.0.html
4
  Tags: seo, images, Post, admin, google, attachment, optimize, photo, picture, image, media, photos, pictures, alt, title
5
  Requires at least: 3.0
6
  Tested up to: 4.7.4
7
+ Stable tag: 2.2.0
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
21
  > - **Override:** You can override existing »alt« and »title« attributes with a custom scheme
22
  > - **Scheme:** Set up a scheme for your »alt« and »title« to flexible define and optimize your content
23
  > - **For all images:** The plugin works great with images in posts and post thumbnails as well
24
+ > - **WooCommerce support:** User WooCommerce product title as image alt / title (pro feature)
25
  > - **SEO Proved:** Default settings of the plugins are proved by a SEO consultant
26
 
27
  The idea to this plugin based on a similar WordPress plugin "SEO Friendly Images" by Vladimir Prelovac. This plugin version has more settings, possibilities to configure your »alt« / »title« attributes and it’s actively maintained. There is also a sync function, that automatically use existing »alt« as »title« and vice versa if one of the values exist. This is really important, if you have already optimized some of your images.
83
  * Code optimization and improvements
84
  * Better WooCommerce support
85
 
86
+ = 2.2.0 =
87
+ * Important for manual integration in themes: The lazy load class is now "pb-seo-lazy" instead of "lazy"
88
+ * wrong class in description is fixed now
89
+ * Better compatibility
90
+ * Code optimization and improvements
91
+ * german translation for de_DE_formal
92
+
93
  == License ==
94
 
95
  GNU General Public License v.3 - http://www.gnu.org/licenses/gpl-3.0.html