File tree Expand file tree Collapse file tree 3 files changed +195
-1
lines changed Expand file tree Collapse file tree 3 files changed +195
-1
lines changed Original file line number Diff line number Diff line change @@ -1298,6 +1298,8 @@ HTTP 認証やフォームログインなどの全ての認証メカニズムは
1298
1298
1299
1299
ユーザが一旦ログアウトすると、そのユーザは、上記の ``target `` の値によって定義されたパス(``homepage `` など)にリダイレクトされます。ログアウトの設定に関する詳細は :doc: `Security Configuration Reference</reference/configuration/security> ` を参照してください。
1300
1300
1301
+ .. _book-security-template :
1302
+
1301
1303
テンプレートにおけるアクセス制御
1302
1304
--------------------------------
1303
1305
Original file line number Diff line number Diff line change @@ -692,9 +692,10 @@ apples`` が使われます。
692
692
多くの場合、翻訳はテンプレート内で発生します。 Symfony2 は Twig と PHP テンプレートの
693
693
両方をネイティブでサポートします。
694
694
695
+ .. _book-translation-tags :
696
+
695
697
Twig テンプレート
696
698
~~~~~~~~~~~~~~~~~
697
-
698
699
Symfony2 はメッセージの翻訳に役立つよう特別な Twig タグ (``trans `` と ``transChoice ``)
699
700
を提供します。
700
701
@@ -724,6 +725,8 @@ Symfony2 はメッセージの翻訳に役立つよう特別な Twig タグ (``t
724
725
{0} There is no apples|{1} There is one apple|]1,Inf] There are %count% apples
725
726
{% endtranschoice %}
726
727
728
+ .. _book-translation-filters :
729
+
727
730
``trans ``、``transchoice``フィルターは、*variable texts*や複雑な式を変換するために使用できます。
728
731
729
732
.. code-block:: jinja
You can’t perform that action at this time.
0 commit comments