From: Joe Hunt Date: Mon, 28 Jan 2013 14:32:46 +0000 (+0100) Subject: Slightly change in dispaly_notification look (using sprintf). X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=a18a0cf60193b4c186bd453498f9f8e2971b95f9;p=textcart.git Slightly change in dispaly_notification look (using sprintf). --- 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")));