summaryrefslogtreecommitdiff
path: root/src/application/actions/thumb/get.php
diff options
context:
space:
mode:
authorJonas Kohl2024-10-11 14:42:25 +0200
committerJonas Kohl2024-10-11 14:42:25 +0200
commit307b61ad625956e478c16f406061c9751baa928a (patch)
treed6a634bc05f7b94d79003d174c3fda1fb1ce5c56 /src/application/actions/thumb/get.php
parented228805999e0103297ddc41a0304f0845cb6800 (diff)
i18n fixes
Diffstat (limited to 'src/application/actions/thumb/get.php')
-rw-r--r--src/application/actions/thumb/get.php2
1 files changed, 1 insertions, 1 deletions
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)) {