diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-01-13 03:53:31 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-01-13 03:53:31 +0000 |
commit | 174ea7cc9adf4c482a7881d1701131a4d5a3f7df (patch) | |
tree | cf115d76a2f71fa39dfa200114bfbcbb63d66a6c | |
parent | fb73cc7bc4455332119f045f7d13a3750974e184 (diff) |
Use variable interpolation to reduce code size
-rw-r--r-- | core/libraries/I18n.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/libraries/I18n.php b/core/libraries/I18n.php index 2007bb07..38b036cb 100644 --- a/core/libraries/I18n.php +++ b/core/libraries/I18n.php @@ -98,7 +98,7 @@ class I18n_Core { // TODO: Handle locale specific number formatting. $keys = array(); foreach (array_keys($values) as $key) { - $keys[] = "{{" . $key . "}}"; + $keys[] = "{{$key}}"; } return str_replace($keys, array_values($values), $string); } |