diff options
author | Azul <azul@leap.se> | 2014-05-05 12:29:21 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2014-05-19 14:23:25 +0200 |
commit | 97e30cc136a72092abba19f1b601ad9d5ebd5257 (patch) | |
tree | 0b94946edc7abc5d8df4f7941aea0db24575fd0d /app/views/errors | |
parent | 89e9154499f67fd8c63e1098b3e50b317c690dd0 (diff) |
i18n for error pages
Diffstat (limited to 'app/views/errors')
-rw-r--r-- | app/views/errors/not_found.html.haml | 8 | ||||
-rw-r--r-- | app/views/errors/server_error.html.haml | 8 |
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 |