Updat tt() calls

update function calls for tt()
This commit is contained in:
Adam Magness 2018-01-21 17:15:52 -05:00
parent d49f986d1e
commit 3b0f69599e
13 changed files with 30 additions and 27 deletions

View file

@ -117,7 +117,7 @@ function dfrn_request_post(App $a)
}
$invalid = Probe::validDfrn($parms);
if ($invalid) {
notice(sprintf(tt("%d required parameter was not found at the given location", "%d required parameters were not found at the given location", $invalid), $invalid) . EOL);
notice(sprintf(L10n::tt("%d required parameter was not found at the given location", "%d required parameters were not found at the given location", $invalid), $invalid) . EOL);
return;
}
}
@ -364,7 +364,7 @@ function dfrn_request_post(App $a)
}
$invalid = Probe::validDfrn($parms);
if ($invalid) {
notice(sprintf(tt("%d required parameter was not found at the given location", "%d required parameters were not found at the given location", $invalid), $invalid) . EOL);
notice(sprintf(L10n::tt("%d required parameter was not found at the given location", "%d required parameters were not found at the given location", $invalid), $invalid) . EOL);
return;
}