Skip to content

Commit

Permalink
Hotfix. Replaced LC_ALL with LC_MESSAGES in Translator.
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonShevchuk authored and AntonShevchuk committed Jun 13, 2014
1 parent 45c075a commit 761bbe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Translator/Translator.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ protected function initOptions()
define('LC_MESSAGES', 6);
}

setlocale(LC_ALL, $this->locale);
setlocale(LC_MESSAGES, $this->locale);

// For gettext only
if (function_exists('gettext')) {
Expand Down

0 comments on commit 761bbe8

Please sign in to comment.