From 7bfd3a4d5672fce6b09ebc3856c3109a647efb89 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Mon, 28 Jan 2013 15:32:46 +0100 Subject: [PATCH] Slightly change in dispaly_notification look (using sprintf). --- gl/gl_bank.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gl/gl_bank.php b/gl/gl_bank.php index b11dcd34..27cb2999 100644 --- a/gl/gl_bank.php +++ b/gl/gl_bank.php @@ -88,7 +88,7 @@ if (isset($_GET['UpdatedID'])) $trans_no = $_GET['UpdatedID']; $trans_type = ST_BANKPAYMENT; - display_notification_centered(_("Payment $trans_no has been modified")); + display_notification_centered(sprintf(_("Payment %d has been modified"), $trans_no); display_note(get_gl_view_str($trans_type, $trans_no, _("&View the GL Postings for this Payment"))); @@ -119,7 +119,7 @@ if (isset($_GET['UpdatedDep'])) $trans_no = $_GET['UpdatedDep']; $trans_type = ST_BANKDEPOSIT; - display_notification_centered(_("Deposit $trans_no has been modified")); + display_notification_centered(sprintf(_("Deposit %d has been modified"), $trans_no); display_note(get_gl_view_str($trans_type, $trans_no, _("&View the GL Postings for this Deposit"))); -- 2.30.2