[-] FO : #PSCFV-2150 : Translations of back office are connected width sprintf()

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15279 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre
2012-05-14 14:38:07 +00:00
parent 2f05ac0c45
commit d8b5cf93f3
78 changed files with 246 additions and 441 deletions
+1 -1
View File
@@ -1180,7 +1180,7 @@ class AdminOrdersControllerCore extends AdminController
$deliveryState = new State((int)($addressDelivery->id_state));
}
$this->toolbar_title = $this->l('Order #').sprintf('%06d', $order->id).' ('.$order->reference.') - '.$customer->firstname.' '.$customer->lastname;
$this->toolbar_title = sprintf($this->l('Order #%1$d (%2$s) - %3$s %4$s'), $order->id, $order->reference, $customer->firstname, $customer->lastname);
// gets warehouses to ship products, if and only if advanced stock management is activated
$warehouse_list = null;