X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=ljpost%2Fljpost.php;h=382832c5ec44a09d199fad666cc88f6b1d424275;hb=1357817fc38de7be7dc8ebffc1fa0961796fd32d;hp=457343fc170aeb0eea211c19af35fb10853fda0c;hpb=a26bfe79e97813ebe4c27fa3cb65c32669a9f2e5;p=friendica-addons.git diff --git a/ljpost/ljpost.php b/ljpost/ljpost.php index 457343fc..382832c5 100644 --- a/ljpost/ljpost.php +++ b/ljpost/ljpost.php @@ -10,7 +10,6 @@ use Friendica\Content\Text\BBCode; use Friendica\Core\Hook; -use Friendica\Core\L10n; use Friendica\Core\Logger; use Friendica\DI; use Friendica\Util\DateTimeFormat; @@ -46,7 +45,7 @@ function ljpost_jot_nets(\Friendica\App &$a, array &$jotnets_fields) 'type' => 'checkbox', 'field' => [ 'ljpost_enable', - L10n::t('Post to LiveJournal'), + DI::l10n()->t('Post to LiveJournal'), DI::pConfig()->get(local_user(),'ljpost','post_by_default') ] ]; @@ -80,30 +79,30 @@ function ljpost_settings(&$a,&$s) { /* Add some HTML to the existing form */ $s .= '
'; - $s .= '

' . L10n::t('LiveJournal Post Settings') . '

'; + $s .= '

' . DI::l10n()->t('LiveJournal Post Settings') . '

'; $s .= '
'; - $s .= ''; + $s .= ''; $s .= ''; $s .= '
'; $s .= '
'; - $s .= ''; + $s .= ''; $s .= ''; $s .= '
'; $s .= '
'; - $s .= ''; + $s .= ''; $s .= ''; $s .= '
'; $s .= '
'; - $s .= ''; + $s .= ''; $s .= ''; $s .= '
'; /* provide a submit button */ - $s .= '
'; + $s .= '
'; }