]> git.mxchange.org Git - friendica.git/blobdiff - mod/manage.php
Fix incorrect Temporal reference after Item function move rebase
[friendica.git] / mod / manage.php
index dde08d3facf088abb3173029385b36c6932a1357..a454d414739e0bf2bc7681ec70ab7828cedcebfd 100644 (file)
@@ -1,11 +1,14 @@
 <?php
-
+/**
+ * @file mod/manage.php
+ */
 use Friendica\App;
 use Friendica\Core\Addon;
+use Friendica\Core\L10n;
 use Friendica\Core\System;
 use Friendica\Database\DBM;
 
-require_once("include/text.php");
+require_once "include/text.php";
 
 function manage_post(App $a) {
 
@@ -103,7 +106,7 @@ function manage_post(App $a) {
 function manage_content(App $a) {
 
        if (! local_user()) {
-               notice( t('Permission denied.') . EOL);
+               notice(L10n::t('Permission denied.') . EOL);
                return;
        }
 
@@ -152,11 +155,11 @@ function manage_content(App $a) {
        }
 
        $o = replace_macros(get_markup_template('manage.tpl'), [
-               '$title' => t('Manage Identities and/or Pages'),
-               '$desc' => t('Toggle between different identities or community/group pages which share your account details or which you have been granted "manage" permissions'),
-               '$choose' => t('Select an identity to manage: '),
+               '$title' => L10n::t('Manage Identities and/or Pages'),
+               '$desc' => L10n::t('Toggle between different identities or community/group pages which share your account details or which you have been granted "manage" permissions'),
+               '$choose' => L10n::t('Select an identity to manage: '),
                '$identities' => $identities,
-               '$submit' => t('Submit'),
+               '$submit' => L10n::t('Submit'),
        ]);
 
        return $o;