Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions languages/newspack-blocks-de_DE.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Newspack Blocks\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/project\n"
"POT-Creation-Date: 2025-11-24T20:10:24+00:00\n"
"POT-Creation-Date: 2025-12-03T17:31:19+00:00\n"
"PO-Revision-Date: 2024-08-30 08:45-0700\n"
"Last-Translator: \n"
"Language-Team: \n"
Expand Down Expand Up @@ -496,24 +496,24 @@ msgid "Subscribe Pattern 7"
msgstr ""

#. translators: %d: Slide number.
#: src/blocks/carousel/view.php:221
#: src/blocks/carousel/view.php:227
#, php-format
msgid "Go to slide %d"
msgstr "Gehe zu Bild %d"

#: src/blocks/carousel/view.php:242
#: src/blocks/carousel/view.php:248
msgid "Previous Slide"
msgstr "Vorheriger Slide"

#: src/blocks/carousel/view.php:243
#: src/blocks/carousel/view.php:249
msgid "Next Slide"
msgstr "Nächste Folie"

#: src/blocks/carousel/view.php:287
#: src/blocks/carousel/view.php:293
msgid "Pause Slideshow"
msgstr "Diashow pausieren"

#: src/blocks/carousel/view.php:288
#: src/blocks/carousel/view.php:294
msgid "Play Slideshow"
msgstr "Diashow abspielen"

Expand Down Expand Up @@ -657,17 +657,17 @@ msgstr ""
msgid "Recipient: "
msgstr ""

#: src/modal-checkout/templates/thankyou.php:79
#: src/modal-checkout/templates/thankyou.php:78
msgid ""
"Unfortunately your order cannot be processed. Please attempt your purchase "
"again."
msgstr ""

#: src/modal-checkout/templates/thankyou.php:82
#: src/modal-checkout/templates/thankyou.php:81
msgid "Pay"
msgstr ""

#: src/modal-checkout/templates/thankyou.php:84
#: src/modal-checkout/templates/thankyou.php:83
msgid "My account"
msgstr ""

Expand Down
18 changes: 9 additions & 9 deletions languages/newspack-blocks-es_ES.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Newspack Blocks 1.0.0-alpha.20\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/project\n"
"POT-Creation-Date: 2025-11-24T20:10:24+00:00\n"
"POT-Creation-Date: 2025-12-03T17:31:19+00:00\n"
"PO-Revision-Date: 2025-08-12T14:56:45+00:00\n"
"Last-Translator: \n"
"Language-Team: \n"
Expand Down Expand Up @@ -488,24 +488,24 @@ msgid "Subscribe Pattern 7"
msgstr ""

#. translators: %d: Slide number.
#: src/blocks/carousel/view.php:221
#: src/blocks/carousel/view.php:227
#, php-format
msgid "Go to slide %d"
msgstr ""

#: src/blocks/carousel/view.php:242
#: src/blocks/carousel/view.php:248
msgid "Previous Slide"
msgstr ""

#: src/blocks/carousel/view.php:243
#: src/blocks/carousel/view.php:249
msgid "Next Slide"
msgstr ""

#: src/blocks/carousel/view.php:287
#: src/blocks/carousel/view.php:293
msgid "Pause Slideshow"
msgstr ""

#: src/blocks/carousel/view.php:288
#: src/blocks/carousel/view.php:294
msgid "Play Slideshow"
msgstr ""

Expand Down Expand Up @@ -649,17 +649,17 @@ msgstr ""
msgid "Recipient: "
msgstr ""

#: src/modal-checkout/templates/thankyou.php:79
#: src/modal-checkout/templates/thankyou.php:78
msgid ""
"Unfortunately your order cannot be processed. Please attempt your purchase "
"again."
msgstr ""

#: src/modal-checkout/templates/thankyou.php:82
#: src/modal-checkout/templates/thankyou.php:81
msgid "Pay"
msgstr ""

#: src/modal-checkout/templates/thankyou.php:84
#: src/modal-checkout/templates/thankyou.php:83
msgid "My account"
msgstr ""

Expand Down
18 changes: 9 additions & 9 deletions languages/newspack-blocks-fr_BE.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Newspack Blocks 1.0.0-alpha.25\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/project\n"
"POT-Creation-Date: 2025-11-24T20:10:24+00:00\n"
"POT-Creation-Date: 2025-12-03T17:31:19+00:00\n"
"PO-Revision-Date: 2024-08-30 08:46-0700\n"
"Last-Translator: \n"
"Language-Team: \n"
Expand Down Expand Up @@ -486,24 +486,24 @@ msgid "Subscribe Pattern 7"
msgstr ""

