From df867710305e8b225db934a07784065eb310fdab Mon Sep 17 00:00:00 2001 From: yuko fuyutsuki Date: Sat, 24 Feb 2018 00:37:37 +0900 Subject: [PATCH] Oops --- src/tokyo/pmmp/Texter/Core.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/tokyo/pmmp/Texter/Core.php b/src/tokyo/pmmp/Texter/Core.php index 5569b7a..899b202 100644 --- a/src/tokyo/pmmp/Texter/Core.php +++ b/src/tokyo/pmmp/Texter/Core.php @@ -199,7 +199,9 @@ private function checkUpdate(): void { public function versionCompare(string $newVer, string $url): void { $curVer = $this->getDescription()->getVersion(); if (version_compare($newVer, $curVer, "=")) { - $message = $this->lang->translateString("on.load.update.nothing"); + $message = $this->lang->translateString("on.load.update.nothing", [ + $curVer + ]); $this->getLogger()->notice($message); }elseif (version_compare($newVer, $curVer, ">")) { $message1 = $this->lang->translateString("on.load.update.available.1", [