summaryrefslogtreecommitdiff
path: root/app/views/errors
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/errors')
-rw-r--r--app/views/errors/not_found.html.haml8
-rw-r--r--app/views/errors/server_error.html.haml8
2 files changed, 8 insertions, 8 deletions
diff --git a/app/views/errors/not_found.html.haml b/app/views/errors/not_found.html.haml
index 22b6a55..75cb889 100644
--- a/app/views/errors/not_found.html.haml
+++ b/app/views/errors/not_found.html.haml
@@ -1,7 +1,7 @@
.hero-unit
- %h1 Page not found.
- %h2 The page you were looking for doesn't exist.
- %p.lead You may have mistyped the address or the page may have moved.
+ %h1=t :not_found_title
+ %h2=t :not_found_subtitle
+ %p.lead=t :not_found_lead
%a.btn.btn-primary.btn-large{href:'/'}
%i.icon-home.icon-white
- Home
+ =t :home
diff --git a/app/views/errors/server_error.html.haml b/app/views/errors/server_error.html.haml
index 173cdad..68baf20 100644
--- a/app/views/errors/server_error.html.haml
+++ b/app/views/errors/server_error.html.haml
@@ -1,7 +1,7 @@
.hero-unit
- %h1 Ouch!
- %h2 We ran into a server error.
- %p.lead The problem has been logged and we will look into it.
+ %h1=t :server_error_title
+ %h2=t :server_error_subtitle
+ %p.lead=t :server_error_lead
%a.btn.btn-primary.btn-large{href:'/'}
%i.icon-home.icon-white
- Home
+ =t :home