src/Repositories/TranslationRepository.php
public function pendingReview($locale, $perPage = 0)
    {
        $underReview = $this->model->whereLocale($locale)->whereUnstable(1);
        return $perPage ? $underReview->paginate($perPage) : $underReview->get();
    }
public function pendingReview($locale, $perPage = 0)
    {
        $underReview = $this->model->whereLocale($locale)->whereUnstable(1);
        return $perPage ? $underReview->paginate($perPage) : $underReview->get();
    }
public function pendingReview ( $ locale , $ perPage = 0 ) { $ underReview = $ this -> model -> whereLocale ( $ locale ) -> whereUnstable ( 1 ) ; return $ perPage ? $ underReview -> paginate ( $ perPage ) : $ underReview -> get ( ) ; }
Retrieve translations pending review for the given locale.

@param  string  $locale
@param  int     $perPage    Number of elements per page. 0 if all are wanted.
@return Translation
Retrieve translations pending review for the given locale .