original_string: public function loadJsTranslation($langcode = null)
      {
          $strings = $this->loadTranslation($this->getContextJsFile($langcode));
  
          $translations = array();
          foreach ($strings as $source => $translation) {
              if (isset($translation[0]) && $translation[0] !== '') {
                  $translations[$source] = $translation;
              }
          }
  
          return $translations;
      }
code: public function loadJsTranslation($langcode = null)
      {
          $strings = $this->loadTranslation($this->getContextJsFile($langcode));
  
          $translations = array();
          foreach ($strings as $source => $translation) {
              if (isset($translation[0]) && $translation[0] !== '') {
                  $translations[$source] = $translation;
              }
          }
  
          return $translations;
      }
code_tokens: public function loadJsTranslation ( $ langcode = null ) { $ strings = $ this -> loadTranslation ( $ this -> getContextJsFile ( $ langcode ) ) ; $ translations = array ( ) ; foreach ( $ strings as $ source => $ translation ) { if ( isset ( $ translation [ 0 ] ) && $ translation [ 0 ] !== '' ) { $ translations [ $ source ] = $ translation ; } } return $ translations ; }
docstring: Returns an array of JS translations
  @param string|null $langcode
  @return array
docstring_tokens: Returns an array of JS translations