×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: bejoy balan
Added: Sep 9, 2014 12:21 PM
Views: 11
Translate string :: Magento
  1. // Before:
  2. $this->__('Error [%1$s]: The %2$s field is invalid.', $error, $field);
  3. // After:
  4. $this->__('The %2$s field is invalid: %1$s' $error, $field);