From 307b61ad625956e478c16f406061c9751baa928a Mon Sep 17 00:00:00 2001 From: Jonas Kohl Date: Fri, 11 Oct 2024 14:42:25 +0200 Subject: i18n fixes --- src/application/actions/thumb/get.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/application/actions/thumb/get.php') diff --git a/src/application/actions/thumb/get.php b/src/application/actions/thumb/get.php index c34bf92..d03e5f9 100644 --- a/src/application/actions/thumb/get.php +++ b/src/application/actions/thumb/get.php @@ -5,7 +5,7 @@ use FFMpeg\FFMpeg; use FFMpeg\FFProbe; use mystic\forum\orm\Attachment; -$attId = $_GET["attachment"] ?? throw new Exception("Missing attachment id"); +$attId = $_GET["attachment"] ?? throw new Exception(__("Missing attachment id")); $attachment = new Attachment(); $attachment->id = $attId; if (!$db->fetch($attachment)) { -- cgit v1.2.3