Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-09-10 11:45:18 +0300
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-09-10 11:45:18 +0300
commit081dcc55ca4d87466f03dd180a86911c00df966d (patch)
treeebf0e7ee1020d3f98b3746d5c75a8be0c972f11d /lib/public/L10N
parentdf143cb72a9681d977a7fa85553a95ce1ee2314f (diff)
Fix public l10n
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'lib/public/L10N')
-rw-r--r--lib/public/L10N/IFactory.php3
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