From 081dcc55ca4d87466f03dd180a86911c00df966d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Mon, 10 Sep 2018 10:45:18 +0200 Subject: [PATCH] Fix public l10n MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- lib/public/L10N/IFactory.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/public/L10N/IFactory.php b/lib/public/L10N/IFactory.php index 31276b1289..4f42e498ed 100644 --- a/lib/public/L10N/IFactory.php +++ b/lib/public/L10N/IFactory.php @@ -56,10 +56,11 @@ interface IFactory { /** * find the matching lang from the locale * + * @param string $app * @param string $locale * @return null|string */ - public function findLanguageFromLocale($locale = null); + public function findLanguageFromLocale($app = 'core', $locale = null); /** * Find all available languages for an app