diff options
author | Paul 'flowerysong' Arthur <flowerysong00@yahoo.com> | 2010-03-14 20:14:52 +0000 |
---|---|---|
committer | Paul 'flowerysong' Arthur <flowerysong00@yahoo.com> | 2010-03-14 20:14:52 +0000 |
commit | 1cb0983ed04c65e06d502ae2ac9ed6d5e31d70dc (patch) | |
tree | 54655ff3e692a71a17f1d37cd97374b263557ca1 /lib/gettext.php | |
parent | ef48bf3fbdca2a4d25f5d025f4c6ad23905e5369 (diff) | |
download | ampache-1cb0983ed04c65e06d502ae2ac9ed6d5e31d70dc.tar.gz ampache-1cb0983ed04c65e06d502ae2ac9ed6d5e31d70dc.tar.bz2 ampache-1cb0983ed04c65e06d502ae2ac9ed6d5e31d70dc.zip |
Cosmetics: remove trailing whitespace
Diffstat (limited to 'lib/gettext.php')
-rw-r--r-- | lib/gettext.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/gettext.php b/lib/gettext.php index d5e828f5..6c88b057 100644 --- a/lib/gettext.php +++ b/lib/gettext.php @@ -24,14 +24,14 @@ @function load_gettext @discussion sets the local */ -function load_gettext() { +function load_gettext() { /* If we have gettext */ - if (function_exists('bindtextdomain')) { + if (function_exists('bindtextdomain')) { $lang = Config::get('lang'); putenv("LANG=" . $lang); putenv("LANGUAGE=" . $lang); /* Try lang, lang + charset and lang + utf-8 */ - setlocale(LC_ALL, + setlocale(LC_ALL, $lang, $lang . '.UTF-8', //. Config::get('site_charset'), $lang . '.UTF-8', @@ -41,7 +41,7 @@ function load_gettext() { /* Bind the Text Domain */ bindtextdomain('messages', Config::get('prefix') . "/locale/"); textdomain('messages'); - if (function_exists('bind_textdomain_codeset')) { + if (function_exists('bind_textdomain_codeset')) { bind_textdomain_codeset('messages',Config::get('site_charset')); } // if we can codeset the textdomain |