public function actionGetTranslationsByCategory()
 {
     if (Yii::app()->request->isAjaxRequest && isset($_POST['language']) && isset($_POST['category']) && isset($_POST['listId'])) {
         $sourceModel = new SourceMessages();
         $sourceModel->unsetAttributes();
         $sourceModel->category = $_POST['category'];
         $sourceModel->language = $_POST['language'];
         $languageModel = ExtLanguages::model()->findByAttributes(array('code2' => $_POST['language']));
         $this->renderPartial('_translations_by_category', array('sourceModel' => $sourceModel, 'languageModel' => $languageModel, 'listId' => $_POST['listId']));
     }
 }