10000 Moved Twig's translation extension to Twig-extensions by jfsimon · Pull Request #87 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Moved Twig's translation extension to Twig-extensions #87

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
moved Twig\Extension namespace to TwigX
  • Loading branch information
jfsimon committed Feb 24, 2011
commit 8091038f8490d8789d165da0b9a0afcf1f45e1a7
2 changes: 1 addition & 1 deletion autoload.php.dist
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ $loader->registerNamespaces(array(
'Doctrine' => __DIR__.'/vendor/doctrine/lib',
'Zend' => __DIR__.'/vendor/zend/library',
'Assetic' => __DIR__.'/vendor/assetic/src',
'Twig\\Extension' => __DIR__.'/vendor/Twig-extensions/lib/src',
'TwigX' => __DIR__.'/vendor/Twig-extensions/lib/src',
));
$loader->registerPrefixes(array(
'Swift_' => __DIR__.'/vendor/swiftmailer/lib/classes',
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Bundle/TwigBundle/Resources/config/twig.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<argument type="service" id="service_container" />
</service>

<service id="twig.extension.trans" class="Twig\Extension\TransExtension" public="false">
<service id="twig.extension.trans" class="TwigX\TransExtension" public="false">
<tag name="twig.extension" />
<argument type="service" id="translator" />
</service>
Expand Down
0