#. translators: %d: Slide number.
#: src/blocks/carousel/view.php:221
#: src/blocks/carousel/view.php:227
#, php-format
msgid "Go to slide %d"
msgstr "Allez à la diapositive %d"

#: src/blocks/carousel/view.php:242
#: src/blocks/carousel/view.php:248
msgid "Previous Slide"
msgstr "Diapositive précédente"

#: src/blocks/carousel/view.php:243
#: src/blocks/carousel/view.php:249
msgid "Next Slide"
msgstr "Diapositive suivante"

#: src/blocks/carousel/view.php:287
#: src/blocks/carousel/view.php:293
msgid "Pause Slideshow"
msgstr "Mettre le diaporama en pause"

#: src/blocks/carousel/view.php:288
#: src/blocks/carousel/view.php:294
msgid "Play Slideshow"
msgstr "Démarrer le diaporama"

Expand Down Expand Up @@ -648,17 +648,17 @@ msgstr ""
msgid "Recipient: "
msgstr ""

#: src/modal-checkout/templates/thankyou.php:79
#: src/modal-checkout/templates/thankyou.php:78
msgid ""
"Unfortunately your order cannot be processed. Please attempt your purchase "
"again."
msgstr ""

#: src/modal-checkout/templates/thankyou.php:82
#: src/modal-checkout/templates/thankyou.php:81
msgid "Pay"
msgstr ""

#: src/modal-checkout/templates/thankyou.php:84
#: src/modal-checkout/templates/thankyou.php:83
msgid "My account"
msgstr ""

Expand Down
18 changes: 9 additions & 9 deletions languages/newspack-blocks-nb_NO.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Newspack Blocks 1.0.0-alpha.20\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/project\n"
"POT-Creation-Date: 2025-11-24T20:10:24+00:00\n"
"POT-Creation-Date: 2025-12-03T17:31:19+00:00\n"
"PO-Revision-Date: 2024-08-30 08:46-0700\n"
"Last-Translator: \n"
"Language-Team: \n"
Expand Down Expand Up @@ -486,24 +486,24 @@ msgid "Subscribe Pattern 7"
msgstr ""

#. translators: %d: Slide number.
#: src/blocks/carousel/view.php:221
#: src/blocks/carousel/view.php:227
#, php-format
msgid "Go to slide %d"
msgstr ""

#: src/blocks/carousel/view.php:242
#: src/blocks/carousel/view.php:248
msgid "Previous Slide"
msgstr ""

#: src/blocks/carousel/view.php:243
#: src/blocks/carousel/view.php:249
msgid "Next Slide"
msgstr ""

#: src/blocks/carousel/view.php:287
#: src/blocks/carousel/view.php:293
msgid "Pause Slideshow"
msgstr ""

#: src/blocks/carousel/view.php:288
#: src/blocks/carousel/view.php:294
msgid "Play Slideshow"
msgstr ""

Expand Down Expand Up @@ -647,17 +647,17 @@ msgstr ""
msgid "Recipient: "
msgstr ""

#: src/modal-checkout/templates/thankyou.php:79
#: src/modal-checkout/templates/thankyou.php:78
msgid ""
"Unfortunately your order cannot be processed. Please attempt your purchase "
"again."
msgstr ""

#: src/modal-checkout/templates/thankyou.php:82
#: src/modal-checkout/templates/thankyou.php:81
msgid "Pay"
msgstr ""

#: src/modal-checkout/templates/thankyou.php:84
#: src/modal-checkout/templates/thankyou.php:83
msgid "My account"
msgstr ""

Expand Down
18 changes: 9 additions & 9 deletions languages/newspack-blocks-pt_PT.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Newspack Blocks 1.0.0-alpha.25\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/project\n"
"POT-Creation-Date: 2025-11-24T20:10:24+00:00\n"
"POT-Creation-Date: 2025-12-03T17:31:19+00:00\n"
"PO-Revision-Date: 2024-08-30 08:46-0700\n"
"Last-Translator: \n"
"Language-Team: \n"
Expand Down Expand Up @@ -486,24 +486,24 @@ msgid "Subscribe Pattern 7"
msgstr ""

#. translators: %d: Slide number.
#: src/blocks/carousel/view.php:221
#: src/blocks/carousel/view.php:227
#, php-format
msgid "Go to slide %d"
msgstr ""

