Merge pull request #12916 from nextcloud/l10n-interface
Add optional locale parameter to \OCP\L10N\IFactory
This commit is contained in:
commit
e54e616de9
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue