From 7dc44ae93d891b15aca46b2dafc7646c29b5a37e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reu=CC=88el=20van=20der=20Steege?= Date: Thu, 26 Oct 2023 11:40:34 +0200 Subject: [PATCH] Set default label for delayed actions. --- src/Extension.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Extension.php b/src/Extension.php index 1c46ce6..7232223 100644 --- a/src/Extension.php +++ b/src/Extension.php @@ -1469,6 +1469,11 @@ public static function get_delay_actions() { $actions[ $slug ]['meta_key_suffix'] = $slug; $actions[ $slug ]['delayed_payment_integration'] = true; + $actions[ $slug ]['label'] = \sprintf( + /* translators: %s: plugin title */ + \__( 'Process %s feeds', 'pronamic_ideal' ), + $addon->plugin_page_title() + ); if ( isset( $addon->delayed_payment_integration['option_label'] ) ) { $actions[ $slug ]['label'] = $addon->delayed_payment_integration['option_label'];