]> git.mxchange.org Git - friendica.git/blobdiff - mod/removeme.php
Merge pull request #4312 from zeroadam/feature/L10n
[friendica.git] / mod / removeme.php
index bf5969982a2c3cf462029ad5876789c3217ebbb4..ac13da2f14696eaed888fe1c2cbb6c4e3a40a97a 100644 (file)
@@ -1,6 +1,9 @@
 <?php
-
+/**
+ * @file mod/removeme.php
+ */
 use Friendica\App;
+use Friendica\Core\L10n;
 use Friendica\Core\System;
 use Friendica\Model\User;
 
@@ -46,14 +49,14 @@ function removeme_content(App $a)
        $_SESSION['remove_account_verify'] = $hash;
 
        $tpl = get_markup_template('removeme.tpl');
-       $o .= replace_macros($tpl, array(
+       $o .= replace_macros($tpl, [
                '$basedir' => System::baseUrl(),
                '$hash' => $hash,
-               '$title' => t('Remove My Account'),
-               '$desc' => t('This will completely remove your account. Once this has been done it is not recoverable.'),
-               '$passwd' => t('Please enter your password for verification:'),
-               '$submit' => t('Remove My Account')
-       ));
+               '$title' => L10n::t('Remove My Account'),
+               '$desc' => L10n::t('This will completely remove your account. Once this has been done it is not recoverable.'),
+               '$passwd' => L10n::t('Please enter your password for verification:'),
+               '$submit' => L10n::t('Remove My Account')
+       ]);
 
        return $o;
 }