From e27c55b1244ced35e798a6825737d5bb6bfd2f9b Mon Sep 17 00:00:00 2001 From: Lester Caine Date: Fri, 15 May 2026 16:40:38 +0100 Subject: Namespace fixes --- admin/admin_newsletter_subscriptions.php | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'admin/admin_newsletter_subscriptions.php') diff --git a/admin/admin_newsletter_subscriptions.php b/admin/admin_newsletter_subscriptions.php index b25682d..00498a1 100644 --- a/admin/admin_newsletter_subscriptions.php +++ b/admin/admin_newsletter_subscriptions.php @@ -1,4 +1,5 @@ isValid() ) { } $gBitSystem->confirmDialog( $formHash, [ - 'warning' => tra('Are you sure you want to delete these subscriptions?') . ' (' . tra('Count: ') . count( $_REQUEST["checked"] ) . ')', - 'error' => tra('This cannot be undone!'), + 'warning' => KernelTools::tra('Are you sure you want to delete these subscriptions?') . ' (' . KernelTools::tra('Count: ') . count( $_REQUEST["checked"] ) . ')', + 'error' => KernelTools::tra('This cannot be undone!'), ], ); } else { @@ -58,8 +59,8 @@ if( $gContent->isValid() ) { } $gBitSystem->confirmDialog( $formHash, [ - 'warning' => tra('Are you sure you want to unsubcsribe these subscriptions?') . ' (' . tra('Count: ') . count( $_REQUEST["checked"] ) . ')', - 'error' => tra('This cannot be undone!'), + 'warning' => KernelTools::tra('Are you sure you want to unsubcsribe these subscriptions?') . ' (' . KernelTools::tra('Count: ') . count( $_REQUEST["checked"] ) . ')', + 'error' => KernelTools::tra('This cannot be undone!'), ], ); } else { @@ -79,8 +80,8 @@ if( $gContent->isValid() ) { } $gBitSystem->confirmDialog( $formHash, [ - 'warning' => tra('Are you sure you want to resubscribe these subscriptions?') . ' (' . tra('Count: ') . count( $_REQUEST["checked"] ) . ')', - 'error' => tra('This cannot be undone!'), + 'warning' => KernelTools::tra('Are you sure you want to resubscribe these subscriptions?') . ' (' . KernelTools::tra('Count: ') . count( $_REQUEST["checked"] ) . ')', + 'error' => KernelTools::tra('This cannot be undone!'), ], ); } else { -- cgit v1.3