From 8b776cb0574b09f26aaa9ce4ae7de4d8b538379b Mon Sep 17 00:00:00 2001 From: Arno Welzel Date: Fri, 1 Mar 2024 00:16:21 +0100 Subject: [PATCH] Add option to disable meta data caching in transients. --- languages/lightbox-photoswipe-de_DE.mo | Bin 17060 -> 17330 bytes languages/lightbox-photoswipe-de_DE.po | 72 ++++++++++-------- languages/lightbox-photoswipe-de_DE_formal.mo | Bin 17097 -> 17374 bytes languages/lightbox-photoswipe-de_DE_formal.po | 72 ++++++++++-------- languages/lightbox-photoswipe-fr_FR.mo | Bin 17532 -> 17824 bytes languages/lightbox-photoswipe-fr_FR.po | 71 +++++++++-------- languages/lightbox-photoswipe-it_IT.mo | Bin 17392 -> 17683 bytes languages/lightbox-photoswipe-it_IT.po | 71 +++++++++-------- languages/lightbox-photoswipe.pot | 68 +++++++++-------- lightbox-photoswipe.php | 2 +- readme.txt | 6 +- src/LightboxPhotoSwipe/LightboxPhotoSwipe.php | 13 +++- src/LightboxPhotoSwipe/OptionsManager.php | 1 + templates/options-tab1.inc.php | 1 + 14 files changed, 210 insertions(+), 167 deletions(-) diff --git a/languages/lightbox-photoswipe-de_DE.mo b/languages/lightbox-photoswipe-de_DE.mo index 0df18c133c19e50282d14ac97181793ce5f937df..50b335274aca4bbb5192504eefc9fa2ca9272221 100644 GIT binary patch delta 2483 zcmYk+eN5F=9LMo5go=vKs3@906+{gTK}AXPS(;{O8r7Pui~N)yTz*&Yy+}UPEvB=! z(iEREA7W~o*;a}+x171P*_MlytlG-l#QMY3*>YLt8ofXMZYy@VuXBD6-}61+bIv`y zDdoiGl*Hw}X*-R-P5ckxe@>cuX5sYzTu-x({t>)}{cvknv)*_JyW>e5j_0s1wqsBH z9Th6An^|g#Sq}`;@6AhH%o6qz4Lz_46=(}zg}4{<@B%8(ZRBIA8Nt9kQ3DM_0$CC2 zerd8lFXJubZg-_BC<3jutl}Hb=k1)RF(0GRcJ8&8OLPpQUEvQUSVkY;0 zLUORX{V6AQAxaizAg@|3R^V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ipe-de_DE.po +++ b/languages/lightbox-photoswipe-de_DE.po @@ -3,9 +3,9 @@ msgstr "" "Project-Id-Version: Lightbox PhotoSwipe\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-07-28 15:59+0000\n" -"PO-Revision-Date: 2023-08-15 06:54+0000\n" +"PO-Revision-Date: 2024-02-29 23:14+0000\n" "Last-Translator: Arno Welzel\n" -"Language-Team: Deutsch\n" +"Language-Team: German\n" "Language: de_DE\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "MIME-Version: 1.0\n" @@ -22,7 +22,7 @@ msgstr "" "die " "PHP-EXIF-Erweiterung fehlt auf diesem Server!" -#: templates/options-tab1.inc.php:74 +#: templates/options-tab1.inc.php:75 msgid "" "The PHP SimpleXML extension is missing on this server! " @@ -56,6 +56,14 @@ msgstr "Deckkraft des Hintergrunds" msgid "bottom" msgstr "unten" +#: templates/options-tab1.inc.php:55 +msgid "" +"Cache image information in transients (disabling this can slow down your " +"website, try an object cache first)" +msgstr "" +"Bildinformationen in Transienten zwischenspeichern (die Deaktivierung kann " +"Deine Website verlangsamen, versuche es zuerst mit einem Objekt-Cache)" + #: templates/options-tab3.inc.php:17 msgid "Caption" msgstr "Beschriftung" @@ -64,15 +72,15 @@ msgstr "Beschriftung" msgid "Captions" msgstr "Bildunterschriften" -#: templates/options-tab1.inc.php:89 +#: templates/options-tab1.inc.php:90 msgid "CDN mode" msgstr "CDN-Modus" -#: templates/options-tab1.inc.php:79 +#: templates/options-tab1.inc.php:80 msgid "CDN URL prefix" msgstr "CDN URL-Präfix" -#: templates/options-tab1.inc.php:93 +#: templates/options-tab1.inc.php:94 msgid "" "CDNs usually use \"prefix mode\" which adds the CDN domain in front of the " "whole URL. Some CDNs like ExactDN use \"pull mode\" which means only the " @@ -86,7 +94,7 @@ msgstr "" "Lightbox angezeigt werden, versuchen Sie einen anderen Modus." #: templates/frontend.inc.php:12 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:980 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1002 msgid "Close [Esc]" msgstr "Schließen [Esc]" @@ -99,7 +107,7 @@ msgid "Close with vertical drag in mobile view" msgstr "Schließen mit vertikalem ziehen in der mobilen Ansicht" #: templates/options-tab4.inc.php:14 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:979 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1001 msgid "Copy image URL" msgstr "Bild-URL kopieren" @@ -116,7 +124,7 @@ msgid "Custom link, URL" msgstr "Eigener Link, URL" #: templates/options-tab2.inc.php:37 templates/options-tab2.inc.php:56 -#: templates/options-tab1.inc.php:68 templates/options-tab5.inc.php:55 +#: templates/options-tab5.inc.php:55 templates/options-tab1.inc.php:69 msgid "Default" msgstr "Standard" @@ -128,12 +136,12 @@ msgstr "Beschreibung" msgid "Desktop" msgstr "Desktop" -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:731 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:748 msgid "Disable" msgstr "Deaktivieren" #: templates/options-tab4.inc.php:13 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:978 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1000 msgid "Download image" msgstr "Herunterladen" @@ -188,7 +196,7 @@ msgstr "Ausgeschlossene Post-Typen" msgid "EXIF data if available" msgstr "EXIF-Daten, wenn vorhanden" -#: templates/options-tab1.inc.php:73 +#: templates/options-tab1.inc.php:74 msgid "Factor by which SVG images get scaled when displayed in the lightbox." msgstr "" "Faktor für die Skalierung von SVG-Bildern bei der Anzeige in der Lightbox." @@ -221,7 +229,6 @@ msgstr "Für eine Dokumentation zu Hooks, Styling etc. siehe die FAQ" #. %d value for image size #: templates/options-tab7.inc.php:31 -#, php-format msgid "" "For example: if an image is 1000×400 pixels the small version of it should " "be %d×%d pixels since the smallest registered image size is %d×%d pixels. If " @@ -250,8 +257,8 @@ msgstr "" msgid "Full picture size in desktop view" msgstr "Volle Bildgröße in Desktop-Ansicht" -#: templates/options-tab3.inc.php:4 templates/options-navigation.inc.php:2 -#: templates/options-tab6.inc.php:6 templates/options-tab5.inc.php:6 +#: templates/options-tab6.inc.php:6 templates/options-tab3.inc.php:4 +#: templates/options-navigation.inc.php:2 templates/options-tab5.inc.php:6 msgid "General" msgstr "Allgemein" @@ -295,7 +302,7 @@ msgstr "" "unterstützen möchtest, würde ich mich sehr über eine Spende über PayPal " "freuen." -#: templates/options-tab1.inc.php:84 +#: templates/options-tab1.inc.php:85 msgid "" "If you use a CDN plugin which adds an URL prefix in front of the image link, " "you can add this prefix (including \"http://\" or \"https://\") here. You " @@ -312,7 +319,7 @@ msgstr "" "Bildbeschriftungen aus der WordPress-Datenbank verwenden möchte, aber die " "Bilder über ein CDN ausliefert." -#: templates/options-tab1.inc.php:83 +#: templates/options-tab1.inc.php:84 msgid "" "If you use the JetPack CDN you can leave this setting empty – JetPack is " "already supported!" @@ -356,9 +363,9 @@ msgstr "links" #. Name of the plugin #. Description of the plugin #: templates/options.inc.php:12 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:678 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:679 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:711 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:695 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:696 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:728 msgid "Lightbox with PhotoSwipe" msgstr "Lightbox mit PhotoSwipe" @@ -399,7 +406,7 @@ msgid "New share symbol with solid background" msgstr "Neues Teilen-Symbol mit festem Hintergrund" #: templates/frontend.inc.php:29 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:983 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1005 msgid "Next [→]" msgstr "Nächstes [→]" @@ -441,7 +448,7 @@ msgid "PHP version" msgstr "PHP-Version" #: templates/options-tab4.inc.php:12 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:977 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:999 msgid "Pin it" msgstr "Auf Pinterest merken" @@ -467,16 +474,16 @@ msgstr "" msgid "Plugin version" msgstr "Plugin-Version" -#: templates/options-tab1.inc.php:92 +#: templates/options-tab1.inc.php:93 msgid "Prefix" msgstr "Präfix" #: templates/frontend.inc.php:28 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:982 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1004 msgid "Previous [←]" msgstr "Vorheriges [←]" -#: templates/options-tab1.inc.php:92 +#: templates/options-tab1.inc.php:93 msgid "Pull" msgstr "Pull" @@ -508,7 +515,7 @@ msgid "Share" msgstr "Teilen" #: templates/options-tab4.inc.php:9 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:975 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:997 msgid "Share on Facebook" msgstr "Auf Facebook teilen" @@ -573,7 +580,7 @@ msgstr "" "mapping-on-single-site/\" target=\"_blank\">Multiple Domain Mapping on " "Single Site" -#: templates/options-tab1.inc.php:59 +#: templates/options-tab1.inc.php:60 msgid "SVG scaling factor" msgstr "SVG-Skalierungsfaktor" @@ -593,13 +600,12 @@ msgstr "" "Die verfügbaren Optionen hängen von der PhotoSwipe-Version ab. Für Version 4 " "vorgenommene UI-Anpassungen funktionieren möglicherweise nicht für Version 5." -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:984 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1006 msgid "The image cannot be loaded" msgstr "Das Bild kann nicht geladen werden" #. %d value for image size #: templates/options-tab7.inc.php:25 -#, php-format msgid "" "The smallest size (%d×%d pixels) will be used to check if a smaller image is " "available for the transition." @@ -646,7 +652,7 @@ msgid "Title" msgstr "Titel" #: templates/frontend.inc.php:14 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:985 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1007 msgid "Toggle fullscreen [F]" msgstr "Vollbild umschalten [F]" @@ -655,7 +661,7 @@ msgid "top" msgstr "oben" #: templates/options-tab4.inc.php:10 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:976 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:998 msgid "Tweet" msgstr "Tweet" @@ -729,10 +735,10 @@ msgstr "Breite" msgid "Your label here" msgstr "Deine Beschriftung hier" -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:981 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1003 msgid "Zoom" msgstr "Zoom" -#: templates/options-tab5.inc.php:30 templates/frontend.inc.php:15 +#: templates/frontend.inc.php:15 templates/options-tab5.inc.php:30 msgid "Zoom in/out" msgstr "Vergrößern/Verkleinern" diff --git a/languages/lightbox-photoswipe-de_DE_formal.mo b/languages/lightbox-photoswipe-de_DE_formal.mo index 593908184c71cb7ee3399675da061f5ff247b8df..8b67389ebe812e4d06f99b3780e5f106b75280ad 100644 GIT binary patch delta 2491 zcmYk-d2Ccw6vy#XD5XFbc3Mz*1qv-tEGtfR6wwVKR~DLgT8k924|*J)(Hec zJUHX+km4@&}?QipJpg#~Y(fJD+>sa_>3k-aEap zF{O1=N}{!A>JH;)BYzL^H#Jo~vvB% zp@vHBYStmeEEB`@yYo_KvxKdop$9gi2HL_$G48=(_$6wfJIJqf$OtCRLQOOf8OTad z_sf(0=}DhMyZo>fT zzmvw>Tu^3XI0DLeKE8rg$QX7F>+vosz$!+aN5-|djs8i>rR#GTgw?T1R6mSt3yb0$ zT#pm+3XaDf2`89v7HVx4B2~3IyoBp+JC)C6VdGT;={H`IH48E``F2{w!}oQ0~` zVjPPR)E+s6+B>bN=Wi$bf1~EfX4Z5Zjv35vr8JcJqz4z+T&O+p0_ufo)C6m>43DEu z%PrIrEgWv6?29e;1D*^f0YHLX(^m3RiFgNbH5II(LXpQSnC$lQk+8Vg|9IYrg4)- zCtUED*<@UV+QoZO0~|+^v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bU@Ja3X1_77eHuT2Kr0;5r;d-I55ZG#d!tkG|X7=hxyr^fzG#4r3e6 z<9ci+{_&3z4kESjPbP=kbi%nR7daoO`fitK~eUBNK%H2~ytFQqZYskN9v4;We zU<_+9j9hX172m)_1`F|BR7PfS1b;y7bYGoWKORS=wur(XW5=a9LH{C`U*j*{;r@r+ zi|QYBXegp_4B%PZi23!D1$$6CJ%zg8=P?T-xR3>Y$6@;O4ekz)G`g8QftielQ44*J zdVdp;XHd_5 zjG_MJ1>vFi{smztaV8_FqNHqH$(l-kSygRis58GJX+xlQ=Z;6a{Y7m(f$(U4LQJ^6 HXe9eTU)A`^ diff --git a/languages/lightbox-photoswipe-de_DE_formal.po b/languages/lightbox-photoswipe-de_DE_formal.po index 89b2a41..1005893 100644 --- a/languages/lightbox-photoswipe-de_DE_formal.po +++ b/languages/lightbox-photoswipe-de_DE_formal.po @@ -3,9 +3,9 @@ msgstr "" "Project-Id-Version: Lightbox PhotoSwipe\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-07-28 15:59+0000\n" -"PO-Revision-Date: 2023-08-15 06:54+0000\n" +"PO-Revision-Date: 2024-02-29 23:14+0000\n" "Last-Translator: Arno Welzel\n" -"Language-Team: Deutsch (Sie)\n" +"Language-Team: German (Formal)\n" "Language: de_DE_formal\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "MIME-Version: 1.0\n" @@ -22,7 +22,7 @@ msgstr "" "die " "PHP-EXIF-Erweiterung fehlt auf diesem Server!" -#: templates/options-tab1.inc.php:74 +#: templates/options-tab1.inc.php:75 msgid "" "The PHP SimpleXML extension is missing on this server! " @@ -56,6 +56,14 @@ msgstr "Deckkraft des Hintergrunds" msgid "bottom" msgstr "unten" +#: templates/options-tab1.inc.php:55 +msgid "" +"Cache image information in transients (disabling this can slow down your " +"website, try an object cache first)" +msgstr "" +"Bildinformationen in Transienten zwischenspeichern (die Deaktivierung kann " +"Ihre Website verlangsamen, versuchen Sie es zuerst mit einem Objekt-Cache)" + #: templates/options-tab3.inc.php:17 msgid "Caption" msgstr "Beschriftung" @@ -64,15 +72,15 @@ msgstr "Beschriftung" msgid "Captions" msgstr "Bildunterschriften" -#: templates/options-tab1.inc.php:89 +#: templates/options-tab1.inc.php:90 msgid "CDN mode" msgstr "CDN-Modus" -#: templates/options-tab1.inc.php:79 +#: templates/options-tab1.inc.php:80 msgid "CDN URL prefix" msgstr "CDN URL-Präfix" -#: templates/options-tab1.inc.php:93 +#: templates/options-tab1.inc.php:94 msgid "" "CDNs usually use \"prefix mode\" which adds the CDN domain in front of the " "whole URL. Some CDNs like ExactDN use \"pull mode\" which means only the " @@ -86,7 +94,7 @@ msgstr "" "Lightbox angezeigt werden, versuchen Sie einen anderen Modus." #: templates/frontend.inc.php:12 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:980 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1002 msgid "Close [Esc]" msgstr "Schließen [Esc]" @@ -99,7 +107,7 @@ msgid "Close with vertical drag in mobile view" msgstr "Schließen mit vertikalem ziehen in der mobilen Ansicht" #: templates/options-tab4.inc.php:14 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:979 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1001 msgid "Copy image URL" msgstr "Bild-URL kopieren" @@ -116,7 +124,7 @@ msgid "Custom link, URL" msgstr "Eigener Link, URL" #: templates/options-tab2.inc.php:37 templates/options-tab2.inc.php:56 -#: templates/options-tab1.inc.php:68 templates/options-tab5.inc.php:55 +#: templates/options-tab5.inc.php:55 templates/options-tab1.inc.php:69 msgid "Default" msgstr "Standard" @@ -128,12 +136,12 @@ msgstr "Beschreibung" msgid "Desktop" msgstr "Desktop" -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:731 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:748 msgid "Disable" msgstr "Deaktivieren" #: templates/options-tab4.inc.php:13 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:978 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1000 msgid "Download image" msgstr "Herunterladen" @@ -188,7 +196,7 @@ msgstr "Ausgeschlossene Post-Typen" msgid "EXIF data if available" msgstr "EXIF-Daten, wenn vorhanden" -#: templates/options-tab1.inc.php:73 +#: templates/options-tab1.inc.php:74 msgid "Factor by which SVG images get scaled when displayed in the lightbox." msgstr "" "Faktor für die Skalierung von SVG-Bildern bei der Anzeige in der Lightbox." @@ -221,7 +229,6 @@ msgstr "Für eine Dokumentation zu Hooks, Styling etc. siehe die FAQ" #. %d value for image size #: templates/options-tab7.inc.php:31 -#, php-format msgid "" "For example: if an image is 1000×400 pixels the small version of it should " "be %d×%d pixels since the smallest registered image size is %d×%d pixels. If " @@ -250,8 +257,8 @@ msgstr "" msgid "Full picture size in desktop view" msgstr "Volle Bildgröße in Desktop-Ansicht" -#: templates/options-tab3.inc.php:4 templates/options-navigation.inc.php:2 -#: templates/options-tab6.inc.php:6 templates/options-tab5.inc.php:6 +#: templates/options-tab6.inc.php:6 templates/options-tab3.inc.php:4 +#: templates/options-navigation.inc.php:2 templates/options-tab5.inc.php:6 msgid "General" msgstr "Allgemein" @@ -295,7 +302,7 @@ msgstr "" "unterstützen möchten, würde ich mich sehr über eine Spende über PayPal " "freuen." -#: templates/options-tab1.inc.php:84 +#: templates/options-tab1.inc.php:85 msgid "" "If you use a CDN plugin which adds an URL prefix in front of the image link, " "you can add this prefix (including \"http://\" or \"https://\") here. You " @@ -312,7 +319,7 @@ msgstr "" "Bildbeschriftungen aus der WordPress-Datenbank verwenden möchte, aber die " "Bilder über ein CDN ausliefert." -#: templates/options-tab1.inc.php:83 +#: templates/options-tab1.inc.php:84 msgid "" "If you use the JetPack CDN you can leave this setting empty – JetPack is " "already supported!" @@ -356,9 +363,9 @@ msgstr "links" #. Name of the plugin #. Description of the plugin #: templates/options.inc.php:12 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:678 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:679 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:711 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:695 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:696 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:728 msgid "Lightbox with PhotoSwipe" msgstr "Lightbox mit PhotoSwipe" @@ -399,7 +406,7 @@ msgid "New share symbol with solid background" msgstr "Neues Teilen-Symbol mit festem Hintergrund" #: templates/frontend.inc.php:29 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:983 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1005 msgid "Next [→]" msgstr "Nächstes [→]" @@ -441,7 +448,7 @@ msgid "PHP version" msgstr "PHP-Version" #: templates/options-tab4.inc.php:12 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:977 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:999 msgid "Pin it" msgstr "Auf Pinterest merken" @@ -467,16 +474,16 @@ msgstr "" msgid "Plugin version" msgstr "Plugin-Version" -#: templates/options-tab1.inc.php:92 +#: templates/options-tab1.inc.php:93 msgid "Prefix" msgstr "Präfix" #: templates/frontend.inc.php:28 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:982 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1004 msgid "Previous [←]" msgstr "Vorheriges [←]" -#: templates/options-tab1.inc.php:92 +#: templates/options-tab1.inc.php:93 msgid "Pull" msgstr "Pull" @@ -508,7 +515,7 @@ msgid "Share" msgstr "Teilen" #: templates/options-tab4.inc.php:9 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:975 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:997 msgid "Share on Facebook" msgstr "Auf Facebook teilen" @@ -573,7 +580,7 @@ msgstr "" "mapping-on-single-site/\" target=\"_blank\">Multiple Domain Mapping on " "Single Site" -#: templates/options-tab1.inc.php:59 +#: templates/options-tab1.inc.php:60 msgid "SVG scaling factor" msgstr "SVG-Skalierungsfaktor" @@ -593,13 +600,12 @@ msgstr "" "Die verfügbaren Optionen hängen von der PhotoSwipe-Version ab. Für Version 4 " "vorgenommene UI-Anpassungen funktionieren möglicherweise nicht für Version 5." -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:984 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1006 msgid "The image cannot be loaded" msgstr "Das Bild can nicht geladen werden" #. %d value for image size #: templates/options-tab7.inc.php:25 -#, php-format msgid "" "The smallest size (%d×%d pixels) will be used to check if a smaller image is " "available for the transition." @@ -646,7 +652,7 @@ msgid "Title" msgstr "Titel" #: templates/frontend.inc.php:14 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:985 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1007 msgid "Toggle fullscreen [F]" msgstr "Vollbildanzeige umschalten [F]" @@ -655,7 +661,7 @@ msgid "top" msgstr "oben" #: templates/options-tab4.inc.php:10 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:976 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:998 msgid "Tweet" msgstr "Tweet" @@ -729,10 +735,10 @@ msgstr "Breite" msgid "Your label here" msgstr "Deine Beschriftung hier" -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:981 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1003 msgid "Zoom" msgstr "Zoom" -#: templates/options-tab5.inc.php:30 templates/frontend.inc.php:15 +#: templates/frontend.inc.php:15 templates/options-tab5.inc.php:30 msgid "Zoom in/out" msgstr "Vergrößern/Verkleinern" diff --git a/languages/lightbox-photoswipe-fr_FR.mo b/languages/lightbox-photoswipe-fr_FR.mo index de259d3120acc7484dc61d1182f47c9280e3255b..f00eb59dba3e0353a51d71185d6195a5bc81ebb4 100644 GIT binary patch delta 2499 zcmYk-d2AGA7{~FqwLm$F_knpmmg*L3Wo4=)I`^izb3O!uy9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ko6f&l4kVjw|XOEH5e6lpzX^SlRH+g?~= zrrkM;xp*8^iL=;=7jQmil5QCDPzkjoF<3X2;XYh|XE3&d##tKLqpX10O}G@bU=*pA zwPF!&z&zZGTIe{|65#8oQh!5K8c(A7KcNDiK?ORCwdiA#a*XCtf4#VsfmGasRK@yG zB|L`p7{~kYTjXQ8`DV*-6%xC3qB4C7Yw!>j;=8B-E}|+rg~VXK0)ock0`^~-y~ltu zp2BBw8hO_q=Su9vK2(6yxSouE#W?+D%BAs1r23Y0`!jeW{XelCQ(5G8?8MvfBx=3! z7!B>sk4P2mDvo1nG5d`_peE`FI+=8#wqzTs)Vom?>_e5f-|e4rpPxfj<~**#FHsfw z8&!$e91WE^aI-UE5h|lH)Wj8-f>Gq^TC-~_>b>M`4h2kCoCIEZ)%DWWx%Itf0C z3VbJ4;C^R3X2UcT`55XDeuX+z6K+3sxwCLOaziZ_b%;u_8aJXUcN8_xklPfWS3MVj4_kRHm?OhJCtyY0|Vk@@btGEjXGg=b4m6hxRZJy*P;4;}O*OC#Xb{s0y^zvHxu}I%w#+oJM`&LoCBd)G7T3 zb=v)5XNyjwuHgu(q@SYpb{yGuyNp4+j@q&yci2mSRj4hhZE)tfyMg-azCXY~Dt2KG z_TWQ!07=d!aWT&4?)Wi)ORyNVw_#j|P1uF6Am`D3M`ExH%EZO87F427;=_0(LjBoR zyTX7<=8G~3E<~N)dvOqZP+Q_}bPi)RendZlTIer)8S}a1D(x`#lkr>lKK)R$li*d% zr~ilBPmis3GRwv%cukDw~pdxnNem_RLb0afzv-SL#WoD9=Y6IG$MssWX06KZSLy3adZx47;= x&HoI>=Ss@sBPB(Ngn#qAL@X^CSX5hC9j>gYE3T=JghGk#Wrg0vit_!1{{d}>>|Fo= diff --git a/languages/lightbox-photoswipe-fr_FR.po b/languages/lightbox-photoswipe-fr_FR.po index f536c1e..14b47b1 100644 --- a/languages/lightbox-photoswipe-fr_FR.po +++ b/languages/lightbox-photoswipe-fr_FR.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: Lightbox with PhotoSwipe\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-06-13 09:32+0000\n" -"PO-Revision-Date: 2023-06-15 17:44+0000\n" +"PO-Revision-Date: 2024-02-29 23:15+0000\n" "Last-Translator: \n" "Language-Team: French (France)\n" "Language: fr_FR\n" @@ -22,7 +22,7 @@ msgstr "" "" "l'extension PHP EXIF est manquante sur ce serveur!" -#: templates/options-tab1.inc.php:74 +#: templates/options-tab1.inc.php:75 msgid "" "The PHP SimpleXML extension is missing on this server! " @@ -56,6 +56,15 @@ msgstr "Opacité de fond" msgid "bottom" msgstr "à droite" +#: templates/options-tab1.inc.php:55 +msgid "" +"Cache image information in transients (disabling this can slow down your " +"website, try an object cache first)" +msgstr "" +"Mettre en cache les informations sur l'image dans les transitoires (la " +"désactivation de cette option peut ralentir votre site Web, essayez d'abord " +"un cache d'objets)" + #: templates/options-tab3.inc.php:17 msgid "Caption" msgstr "Légende" @@ -64,15 +73,15 @@ msgstr "Légende" msgid "Captions" msgstr "Légendes" -#: templates/options-tab1.inc.php:89 +#: templates/options-tab1.inc.php:90 msgid "CDN mode" msgstr "Mode CDN" -#: templates/options-tab1.inc.php:79 +#: templates/options-tab1.inc.php:80 msgid "CDN URL prefix" msgstr "Préfixe d'URL CDN" -#: templates/options-tab1.inc.php:93 +#: templates/options-tab1.inc.php:94 msgid "" "CDNs usually use \"prefix mode\" which adds the CDN domain in front of the " "whole URL. Some CDNs like ExactDN use \"pull mode\" which means only the " @@ -86,7 +95,7 @@ msgstr "" "mode." #: templates/frontend.inc.php:12 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:980 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1002 #| msgid "Close (Esc)" msgid "Close [Esc]" msgstr "Fermer [Esc]" @@ -100,7 +109,7 @@ msgid "Close with vertical drag in mobile view" msgstr "Fermer avec un glissement vertical en vue mobile" #: templates/options-tab4.inc.php:14 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:979 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1001 msgid "Copy image URL" msgstr "Copier l'URL de l'image" @@ -117,7 +126,7 @@ msgid "Custom link, URL" msgstr "Lien personnalisé, URL" #: templates/options-tab2.inc.php:37 templates/options-tab2.inc.php:56 -#: templates/options-tab1.inc.php:68 templates/options-tab5.inc.php:55 +#: templates/options-tab5.inc.php:55 templates/options-tab1.inc.php:69 msgid "Default" msgstr "Défaut" @@ -129,12 +138,12 @@ msgstr "La description" msgid "Desktop" msgstr "Bureau" -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:731 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:748 msgid "Disable" msgstr "Désactiver" #: templates/options-tab4.inc.php:13 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:978 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1000 msgid "Download image" msgstr "Télécharger l'image" @@ -189,7 +198,7 @@ msgstr "Types de publication exclus" msgid "EXIF data if available" msgstr "Données EXIF si disponibles" -#: templates/options-tab1.inc.php:73 +#: templates/options-tab1.inc.php:74 msgid "Factor by which SVG images get scaled when displayed in the lightbox." msgstr "" "Facteur par lequel les images SVG sont mises à l'échelle lorsqu'elles sont " @@ -225,7 +234,6 @@ msgstr "" #. %d value for image size #: templates/options-tab7.inc.php:31 -#, php-format msgid "" "For example: if an image is 1000×400 pixels the small version of it should " "be %d×%d pixels since the smallest registered image size is %d×%d pixels. If " @@ -254,8 +262,8 @@ msgstr "" msgid "Full picture size in desktop view" msgstr "Taille complète de l'image en mode bureau" -#: templates/options-tab3.inc.php:4 templates/options-navigation.inc.php:2 -#: templates/options-tab6.inc.php:6 templates/options-tab5.inc.php:6 +#: templates/options-tab6.inc.php:6 templates/options-tab3.inc.php:4 +#: templates/options-navigation.inc.php:2 templates/options-tab5.inc.php:6 msgid "General" msgstr "Général" @@ -298,7 +306,7 @@ msgstr "" "Si vous aimez mes plugins WordPress et que vous souhaitez soutenir mon " "travail, je serais très heureux d'un don via PayPal." -#: templates/options-tab1.inc.php:84 +#: templates/options-tab1.inc.php:85 msgid "" "If you use a CDN plugin which adds an URL prefix in front of the image link, " "you can add this prefix (including \"http://\" or \"https://\") here. You " @@ -315,7 +323,7 @@ msgstr "" "si vous souhaitez utiliser des légendes d'images de la base de données " "WordPress mais diffuser des images à l'aide d'un CDN." -#: templates/options-tab1.inc.php:83 +#: templates/options-tab1.inc.php:84 msgid "" "If you use the JetPack CDN you can leave this setting empty – JetPack is " "already supported!" @@ -360,9 +368,9 @@ msgstr "en haut" #. Name of the plugin #. Description of the plugin #: templates/options.inc.php:12 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:678 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:679 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:711 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:695 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:696 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:728 msgid "Lightbox with PhotoSwipe" msgstr "Lightbox avec PhotoSwipe" @@ -404,7 +412,7 @@ msgid "New share symbol with solid background" msgstr "Nouveau symbole d'action avec fond uni" #: templates/frontend.inc.php:29 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:983 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1005 msgid "Next [→]" msgstr "Suivant [→]" @@ -446,7 +454,7 @@ msgid "PHP version" msgstr "Version PHP" #: templates/options-tab4.inc.php:12 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:977 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:999 msgid "Pin it" msgstr "Épinglez-le" @@ -471,16 +479,16 @@ msgstr "" msgid "Plugin version" msgstr "Version du plug-in" -#: templates/options-tab1.inc.php:92 +#: templates/options-tab1.inc.php:93 msgid "Prefix" msgstr "Préfixe" #: templates/frontend.inc.php:28 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:982 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1004 msgid "Previous [←]" msgstr "Précédent [←]" -#: templates/options-tab1.inc.php:92 +#: templates/options-tab1.inc.php:93 msgid "Pull" msgstr "Tirer" @@ -513,7 +521,7 @@ msgid "Share" msgstr "Partager" #: templates/options-tab4.inc.php:9 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:975 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:997 msgid "Share on Facebook" msgstr "Partager sur Facebook" @@ -581,7 +589,7 @@ msgstr "" "domain-mapping-on-single-site/\" target=\"_blank\">Multiple Domain Mapping " "on Single Site" -#: templates/options-tab1.inc.php:59 +#: templates/options-tab1.inc.php:60 msgid "SVG scaling factor" msgstr "Facteur d'échelle SVG" @@ -602,13 +610,12 @@ msgstr "" "personnalisations de l'interface utilisateur effectuées pour la version 4 " "peuvent ne pas fonctionner pour la version 5." -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:984 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1006 msgid "The image cannot be loaded" msgstr "L'image ne peut pas être chargée" #. %d value for image size #: templates/options-tab7.inc.php:25 -#, php-format msgid "" "The smallest size (%d×%d pixels) will be used to check if a smaller image is " "available for the transition." @@ -655,7 +662,7 @@ msgid "Title" msgstr "Titre" #: templates/frontend.inc.php:14 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:985 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1007 #| msgid "Toggle fullscreen" msgid "Toggle fullscreen [F]" msgstr "Passer en plein écran [F]" @@ -665,7 +672,7 @@ msgid "top" msgstr "à gauche" #: templates/options-tab4.inc.php:10 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:976 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:998 msgid "Tweet" msgstr "Tweet" @@ -740,10 +747,10 @@ msgstr "largeur" msgid "Your label here" msgstr "Votre étiquette ici" -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:981 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1003 msgid "Zoom" msgstr "Zoom" -#: templates/options-tab5.inc.php:30 templates/frontend.inc.php:15 +#: templates/frontend.inc.php:15 templates/options-tab5.inc.php:30 msgid "Zoom in/out" msgstr "Zoom avant/arrière" diff --git a/languages/lightbox-photoswipe-it_IT.mo b/languages/lightbox-photoswipe-it_IT.mo index 6eb5f605d4b8d4672fa9a72468f5f915c5b76763..e435be6d0b845534c10952e054d1e425a1eb88a1 100644 GIT binary patch delta 2486 zcmYM#eN0wW9Ki7(1_&y?n}Tl#0l`Fq2l55A7sX7?w{&c_oLt}v7cbAn=edsvTF)|> zne$~KwoGl!*{a!E;ub5Ht(I$M=A`vUI-S}dqH9@BT+Oua&-=8T@HxMG&pqdNe&^iF zt!+u|ZzRPp4NdM4{#j7|F z@1PEq+)t!Wl1K)+#DjULuSi^8rlB3$PzTz@uVUPf`S?BRK(~?q(q}+0@j%px#v=ns z2=#t>B7QdE64d7_@lmw#aoqgSxX4i&%ein7-^HQ~k>Pk2b*0yE9^S<&oXuzp@er0{ z4>qx~+(C>*+(B8i5_5(GiPho@#4awzlcD z!?#f<>_RQ=DIAaIF%$npooE1Al#<{u)Kbsqre3c^jaQ>4?4l;R9!qg+Ci`DNqbt$z z3Z@X>LaHRasC%21B{B^M2{pj>)=8H2DpQi&S7$gz+J zF2gN28@q7^4vCv!!bPZivkIxIG~ij>f}3%9b}-Oc)KXqT-I8mlrT!hY)V-)BPMHwI zqfqbXqgJK}LpT?8ocIPBT8d4mrQVDBzyZ`197Y}ZLwp3gkXKqxBs_)M?;O6DB=R%9 zM!Yds8*#glmnwa ziM+A00JW5r_!RCzJsancU6mVXFm+OJ>hn<(Sn|-g$cr>|RxxCE@(d*?8LZF z<0l%axL|59z%t~Z%Wl*Gj-tL!r%@BUhnjdg?_@e|NA1^+x^clH>K33sk z`~VI1V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msgid "" "The PHP SimpleXML extension is missing on this server! " @@ -56,6 +56,15 @@ msgstr "Opacità dello sfondo" msgid "bottom" msgstr "in basso" +#: templates/options-tab1.inc.php:55 +msgid "" +"Cache image information in transients (disabling this can slow down your " +"website, try an object cache first)" +msgstr "" +"Memorizza nella cache le informazioni sull'immagine nei transitori " +"(disabilitare questa opzione può rallentare il tuo sito web, prova prima una " +"cache degli oggetti)" + #: templates/options-tab3.inc.php:17 msgid "Caption" msgstr "Didascalia" @@ -64,15 +73,15 @@ msgstr "Didascalia" msgid "Captions" msgstr "Didascalie" -#: templates/options-tab1.inc.php:89 +#: templates/options-tab1.inc.php:90 msgid "CDN mode" msgstr "Modalità CDN" -#: templates/options-tab1.inc.php:79 +#: templates/options-tab1.inc.php:80 msgid "CDN URL prefix" msgstr "Prefisso URL CDN" -#: templates/options-tab1.inc.php:93 +#: templates/options-tab1.inc.php:94 msgid "" "CDNs usually use \"prefix mode\" which adds the CDN domain in front of the " "whole URL. Some CDNs like ExactDN use \"pull mode\" which means only the " @@ -86,7 +95,7 @@ msgstr "" "prova un'altra modalità." #: templates/frontend.inc.php:12 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:980 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1002 msgid "Close [Esc]" msgstr "Chiudi [Esc]" @@ -99,7 +108,7 @@ msgid "Close with vertical drag in mobile view" msgstr "Chiudi con trascinamento verticale nella visualizzazione mobile" #: templates/options-tab4.inc.php:14 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:979 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1001 msgid "Copy image URL" msgstr "Copia l'URL dell'immagine" @@ -116,7 +125,7 @@ msgid "Custom link, URL" msgstr "Collegamento personalizzato, URL" #: templates/options-tab2.inc.php:37 templates/options-tab2.inc.php:56 -#: templates/options-tab1.inc.php:68 templates/options-tab5.inc.php:55 +#: templates/options-tab5.inc.php:55 templates/options-tab1.inc.php:69 msgid "Default" msgstr "Predefinito" @@ -128,12 +137,12 @@ msgstr "Descrizione" msgid "Desktop" msgstr "Desktop" -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:731 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:748 msgid "Disable" msgstr "Disattivare" #: templates/options-tab4.inc.php:13 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:978 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1000 msgid "Download image" msgstr "Scarica l'immagine" @@ -188,7 +197,7 @@ msgstr "Tipi di post esclusi" msgid "EXIF data if available" msgstr "Dati EXIF se disponibili" -#: templates/options-tab1.inc.php:73 +#: templates/options-tab1.inc.php:74 msgid "Factor by which SVG images get scaled when displayed in the lightbox." msgstr "" "Fattore in base al quale le immagini SVG vengono ridimensionate quando " @@ -222,7 +231,6 @@ msgstr "Per la documentazione su ganci, styling ecc. consultare le FAQ" #. %d value for image size #: templates/options-tab7.inc.php:31 -#, php-format msgid "" "For example: if an image is 1000×400 pixels the small version of it should " "be %d×%d pixels since the smallest registered image size is %d×%d pixels. If " @@ -251,8 +259,8 @@ msgstr "" msgid "Full picture size in desktop view" msgstr "Dimensione totale dell'immagine nella visualizzazione desktop" -#: templates/options-tab3.inc.php:4 templates/options-navigation.inc.php:2 -#: templates/options-tab6.inc.php:6 templates/options-tab5.inc.php:6 +#: templates/options-tab6.inc.php:6 templates/options-tab3.inc.php:4 +#: templates/options-navigation.inc.php:2 templates/options-tab5.inc.php:6 msgid "General" msgstr "Generalmente" @@ -295,7 +303,7 @@ msgstr "" "Se ti piacciono i miei plugin WordPress e vuoi supportare il mio lavoro, " "sarei molto felice di ricevere una donazione tramite PayPal." -#: templates/options-tab1.inc.php:84 +#: templates/options-tab1.inc.php:85 msgid "" "If you use a CDN plugin which adds an URL prefix in front of the image link, " "you can add this prefix (including \"http://\" or \"https://\") here. You " @@ -312,7 +320,7 @@ msgstr "" "anche se si desidera utilizzare i sottotitoli di immagini dal database " "WordPress, ma consegnare le immagini tramite una rete CDN." -#: templates/options-tab1.inc.php:83 +#: templates/options-tab1.inc.php:84 msgid "" "If you use the JetPack CDN you can leave this setting empty – JetPack is " "already supported!" @@ -357,9 +365,9 @@ msgstr "a sinistra" #. Name of the plugin #. Description of the plugin #: templates/options.inc.php:12 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:678 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:679 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:711 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:695 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:696 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:728 msgid "Lightbox with PhotoSwipe" msgstr "Lightbox with PhotoSwipe" @@ -400,7 +408,7 @@ msgid "New share symbol with solid background" msgstr "Nuovo simbolo di condivisione con sfondo uniforme" #: templates/frontend.inc.php:29 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:983 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1005 msgid "Next [→]" msgstr "Avanti [→]" @@ -442,7 +450,7 @@ msgid "PHP version" msgstr "Versione PHP" #: templates/options-tab4.inc.php:12 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:977 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:999 msgid "Pin it" msgstr "Ricorda su Pinterest" @@ -468,16 +476,16 @@ msgstr "" msgid "Plugin version" msgstr "Versione plug-in" -#: templates/options-tab1.inc.php:92 +#: templates/options-tab1.inc.php:93 msgid "Prefix" msgstr "Prefisso" #: templates/frontend.inc.php:28 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:982 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1004 msgid "Previous [←]" msgstr "Precedente [←]" -#: templates/options-tab1.inc.php:92 +#: templates/options-tab1.inc.php:93 msgid "Pull" msgstr "Pull" @@ -508,7 +516,7 @@ msgid "Share" msgstr "Condividere" #: templates/options-tab4.inc.php:9 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:975 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:997 msgid "Share on Facebook" msgstr "Condividi su Facebook" @@ -573,7 +581,7 @@ msgstr "" "mapping-on-single-site/\" target=\"_blank\">Multiple Domain Mapping on " "Single Site" -#: templates/options-tab1.inc.php:59 +#: templates/options-tab1.inc.php:60 msgid "SVG scaling factor" msgstr "Fattore di scala SVG" @@ -594,13 +602,12 @@ msgstr "" "personalizzazioni dell'interfaccia utente eseguite per la versione 4 " "potrebbero non funzionare per la versione 5." -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:984 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1006 msgid "The image cannot be loaded" msgstr "Impossibile caricare l'immagine" #. %d value for image size #: templates/options-tab7.inc.php:25 -#, php-format msgid "" "The smallest size (%d×%d pixels) will be used to check if a smaller image is " "available for the transition." @@ -647,7 +654,7 @@ msgid "Title" msgstr "Titolo" #: templates/frontend.inc.php:14 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:985 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1007 msgid "Toggle fullscreen [F]" msgstr "Attiva/disattiva schermo intero [F]" @@ -656,7 +663,7 @@ msgid "top" msgstr "in alto" #: templates/options-tab4.inc.php:10 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:976 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:998 msgid "Tweet" msgstr "Tweet" @@ -729,10 +736,10 @@ msgstr "larghezza" msgid "Your label here" msgstr "La tua etichetta qui" -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:981 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1003 msgid "Zoom" msgstr "Ingrandisci" -#: templates/options-tab5.inc.php:30 templates/frontend.inc.php:15 +#: templates/frontend.inc.php:15 templates/options-tab5.inc.php:30 msgid "Zoom in/out" msgstr "Ingrandire/ridurre" diff --git a/languages/lightbox-photoswipe.pot b/languages/lightbox-photoswipe.pot index 8da5978..267eb27 100644 --- a/languages/lightbox-photoswipe.pot +++ b/languages/lightbox-photoswipe.pot @@ -3,7 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-06-15 17:38+0000\n" +"POT-Creation-Date: 2024-02-29 23:12+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: \n" @@ -20,7 +20,7 @@ msgid "" "the PHP EXIF extension is missing on this server!" msgstr "" -#: templates/options-tab1.inc.php:74 +#: templates/options-tab1.inc.php:75 msgid "" "The PHP SimpleXML extension is missing on this server! " @@ -51,6 +51,12 @@ msgstr "" msgid "bottom" msgstr "" +#: templates/options-tab1.inc.php:55 +msgid "" +"Cache image information in transients (disabling this can slow down your " +"website, try an object cache first)" +msgstr "" + #: templates/options-tab3.inc.php:17 msgid "Caption" msgstr "" @@ -59,15 +65,15 @@ msgstr "" msgid "Captions" msgstr "" -#: templates/options-tab1.inc.php:89 +#: templates/options-tab1.inc.php:90 msgid "CDN mode" msgstr "" -#: templates/options-tab1.inc.php:79 +#: templates/options-tab1.inc.php:80 msgid "CDN URL prefix" msgstr "" -#: templates/options-tab1.inc.php:93 +#: templates/options-tab1.inc.php:94 msgid "" "CDNs usually use \"prefix mode\" which adds the CDN domain in front of the " "whole URL. Some CDNs like ExactDN use \"pull mode\" which means only the " @@ -76,7 +82,7 @@ msgid "" msgstr "" #: templates/frontend.inc.php:12 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:980 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1002 msgid "Close [Esc]" msgstr "" @@ -89,7 +95,7 @@ msgid "Close with vertical drag in mobile view" msgstr "" #: templates/options-tab4.inc.php:14 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:979 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1001 msgid "Copy image URL" msgstr "" @@ -106,7 +112,7 @@ msgid "Custom link, URL" msgstr "" #: templates/options-tab2.inc.php:37 templates/options-tab2.inc.php:56 -#: templates/options-tab1.inc.php:68 templates/options-tab5.inc.php:55 +#: templates/options-tab5.inc.php:55 templates/options-tab1.inc.php:69 msgid "Default" msgstr "" @@ -118,12 +124,12 @@ msgstr "" msgid "Desktop" msgstr "" -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:731 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:748 msgid "Disable" msgstr "" #: templates/options-tab4.inc.php:13 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:978 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1000 msgid "Download image" msgstr "" @@ -172,7 +178,7 @@ msgstr "" msgid "EXIF data if available" msgstr "" -#: templates/options-tab1.inc.php:73 +#: templates/options-tab1.inc.php:74 msgid "Factor by which SVG images get scaled when displayed in the lightbox." msgstr "" @@ -194,7 +200,6 @@ msgstr "" #. %d value for image size #: templates/options-tab7.inc.php:31 -#, php-format msgid "" "For example: if an image is 1000×400 pixels the small version of it should " "be %d×%d pixels since the smallest registered image size is %d×%d pixels. If " @@ -214,8 +219,8 @@ msgstr "" msgid "Full picture size in desktop view" msgstr "" -#: templates/options-tab3.inc.php:4 templates/options-navigation.inc.php:2 -#: templates/options-tab6.inc.php:6 templates/options-tab5.inc.php:6 +#: templates/options-tab6.inc.php:6 templates/options-tab3.inc.php:4 +#: templates/options-navigation.inc.php:2 templates/options-tab5.inc.php:6 msgid "General" msgstr "" @@ -252,7 +257,7 @@ msgid "" "happy about a donation via PayPal." msgstr "" -#: templates/options-tab1.inc.php:84 +#: templates/options-tab1.inc.php:85 msgid "" "If you use a CDN plugin which adds an URL prefix in front of the image link, " "you can add this prefix (including \"http://\" or \"https://\") here. You " @@ -262,7 +267,7 @@ msgid "" "database but serve images using a CDN." msgstr "" -#: templates/options-tab1.inc.php:83 +#: templates/options-tab1.inc.php:84 msgid "" "If you use the JetPack CDN you can leave this setting empty – JetPack is " "already supported!" @@ -299,9 +304,9 @@ msgstr "" #. Name of the plugin #. Description of the plugin #: templates/options.inc.php:12 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:678 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:679 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:711 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:695 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:696 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:728 msgid "Lightbox with PhotoSwipe" msgstr "" @@ -340,7 +345,7 @@ msgid "New share symbol with solid background" msgstr "" #: templates/frontend.inc.php:29 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:983 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1005 msgid "Next [→]" msgstr "" @@ -379,7 +384,7 @@ msgid "PHP version" msgstr "" #: templates/options-tab4.inc.php:12 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:977 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:999 msgid "Pin it" msgstr "" @@ -400,16 +405,16 @@ msgstr "" msgid "Plugin version" msgstr "" -#: templates/options-tab1.inc.php:92 +#: templates/options-tab1.inc.php:93 msgid "Prefix" msgstr "" #: templates/frontend.inc.php:28 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:982 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1004 msgid "Previous [←]" msgstr "" -#: templates/options-tab1.inc.php:92 +#: templates/options-tab1.inc.php:93 msgid "Pull" msgstr "" @@ -440,7 +445,7 @@ msgid "Share" msgstr "" #: templates/options-tab4.inc.php:9 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:975 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:997 msgid "Share on Facebook" msgstr "" @@ -500,7 +505,7 @@ msgid "" "Site" msgstr "" -#: templates/options-tab1.inc.php:59 +#: templates/options-tab1.inc.php:60 msgid "SVG scaling factor" msgstr "" @@ -518,13 +523,12 @@ msgid "" "done for version 4 may not work for version 5." msgstr "" -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:984 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1006 msgid "The image cannot be loaded" msgstr "" #. %d value for image size #: templates/options-tab7.inc.php:25 -#, php-format msgid "" "The smallest size (%d×%d pixels) will be used to check if a smaller image is " "available for the transition." @@ -554,7 +558,7 @@ msgid "Title" msgstr "" #: templates/frontend.inc.php:14 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:985 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1007 msgid "Toggle fullscreen [F]" msgstr "" @@ -563,7 +567,7 @@ msgid "top" msgstr "" #: templates/options-tab4.inc.php:10 -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:976 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:998 msgid "Tweet" msgstr "" @@ -626,10 +630,10 @@ msgstr "" msgid "Your label here" msgstr "" -#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:981 +#: src/LightboxPhotoSwipe/LightboxPhotoSwipe.php:1003 msgid "Zoom" msgstr "" -#: templates/options-tab5.inc.php:30 templates/frontend.inc.php:15 +#: templates/frontend.inc.php:15 templates/options-tab5.inc.php:30 msgid "Zoom in/out" msgstr "" diff --git a/lightbox-photoswipe.php b/lightbox-photoswipe.php index 3e3bdbc..93fea41 100644 --- a/lightbox-photoswipe.php +++ b/lightbox-photoswipe.php @@ -3,7 +3,7 @@ Plugin Name: Lightbox with PhotoSwipe Plugin URI: https://wordpress.org/plugins/lightbox-photoswipe/ Description: Lightbox with PhotoSwipe -Version: 5.1.6 +Version: 5.1.7 Author: Arno Welzel Author URI: http://arnowelzel.de Text Domain: lightbox-photoswipe diff --git a/readme.txt b/readme.txt index 6d4e381..67215b6 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Contributors: awelzel Tags: attachments, images, gallery, lightbox, fancybox, photoswipe Requires at least: 5.3 Tested up to: 6.4 -Stable tag: 5.1.6 +Stable tag: 5.1.7 Donate link: https://paypal.me/ArnoWelzel License: GPLv2 License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -219,6 +219,10 @@ If you change any of the stylesheets or frontend scripts in `src/js` or `src/lib == Changelog == += 5.1.7 = + +* Added option to disable image meta data caching in transients for special cases or debugging. + = 5.1.6 = * Make sure, that displaying SVG images in the lightbox is supported even if WordPress does not report it as allowed diff --git a/src/LightboxPhotoSwipe/LightboxPhotoSwipe.php b/src/LightboxPhotoSwipe/LightboxPhotoSwipe.php index b4f3469..a0091a6 100644 --- a/src/LightboxPhotoSwipe/LightboxPhotoSwipe.php +++ b/src/LightboxPhotoSwipe/LightboxPhotoSwipe.php @@ -11,7 +11,7 @@ */ class LightboxPhotoSwipe { - const VERSION = '5.1.6'; + const VERSION = '5.1.7'; const SLUG = 'lightbox-photoswipe'; const META_VERSION = '14'; const CACHE_EXPIRE_IMG_DETAILS = 86400; @@ -473,7 +473,12 @@ public function callbackProperties(array $matches) } $cacheKey = sprintf('%s-%s-image-%s',self::META_VERSION, self::SLUG, hash('md5', $file.$imgMtime)); - if (!$imgDetails = get_transient($cacheKey)) { + if ($this->optionsManager->getOption('use_transients')) { + $imgDetails = get_transient($cacheKey); + } else { + $imgDetails = false; + } + if (!$imgDetails) { $imageSize = $this->getImageSize($file . $params, $extension); if (false !== $imageSize && is_numeric($imageSize[0]) && is_numeric($imageSize[1]) && $imageSize[0] > 0 && $imageSize[1] > 0) { $pathInfo = pathinfo($file); @@ -544,7 +549,9 @@ public function callbackProperties(array $matches) } } } - set_transient($cacheKey, $imgDetails, self::CACHE_EXPIRE_IMG_DETAILS); + if ($this->optionsManager->getOption('use_transients')) { + set_transient($cacheKey, $imgDetails, self::CACHE_EXPIRE_IMG_DETAILS); + } } } diff --git a/src/LightboxPhotoSwipe/OptionsManager.php b/src/LightboxPhotoSwipe/OptionsManager.php index 83c7efd..4e72788 100644 --- a/src/LightboxPhotoSwipe/OptionsManager.php +++ b/src/LightboxPhotoSwipe/OptionsManager.php @@ -63,6 +63,7 @@ class OptionsManager 'padding_bottom' => [ 'default' => '0' ], 'max_width' => [ 'default' => '' ], 'max_height' => [ 'default' => '' ], + 'use_transients' => [ 'default' => '1' ], ]; public $options; diff --git a/templates/options-tab1.inc.php b/templates/options-tab1.inc.php index bb96cb3..54627e8 100644 --- a/templates/options-tab1.inc.php +++ b/templates/options-tab1.inc.php @@ -52,6 +52,7 @@


+