forked from wallabag/wallabag
move Twig in 3rdparty
This commit is contained in:
1
inc/3rdparty/Twig/Extensions/Gettext/Test/Fixtures/twig/empty.twig
vendored
Normal file
1
inc/3rdparty/Twig/Extensions/Gettext/Test/Fixtures/twig/empty.twig
vendored
Normal file
@ -0,0 +1 @@
|
||||
Nothing to translate here.
|
||||
5
inc/3rdparty/Twig/Extensions/Gettext/Test/Fixtures/twig/plural.twig
vendored
Normal file
5
inc/3rdparty/Twig/Extensions/Gettext/Test/Fixtures/twig/plural.twig
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
{% trans %}
|
||||
Hey {{ name }}, I have one apple.
|
||||
{% plural apple_count %}
|
||||
Hey {{ name }}, I have {{ count }} apples.
|
||||
{% endtrans %}
|
||||
9
inc/3rdparty/Twig/Extensions/Gettext/Test/Fixtures/twig/singular.twig
vendored
Normal file
9
inc/3rdparty/Twig/Extensions/Gettext/Test/Fixtures/twig/singular.twig
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
{% trans "Hello World!" %}
|
||||
|
||||
{% trans %}
|
||||
Hello World!
|
||||
{% endtrans %}
|
||||
|
||||
{% trans %}
|
||||
Hello {{ name }}!
|
||||
{% endtrans %}
|
||||
Reference in New Issue
Block a user