diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-09-10 10:45:18 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-09-10 10:45:18 +0200 |
commit | 081dcc55ca4d87466f03dd180a86911c00df966d (patch) | |
tree | ebf0e7ee1020d3f98b3746d5c75a8be0c972f11d | |
parent | df143cb72a9681d977a7fa85553a95ce1ee2314f (diff) | |
download | nextcloud-server-081dcc55ca4d87466f03dd180a86911c00df966d.tar.gz nextcloud-server-081dcc55ca4d87466f03dd180a86911c00df966d.zip |
Fix public l10n
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-rw-r--r-- | lib/public/L10N/IFactory.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/public/L10N/IFactory.php b/lib/public/L10N/IFactory.php index 31276b12897..4f42e498ed1 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 |