]> git.mxchange.org Git - friendica.git/blobdiff - mod/editpost.php
The fcontact table is now updated in the background to improve performance
[friendica.git] / mod / editpost.php
index cc72dbd3c2eddbd864b28250254b6467d96ce32d..3fb8c80ec0510bff5c09260ea8115c684f4ff7f1 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -83,7 +83,7 @@ function editpost_content(App $a)
 
        Hook::callAll('jot_tool', $jotplugins);
 
-       $tpl = Renderer::getMarkupTemplate("jot.tpl");
+       $tpl = Renderer::getMarkupTemplate('jot.tpl');
        $o .= Renderer::replaceMacros($tpl, [
                '$is_edit' => true,
                '$return_path' => '/display/' . $item['guid'],
@@ -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'),