X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mathjax%2Fmathjax.php;h=d51857f3f789edca46d772c1a52ee32ca0151b1b;hb=215a18093a2822ccd0ba40b7b07142780bfd917b;hp=8308651ffe67ac42301e753adc6ce2fe5044ebb8;hpb=c71f7b0e1a7bb5ca88347b295dd3a4cc3106c5a9;p=friendica-addons.git diff --git a/mathjax/mathjax.php b/mathjax/mathjax.php index 8308651f..d51857f3 100644 --- a/mathjax/mathjax.php +++ b/mathjax/mathjax.php @@ -1,5 +1,4 @@ '; - $s .= '

MathJax '.t('Settings').'

'; + $s .= '

MathJax '.L10n::t('Settings').'

'; $s .= ''; $s .= ''; } /* we need to add one JavaScript include command to the html output @@ -71,7 +71,7 @@ function mathjax_page_header($a, &$b) { function mathjax_addon_admin_post (&$a) { $baseurl = ((x($_POST, 'baseurl')) ? trim($_POST['baseurl']) : 'http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'); Config::set('mathjax','baseurl',$baseurl); - info( t('Settings updated.'). EOL); + info(L10n::t('Settings updated.'). EOL); } function mathjax_addon_admin (&$a, &$o) { $t = get_markup_template( "admin.tpl", "addon/mathjax/" ); @@ -80,7 +80,7 @@ function mathjax_addon_admin (&$a, &$o) { } $o = replace_macros( $t, [ - '$submit' => t('Save Settings'), - '$baseurl' => ['baseurl', t('MathJax Base URL'), Config::get('mathjax','baseurl' ), t('The URL for the javascript file that should be included to use MathJax. Can be either the MathJax CDN or another installation of MathJax.')], + '$submit' => L10n::t('Save Settings'), + '$baseurl' => ['baseurl', L10n::t('MathJax Base URL'), Config::get('mathjax','baseurl' ), L10n::t('The URL for the javascript file that should be included to use MathJax. Can be either the MathJax CDN or another installation of MathJax.')], ]); }