]> git.mxchange.org Git - friendica.git/blobdiff - mod/notes.php
Move /profile_photo to Module\Settings\Profile\Photo
[friendica.git] / mod / notes.php
index 4a19ab5ca840bdbbe90f9702b2fe830ac704f4bc..536029338f815f174969a696fdfc0d59c60976b8 100644 (file)
@@ -6,7 +6,6 @@
 use Friendica\App;
 use Friendica\Content\Nav;
 use Friendica\Content\Pager;
-use Friendica\Core\L10n;
 use Friendica\Database\DBA;
 use Friendica\DI;
 use Friendica\Model\Item;
@@ -25,14 +24,14 @@ function notes_init(App $a)
 function notes_content(App $a, $update = false)
 {
        if (!local_user()) {
-               notice(L10n::t('Permission denied.') . EOL);
+               notice(DI::l10n()->t('Permission denied.') . EOL);
                return;
        }
 
        $o = Profile::getTabs($a, 'notes', true);
 
        if (!$update) {
-               $o .= '<h3>' . L10n::t('Personal Notes') . '</h3>';
+               $o .= '<h3>' . DI::l10n()->t('Personal Notes') . '</h3>';
 
                $x = [
                        'is_owner' => true,
@@ -44,7 +43,7 @@ function notes_content(App $a, $update = false)
                        'bang' => '',
                        'visitor' => 'block',
                        'profile_uid' => local_user(),
-                       'button' => L10n::t('Save'),
+                       'button' => DI::l10n()->t('Save'),
                        'acl_data' => '',
                ];