From 6910871e15128eb2a5199c4eb732289e5ef9d709 Mon Sep 17 00:00:00 2001 From: eignnx Date: Tue, 28 May 2019 15:31:01 -0400 Subject: [PATCH] Localize 404.hbs --- locales/en-US/404.ftl | 7 +++++++ templates/404.hbs | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 locales/en-US/404.ftl diff --git a/locales/en-US/404.ftl b/locales/en-US/404.ftl new file mode 100644 index 000000000..7c05b74a4 --- /dev/null +++ b/locales/en-US/404.ftl @@ -0,0 +1,7 @@ +### Translation file for the rust-lang.org 404 page. + +## 404 (templates/404.hbs) + +error404-page-title = 404 +error404-subtitle = Whoops, this page doesn’t exist :-( +error404-img-alt = 404 not found image diff --git a/templates/404.hbs b/templates/404.hbs index 31d8fc460..15b865e7e 100644 --- a/templates/404.hbs +++ b/templates/404.hbs @@ -3,11 +3,11 @@
-

404

-

Whoops, this page doesn’t exist :-(

+

{{text error404-page-title}}

+

{{text error404-subtitle}}

- 404 not found image + {{text error404-img-alt}}