Simplify L10n::t + sprintf instances
This commit is contained in:
parent
a8d3a4d218
commit
4ffcb77554
1 changed files with 3 additions and 4 deletions
|
@ -77,10 +77,9 @@ class DBStructure
|
||||||
The friendica developers released update %s recently,
|
The friendica developers released update %s recently,
|
||||||
but when I tried to install it, something went terribly wrong.
|
but when I tried to install it, something went terribly wrong.
|
||||||
This needs to be fixed soon and I can't do it alone. Please contact a
|
This needs to be fixed soon and I can't do it alone. Please contact a
|
||||||
friendica developer if you can not help me on your own. My database might be invalid."));
|
friendica developer if you can not help me on your own. My database might be invalid.",
|
||||||
$body = L10n::t("The error message is\n[pre]%s[/pre]");
|
$update_id));
|
||||||
$preamble = sprintf($preamble, $update_id);
|
$body = L10n::t("The error message is\n[pre]%s[/pre]", $error_message);
|
||||||
$body = sprintf($body, $error_message);
|
|
||||||
|
|
||||||
notification([
|
notification([
|
||||||
'uid' => $admin['uid'],
|
'uid' => $admin['uid'],
|
||||||
|
|
Loading…
Reference in a new issue