Zepi/Core/Language/src/Manager/TranslationManager.php
protected function replacePlaceholders($string, $arguments)
    {
        if (count($arguments) == 0) {
            return $string;
        }
        
        foreach ($arguments as $key => $value) {
            $string = str_replace('%' . $key . '%', $value, $string);
        }
        
        return $string;
    }
protected function replacePlaceholders($string, $arguments)
    {
        if (count($arguments) == 0) {
            return $string;
        }
        
        foreach ($arguments as $key => $value) {
            $string = str_replace('%' . $key . '%', $value, $string);
        }
        
        return $string;
    }
protected function replacePlaceholders ( $ string , $ arguments ) { if ( count ( $ arguments ) == 0 ) { return $ string ; } foreach ( $ arguments as $ key => $ value ) { $ string = str_replace ( '%' . $ key . '%' , $ value , $ string ) ; } return $ string ; }
Replaces the placeholders in the string with the correct values

@access protected
@param string $string
@param array $arguments
@return string
Replaces the placeholders in the string with the correct values