1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 03:37:35 +00:00

LibWeb+Base: Convert String::format() to String::formatted()

This error page template is slightly hilarious and should probably
be replaced with AK::SourceGenerator or some such, but for now let's
just get rid of the call to String::format().
This commit is contained in:
Andreas Kling 2021-04-21 23:35:24 +02:00
parent e924da6c73
commit 9a8dd38493
2 changed files with 6 additions and 6 deletions

View file

@ -14,8 +14,8 @@
<body>
<header>
<img src="file:///res/icons/32x32/msgbox-warning.png" alt="Warning" width="24" height="24">
<h1>Failed to load %s</h1>
<h1>Failed to load {}</h1>
</header>
<p>Error: %s</p>
<p>Error: {}</p>
</body>
</html>