]> git.mxchange.org Git - friendica.git/blobdiff - mod/editpost.php
Coding standards
[friendica.git] / mod / editpost.php
index e522522e3d5b9d6438474b859b0ba26313c80f13..9f9041811e3875a7b2e52f3d7892cc6fa2f91b1e 100644 (file)
@@ -68,7 +68,7 @@ function editpost_content(App $a)
        DI::page()['htmlhead'] .= Renderer::replaceMacros($tpl, [
                '$ispublic' => '&nbsp;', // DI::l10n()->t('Visible to <strong>everybody</strong>'),
                '$geotag' => $geotag,
-               '$nickname' => $a->getUserNickname(),
+               '$nickname' => $a->getLoggedInUserNickname(),
                '$is_mobile' => DI::mode()->isMobile(),
        ]);
 
@@ -130,6 +130,15 @@ function editpost_content(App $a)
                '$cancel' => DI::l10n()->t('Cancel'),
                '$rand_num' => Crypto::randomDigits(12),
 
+               // Formatting button labels
+               '$edbold'   => DI::l10n()->t('Bold'),
+               '$editalic' => DI::l10n()->t('Italic'),
+               '$eduline'  => DI::l10n()->t('Underline'),
+               '$edquote'  => DI::l10n()->t('Quote'),
+               '$edcode'   => DI::l10n()->t('Code'),
+               '$edurl'    => DI::l10n()->t('Link'),
+               '$edattach' => DI::l10n()->t('Link or Media'),
+
                //jot nav tab (used in some themes)
                '$message' => DI::l10n()->t('Message'),
                '$browser' => DI::l10n()->t('Browser'),