summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2014-05-24 13:39:10 +0200
committerAzul <azul@leap.se>2014-05-26 17:45:18 +0200
commitbbeb4b629dc38d82b3b3200706dd25b8def8892e (patch)
treeb6157ed75653f97ff7cfa02a961e8f10efe7baf3 /app
parent4085e3fabef6427cd3f8be9b61c209bd82eaa595 (diff)
sorting translation keys some
Diffstat (limited to 'app')
-rw-r--r--app/views/errors/not_found.html.haml6
-rw-r--r--app/views/errors/server_error.html.haml6
2 files changed, 6 insertions, 6 deletions
diff --git a/app/views/errors/not_found.html.haml b/app/views/errors/not_found.html.haml
index 75cb889..c7fec22 100644
--- a/app/views/errors/not_found.html.haml
+++ b/app/views/errors/not_found.html.haml
@@ -1,7 +1,7 @@
.hero-unit
- %h1=t :not_found_title
- %h2=t :not_found_subtitle
- %p.lead=t :not_found_lead
+ %h1=t 'errors.title.page_not_found'
+ %h2=t 'errors.subtitle.page_not_found', default: ''
+ %p.lead=t 'errors.text.page_not_found', default: ''
%a.btn.btn-primary.btn-large{href:'/'}
%i.icon-home.icon-white
=t :home
diff --git a/app/views/errors/server_error.html.haml b/app/views/errors/server_error.html.haml
index 68baf20..a4133da 100644
--- a/app/views/errors/server_error.html.haml
+++ b/app/views/errors/server_error.html.haml
@@ -1,7 +1,7 @@
.hero-unit
- %h1=t :server_error_title
- %h2=t :server_error_subtitle
- %p.lead=t :server_error_lead
+ %h1=t 'errors.title.server_error'
+ %h2=t 'errors.subtitle.server_error', default: ''
+ %p.lead=t 'errors.text.server_error', default: ''
%a.btn.btn-primary.btn-large{href:'/'}
%i.icon-home.icon-white
=t :home