X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=I18n.php;h=faa6fef1f9b86f05d6160da06bad7a0b31890ade;hb=94db7ce5beb74a45526d4fe1e96e887b371e9156;hp=8835199ce039bc4040ffde6831441ce92f698ce1;hpb=278a44899f674a98464dd9fcd2c783c9117136bf;p=Pman.Core diff --git a/I18n.php b/I18n.php index 8835199c..faa6fef1 100644 --- a/I18n.php +++ b/I18n.php @@ -103,10 +103,14 @@ class Pman_Core_I18N extends Pman $lbits = $this->guessUsersLanguage(); - + $i = DB_DataObject::Factory('I18n'); switch($s) { - case 'Lang': + case 'Lang': + $i->ltype = 'l'; + $i->applyFilters($_REQUEST, $this->authUser, $this); + $i->toTransList('l', $lbits[0]); + $ret = $this->getList('l', $lbits[0],empty($_REQUEST['filter']) ? false : $_REQUEST['filter']); break;