Skip to content

Commit

Permalink
minor #5474 typo in components/translation/instruction.rst (beesofts)
Browse files Browse the repository at this point in the history
This PR was submitted for the 2.7 branch but it was merged into the 2.3 branch instead (closes #5474).

Discussion
----------

typo in components/translation/instruction.rst

$translator->setFallbackLocale() should be $translator->setFallbackLocales()

Commits
-------

fda8ff5 typo in components/translation/instruction.rst
  • Loading branch information
xabbuh committed Jul 2, 2015
2 parents e8d0d8e + fda8ff5 commit 3afb867
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/translation/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,10 @@ example, assume you're trying to translate into the ``fr_FR`` locale:
fallback locales set explicitly on the translator.

For (3), the fallback locales can be set by calling
:method:`Symfony\\Component\\Translation\\Translator::setFallbackLocale`::
:method:`Symfony\\Component\\Translation\\Translator::setFallbackLocales`::

// ...
$translator->setFallbackLocale(array('en'));
$translator->setFallbackLocales(array('en'));

.. _using-message-domains:

Expand Down

0 comments on commit 3afb867

Please sign in to comment.