Format code

This commit is contained in:
brantje 2016-12-20 00:47:32 +01:00
parent 6df14d6cba
commit 5e119ff7ed
No known key found for this signature in database
GPG key ID: 5FF1D117F918687F

View file

@ -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'),