mirror of
https://github.com/nextcloud/passman.git
synced 2025-11-09 21:51:36 +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 {
|
||||
private $trans;
|
||||
|
||||
public function __construct($AppName,
|
||||
IRequest $request,
|
||||
IL10N $trans
|
||||
){
|
||||
) {
|
||||
parent::__construct($AppName, $request);
|
||||
$this->trans = $trans;
|
||||
}
|
||||
|
|
@ -31,7 +32,7 @@ class TranslationController extends ApiController {
|
|||
* @NoAdminRequired
|
||||
* @NoCSRFRequired
|
||||
*/
|
||||
public function getLanguageStrings($lang){
|
||||
public function getLanguageStrings($lang) {
|
||||
$translations = array(
|
||||
// templates/views/partials/edit_credential/basics.html
|
||||
'username' => $this->trans->t('Username'),
|
||||
|
|
@ -201,7 +202,6 @@ class TranslationController extends ApiController {
|
|||
'unshare' => $this->trans->t('Unshare'),
|
||||
|
||||
|
||||
|
||||
// templates/views/show_vault.html
|
||||
'deleted.since' => $this->trans->t('Showing deleted since'),
|
||||
'alltime' => $this->trans->t('All time'),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue