diff --git a/include/datetime.php b/include/datetime.php index 53455d455..df53c01aa 100644 --- a/include/datetime.php +++ b/include/datetime.php @@ -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 : ""), '', diff --git a/mod/dfrn_request.php b/mod/dfrn_request.php index 5c9a0693b..57bba3595 100644 --- a/mod/dfrn_request.php +++ b/mod/dfrn_request.php @@ -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, follow this link to find a public Friendica site and join us today.'), + L10n::t('If you are not yet a member of the free social web, follow this link to find a public Friendica site and join us today.'), get_server() . '/servers' ); diff --git a/mod/install.php b/mod/install.php index 3255bc6d0..76ecdfd9b 100644 --- a/mod/install.php +++ b/mod/install.php @@ -545,7 +545,7 @@ function load_database() { function what_next() { $baseurl = System::baseUrl(); return - t('

What next

') + L10n::t('

What next

') ."

".L10n::t('IMPORTANT: You will need to [manually] setup a scheduled task for the worker.') .L10n::t('Please see the file "INSTALL.txt".') ."

" diff --git a/util/extract.php b/util/extract.php index b3aa12ebf..13151bc96 100644 --- a/util/extract.php +++ b/util/extract.php @@ -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);