style(legacy): fix code format with php-cs-fixer (#1674)
This commit is contained in:
parent
e1dc69af9e
commit
69d8eae845
111 changed files with 1163 additions and 1163 deletions
|
@ -42,10 +42,10 @@ final class Application_Model_Locale
|
|||
} else {
|
||||
$lang = $locale . '.' . $codeset;
|
||||
}
|
||||
//putenv("LC_ALL=$lang");
|
||||
//putenv("LANG=$lang");
|
||||
//Setting the LANGUAGE env var supposedly lets gettext search inside our locale dir even if the system
|
||||
//doesn't have the particular locale that we want installed. This doesn't actually seem to work though. -- Albert
|
||||
// putenv("LC_ALL=$lang");
|
||||
// putenv("LANG=$lang");
|
||||
// Setting the LANGUAGE env var supposedly lets gettext search inside our locale dir even if the system
|
||||
// doesn't have the particular locale that we want installed. This doesn't actually seem to work though. -- Albert
|
||||
putenv("LANGUAGE={$locale}");
|
||||
if (setlocale(LC_MESSAGES, $lang) === false) {
|
||||
Logging::warn('Your system does not have the ' . $lang . ' locale installed. Run: sudo locale-gen ' . $lang);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue