Version Description
- fixed some encoding problems
- added settings for a better encoding handling
- optimized translations
Download this release
Release Info
Developer | PascalBajorat |
Plugin | PB SEO Friendly Images |
Version | 2.6.0 |
Comparing to | |
See all releases |
Code changes from version 2.5.0 to 2.6.0
- css/admin.css +4 -1
- css/admin.css.map +1 -1
- css/admin.scss +6 -1
- inc/settings.php +60 -3
- lang/pb-seo-friendly-images-de_DE.mo +0 -0
- lang/pb-seo-friendly-images-de_DE.po +70 -18
- lang/pb-seo-friendly-images-de_DE_formal.mo +0 -0
- lang/pb-seo-friendly-images-de_DE_formal.po +70 -18
- lang/pb-seo-friendly-images.pot +62 -16
- pb-seo-friendly-images.php +21 -7
- readme.txt +12 -2
css/admin.css
CHANGED
@@ -74,12 +74,15 @@
|
|
74 |
padding: 25px;
|
75 |
margin-bottom: 25px;
|
76 |
max-width: 1024px; }
|
|
|
|
|
|
|
77 |
.pb-wp-app-wrapper .pb-section-wrap p:first-child, .pb-wp-app-wrapper .form-table p:first-child {
|
78 |
margin-top: 0; }
|
79 |
.pb-wp-app-wrapper .pb-section-wrap p:last-child, .pb-wp-app-wrapper .form-table p:last-child {
|
80 |
margin-bottom: 0; }
|
81 |
.pb-wp-app-wrapper .pb-section-wrap input[type="text"], .pb-wp-app-wrapper .pb-section-wrap textarea, .pb-wp-app-wrapper .pb-section-wrap select, .pb-wp-app-wrapper .form-table input[type="text"], .pb-wp-app-wrapper .form-table textarea, .pb-wp-app-wrapper .form-table select {
|
82 |
-
box-sizing:
|
83 |
width: 100%;
|
84 |
margin-left: 0;
|
85 |
border-radius: 4px;
|
74 |
padding: 25px;
|
75 |
margin-bottom: 25px;
|
76 |
max-width: 1024px; }
|
77 |
+
.pb-wp-app-wrapper .pb-section-wrap.no-margin-bottom, .pb-wp-app-wrapper .form-table.no-margin-bottom {
|
78 |
+
margin-bottom: 0;
|
79 |
+
padding-bottom: 5px; }
|
80 |
.pb-wp-app-wrapper .pb-section-wrap p:first-child, .pb-wp-app-wrapper .form-table p:first-child {
|
81 |
margin-top: 0; }
|
82 |
.pb-wp-app-wrapper .pb-section-wrap p:last-child, .pb-wp-app-wrapper .form-table p:last-child {
|
83 |
margin-bottom: 0; }
|
84 |
.pb-wp-app-wrapper .pb-section-wrap input[type="text"], .pb-wp-app-wrapper .pb-section-wrap textarea, .pb-wp-app-wrapper .pb-section-wrap select, .pb-wp-app-wrapper .form-table input[type="text"], .pb-wp-app-wrapper .form-table textarea, .pb-wp-app-wrapper .form-table select {
|
85 |
+
box-sizing: border-box;
|
86 |
width: 100%;
|
87 |
margin-left: 0;
|
88 |
border-radius: 4px;
|
css/admin.css.map
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"version": 3,
|
3 |
-
"mappings": "AAAQ,4EAAoE;AAM5E,kBAAmB;EACf,UAAU,EAAE,UAAU;EACtB,WAAW,EAAE,uBAAuB;EACpC,SAAS,EAAE,IAAI;EACf,OAAO,EAAE,IAAI;EAEb,oBAAE;IACE,UAAU,EAAE,UAAU;EAG1B,oBAAE;IACE,SAAS,EAAE,IAAI;EAGnB,+BAAa;IACT,SAAS,EAAE,IAAI;IACf,UAAU,EAAE,cAAc;IAC1B,QAAQ,EAAE,QAAQ;IAClB,UAAU,EAAE,MAAM;IAClB,MAAM,EAAE,aAAa;IAErB,oCAAK;MACD,GAAG,EAAE,KAAK;MACV,QAAQ,EAAE,QAAQ;MAClB,UAAU,EAAE,OAAO;MACnB,OAAO,EAAE,MAAM;EAIvB,8BAAY;IACR,OAAO,EAAE,IAAI;IAEb,uCAAS;MACL,KAAK,EAAE,kBAAkB;MACzB,aAAa,EAAE,IAAI;MACnB,SAAS,EAAE,MAAM;IAGrB,0CAAY;MACR,KAAK,EAAE,KAAK;MACZ,WAAW,EAAE,IAAI;MAEjB,yDAAe;QACX,UAAU,EAAE,CAAC;QACb,KAAK,EAAE,IAAI;IAInB,6FAAgC;MAC5B,UAAU,EAAE,IAAI;MAChB,OAAO,EAAE,SAAS;MAClB,OAAO,EAAE,EAAE;MACX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,SAAS;IACzB,WAAW,EAAE,IAAI;IACjB,kBAAkB,EAAE,cAAc;IAClC,eAAe,EAAE,cAAc;IAC/B,UAAU,EAAE,cAAc;IAE1B,gCAAQ;MACJ,gBAAgB,EAAE,OAAmB",
|
4 |
"sources": ["admin.scss"],
|
5 |
"names": [],
|
6 |
"file": "admin.css"
|
css/admin.scss
CHANGED
@@ -119,6 +119,11 @@
|
|
119 |
margin-bottom: 25px;
|
120 |
max-width: 1024px;
|
121 |
|
|
|
|
|
|
|
|
|
|
|
122 |
p:first-child {
|
123 |
margin-top: 0;
|
124 |
}
|
@@ -128,7 +133,7 @@
|
|
128 |
}
|
129 |
|
130 |
input[type="text"], textarea, select {
|
131 |
-
box-sizing:
|
132 |
width: 100%;
|
133 |
margin-left: 0;
|
134 |
border-radius: 4px;
|
119 |
margin-bottom: 25px;
|
120 |
max-width: 1024px;
|
121 |
|
122 |
+
&.no-margin-bottom {
|
123 |
+
margin-bottom: 0;
|
124 |
+
padding-bottom: 5px;
|
125 |
+
}
|
126 |
+
|
127 |
p:first-child {
|
128 |
margin-top: 0;
|
129 |
}
|
133 |
}
|
134 |
|
135 |
input[type="text"], textarea, select {
|
136 |
+
box-sizing: border-box;
|
137 |
width: 100%;
|
138 |
margin-left: 0;
|
139 |
border-radius: 4px;
|
inc/settings.php
CHANGED
@@ -93,7 +93,7 @@ if( !class_exists('pbSEOFriendlyImagesSettings') ):
|
|
93 |
__('Image "alt" and "title" Settings', 'pb-seo-friendly-images'),
|
94 |
function()
|
95 |
{
|
96 |
-
echo '<div class="pb-section-wrap">';
|
97 |
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>';
|
98 |
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>';
|
99 |
|
@@ -104,7 +104,7 @@ if( !class_exists('pbSEOFriendlyImagesSettings') ):
|
|
104 |
).'</p>';
|
105 |
|
106 |
echo '<hr />';
|
107 |
-
echo '<p><strong>'.__('How it works', 'pb-seo-friendly-images').':</strong> '.__('You only need to configure the plugin with the following settings. The plugin will optimize your HTML code on-the-fly. This means, that you see the "alt" and "title" directly in the HTML code output and not in your media library or editor. This is not a hard rewrite of your media library values. You can change this values without the risk to damage some media library data.', 'pb-seo-friendly-images').'</p>';
|
108 |
|
109 |
echo '</div> <!-- .pb-section-wrap -->';
|
110 |
|
@@ -221,7 +221,7 @@ if( !class_exists('pbSEOFriendlyImagesSettings') ):
|
|
221 |
echo '<h2 class="pro-section"><span>'.__('Pro Features', 'pb-seo-friendly-images').'</span></h2>';
|
222 |
|
223 |
echo '<h2 class="pb-section-title">'.__('Lazy Load settings', 'pb-seo-friendly-images').'</h2>';
|
224 |
-
echo '<div class="pb-section-wrap">';
|
225 |
echo '<p>'.__('This function is very useful and it boosts performance by delaying loading of images in long web pages, because images outside of viewport (visible part of web page) won\'t be loaded until the user scrolls to them.', 'pb-seo-friendly-images').'</p>';
|
226 |
echo '<p>'.__('The lazy load is powered by unveil.js, one of the fastest and thinnest lazy loader in the web. The implementation is highly seo compatible with a no js fallback.', 'pb-seo-friendly-images').'</p>';
|
227 |
echo '<p>'.__('If enabled the lazy load will be added automatically to images in your post or page content and also to post thumbnails.', 'pb-seo-friendly-images').'</p>';
|
@@ -342,6 +342,51 @@ if( !class_exists('pbSEOFriendlyImagesSettings') ):
|
|
342 |
'disabled' => ((pbSEOFriendlyImages::$proVersion)?false:true)
|
343 |
)
|
344 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
345 |
}
|
346 |
|
347 |
public static function optionsPageMenu()
|
@@ -379,6 +424,18 @@ if( !class_exists('pbSEOFriendlyImagesSettings') ):
|
|
379 |
</div>
|
380 |
<div class="pb-sidebar">
|
381 |
<h3><?php esc_html_e('Plugins & Support', 'pb-seo-friendly-images') ?></h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
382 |
<div class="pb-plugin-box">
|
383 |
<h4>
|
384 |
<span class="icon">
|
93 |
__('Image "alt" and "title" Settings', 'pb-seo-friendly-images'),
|
94 |
function()
|
95 |
{
|
96 |
+
echo '<div class="pb-section-wrap no-margin-bottom">';
|
97 |
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>';
|
98 |
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>';
|
99 |
|
104 |
).'</p>';
|
105 |
|
106 |
echo '<hr />';
|
107 |
+
echo '<p><strong style="text-decoration: underline;">'.__('How it works', 'pb-seo-friendly-images').':</strong> '.__('You only need to configure the plugin with the following settings. The plugin will optimize your HTML code on-the-fly. This means, that you see the "alt" and "title" directly in the HTML code output and not in your media library or editor. This is not a hard rewrite of your media library values. You can change this values without the risk to damage some media library data.', 'pb-seo-friendly-images').'</p>';
|
108 |
|
109 |
echo '</div> <!-- .pb-section-wrap -->';
|
110 |
|
221 |
echo '<h2 class="pro-section"><span>'.__('Pro Features', 'pb-seo-friendly-images').'</span></h2>';
|
222 |
|
223 |
echo '<h2 class="pb-section-title">'.__('Lazy Load settings', 'pb-seo-friendly-images').'</h2>';
|
224 |
+
echo '<div class="pb-section-wrap no-margin-bottom">';
|
225 |
echo '<p>'.__('This function is very useful and it boosts performance by delaying loading of images in long web pages, because images outside of viewport (visible part of web page) won\'t be loaded until the user scrolls to them.', 'pb-seo-friendly-images').'</p>';
|
226 |
echo '<p>'.__('The lazy load is powered by unveil.js, one of the fastest and thinnest lazy loader in the web. The implementation is highly seo compatible with a no js fallback.', 'pb-seo-friendly-images').'</p>';
|
227 |
echo '<p>'.__('If enabled the lazy load will be added automatically to images in your post or page content and also to post thumbnails.', 'pb-seo-friendly-images').'</p>';
|
342 |
'disabled' => ((pbSEOFriendlyImages::$proVersion)?false:true)
|
343 |
)
|
344 |
);
|
345 |
+
|
346 |
+
/**
|
347 |
+
* Section Encoding and Parser
|
348 |
+
*/
|
349 |
+
pbSEOFriendlyImagesSettings::$settings = new pbSettingsFramework(array(
|
350 |
+
'text-domain' => 'pb-seo-friendly-images',
|
351 |
+
'page' => 'pb-seo-friendly-images',
|
352 |
+
'section' => 'pb-seo-friendly-images-encoding',
|
353 |
+
'option-group' => 'pb-seo-friendly-images'
|
354 |
+
));
|
355 |
+
|
356 |
+
pbSEOFriendlyImagesSettings::$settings->addSettingsSection(
|
357 |
+
'pb-seo-friendly-images-encoding',
|
358 |
+
'',
|
359 |
+
function()
|
360 |
+
{
|
361 |
+
echo '<h2 class="pb-section-title">'.__('Encoding and Parser', 'pb-seo-friendly-images').'</h2>';
|
362 |
+
echo '<div class="pb-section-wrap no-margin-bottom">';
|
363 |
+
echo '<p>'.__('Here you can configure the HTML-Parser of the plugin. You <u>only</u> need to change this settings if you have <u>problems with your encoding</u> after activating the plugin.', 'pb-seo-friendly-images').'</p>';
|
364 |
+
echo '</div>';
|
365 |
+
}
|
366 |
+
);
|
367 |
+
|
368 |
+
pbSEOFriendlyImagesSettings::$settings->addSettingsField(
|
369 |
+
'pbsfi_encoding',
|
370 |
+
__('encoding', 'pb-seo-friendly-images'),
|
371 |
+
array(
|
372 |
+
'type' => 'text',
|
373 |
+
'default' => '',
|
374 |
+
'desc' => __('leave blank to use WordPress default encoding or type in something like "utf-8"', 'pb-seo-friendly-images')
|
375 |
+
)
|
376 |
+
);
|
377 |
+
|
378 |
+
pbSEOFriendlyImagesSettings::$settings->addSettingsField(
|
379 |
+
'pbsfi_encoding_mode',
|
380 |
+
__('encoding mode', 'pb-seo-friendly-images'),
|
381 |
+
array(
|
382 |
+
'type' => 'select',
|
383 |
+
'default' => 'entities',
|
384 |
+
'select' => array(
|
385 |
+
'entities' => __('HTML-ENTITIES', 'pb-seo-friendly-images').' ('.__('default', 'pb-seo-friendly-images').')',
|
386 |
+
'off' => __('disable convert encoding', 'pb-seo-friendly-images'),
|
387 |
+
)
|
388 |
+
)
|
389 |
+
);
|
390 |
}
|
391 |
|
392 |
public static function optionsPageMenu()
|
424 |
</div>
|
425 |
<div class="pb-sidebar">
|
426 |
<h3><?php esc_html_e('Plugins & Support', 'pb-seo-friendly-images') ?></h3>
|
427 |
+
|
428 |
+
<?php if( strstr(get_locale(), 'de') ): ?>
|
429 |
+
<div class="pb-support-box">
|
430 |
+
<h4><?php _e('WordPress Kurs', 'pb-seo-friendly-images') ?></h4>
|
431 |
+
<p><?php _e('Möchtest du mit WordPress richtig durchstarten? In meinem WordPress Kurs erfährst du spannende Tipps und Tricks zu WordPress und SEO!', 'pb-seo-friendly-images') ?></p>
|
432 |
+
|
433 |
+
<p>
|
434 |
+
<a href="https://wordpress-kurs.pascal-bajorat.com/" class="button" target="_blank"><?php _e('Jetzt Kurs ansehen', 'pb-seo-friendly-images') ?></a>
|
435 |
+
</p>
|
436 |
+
</div>
|
437 |
+
<?php endif; ?>
|
438 |
+
|
439 |
<div class="pb-plugin-box">
|
440 |
<h4>
|
441 |
<span class="icon">
|
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:
|
5 |
-
"PO-Revision-Date:
|
6 |
"Last-Translator: Pascal Bajorat <pascal@pascal-bajorat.com>\n"
|
7 |
"Language-Team: Pascal Bajorat <pascal@pascal-bajorat.com>\n"
|
8 |
"Language: de\n"
|
@@ -164,7 +164,7 @@ msgstr "alt => title"
|
|
164 |
|
165 |
#: inc/settings.php:146
|
166 |
msgid "alt <= title"
|
167 |
-
msgstr "alt
|
168 |
|
169 |
#: inc/settings.php:148
|
170 |
msgid "select sync method for \"alt\" and \"title\" attribute."
|
@@ -260,7 +260,7 @@ msgstr ""
|
|
260 |
msgid "alt scheme"
|
261 |
msgstr "Schema alt-Attribut"
|
262 |
|
263 |
-
#: inc/settings.php:192 inc/settings.php:202
|
264 |
msgid "default"
|
265 |
msgstr "Standard"
|
266 |
|
@@ -411,28 +411,66 @@ msgstr ""
|
|
411 |
"deaktiviere das srcset Attribut und Responsive Bilder in Wordpress, wenn du "
|
412 |
"diese nicht benötigst"
|
413 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
414 |
#. Plugin Name of the plugin/theme
|
415 |
-
#: inc/settings.php:
|
416 |
msgid "PB SEO Friendly Images"
|
417 |
msgstr "PB SEO Friendly Images"
|
418 |
|
419 |
-
#: inc/settings.php:
|
420 |
msgid "SEO Friendly Images"
|
421 |
msgstr "SEO Friendly Images"
|
422 |
|
423 |
-
#: inc/settings.php:
|
424 |
msgid "Plugins & Support"
|
425 |
msgstr "Plugins & Support"
|
426 |
|
427 |
-
#: inc/settings.php:
|
428 |
msgid "PrimusNote"
|
429 |
msgstr "PrimusNote"
|
430 |
|
431 |
-
#: inc/settings.php:
|
432 |
msgid "Project Management"
|
433 |
msgstr "Projekt-Management"
|
434 |
|
435 |
-
#: inc/settings.php:
|
436 |
msgid ""
|
437 |
"PrimusNote is a Project Management and Team Collaboration software based on "
|
438 |
"WordPress."
|
@@ -440,15 +478,15 @@ msgstr ""
|
|
440 |
"PrimusNote ist eine Projekt-Management und Team-Kollaborations-Software auf "
|
441 |
"WordPress Basis."
|
442 |
|
443 |
-
#: inc/settings.php:
|
444 |
msgid "Install Plugin"
|
445 |
msgstr "Plugin installieren"
|
446 |
|
447 |
-
#: inc/settings.php:
|
448 |
msgid "MailCrypt - AntiSpam Email Encryption"
|
449 |
msgstr "MailCrypt - E-Mail Verschlüsselung"
|
450 |
|
451 |
-
#: inc/settings.php:
|
452 |
msgid ""
|
453 |
"This Plugin provides a Shortcode to encrypt email addresses / links and "
|
454 |
"protect them against spam."
|
@@ -456,26 +494,40 @@ msgstr ""
|
|
456 |
"Dieses Plugin stellt einen Shortcode und Funktionen für die E-Mail "
|
457 |
"Verschlüsselung zur Verfügung und schützt gegen Spam."
|
458 |
|
459 |
-
#: inc/settings.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
460 |
msgid "Support"
|
461 |
msgstr "Support"
|
462 |
|
463 |
-
#: inc/settings.php:
|
464 |
msgid ""
|
465 |
"Do you need some help with this plugin? I am here to help you. Get in touch:"
|
466 |
msgstr ""
|
467 |
"Benötigst du Unterstützung mit diesem Plugin? Ich bin gerne bereit zu "
|
468 |
"helfen, schreib mir einfach:"
|
469 |
|
470 |
-
#: inc/settings.php:
|
471 |
msgid "Support Forum"
|
472 |
msgstr "Support Forum"
|
473 |
|
474 |
-
#: inc/settings.php:
|
475 |
msgid "Contact Support"
|
476 |
msgstr "Support kontaktieren"
|
477 |
|
478 |
-
#: inc/settings.php:
|
479 |
msgid "Changelog"
|
480 |
msgstr "Changelog"
|
481 |
|
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"
|
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."
|
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 |
|
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 "
|
422 |
+
"activating the plugin."
|
423 |
+
msgstr ""
|
424 |
+
"Hier kannst du den HTML-Parser des Plugins konfigurieren. Du solltest diese "
|
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\""
|
436 |
+
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 |
"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 |
"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 |
|
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:
|
5 |
-
"PO-Revision-Date:
|
6 |
"Last-Translator: Pascal Bajorat <pascal@pascal-bajorat.com>\n"
|
7 |
"Language-Team: Pascal Bajorat <pascal@pascal-bajorat.com>\n"
|
8 |
"Language: de\n"
|
@@ -164,7 +164,7 @@ msgstr "alt => title"
|
|
164 |
|
165 |
#: inc/settings.php:146
|
166 |
msgid "alt <= title"
|
167 |
-
msgstr "alt
|
168 |
|
169 |
#: inc/settings.php:148
|
170 |
msgid "select sync method for \"alt\" and \"title\" attribute."
|
@@ -260,7 +260,7 @@ msgstr ""
|
|
260 |
msgid "alt scheme"
|
261 |
msgstr "Schema alt-Attribut"
|
262 |
|
263 |
-
#: inc/settings.php:192 inc/settings.php:202
|
264 |
msgid "default"
|
265 |
msgstr "Standard"
|
266 |
|
@@ -411,28 +411,66 @@ msgstr ""
|
|
411 |
"deaktiviere das srcset Attribut und Responsive Bilder in Wordpress, wenn du "
|
412 |
"diese nicht benötigst"
|
413 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
414 |
#. Plugin Name of the plugin/theme
|
415 |
-
#: inc/settings.php:
|
416 |
msgid "PB SEO Friendly Images"
|
417 |
msgstr "PB SEO Friendly Images"
|
418 |
|
419 |
-
#: inc/settings.php:
|
420 |
msgid "SEO Friendly Images"
|
421 |
msgstr "SEO Friendly Images"
|
422 |
|
423 |
-
#: inc/settings.php:
|
424 |
msgid "Plugins & Support"
|
425 |
msgstr "Plugins & Support"
|
426 |
|
427 |
-
#: inc/settings.php:
|
428 |
msgid "PrimusNote"
|
429 |
msgstr "PrimusNote"
|
430 |
|
431 |
-
#: inc/settings.php:
|
432 |
msgid "Project Management"
|
433 |
msgstr "Projekt-Management"
|
434 |
|
435 |
-
#: inc/settings.php:
|
436 |
msgid ""
|
437 |
"PrimusNote is a Project Management and Team Collaboration software based on "
|
438 |
"WordPress."
|
@@ -440,15 +478,15 @@ msgstr ""
|
|
440 |
"PrimusNote ist eine Projekt-Management und Team-Kollaborations-Software auf "
|
441 |
"WordPress Basis."
|
442 |
|
443 |
-
#: inc/settings.php:
|
444 |
msgid "Install Plugin"
|
445 |
msgstr "Plugin installieren"
|
446 |
|
447 |
-
#: inc/settings.php:
|
448 |
msgid "MailCrypt - AntiSpam Email Encryption"
|
449 |
msgstr "MailCrypt - E-Mail Verschlüsselung"
|
450 |
|
451 |
-
#: inc/settings.php:
|
452 |
msgid ""
|
453 |
"This Plugin provides a Shortcode to encrypt email addresses / links and "
|
454 |
"protect them against spam."
|
@@ -456,26 +494,40 @@ msgstr ""
|
|
456 |
"Dieses Plugin stellt einen Shortcode und Funktionen für die E-Mail "
|
457 |
"Verschlüsselung zur Verfügung und schützt gegen Spam."
|
458 |
|
459 |
-
#: inc/settings.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
460 |
msgid "Support"
|
461 |
msgstr "Support"
|
462 |
|
463 |
-
#: inc/settings.php:
|
464 |
msgid ""
|
465 |
"Do you need some help with this plugin? I am here to help you. Get in touch:"
|
466 |
msgstr ""
|
467 |
"Benötigst du Unterstützung mit diesem Plugin? Ich bin gerne bereit zu "
|
468 |
"helfen, schreib mir einfach:"
|
469 |
|
470 |
-
#: inc/settings.php:
|
471 |
msgid "Support Forum"
|
472 |
msgstr "Support Forum"
|
473 |
|
474 |
-
#: inc/settings.php:
|
475 |
msgid "Contact Support"
|
476 |
msgstr "Support kontaktieren"
|
477 |
|
478 |
-
#: inc/settings.php:
|
479 |
msgid "Changelog"
|
480 |
msgstr "Changelog"
|
481 |
|
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"
|
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."
|
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 |
|
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 "
|
422 |
+
"activating the plugin."
|
423 |
+
msgstr ""
|
424 |
+
"Hier kannst du den HTML-Parser des Plugins konfigurieren. Du solltest diese "
|
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\""
|
436 |
+
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 |
"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 |
"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 |
|
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:
|
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"
|
@@ -217,7 +217,7 @@ msgstr ""
|
|
217 |
msgid "alt scheme"
|
218 |
msgstr ""
|
219 |
|
220 |
-
#: inc/settings.php:192 inc/settings.php:202
|
221 |
msgid "default"
|
222 |
msgstr ""
|
223 |
|
@@ -342,65 +342,111 @@ msgid ""
|
|
342 |
"them"
|
343 |
msgstr ""
|
344 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
345 |
#. Plugin Name of the plugin/theme
|
346 |
-
#: inc/settings.php:
|
347 |
msgid "PB SEO Friendly Images"
|
348 |
msgstr ""
|
349 |
|
350 |
-
#: inc/settings.php:
|
351 |
msgid "SEO Friendly Images"
|
352 |
msgstr ""
|
353 |
|
354 |
-
#: inc/settings.php:
|
355 |
msgid "Plugins & Support"
|
356 |
msgstr ""
|
357 |
|
358 |
-
#: inc/settings.php:
|
359 |
msgid "PrimusNote"
|
360 |
msgstr ""
|
361 |
|
362 |
-
#: inc/settings.php:
|
363 |
msgid "Project Management"
|
364 |
msgstr ""
|
365 |
|
366 |
-
#: inc/settings.php:
|
367 |
msgid ""
|
368 |
"PrimusNote is a Project Management and Team Collaboration software based on "
|
369 |
"WordPress."
|
370 |
msgstr ""
|
371 |
|
372 |
-
#: inc/settings.php:
|
373 |
msgid "Install Plugin"
|
374 |
msgstr ""
|
375 |
|
376 |
-
#: inc/settings.php:
|
377 |
msgid "MailCrypt - AntiSpam Email Encryption"
|
378 |
msgstr ""
|
379 |
|
380 |
-
#: inc/settings.php:
|
381 |
msgid ""
|
382 |
"This Plugin provides a Shortcode to encrypt email addresses / links and protect "
|
383 |
"them against spam."
|
384 |
msgstr ""
|
385 |
|
386 |
-
#: inc/settings.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
387 |
msgid "Support"
|
388 |
msgstr ""
|
389 |
|
390 |
-
#: inc/settings.php:
|
391 |
msgid ""
|
392 |
"Do you need some help with this plugin? I am here to help you. Get in touch:"
|
393 |
msgstr ""
|
394 |
|
395 |
-
#: inc/settings.php:
|
396 |
msgid "Support Forum"
|
397 |
msgstr ""
|
398 |
|
399 |
-
#: inc/settings.php:
|
400 |
msgid "Contact Support"
|
401 |
msgstr ""
|
402 |
|
403 |
-
#: inc/settings.php:
|
404 |
msgid "Changelog"
|
405 |
msgstr ""
|
406 |
|
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"
|
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 |
|
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 |
|
pb-seo-friendly-images.php
CHANGED
@@ -3,14 +3,14 @@
|
|
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.
|
7 |
Author: Pascal Bajorat
|
8 |
Author URI: https://www.pascal-bajorat.com
|
9 |
Text Domain: pb-seo-friendly-images
|
10 |
Domain Path: /lang
|
11 |
License: GNU General Public License v.3
|
12 |
|
13 |
-
Copyright (c)
|
14 |
*/
|
15 |
|
16 |
/* Security-Check */
|
@@ -36,7 +36,7 @@ if( !class_exists('pbSEOFriendlyImages') ):
|
|
36 |
|
37 |
class pbSEOFriendlyImages
|
38 |
{
|
39 |
-
public static $verMajor = '2.
|
40 |
public static $verMinor = '0';
|
41 |
|
42 |
public static $basename = false;
|
@@ -84,7 +84,9 @@ if( !class_exists('pbSEOFriendlyImages') ):
|
|
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 |
);
|
89 |
|
90 |
// process post thumbnails
|
@@ -225,6 +227,7 @@ if( !class_exists('pbSEOFriendlyImages') ):
|
|
225 |
/**
|
226 |
* Process post images
|
227 |
*
|
|
|
228 |
* @param string $content
|
229 |
* @return string
|
230 |
*/
|
@@ -243,12 +246,20 @@ if( !class_exists('pbSEOFriendlyImages') ):
|
|
243 |
return $content;
|
244 |
}
|
245 |
|
246 |
-
|
|
|
|
|
|
|
|
|
|
|
247 |
$charset = apply_filters('pbsfi-charset', $charset);
|
|
|
248 |
|
249 |
$document = new DOMDocument();
|
250 |
-
if( function_exists('mb_convert_encoding') ) {
|
251 |
$content = @mb_convert_encoding($content, 'HTML-ENTITIES', $charset);
|
|
|
|
|
252 |
}
|
253 |
@$document->loadHTML($content);
|
254 |
|
@@ -348,7 +359,10 @@ if( !class_exists('pbSEOFriendlyImages') ):
|
|
348 |
}
|
349 |
}
|
350 |
|
351 |
-
return
|
|
|
|
|
|
|
352 |
}
|
353 |
|
354 |
/**
|
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
|
10 |
Domain Path: /lang
|
11 |
License: GNU General Public License v.3
|
12 |
|
13 |
+
Copyright (c) 2018 by Pascal-Bajorat.com.
|
14 |
*/
|
15 |
|
16 |
/* Security-Check */
|
36 |
|
37 |
class pbSEOFriendlyImages
|
38 |
{
|
39 |
+
public static $verMajor = '2.6';
|
40 |
public static $verMinor = '0';
|
41 |
|
42 |
public static $basename = 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),
|
89 |
+
'encoding_mode' => get_option('pbsfi_encoding_mode', false)
|
90 |
);
|
91 |
|
92 |
// process post thumbnails
|
227 |
/**
|
228 |
* Process post images
|
229 |
*
|
230 |
+
*
|
231 |
* @param string $content
|
232 |
* @return string
|
233 |
*/
|
246 |
return $content;
|
247 |
}
|
248 |
|
249 |
+
if( !empty(pbSEOFriendlyImages::$userSettings['encoding']) ) {
|
250 |
+
$charset = pbSEOFriendlyImages::$userSettings['encoding'];
|
251 |
+
} else {
|
252 |
+
$charset = ( (defined('DB_CHARSET') ) ? DB_CHARSET : 'utf-8' );
|
253 |
+
}
|
254 |
+
|
255 |
$charset = apply_filters('pbsfi-charset', $charset);
|
256 |
+
$encoding_declaration = sprintf('<?xml encoding="%s" ?>', $charset);
|
257 |
|
258 |
$document = new DOMDocument();
|
259 |
+
if( function_exists('mb_convert_encoding') && pbSEOFriendlyImages::$userSettings['encoding_mode'] != 'off' ) {
|
260 |
$content = @mb_convert_encoding($content, 'HTML-ENTITIES', $charset);
|
261 |
+
} else {
|
262 |
+
$content = $encoding_declaration.$content;
|
263 |
}
|
264 |
@$document->loadHTML($content);
|
265 |
|
359 |
}
|
360 |
}
|
361 |
|
362 |
+
$return = $document->saveHTML();
|
363 |
+
$return = str_replace($encoding_declaration, '', $return);
|
364 |
+
|
365 |
+
return preg_replace('/^<!DOCTYPE.+?>/', '', str_replace( array('<html>', '</html>', '<body>', '</body>'), array('', '', '', ''), $return));
|
366 |
}
|
367 |
|
368 |
/**
|
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
|
7 |
-
Stable tag: 2.
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -36,12 +36,22 @@ If you have any questions or problems, you can ask me: [Pascal Bajorat - Webdesi
|
|
36 |
2. Activate the plugin over "Plugins > Installed Plugins" in your WordPress Backend
|
37 |
3. Go to "Settings" and "SEO Friendly Images" to configure the plugin
|
38 |
|
|
|
|
|
|
|
|
|
|
|
39 |
== Screenshots ==
|
40 |
|
41 |
1. Plugin Settings
|
42 |
|
43 |
== Changelog ==
|
44 |
|
|
|
|
|
|
|
|
|
|
|
45 |
= 2.5.0 =
|
46 |
* fixed compability with feeds
|
47 |
* fixed compability with ARForms
|
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 |
|
36 |
2. Activate the plugin over "Plugins > Installed Plugins" in your WordPress Backend
|
37 |
3. Go to "Settings" and "SEO Friendly Images" to configure the plugin
|
38 |
|
39 |
+
For Theme Developer:
|
40 |
+
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:
|
41 |
+
|
42 |
+
`<img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="Echter SRC Pfad" class="pb-seo-lazy" />`
|
43 |
+
|
44 |
== Screenshots ==
|
45 |
|
46 |
1. Plugin Settings
|
47 |
|
48 |
== Changelog ==
|
49 |
|
50 |
+
= 2.6.0 =
|
51 |
+
* fixed some encoding problems
|
52 |
+
* added settings for a better encoding handling
|
53 |
+
* optimized translations
|
54 |
+
|
55 |
= 2.5.0 =
|
56 |
* fixed compability with feeds
|
57 |
* fixed compability with ARForms
|