Skip to content

Commit

Permalink
TranslatorExtension moved to Latte (BC break)
Browse files Browse the repository at this point in the history
partially revert "Latte bridge: added snippets & translated"

This reverts commit 16b7079.
  • Loading branch information
dg committed Jun 1, 2022
1 parent e6a2af7 commit a831a22
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 366 deletions.
107 changes: 0 additions & 107 deletions src/Bridges/ApplicationLatte/Nodes/TranslateNode.php

This file was deleted.

2 changes: 1 addition & 1 deletion src/Bridges/ApplicationLatte/Template.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function (Latte\Runtime\FilterInfo $fi, ...$args) use ($translator): string {
}
);
} else {
$this->latte->addExtension(new TranslatorExtension($translator, $language));
$this->latte->addExtension(new Latte\Essential\TranslatorExtension($translator, $language));
}
return $this;
}
Expand Down
92 changes: 0 additions & 92 deletions src/Bridges/ApplicationLatte/TranslatorExtension.php

This file was deleted.

66 changes: 0 additions & 66 deletions tests/Bridges.Latte3/{_var}.phpt

This file was deleted.

100 changes: 0 additions & 100 deletions tests/Bridges.Latte3/{translate}.phpt

This file was deleted.

0 comments on commit a831a22

Please sign in to comment.