More missed calls
missed t() calls
This commit is contained in:
parent
428a22cc76
commit
df7bdbfc66
|
@ -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 : ""),
|
||||
'',
|
||||
|
|
|
@ -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'
|
||||
);
|
||||
|
||||
|
|
|
@ -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>"
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue