diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2018-12-07 19:29:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-07 19:29:13 +0100 |
commit | e54e616de9320be5fbbeb5dd711b49bb2f5e4a1f (patch) | |
tree | ff5931b129e611b87ea12ae8997927cfb339efb8 | |
parent | f7e471877995a222548b0a1674618a3e654b4656 (diff) | |
parent | 20c1f5971fd9aa4da552ec705aef1fef5948296a (diff) | |
download | nextcloud-server-e54e616de9320be5fbbeb5dd711b49bb2f5e4a1f.tar.gz nextcloud-server-e54e616de9320be5fbbeb5dd711b49bb2f5e4a1f.zip |
Merge pull request #12916 from nextcloud/l10n-interface
Add optional locale parameter to \OCP\L10N\IFactory
-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 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 |