original_string: public function addTranslations($translations)
      {
          foreach ($translations as $key => $translation) {
              $this->addTranslation($key, $translation);
          }
      }
code: public function addTranslations($translations)
      {
          foreach ($translations as $key => $translation) {
              $this->addTranslation($key, $translation);
          }
      }
code_tokens: public function addTranslations ( $ translations ) { foreach ( $ translations as $ key => $ translation ) { $ this -> addTranslation ( $ key , $ translation ) ; } }
docstring: Associates multiple translations with metrics.
  
  See {@link $translations} and {@link addTranslation()}.
  
  @param array $translations An array of column name => text mappings, eg,
  ```
  array(
  'nb_visits' => 'Visits',
  'goal_1_nb_conversions' => "Conversions for 'My Goal'"
  )
  ```
docstring_tokens: Associates multiple translations with metrics .