瀏覽代碼

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 年之前
父節點
當前提交
20c1f5971f
No account linked to committer's email address
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      lib/public/L10N/IFactory.php

+ 2
- 1
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

Loading…
取消
儲存