示例#1
0
文件: Show.php 项目: sinfocol/gwf3
 private function getTranslated($translate)
 {
     if ($translate === false) {
         return '';
     }
     $text = $this->pm->displayMessage();
     if (false !== ($back = GWF_GTranslate::translate($text, 'auto', GWF_Language::getCurrentISO()))) {
         return $back;
     }
     return '';
 }