summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-12-07 16:27:31 +0100
committerJulius Härtl <jus@bitgrid.net>2018-12-07 16:27:31 +0100
commit20c1f5971fd9aa4da552ec705aef1fef5948296a (patch)
tree41c49882665f8a89c1fd239e9283b75d5c857374 /lib/public
parent2bbfeea659b8219bd48b8db49d41641b2129a6dd (diff)
downloadnextcloud-server-20c1f5971fd9aa4da552ec705aef1fef5948296a.tar.gz
nextcloud-server-20c1f5971fd9aa4da552ec705aef1fef5948296a.zip
Add optional locale parameter to interface as well
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/public')
-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 a11977f8c03..de904d0eec1 100644
--- a/lib/public/L10N/IFactory.php
+++ b/lib/public/L10N/IFactory.php
@@ -32,10 +32,11 @@ interface IFactory {
*
* @param string $app
* @param string|null $lang
+ * @param string|null $locale
* @return \OCP\IL10N
* @since 8.2.0
*/
- public function get($app, $lang = null);
+ public function get($app, $lang = null, $locale = null);
/**
* Find the best language