Skip to content

Commit

Permalink
Add locale.
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed May 22, 2017
1 parent 3c91a8b commit ce63d42
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/TestCase/I18n/Parser/PoFileParserTest.php
Expand Up @@ -130,6 +130,8 @@ public function testParseContextOnSomeMessages()
$this->assertSame('En resolved', $messages['Resolved']['_context']['']);
$this->assertSame('En resolved - context', $messages['Resolved']['_context']['Pay status']);

// Confirm actual behavior
I18n::locale('en_US');
$this->assertSame('En cours', __('Pending'));
$this->assertSame('En cours - context', __x('Pay status', 'Pending'));
$this->assertSame('En resolved', __('Resolved'));
Expand Down

0 comments on commit ce63d42

Please sign in to comment.