protected function getI18nConfigText($key, $expectedValue, $currentValue, $isValid)
    {
        if ($isValid) {
            $sentence = 'The PHP "%key%" configuration value (currently %currentValue%) is correct (%expectedValue% required).';
        } else {
            $sentence = 'The PHP "%key%" configuration value (currently %currentValue%) is below minimal requirements to run Thelia2 (%expectedValue% required).';
        }

        $translatedText = $this->translator->trans(
            $sentence,
            array(
                '%key%' => $key,
                '%expectedValue%' => $expectedValue,
                '%currentValue%' => $currentValue,
            ),
            'install-wizard'
        );

        return $translatedText;
    }
protected function getI18nConfigText($key, $expectedValue, $currentValue, $isValid)
    {
        if ($isValid) {
            $sentence = 'The PHP "%key%" configuration value (currently %currentValue%) is correct (%expectedValue% required).';
        } else {
            $sentence = 'The PHP "%key%" configuration value (currently %currentValue%) is below minimal requirements to run Thelia2 (%expectedValue% required).';
        }

        $translatedText = $this->translator->trans(
            $sentence,
            array(
                '%key%' => $key,
                '%expectedValue%' => $expectedValue,
                '%currentValue%' => $currentValue,
            ),
            'install-wizard'
        );

        return $translatedText;
    }
protected function getI18nConfigText ( $ key , $ expectedValue , $ currentValue , $ isValid ) { if ( $ isValid ) { $ sentence = 'The PHP "%key%" configuration value (currently %currentValue%) is correct (%expectedValue% required).' ; } else { $ sentence = 'The PHP "%key%" configuration value (currently %currentValue%) is below minimal requirements to run Thelia2 (%expectedValue% required).' ; } $ translatedText = $ this -> translator -> trans ( $ sentence , array ( '%key%' => $ key , '%expectedValue%' => $ expectedValue , '%currentValue%' => $ currentValue , ) , 'install-wizard' ) ; return $ translatedText ; }
Get Translated text about the directory state
Not usable with CLI

@param string $key           .ini file key
@param string $expectedValue Expected server value
@param string $currentValue  Actual server value
@param bool   $isValid       If server configuration is valid

@return string
Get Translated text about the directory state Not usable with CLI