#: src/blocks/carousel/view.php:242
#: src/blocks/carousel/view.php:248
msgid "Previous Slide"
msgstr "Slide Anterior"

#: src/blocks/carousel/view.php:243
#: src/blocks/carousel/view.php:249
msgid "Next Slide"
msgstr "Próximo Slide"

#: src/blocks/carousel/view.php:287
#: src/blocks/carousel/view.php:293
msgid "Pause Slideshow"
msgstr "Pausa na apresentação"

#: src/blocks/carousel/view.php:288
#: src/blocks/carousel/view.php:294
msgid "Play Slideshow"
msgstr ""

Expand Down Expand Up @@ -647,17 +647,17 @@ msgstr ""
msgid "Recipient: "
msgstr ""

#: src/modal-checkout/templates/thankyou.php:79
#: src/modal-checkout/templates/thankyou.php:78
msgid ""
"Unfortunately your order cannot be processed. Please attempt your purchase "
"again."
msgstr ""

#: src/modal-checkout/templates/thankyou.php:82
#: src/modal-checkout/templates/thankyou.php:81
msgid "Pay"
msgstr ""

#: src/modal-checkout/templates/thankyou.php:84
#: src/modal-checkout/templates/thankyou.php:83
msgid "My account"
msgstr ""

Expand Down
18 changes: 9 additions & 9 deletions languages/newspack-blocks.pot
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2025-11-24T20:10:24+00:00\n"
"POT-Creation-Date: 2025-12-03T17:31:19+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.12.0\n"
"X-Domain: newspack-blocks\n"
Expand Down Expand Up @@ -480,24 +480,24 @@ msgid "Subscribe Pattern 7"
msgstr ""

#. translators: %d: Slide number.
#: src/blocks/carousel/view.php:221
#: src/blocks/carousel/view.php:227
#, php-format
msgid "Go to slide %d"
msgstr ""

#: src/blocks/carousel/view.php:242
#: src/blocks/carousel/view.php:248
msgid "Previous Slide"
msgstr ""

#: src/blocks/carousel/view.php:243
#: src/blocks/carousel/view.php:249
msgid "Next Slide"
msgstr ""

#: src/blocks/carousel/view.php:287
#: src/blocks/carousel/view.php:293
msgid "Pause Slideshow"
msgstr ""

#: src/blocks/carousel/view.php:288
#: src/blocks/carousel/view.php:294
msgid "Play Slideshow"
msgstr ""

Expand Down Expand Up @@ -638,15 +638,15 @@ msgstr ""
msgid "Recipient: "
msgstr ""

#: src/modal-checkout/templates/thankyou.php:79
#: src/modal-checkout/templates/thankyou.php:78
msgid "Unfortunately your order cannot be processed. Please attempt your purchase again."
msgstr ""

#: src/modal-checkout/templates/thankyou.php:82
#: src/modal-checkout/templates/thankyou.php:81
msgid "Pay"
msgstr ""

#: src/modal-checkout/templates/thankyou.php:84
#: src/modal-checkout/templates/thankyou.php:83
msgid "My account"
msgstr ""

Expand Down
4 changes: 2 additions & 2 deletions newspack-blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
* Author URI: https://newspack.com/
* Text Domain: newspack-blocks
* Domain Path: /languages
* Version: 4.19.0
* Version: 4.20.0-alpha.1
*
* @package Newspack_Blocks
*/

define( 'NEWSPACK_BLOCKS__PLUGIN_FILE', __FILE__ );
define( 'NEWSPACK_BLOCKS__BLOCKS_DIRECTORY', 'dist/' );
define( 'NEWSPACK_BLOCKS__PLUGIN_DIR', plugin_dir_path( NEWSPACK_BLOCKS__PLUGIN_FILE ) );
define( 'NEWSPACK_BLOCKS__VERSION', '4.19.0' );
define( 'NEWSPACK_BLOCKS__VERSION', '4.20.0-alpha.1' );

require_once NEWSPACK_BLOCKS__PLUGIN_DIR . 'includes/class-newspack-blocks.php';
require_once NEWSPACK_BLOCKS__PLUGIN_DIR . 'includes/class-newspack-blocks-api.php';
Expand Down
6 changes: 6 additions & 0 deletions src/blocks/carousel/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@
* @return string Returns the post content with latest posts added.
*/
function newspack_blocks_render_block_carousel( $attributes ) {

// Don't output the block inside RSS feeds.
if ( is_feed() ) {
return;
}

static $newspack_blocks_carousel_id = 0;
global $newspack_blocks_post_id;

Expand Down
Loading