Slightly change in dispaly_notification look (using sprintf).
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Mon, 28 Jan 2013 14:32:46 +0000 (15:32 +0100)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Mon, 28 Jan 2013 14:32:46 +0000 (15:32 +0100)
gl/gl_bank.php

index b11dcd34de20367a65d500e7428027584b030206..27cb29990a835cff7c921078d33319115c13779e 100644 (file)
@@ -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")));