예제 #1
0
 function _TP($msg, $plural, $count)
 {
     // for plurals
     global $pommo;
     if ($pommo->_escaping) {
         return $pommo->_l10n ? htmlspecialchars(PommoHelperL10n::translatePlural($msg, $plural, $count)) : htmlspecialchars($msg);
     }
     return $pommo->_l10n ? PommoHelperL10n::translatePlural($msg, $plural, $count) : $msg;
 }