Improving the translatability of project texts

This commit is contained in:
BrettonYe
2024-09-01 22:40:47 +08:00
parent 1603c92d04
commit 7087faf0d6
153 changed files with 8605 additions and 7984 deletions

View File

@@ -13,8 +13,10 @@ class MessageController extends Controller
$log = NotificationLog::whereMsgId($msgId)->latest()->firstOrFail();
$title = $log->title;
$content = Markdown::parse($log->content)->toHtml();
return view('components.message', compact('title', 'content'));
}
return view('components.message', compact('title', 'content'));
return false;
}
}