From: Michael Date: Tue, 8 May 2018 20:22:21 +0000 (+0000) Subject: Corrected placeholders X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=74908c0125f45e075afb71b4c2f2e85e03d7d33d;p=friendica.git Corrected placeholders --- diff --git a/src/Database/DBStructure.php b/src/Database/DBStructure.php index 7cfb48df13..bc12ca7907 100644 --- a/src/Database/DBStructure.php +++ b/src/Database/DBStructure.php @@ -207,7 +207,7 @@ class DBStructure public static function update($verbose, $action, $install = false, array $tables = null, array $definition = null) { if ($action && !$install) { Config::set('system', 'maintenance', 1); - Config::set('system', 'maintenance_reason', L10n::t('%1: Database update', DBM::date().' '.date('e'))); + Config::set('system', 'maintenance_reason', L10n::t('%s: Database update', DBM::date().' '.date('e'))); } $errors = ''; diff --git a/update.php b/update.php index b92526856b..020827397a 100644 --- a/update.php +++ b/update.php @@ -189,7 +189,7 @@ WHERE `hook` LIKE 'plugin_%'"); function update_1260() { Config::set('system', 'maintenance', 1); - Config::set('system', 'maintenance_reason', L10n::t('%1: Updating author-id and owner-id in item and thread table. ', DBM::date().' '.date('e'))); + Config::set('system', 'maintenance_reason', L10n::t('%s: Updating author-id and owner-id in item and thread table. ', DBM::date().' '.date('e'))); $items = dba::p("SELECT `id`, `owner-link`, `owner-name`, `owner-avatar`, `network` FROM `item` WHERE `owner-id` = 0 AND `owner-link` != ''");