diff options
author | Andreas Kling <kling@serenityos.org> | 2021-04-21 23:35:24 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-21 23:49:02 +0200 |
commit | 9a8dd38493f7860f2b0485dc9edca01e97230803 (patch) | |
tree | bbdb2a5ee0468ecc7c4332ffeb148bec02e0359e /Base | |
parent | e924da6c739cda065975b3b32ae1ff8f09fd5b07 (diff) | |
download | serenity-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.html | 4 |
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> |