mirror of
https://github.com/nextcloud/passman.git
synced 2025-11-10 22:22:38 +08:00
Format code
This commit is contained in:
parent
6df14d6cba
commit
5e119ff7ed
1 changed files with 19 additions and 19 deletions
|
|
@ -18,10 +18,11 @@ use OCP\IL10N;
|
||||||
|
|
||||||
class TranslationController extends ApiController {
|
class TranslationController extends ApiController {
|
||||||
private $trans;
|
private $trans;
|
||||||
|
|
||||||
public function __construct($AppName,
|
public function __construct($AppName,
|
||||||
IRequest $request,
|
IRequest $request,
|
||||||
IL10N $trans
|
IL10N $trans
|
||||||
){
|
) {
|
||||||
parent::__construct($AppName, $request);
|
parent::__construct($AppName, $request);
|
||||||
$this->trans = $trans;
|
$this->trans = $trans;
|
||||||
}
|
}
|
||||||
|
|
@ -31,7 +32,7 @@ class TranslationController extends ApiController {
|
||||||
* @NoAdminRequired
|
* @NoAdminRequired
|
||||||
* @NoCSRFRequired
|
* @NoCSRFRequired
|
||||||
*/
|
*/
|
||||||
public function getLanguageStrings($lang){
|
public function getLanguageStrings($lang) {
|
||||||
$translations = array(
|
$translations = array(
|
||||||
// templates/views/partials/edit_credential/basics.html
|
// templates/views/partials/edit_credential/basics.html
|
||||||
'username' => $this->trans->t('Username'),
|
'username' => $this->trans->t('Username'),
|
||||||
|
|
@ -201,7 +202,6 @@ class TranslationController extends ApiController {
|
||||||
'unshare' => $this->trans->t('Unshare'),
|
'unshare' => $this->trans->t('Unshare'),
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// templates/views/show_vault.html
|
// templates/views/show_vault.html
|
||||||
'deleted.since' => $this->trans->t('Showing deleted since'),
|
'deleted.since' => $this->trans->t('Showing deleted since'),
|
||||||
'alltime' => $this->trans->t('All time'),
|
'alltime' => $this->trans->t('All time'),
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue