summaryrefslogtreecommitdiff
path: root/Base
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-04-21 23:35:24 +0200
committerAndreas Kling <kling@serenityos.org>2021-04-21 23:49:02 +0200
commit9a8dd38493f7860f2b0485dc9edca01e97230803 (patch)
treebbdb2a5ee0468ecc7c4332ffeb148bec02e0359e /Base
parente924da6c739cda065975b3b32ae1ff8f09fd5b07 (diff)
downloadserenity-9a8dd38493f7860f2b0485dc9edca01e97230803.zip
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().
Diffstat (limited to 'Base')
-rw-r--r--Base/res/html/error.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/Base/res/html/error.html b/Base/res/html/error.html
index 058ae0514a..8b06ed12a8 100644
--- a/Base/res/html/error.html
+++ b/Base/res/html/error.html
@@ -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>