mirror of
https://github.com/friendica/friendica
synced 2025-04-26 15:10:11 +00:00
deindent calls
implement function in new class
This commit is contained in:
parent
916b3e551e
commit
b73af72deb
4 changed files with 12 additions and 11 deletions
|
@ -4,6 +4,7 @@ namespace Friendica\Core;
|
|||
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\Database\DBStructure;
|
||||
use Friendica\Util\Strings;
|
||||
|
||||
class Update
|
||||
{
|
||||
|
@ -209,7 +210,7 @@ class Update
|
|||
$lang = (($admin['language'])?$admin['language']:'en');
|
||||
L10n::pushLang($lang);
|
||||
|
||||
$preamble = deindent(L10n::t("
|
||||
$preamble = Strings::deindent(L10n::t("
|
||||
The friendica developers released update %s recently,
|
||||
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
|
||||
|
@ -244,7 +245,7 @@ class Update
|
|||
$lang = (($admin['language']) ? $admin['language'] : 'en');
|
||||
L10n::pushLang($lang);
|
||||
|
||||
$preamble = deindent(L10n::t("
|
||||
$preamble = Strings::deindent(L10n::t("
|
||||
The friendica database was successfully updated from %s to %s.",
|
||||
$from_build, $to_build));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue