From cc78d5c8e93c1573671c54b5a7d4a98c936c5607 Mon Sep 17 00:00:00 2001 From: Barbara Bothe Date: Mon, 3 Jun 2024 17:16:58 +0200 Subject: [PATCH 1/2] =?UTF-8?q?=C3=9Cbersetzungen=20DE=5Fformal?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + languages/rrze-elements-de_DE_formal.l10n.php | 2 + languages/rrze-elements-de_DE_formal.mo | Bin 2120 -> 2989 bytes languages/rrze-elements-de_DE_formal.po | 94 ++++++++++++++++-- 4 files changed, 90 insertions(+), 7 deletions(-) create mode 100644 languages/rrze-elements-de_DE_formal.l10n.php diff --git a/.gitignore b/.gitignore index 003bb244..73034fbe 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ nbproject* .DS_Store /node_modules/ /package-lock.json +*.po~ diff --git a/languages/rrze-elements-de_DE_formal.l10n.php b/languages/rrze-elements-de_DE_formal.l10n.php new file mode 100644 index 00000000..b2e21950 --- /dev/null +++ b/languages/rrze-elements-de_DE_formal.l10n.php @@ -0,0 +1,2 @@ +'RRZE Elements','report-msgid-bugs-to'=>'','pot-creation-date'=>'2019-05-17 15:15+0000','po-revision-date'=>'2024-06-03 15:15+0000','last-translator'=>'RRZE Webteam ','language-team'=>'Deutsch (Sie)','language'=>'de_DE_formal','mime-version'=>'1.0','content-type'=>'text/plain; charset=UTF-8','content-transfer-encoding'=>'8bit','x-poedit-keywordslist'=>'__;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_ex:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c','x-poedit-basepath'=>'.','x-poedit-sourcecharset'=>'UTF-8','plural-forms'=>'nplurals=2; plural=n != 1;','x-generator'=>'Loco https://localise.biz/','x-poedit-searchpath-0'=>'.','x-poedit-searchpath-1'=>'..','x-loco-version'=>'2.2.2; wp-5.2','x-loco-template'=>'languages/rrze-elements-de_DE.po','messages'=>['%1$sURL missing.%2$s Please provide the %3$surl%4$s attribute in your CTA shortcode.'=>'%1$sURL fehlt.%2$s Bitte ergänzen Sie das %3$surl%4$s-Attribut in Ihrem CTA-Shortcode.','Advanced design elements for WordPress websites.'=>'Erweiterte Gestaltungselemente für WordPress-Websites.','Audio'=>'Audio','Category'=>'Kategorie','Cloud'=>'Cloud','Download'=>'Download','Erfüllt'=>'Erfüllt','Exclamation mark'=>'Ausrufezeichen','Expand All'=>'Alle öffnen','Find'=>'Suchen','https://blogs.fau.de/webworking/'=>'https://blogs.fau.de/webworking/','https://github.com/RRZE-Webteam/rrze-elements'=>'https://github.com/RRZE-Webteam/rrze-elements','Icon not found.'=>'Icon nicht gefunden.','Minus'=>'Minus','More news'=>'Weitere Artikel','Nicht erfüllt'=>'Nicht erfüllt','No posts found.'=>'Keine Beiträge gefunden.','Please enter the search term for searching on %s'=>'Bitte geben Sie den Suchbegriff ein, um auf %s zu suchen.','Please use a valid date format: Y-m-d H:i:s.'=>'Ungültiges Datumsformat. Bitte verwenden Sie ein Datum im Format Y-m-d H:i:s.','Plus'=>'Plus','Question'=>'Frage','RRZE Elements'=>'RRZE Elements','RRZE Webteam'=>'RRZE-Webteam','Search for...'=>'Suchen nach...','Search on %s'=>'Auf %s suchen','The server is running PHP version %1$s. The Plugin requires at least PHP version %2$s.'=>'Auf dem Server läuft PHP Version %1$s. Das Plugin benötigt mindestens PHP Version %2$s.','The server is running WordPress version %1$s. The Plugin requires at least WordPress version %2$s.'=>'The server is running WordPress version %1$s. The Plugin requires at least WordPress version %2$s.','Thumbs down'=>'Daumen runter','Thumbs up'=>'Daumen hoch','Tipp'=>'Tipp','Tools'=>'Werkzeug','Video'=>'Video','View all posts in %s'=>'Alle Beiträge in %s anzeigen']]; diff --git a/languages/rrze-elements-de_DE_formal.mo b/languages/rrze-elements-de_DE_formal.mo index d7e83cbe22f7758dd878e100bb32ee62e4e95330..0ca67402b072a483c7e2454dcc8153f32ac697cb 100644 GIT binary patch delta 1304 zcmZ|M&uC7_CB#R4Z(YLW$EYXZ_iz*J!Y%N(yndF~f8_oJcVYfD+zS7L z1F+aH#7?*kVx2Yd0WJnHZ~*RrNAeqHpxbaBj>B)DTi{3NHogOg;61ndHpB6 zgz@U`F;hyMG?yqn+>fa&3zhN2nzj^%z;@cZ^4r0K;)I0`?3 z1iyeTku@kv)iHB%@jNAwF_COlN|R%T7Gm}c)2dcqMm|#-GL@#rjMZ`JD5kwM)ltKy zOnV|pH7+;|p@o7Lb+N^35z{C&LdBsVZccLQ zAdWhT4*r{TkS-32AE4s*(8=el(1YW5&vD%IUPoTTwXc5dgs{TcG3;|0uwrd3EgTKx z08IazgF5mm48jfA19xCAJb>fy7>3{r?1mq35q`n~QH_!c(Eu(^A%j=Ygl}+6CHjF= z$Ri!iq7^6y;ZT0)L0Py5\n" "Language-Team: Deutsch (Sie)\n" "Language: de_DE_formal\n" @@ -22,22 +22,51 @@ msgstr "" "X-Loco-Version: 2.2.2; wp-5.2\n" "X-Loco-Template: languages/rrze-elements-de_DE.po" +#: includes/CTA/CTA.php:26 +#, php-format +msgid "" +"%1$sURL missing.%2$s Please provide the %3$surl%4$s attribute in your CTA " +"shortcode." +msgstr "" +"%1$sURL fehlt.%2$s Bitte ergänzen Sie das %3$surl%4$s-Attribut in Ihrem CTA-" +"Shortcode." + #. Description of the plugin msgid "Advanced design elements for WordPress websites." msgstr "Erweiterte Gestaltungselemente für WordPress-Websites." +#: includes/Notice/Notice.php:95 +msgid "Audio" +msgstr "Audio" + #: includes/ContentIndex/ContentIndex.php:250 msgid "Category" msgstr "Kategorie" +#: includes/Notice/Notice.php:91 +msgid "Cloud" +msgstr "Cloud" + +#: includes/Notice/Notice.php:87 +msgid "Download" +msgstr "Download" + #: includes/Symbols/Symbols.php:23 msgid "Erfüllt" msgstr "Erfüllt" -#: includes/Accordion/Accordion.php:66 +#: includes/Notice/Notice.php:113 +msgid "Exclamation mark" +msgstr "Ausrufezeichen" + +#: includes/Accordion/Accordion.php:73 msgid "Expand All" msgstr "Alle öffnen" +#: includes/CTA/CTA.php:76 +msgid "Find" +msgstr "Suchen" + #. Author URI of the plugin msgid "https://blogs.fau.de/webworking/" msgstr "https://blogs.fau.de/webworking/" @@ -46,7 +75,16 @@ msgstr "https://blogs.fau.de/webworking/" msgid "https://github.com/RRZE-Webteam/rrze-elements" msgstr "https://github.com/RRZE-Webteam/rrze-elements" -#: includes/News/News.php:244 includes/News/News.php:246 +#: includes/Icon/Icon.php:22 includes/Icon/Icon.php:89 +msgid "Icon not found." +msgstr "Icon nicht gefunden." + +#: includes/Notice/Notice.php:75 +msgid "Minus" +msgstr "Minus" + +#: includes/News/News.php:251 includes/News/News.php:253 +#: includes/News/News.php:253 msgid "More news" msgstr "Weitere Artikel" @@ -54,15 +92,28 @@ msgstr "Weitere Artikel" msgid "Nicht erfüllt" msgstr "Nicht erfüllt" -#: includes/News/News.php:368 +#: includes/News/News.php:381 msgid "No posts found." msgstr "Keine Beiträge gefunden." +#: includes/CTA/CTA.php:72 +#, php-format +msgid "Please enter the search term for searching on %s" +msgstr "Bitte geben Sie den Suchbegriff ein, um auf %s zu suchen." + #: includes/HiddenText/HiddenText.php:39 msgid "Please use a valid date format: Y-m-d H:i:s." msgstr "" "Ungültiges Datumsformat. Bitte verwenden Sie ein Datum im Format Y-m-d H:i:s." +#: includes/Notice/Notice.php:79 +msgid "Plus" +msgstr "Plus" + +#: includes/Notice/Notice.php:71 +msgid "Question" +msgstr "Frage" + #. Name of the plugin msgid "RRZE Elements" msgstr "RRZE Elements" @@ -71,7 +122,16 @@ msgstr "RRZE Elements" msgid "RRZE Webteam" msgstr "RRZE-Webteam" -#: rrze-elements.php:70 +#: includes/CTA/CTA.php:74 +msgid "Search for..." +msgstr "Suchen nach..." + +#: includes/CTA/CTA.php:71 +#, php-format +msgid "Search on %s" +msgstr "Auf %s suchen" + +#: rrze-elements.php:71 #, php-format msgid "" "The server is running PHP version %1$s. The Plugin requires at least PHP " @@ -80,7 +140,7 @@ msgstr "" "Auf dem Server läuft PHP Version %1$s. Das Plugin benötigt mindestens PHP " "Version %2$s." -#: rrze-elements.php:72 +#: rrze-elements.php:73 #, php-format msgid "" "The server is running WordPress version %1$s. The Plugin requires at least " @@ -89,7 +149,27 @@ msgstr "" "The server is running WordPress version %1$s. The Plugin requires at least " "WordPress version %2$s." -#: includes/News/News.php:459 +#: includes/Notice/Notice.php:107 +msgid "Thumbs down" +msgstr "Daumen runter" + +#: includes/Notice/Notice.php:103 +msgid "Thumbs up" +msgstr "Daumen hoch" + +#: includes/Notice/Notice.php:83 +msgid "Tipp" +msgstr "Tipp" + +#: includes/Notice/Notice.php:67 +msgid "Tools" +msgstr "Werkzeug" + +#: includes/Notice/Notice.php:99 +msgid "Video" +msgstr "Video" + +#: includes/News/News.php:472 #, php-format msgid "View all posts in %s" msgstr "Alle Beiträge in %s anzeigen" From 445a59b9f9a9e2c2798bd085a229b19072ede4ec Mon Sep 17 00:00:00 2001 From: Barbara Bothe Date: Tue, 4 Jun 2024 09:39:43 +0200 Subject: [PATCH 2/2] Bugfix CTA --- includes/CTA/CTA.php | 3 +-- package.json | 2 +- rrze-elements.php | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/includes/CTA/CTA.php b/includes/CTA/CTA.php index f10a8f32..c258af17 100644 --- a/includes/CTA/CTA.php +++ b/includes/CTA/CTA.php @@ -52,11 +52,10 @@ public function shortcodeCTA($atts, $content = '') { $imageID = attachment_url_to_postid($image); // returns 0 on failure $wrapperClass = $imageID != '0' ? ' has-image' : ' no-image'; $wrapperClass .= $additionalLink != '' ? ' has-additional-link' : ''; - switch ($atts['search']) { + switch ((string)$atts['search']) { case '': $search = false; break; - case true: case 'true': case '1': case 'yes': diff --git a/package.json b/package.json index 234d8041..34a0c002 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rrze-elements", - "version": "1.27.0", + "version": "1.27.1", "description": "RRZE Elements: Gestalterische Erweiterungen für Webauftritte.", "main": "rrze-elements.php", "textdomain": "rrze-elements", diff --git a/rrze-elements.php b/rrze-elements.php index c13d5016..110972e3 100644 --- a/rrze-elements.php +++ b/rrze-elements.php @@ -4,7 +4,7 @@ Plugin Name: RRZE Elements Plugin URI: https://github.com/RRZE-Webteam/rrze-elements Description: Advanced design elements for WordPress websites. -Version: 1.27.0 +Version: 1.27.1 Author: RRZE Webteam Author URI: https://blogs.fau.de/webworking/ License: GNU General Public License v2