From fda8ff526713fcf7d145e5df51a9405adae928fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20WERY?= Date: Thu, 2 Jul 2015 17:31:13 +0200 Subject: [PATCH] typo in components/translation/instruction.rst $translator->setFallbackLocale() should be $translator->setFallbackLocales() --- components/translation/introduction.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/translation/introduction.rst b/components/translation/introduction.rst index bcc40ced071..995d7d43591 100644 --- a/components/translation/introduction.rst +++ b/components/translation/introduction.rst @@ -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: