EllisLab/CodeIgniter — pull request #3223 by tocaibiza (2014-09-05 20:53:27+00:00)
Title: Tweak in Lang class

Changed function line() a bit, so we can pass parameters to be parsed by translation. For example:

$this->lang->line('name', 'John');

Where:

$lang['name'] = 'How is %s?';

Result:

'How is John?'