Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7cc7d69

Browse files
committed
[symfony#2601] Very minor tweaks to overriding article
1 parent2f9151b commit7cc7d69

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎cookbook/bundles/override.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,10 @@ can override the translations from any translation file, as long as it is in
134134
..caution::
135135

136136
The last translation file always wins. That mean that you need to make
137-
sureto loadtheclass which overrides the translation of another bundle
138-
before that bundle in the ``AppKernel``.
137+
surethatthebundle containing *your* translations is loaded after any
138+
bundle whose translations you're overriding. This is done in ``AppKernel``.
139139

140140
The file that always wins is the one that is placed in
141-
``app/Resources/translations``, as those files are always loadedaslast.
141+
``app/Resources/translations``, as those files are always loaded last.
142142

143143
.. _`the Doctrine documentation`:http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/inheritance-mapping.html#overrides

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp