simpleWordsCloud/cache/lang/php_i18n_d48a8e99b41edc1d5e...

13 lines
341 B
PHP
Executable File

<?php
class L {
const home = 'Accueil';
public static function __callStatic($string, $args) {
if (defined("self::" . $string)) {
return vsprintf(constant("self::" . $string), $args);
}
}
function L($string, $args=NULL) {
$return = constant("L::".$string);
return $args ? vsprintf($return,$args) : $return;
}
}