Skip to content
Permalink
Browse files

remove KdybyTranslationBackCompatibilityTrait trait

  • Loading branch information
Aleš
Aleš committed Sep 4, 2019
1 parent 2d5f39e commit c8d648d6b85ba7caa02eb147f29596d8faf545fe
Showing with 1 addition and 25 deletions.
  1. +0 −23 src/KdybyTranslationBackCompatibilityTrait.php
  2. +0 −1 src/Translator.php
  3. +1 −1 tests/Tests/Translator.phpt

This file was deleted.

@@ -27,7 +27,6 @@ class Translator extends Symfony\Component\Translation\Translator implements Net
{
use Nette\SmartObject;
use KdybyTranslationBackCompatibilityTrait;
/** @var Contributte\Translation\LocaleResolver */
private $localeResolver;
@@ -145,7 +145,7 @@ class Translator extends Tests\TestAbstract
$translator->removePrefix();
$prefixedTranslator = $translator->domain('messages');
$prefixedTranslator = $translator->createPrefixedTranslator('messages');
Tester\Assert::same('Hello', $prefixedTranslator->translate('hello'));
}

0 comments on commit c8d648d

Please sign in to comment.
You can’t perform that action at this time.