1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-05 19:41:55 +02:00

Replace unclearly-sourced gettext emulator

php-gettext is niftier. With its autoemulation we can use native
gettext if the locale support is set up properly, or automatically
fall back to emulated if not. This should address many of the issues
people run into when trying to use different interface languages.
This commit is contained in:
Paul Arthur 2011-04-08 15:22:16 -04:00 committed by Paul Arthur
parent 2e02f396cd
commit fc81208797
8 changed files with 1639 additions and 412 deletions

View file

@ -39,9 +39,7 @@ $configfile = $prefix . '/config/ampache.cfg.php';
require_once $prefix . '/lib/general.lib.php';
require_once $prefix . '/lib/class/config.class.php';
if (!function_exists('gettext')) {
require_once $prefix . '/modules/emulator/gettext.php';
}
require_once $prefix . '/modules/php-gettext/gettext.inc';
// Define some base level config options
Config::set('prefix', $prefix);