From a18a0cf60193b4c186bd453498f9f8e2971b95f9 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 b11dcd3..27cb299 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