From 20c1f5971fd9aa4da552ec705aef1fef5948296a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Fri, 7 Dec 2018 16:27:31 +0100 Subject: [PATCH] Add optional locale parameter to interface as well MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- lib/public/L10N/IFactory.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/public/L10N/IFactory.php b/lib/public/L10N/IFactory.php index a11977f8c0..de904d0eec 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