Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mlocati committed Nov 3, 2014
1 parent 10f56e0 commit 935ecce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Translator/Translator.php
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,8 @@ public function translatePlural(
}

return ($number == 1 ? $singular : $plural);
} elseif (is_string($translation)) {
$translation = array($translation);
}

$index = $this->messages[$textDomain][$locale]
Expand Down

0 comments on commit 935ecce

Please sign in to comment.