Skip to content

Commit 0273118

Browse files
committed
Merge branch '6.0' into 6.1
* 6.0: Fix path to bundle translations [Mailer] Update mailer.rst
2 parents 435d7c2 + f6791ca commit 0273118

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

mailer.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,9 @@ and create an :class:`Symfony\\Component\\Mime\\Email` object::
310310
}
311311
}
312312

313-
That's it! The message will be sent via the transport you configured.
313+
That's it! The message will be sent via the transport you configured. If the
314+
transport is configured to :ref:`send emails asynchronously <mailer-sending-messages-async>`,
315+
the message won't be actually sent until :doc:`a worker consumes it <messenger-worker>`.
314316

315317
Email Addresses
316318
~~~~~~~~~~~~~~~

translation.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,8 @@ Translation Resource/File Names and Locations
485485
Symfony looks for message files (i.e. translations) in the following default locations:
486486

487487
* the ``translations/`` directory (at the root of the project);
488-
* the ``Resources/translations/`` directory inside of any bundle.
488+
* the ``translations/`` directory inside of any bundle (and also their
489+
``Resources/translations/`` directory, which is no longer recommended for bundles).
489490

490491
The locations are listed here with the highest priority first. That is, you can
491492
override the translation messages of a bundle in the first directory.

0 commit comments

Comments
 (0)