src/Pel.php
public static function fmt($format)
    {
        $args = func_get_args();
        $str = array_shift($args);
        return vsprintf(self::dgettextWrapper('pel', $str), $args);
    }
public static function fmt($format)
    {
        $args = func_get_args();
        $str = array_shift($args);
        return vsprintf(self::dgettextWrapper('pel', $str), $args);
    }
public static function fmt ( $ format ) { $ args = func_get_args ( ) ; $ str = array_shift ( $ args ) ; return vsprintf ( self :: dgettextWrapper ( 'pel' , $ str ) , $ args ) ; }
Translate and format a string.

This static function will first use Gettext to translate a format
string, which will then have access to any extra arguments. By
always using this function for dynamic string one is assured that
the translation will be taken from the correct text domain. If
the string is static, use {@link tra} instead as it will be
faster.

@param string $format
the format string. This will be translated
before being used as a format string.

@param mixed ...$args
any number of arguments can be given. The
arguments will be available for the format string as usual with
sprintf().

@return string the translated string, or the original string if
no translation could be found.
Translate and format a string .