Skip to content

Commit

Permalink
Plural automerge fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Apr 3, 2013
1 parent 3560293 commit 48d14bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions NetteTranslator/Gettext.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,8 @@ protected function parseFile($file, $identifier)
continue;
}

$original = explode('\0', $original);
$translation = explode('\0', $translation);
$original = explode("\0", $original);
$translation = explode("\0", $translation);

$key = isset($original[0]) ? $original[0] : $original;
$this->dictionary[$key]['original'] = $original;
Expand Down

0 comments on commit 48d14bd

Please sign in to comment.