diff --git a/include/staff/system.inc.php b/include/staff/system.inc.php index e583f33915ea9cbfb2fb877791f8a59eabcbefb5..89f3bd498c80eb355f0d455af192701ec02e9a76 100644 --- a/include/staff/system.inc.php +++ b/include/staff/system.inc.php @@ -43,10 +43,6 @@ $commit = GIT_VERSION != '$git' ? GIT_VERSION : ( echo extension_loaded('json')?'check':'warning-sign'; ?>"></i></td> <td>json</td> <td><?php echo __('Improves performance creating and processing JSON'); ?></td></tr> - <tr><td><i class="icon icon-<?php - echo extension_loaded('gettext')?'check':'warning-sign'; ?>"></i></td> - <td>gettext</td> - <td><?php echo __('Improves performance for non US-English configurations'); ?></td></tr> <tr><td><i class="icon icon-<?php echo extension_loaded('mbstring')?'check':'warning-sign'; ?>"></i></td> <td>mbstring</td> diff --git a/setup/cli/modules/i18n.php b/setup/cli/modules/i18n.php index 7f77d862228afed39a252973e225b202318ef171..78183885e757872a4816da9e20ffebdaf3ece633 100644 --- a/setup/cli/modules/i18n.php +++ b/setup/cli/modules/i18n.php @@ -199,6 +199,7 @@ class i18n_Compiler extends Module { } // Add in translation of javascript strings + $phrases = array(); if ($mo && ($js = $this->__getAllJsPhrases())) { $mo = unserialize($mo); foreach ($js as $c) { diff --git a/setup/inc/install-prereq.inc.php b/setup/inc/install-prereq.inc.php index 5a31366f2b7f67a871bac6582ef4a5984291a1f3..54a0421a68fd16fa44ba7b6118f97f813d24fd73 100644 --- a/setup/inc/install-prereq.inc.php +++ b/setup/inc/install-prereq.inc.php @@ -32,8 +32,6 @@ if(!defined('SETUPINC')) die('Kwaheri!'); echo __('(for HTML email processing)');?></li> <li class="<?php echo extension_loaded('json')?'yes':'no'; ?>">PHP JSON <?php echo __('extension');?> <?php echo __('(faster performance)');?></li> - <li class="<?php echo extension_loaded('gettext')?'yes':'no'; ?>">Gettext <?php echo __('extension');?> — <?php - echo __('used for translations');?> <?php echo __('(faster performance)');?></li> <li class="<?php echo extension_loaded('mbstring')?'yes':'no'; ?>">Mbstring <?php echo __('extension');?> — <?php echo __('recommended for all installations');?></li> <li class="<?php echo extension_loaded('phar')?'yes':'no'; ?>">Phar <?php echo __('extension');?> — <?php diff --git a/setup/test/tests/stubs.php b/setup/test/tests/stubs.php index 4cb1e9bcc8113b3dd97987ea69f0b7790bc3e6c5..72f0744d5a13b011304718954fd924c10dc98aa1 100644 --- a/setup/test/tests/stubs.php +++ b/setup/test/tests/stubs.php @@ -93,6 +93,8 @@ class DateTimeZone { class Phar { static function isValidPharFilename() {} function setStub() {} + function startBuffering() {} + function stopBuffering() {} } class ZipArchive { @@ -106,4 +108,8 @@ class finfo { function file() {} function buffer() {} } + +class Locale { + function getDisplayName() {} +} ?>