]> git.mxchange.org Git - friendica.git/blobdiff - mod/localtime.php
Eliminate double usage
[friendica.git] / mod / localtime.php
index 9a98abec43b98f30f23487f68664bb536a071c31..f7129656f4dbbd5eb4bed678812045e99ffacf6b 100644 (file)
@@ -35,14 +35,14 @@ function localtime_content(App $a)
 
 
 
-       $o .= '<p>' . sprintf(L10n::t('UTC time: %s'), $t) . '</p>';
+       $o .= '<p>' . L10n::t('UTC time: %s', $t) . '</p>';
 
        if ($_REQUEST['timezone']) {
-               $o .= '<p>' . sprintf(L10n::t('Current timezone: %s'), $_REQUEST['timezone']) . '</p>';
+               $o .= '<p>' . L10n::t('Current timezone: %s', $_REQUEST['timezone']) . '</p>';
        }
 
        if (x($a->data, 'mod-localtime')) {
-               $o .= '<p>' . sprintf(L10n::t('Converted localtime: %s'), $a->data['mod-localtime']) . '</p>';
+               $o .= '<p>' . L10n::t('Converted localtime: %s', $a->data['mod-localtime']) . '</p>';
        }