diff --git a/mod/babel.php b/mod/babel.php index ac2e1342e4..99e6f4078d 100644 --- a/mod/babel.php +++ b/mod/babel.php @@ -7,7 +7,6 @@ use Friendica\Content\Text\BBCode; use Friendica\Content\Text\Markdown; use Friendica\Core\L10n; -require_once 'include/bb2diaspora.php'; require_once 'include/html2bbcode.php'; function visible_lf($s) @@ -50,15 +49,15 @@ function babel_content() $o .= visible_lf($bbcode) . EOL . EOL; $diaspora = BBCode::toMarkdown($text); - $o .= '

' . L10n::t('bb2diaspora: ') . '

' . EOL . EOL; + $o .= '

' . L10n::t('BBCode::toMarkdown: ') . '

' . EOL . EOL; $o .= visible_lf($diaspora) . EOL . EOL; $html = Markdown::convert($diaspora); - $o .= '

' . L10n::t('bb2diaspora => Markdown: ') . '

' . EOL . EOL; + $o .= '

' . L10n::t('BBCode::toMarkdown => Markdown::convert: ') . '

' . EOL . EOL; $o .= $html . EOL . EOL; $bbcode = Markdown::toBBCode($diaspora); - $o .= '

' . L10n::t('bb2diaspora => diaspora2bb: ') . '

' . EOL . EOL; + $o .= '

' . L10n::t('BBCode::toMarkdown => Markdown::toBBCode: ') . '

' . EOL . EOL; $o .= visible_lf($bbcode) . EOL . EOL; $bbcode = html2bbcode($html); diff --git a/src/Protocol/Diaspora.php b/src/Protocol/Diaspora.php index a2a4f36031..0055f8d9ba 100644 --- a/src/Protocol/Diaspora.php +++ b/src/Protocol/Diaspora.php @@ -36,7 +36,6 @@ use SimpleXMLElement; require_once 'include/dba.php'; require_once 'include/items.php'; -require_once 'include/bb2diaspora.php'; /** * @brief This class contain functions to create and send Diaspora XML files