Skip to content

Commit 787df5b

Browse files
committed
Deprecate DB translation table
1 parent 8c789d8 commit 787df5b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/Domain/Configuration/Model/I18n.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
use PhpList\Core\Domain\Common\Model\Interfaces\DomainModel;
99
use PhpList\Core\Domain\Configuration\Repository\I18nRepository;
1010

11+
/**
12+
* @deprecated
13+
*
14+
* Symfony\Contracts\Translation will be used instead.
15+
*/
1116
#[ORM\Entity(repositoryClass: I18nRepository::class)]
1217
#[ORM\Table(name: 'phplist_i18n')]
1318
#[ORM\UniqueConstraint(name: 'lanorigunq', columns: ['lan', 'original'])]

src/Domain/Configuration/Repository/I18nRepository.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
use PhpList\Core\Domain\Common\Repository\AbstractRepository;
88

9+
/** @deprecated */
910
class I18nRepository extends AbstractRepository
1011
{
1112
}

0 commit comments

Comments
 (0)