]> git.mxchange.org Git - friendica.git/commitdiff
More missed calls
authorAdam Magness <adam.magness@gmail.com>
Wed, 24 Jan 2018 15:19:58 +0000 (10:19 -0500)
committerAdam Magness <adam.magness@gmail.com>
Wed, 24 Jan 2018 15:19:58 +0000 (10:19 -0500)
missed t() calls

include/datetime.php
mod/dfrn_request.php
mod/install.php
util/extract.php

index 53455d4557cd0da6c4dd100167aae012848b7921..df53c01aa4c26b85816cb548e2c40c9f14e582a8 100644 (file)
@@ -193,7 +193,7 @@ function dob($dob)
        $o = replace_macros(get_markup_template("field_input.tpl"), [
                '$field' => [
                        'dob',
-                       t('Birthday:'),
+                       L10n::t('Birthday:'),
                        $value,
                        (((intval($age)) > 0 ) ? L10n::t('Age: ') . $age : ""),
                        '',
index 5c9a0693b179863557f0b92e59a47fed51a8d582..57bba3595e1aff0e8a26bbd5a0d3eb15c35f38fd 100644 (file)
@@ -639,7 +639,7 @@ function dfrn_request_content(App $a)
                $page_desc = L10n::t("Please enter your 'Identity Address' from one of the following supported communications networks:");
 
                $invite_desc = sprintf(
-                       t('If you are not yet a member of the free social web, <a href="%s">follow this link to find a public Friendica site and join us today</a>.'),
+                       L10n::t('If you are not yet a member of the free social web, <a href="%s">follow this link to find a public Friendica site and join us today</a>.'),
                        get_server() . '/servers'
                );
 
index 3255bc6d0e1db8fe1c8b3e4d6539dc179e29b68e..76ecdfd9b906b6e9ae00cd99bbc8bdc8ff34c486 100644 (file)
@@ -545,7 +545,7 @@ function load_database() {
 function what_next() {
        $baseurl = System::baseUrl();
        return
-               t('<h1>What next</h1>')
+               L10n::t('<h1>What next</h1>')
                ."<p>".L10n::t('IMPORTANT: You will need to [manually] setup a scheduled task for the worker.')
                .L10n::t('Please see the file "INSTALL.txt".')
                ."</p><p>"
index b3aa12ebf0e0a54301ea2551466fef2534e3fdd0..13151bc96f39b0a24c9a6e113e8ab212a12ed990 100644 (file)
@@ -9,8 +9,8 @@
        foreach($files as $file) {
                $str = file_get_contents($file);
 
-               $pat = '| t\(([^\)]*)\)|';
-               $patt = '| tt\(([^\)]*)\)|';
+               $pat = '| L10n::t\(([^\)]*)\)|';
+               $patt = '| L10n::tt\(([^\)]*)\)|';
 
                preg_match_all($pat,$str,$matches);
                preg_match_all($patt, $str, $matchestt);