Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
[5.7] Apply parameters to entire localization array #27254
I apologize if this has been addressed somewhere else, though I was unable to find any discussion of this when searching for it. I found a discrepancy when apply parameter replacements to key-based localizations.
__('foobar', ['foo' => 'bar']);
to retrieve an entire localization array, the parameters are not applied. This minor change applies parameters to all lines retrieved.