Skip to content

Commit

Permalink
Revert custom EXIF parser to PHP extension
Browse files Browse the repository at this point in the history
  • Loading branch information
arnowelzel committed Mar 10, 2024
1 parent 1c2a2fa commit 2adbb18
Show file tree
Hide file tree
Showing 17 changed files with 101 additions and 736 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ This plugin integrates an extended version of PhotoSwipe 4 or the official relea

More about PhotoSwipe see here: [http://photoswipe.com](http://photoswipe.com)

Displaying EXIF data in captions is supported for WEBP and JPEG images and does not require the PHP EXIF extension.

For more information about how to install Lightbox with PhotoSwipe see the [WordPress plugin repository](https://wordpress.org/plugins/lightbox-photoswipe/).

## Custom styles for PhotoSwipe 5
Expand Down
Binary file modified languages/lightbox-photoswipe-de_DE.mo
Binary file not shown.
38 changes: 20 additions & 18 deletions languages/lightbox-photoswipe-de_DE.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,24 @@ 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: 2024-03-09 16:25+0000\n"
"Last-Translator: Arno Welzel\n"
"PO-Revision-Date: 2024-03-10 00:59+0000\n"
"Last-Translator: \n"
"Language-Team: German\n"
"Language: de_DE\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Loco https://localise.biz/\n"
"X-Loco-Version: 2.6.4; wp-6.2"
"X-Loco-Version: 2.6.6; wp-6.4.2"

#: templates/options-tab4.inc.php:21
msgid ""
"<a href=\"https://www.php.net/manual/en/book.exif.php\" target=\"_blank\">"
"the PHP EXIF extension</a> is missing on this server!"
msgstr ""
"<a href=\"https://www.php.net/manual/de/book.exif.php\" target=\"_blank\">"
"die PHP-EXIF-Erweiterung</a> fehlt auf diesem Server!"

#: templates/options-tab2.inc.php:75
msgid ""
Expand Down Expand Up @@ -137,15 +145,15 @@ msgstr "Deaktivieren"
msgid "Download image"
msgstr "Herunterladen"

#: templates/options-tab4.inc.php:29
#: templates/options-tab4.inc.php:30
msgid "dynamic, aside"
msgstr "dynamisch, daneben"

#: templates/options-tab4.inc.php:29
#: templates/options-tab4.inc.php:30
msgid "dynamic, automatic"
msgstr "dynamisch, automatisch"

#: templates/options-tab4.inc.php:29
#: templates/options-tab4.inc.php:30
msgid "dynamic, below"
msgstr "dynamisch, darunter"

Expand Down Expand Up @@ -183,17 +191,11 @@ msgstr "Ausgeschlossene Seiten/Beiträge"
msgid "Excluded post types"
msgstr "Ausgeschlossene Post-Typen"

#: templates/options-tab4.inc.php:20
#: templates/options-tab4.inc.php:20 templates/options-tab4.inc.php:21
#| msgid "Show EXIF data if available"
msgid "EXIF data if available"
msgstr "EXIF-Daten, wenn vorhanden"

#: templates/options-tab1.inc.php:43
msgid "EXIF data in captions is currently supported for JPEG and WEBP images."
msgstr ""
"EXIF-Daten in Bildunterschriften werden derzeit für JPEG- und WEBP-Bilder "
"unterstützt."

#: templates/options-tab2.inc.php:74
msgid "Factor by which SVG images get scaled when displayed in the lightbox."
msgstr ""
Expand Down Expand Up @@ -221,7 +223,7 @@ msgstr ""
"Links zu skalierten Bildern korrigieren (z.B. \"image-scaled.jpg\" statt "
"\"image.jpg\")"

#: templates/options-tab1.inc.php:45
#: templates/options-tab1.inc.php:44
msgid "For documentation about hooks, styling etc. please see FAQ"
msgstr "Für eine Dokumentation zu Hooks, Styling etc. siehe die FAQ"

Expand Down Expand Up @@ -333,7 +335,7 @@ msgstr "Links zu Bildern auf anderen Websites ignorieren"
msgid "Ignore links to images which contain a hash (#)"
msgstr "Links zu Bildern ignorieren, die ein Hash (#) enthalten"

#: templates/options-tab1.inc.php:44
#: templates/options-tab1.inc.php:43
msgid ""
"Image information like size, EXIF data, name of the preview image is cached "
"as WordPress transients. To improve performance with large image galleries "
Expand Down Expand Up @@ -432,7 +434,7 @@ msgstr "Original mit festem Hintergrund"
msgid "Other options"
msgstr "Weitere Optionen"

#: templates/options-tab4.inc.php:29
#: templates/options-tab4.inc.php:30
msgid "overlay"
msgstr "Overlay"

Expand Down Expand Up @@ -533,7 +535,7 @@ msgstr "Freigabeoptionen werden für PhotoSwipe 5 noch nicht unterstützt."
msgid "Show caption if available"
msgstr "Bildunterschrift anzeigen, wenn verfügbar"

#: templates/options-tab4.inc.php:21
#: templates/options-tab4.inc.php:22
msgid "Show date in EXIF data if available"
msgstr "Datum in den EXIF-Daten anzeigen, wenn vorhanden"

Expand Down Expand Up @@ -667,7 +669,7 @@ msgstr "oben"
msgid "Tweet"
msgstr "Tweet"

#: templates/options-tab4.inc.php:26
#: templates/options-tab4.inc.php:27
msgid "Type of caption"
msgstr "Art der Beschriftung"

Expand Down
Binary file modified languages/lightbox-photoswipe-de_DE_formal.mo
Binary file not shown.
34 changes: 18 additions & 16 deletions languages/lightbox-photoswipe-de_DE_formal.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ 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: 2024-03-09 16:24+0000\n"
"PO-Revision-Date: 2024-03-10 00:59+0000\n"
"Last-Translator: Arno Welzel\n"
"Language-Team: German (Formal)\n"
"Language: de_DE_formal\n"
Expand All @@ -14,6 +14,14 @@ msgstr ""
"X-Generator: Loco https://localise.biz/\n"
"X-Loco-Version: 2.6.4; wp-6.2"

#: templates/options-tab4.inc.php:21
msgid ""
"<a href=\"https://www.php.net/manual/en/book.exif.php\" target=\"_blank\">"
"the PHP EXIF extension</a> is missing on this server!"
msgstr ""
"<a href=\"https://www.php.net/manual/de/book.exif.php\" target=\"_blank\">"
"die PHP-EXIF-Erweiterung</a> fehlt auf diesem Server!"

#: templates/options-tab2.inc.php:75
msgid ""
"<a href=\"https://www.php.net/manual/en/ref.simplexml.php\" "
Expand Down Expand Up @@ -137,15 +145,15 @@ msgstr "Deaktivieren"
msgid "Download image"
msgstr "Herunterladen"

#: templates/options-tab4.inc.php:29
#: templates/options-tab4.inc.php:30
msgid "dynamic, aside"
msgstr "dynamisch, daneben"

#: templates/options-tab4.inc.php:29
#: templates/options-tab4.inc.php:30
msgid "dynamic, automatic"
msgstr "dynamisch, automatisch"

#: templates/options-tab4.inc.php:29
#: templates/options-tab4.inc.php:30
msgid "dynamic, below"
msgstr "dynamisch, darunter"

Expand Down Expand Up @@ -183,17 +191,11 @@ msgstr "Ausgeschlossene Seiten/Beiträge"
msgid "Excluded post types"
msgstr "Ausgeschlossene Post-Typen"

#: templates/options-tab4.inc.php:20
#: templates/options-tab4.inc.php:20 templates/options-tab4.inc.php:21
#| msgid "Show EXIF data if available"
msgid "EXIF data if available"
msgstr "EXIF-Daten, wenn vorhanden"

#: templates/options-tab1.inc.php:43
msgid "EXIF data in captions is currently supported for JPEG and WEBP images."
msgstr ""
"EXIF-Daten in Bildunterschriften werden derzeit für JPEG- und WEBP-Bilder "
"unterstützt."

#: templates/options-tab2.inc.php:74
msgid "Factor by which SVG images get scaled when displayed in the lightbox."
msgstr ""
Expand Down Expand Up @@ -221,7 +223,7 @@ msgstr ""
"Links zu skalierten Bildern korrigieren (z.B. \"image-scaled.jpg\" statt "
"\"image.jpg\")"

#: templates/options-tab1.inc.php:45
#: templates/options-tab1.inc.php:44
msgid "For documentation about hooks, styling etc. please see FAQ"
msgstr "Für eine Dokumentation zu Hooks, Styling etc. siehe die FAQ"

Expand Down Expand Up @@ -333,7 +335,7 @@ msgstr "Links zu Bildern auf anderen Websites ignorieren"
msgid "Ignore links to images which contain a hash (#)"
msgstr "Links zu Bildern ignorieren, die ein Hash (#) enthalten"

#: templates/options-tab1.inc.php:44
#: templates/options-tab1.inc.php:43
msgid ""
"Image information like size, EXIF data, name of the preview image is cached "
"as WordPress transients. To improve performance with large image galleries "
Expand Down Expand Up @@ -432,7 +434,7 @@ msgstr "Original mit festem Hintergrund"
msgid "Other options"
msgstr "Weitere Optionen"

#: templates/options-tab4.inc.php:29
#: templates/options-tab4.inc.php:30
msgid "overlay"
msgstr "Overlay"

Expand Down Expand Up @@ -533,7 +535,7 @@ msgstr "Freigabeoptionen werden für PhotoSwipe 5 noch nicht unterstützt."
msgid "Show caption if available"
msgstr "Bildunterschrift anzeigen, wenn verfügbar"

#: templates/options-tab4.inc.php:21
#: templates/options-tab4.inc.php:22
msgid "Show date in EXIF data if available"
msgstr "Datum in den EXIF-Daten anzeigen, wenn vorhanden"

Expand Down Expand Up @@ -667,7 +669,7 @@ msgstr "oben"
msgid "Tweet"
msgstr "Tweet"

#: templates/options-tab4.inc.php:26
#: templates/options-tab4.inc.php:27
msgid "Type of caption"
msgstr "Art der Beschriftung"

Expand Down
Binary file modified languages/lightbox-photoswipe-fr_FR.mo
Binary file not shown.
34 changes: 18 additions & 16 deletions languages/lightbox-photoswipe-fr_FR.po
Original file line number Diff line number Diff line change
Expand Up @@ -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: 2024-03-09 16:27+0000\n"
"PO-Revision-Date: 2024-03-10 01:00+0000\n"
"Last-Translator: \n"
"Language-Team: French (France)\n"
"Language: fr_FR\n"
Expand All @@ -14,6 +14,14 @@ msgstr ""
"X-Generator: Loco https://localise.biz/\n"
"X-Loco-Version: 2.6.4; wp-6.2-RC2-55551"

#: templates/options-tab4.inc.php:21
msgid ""
"<a href=\"https://www.php.net/manual/en/book.exif.php\" target=\"_blank\">"
"the PHP EXIF extension</a> is missing on this server!"
msgstr ""
"<a href=\"https://www.php.net/manual/fr/book.exif.php\" target=\"_blank\">"
"l'extension PHP EXIF ​​​​</a> est manquante sur ce serveur !"

#: templates/options-tab2.inc.php:75
msgid ""
"<a href=\"https://www.php.net/manual/en/ref.simplexml.php\" "
Expand Down Expand Up @@ -139,15 +147,15 @@ msgstr "Désactiver"
msgid "Download image"
msgstr "Télécharger l'image"

#: templates/options-tab4.inc.php:29
#: templates/options-tab4.inc.php:30
msgid "dynamic, aside"
msgstr "dynamique, à part"

#: templates/options-tab4.inc.php:29
#: templates/options-tab4.inc.php:30
msgid "dynamic, automatic"
msgstr "dynamique, automatique"

#: templates/options-tab4.inc.php:29
#: templates/options-tab4.inc.php:30
msgid "dynamic, below"
msgstr "dynamique, ci-dessous"

Expand Down Expand Up @@ -186,16 +194,10 @@ msgstr "Pages/publications exclues"
msgid "Excluded post types"
msgstr "Types de publication exclus"

#: templates/options-tab4.inc.php:20
#: templates/options-tab4.inc.php:20 templates/options-tab4.inc.php:21
msgid "EXIF data if available"
msgstr "Données EXIF si disponibles"

#: templates/options-tab1.inc.php:43
msgid "EXIF data in captions is currently supported for JPEG and WEBP images."
msgstr ""
"Les données EXIF dans les légendes sont actuellement prises en charge pour "
"les images JPEG et WEBP."

#: templates/options-tab2.inc.php:74
msgid "Factor by which SVG images get scaled when displayed in the lightbox."
msgstr ""
Expand Down Expand Up @@ -224,7 +226,7 @@ msgstr ""
"Corriger les liens vers des images à l'échelle (par exemple, \"image.jpg\" "
"au lieu de \"image-scaled.jpg\")"

#: templates/options-tab1.inc.php:45
#: templates/options-tab1.inc.php:44
msgid "For documentation about hooks, styling etc. please see FAQ"
msgstr ""
"Pour la documentation sur les crochets, le style, etc., veuillez consulter "
Expand Down Expand Up @@ -337,7 +339,7 @@ msgstr "Ignorer les liens vers des images sur d'autres sites"
msgid "Ignore links to images which contain a hash (#)"
msgstr "Ignorer les liens vers des images contenant un hachage (#)"

#: templates/options-tab1.inc.php:44
#: templates/options-tab1.inc.php:43
msgid ""
"Image information like size, EXIF data, name of the preview image is cached "
"as WordPress transients. To improve performance with large image galleries "
Expand Down Expand Up @@ -438,7 +440,7 @@ msgstr "Original avec fond solide"
msgid "Other options"
msgstr "Autres options"

#: templates/options-tab4.inc.php:29
#: templates/options-tab4.inc.php:30
msgid "overlay"
msgstr "recouvrir"

Expand Down Expand Up @@ -540,7 +542,7 @@ msgstr ""
msgid "Show caption if available"
msgstr "Afficher la légende si disponible"

#: templates/options-tab4.inc.php:21
#: templates/options-tab4.inc.php:22
msgid "Show date in EXIF data if available"
msgstr "Afficher la date dans les données EXIF si disponibles"

Expand Down Expand Up @@ -678,7 +680,7 @@ msgstr "à gauche"
msgid "Tweet"
msgstr "Tweet"

#: templates/options-tab4.inc.php:26
#: templates/options-tab4.inc.php:27
msgid "Type of caption"
msgstr "Type de légende"

Expand Down
Binary file modified languages/lightbox-photoswipe-it_IT.mo
Binary file not shown.
Loading

0 comments on commit 2adbb18

Please sign in to comment.