소스 검색

Merge pull request #12916 from nextcloud/l10n-interface

Add optional locale parameter to \OCP\L10N\IFactory
tags/v16.0.0alpha1
Roeland Jago Douma 5 년 전
부모
커밋
e54e616de9
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…
취소
저장