Bläddra i källkod

Add optional locale parameter to interface as well

Signed-off-by: Julius Härtl <jus@bitgrid.net>
tags/v16.0.0alpha1
Julius Härtl 5 år sedan
förälder
incheckning
20c1f5971f
Inget konto är kopplat till bidragsgivarens mejladress
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2
    1
      lib/public/L10N/IFactory.php

+ 2
- 1
lib/public/L10N/IFactory.php Visa fil

@@ -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

Laddar…
Avbryt
Spara