original_string: public function deleteTranslation($locale)
      {
          if ($this->hasTranslation($locale))
          {
              if ($deleted = $this->getTranslation($locale)->delete())
              {
                  $this->load('translations');
  
                  return true;
              }
          }
  
          return false;
      }
code: public function deleteTranslation($locale)
      {
          if ($this->hasTranslation($locale))
          {
              if ($deleted = $this->getTranslation($locale)->delete())
              {
                  $this->load('translations');
  
                  return true;
              }
          }
  
          return false;
      }
code_tokens: public function deleteTranslation ( $ locale ) { if ( $ this -> hasTranslation ( $ locale ) ) { if ( $ deleted = $ this -> getTranslation ( $ locale ) -> delete ( ) ) { $ this -> load ( 'translations' ) ; return true ; } } return false ; }
docstring: Deletes a translation
  
  @param string $locale
  @return bool
docstring_tokens: Deletes a translation