On 01/27/2012 03:09 PM, tsedovic(a)redhat.com wrote:
From: Tomas Sedovic<tomas(a)sedovic.cz>
---
src/app/views/layouts/application.html.haml | 8 ++++----
src/config/locales/en.yml | 4 ++++
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/src/app/views/layouts/application.html.haml
b/src/app/views/layouts/application.html.haml
index 09b0668..249b19e 100644
--- a/src/app/views/layouts/application.html.haml
+++ b/src/app/views/layouts/application.html.haml
@@ -59,7 +59,7 @@
%span.logo Aeolus
#legal
%nav.footer
- %a{:href => '#'} Disclaimer
- %a{:href => '#'} Terms of Use
- %a{:href => '#'} Support
- %span.copyright Copyright© 2011 Red Hat, Inc. All Rights Reserved.
+ %a{:href => '#'}= t :disclaimer
+ %a{:href => '#'}= t :terms_of_use
+ %a{:href => '#'}= t :support
+ %span.copyright!= t :copyright
diff --git a/src/config/locales/en.yml b/src/config/locales/en.yml
index cc67125..1a3a8a3 100644
--- a/src/config/locales/en.yml
+++ b/src/config/locales/en.yml
@@ -1,4 +1,8 @@
en:
+ disclaimer: Disclaimer
+ terms_of_use: Terms of Use
+ support: Support
+ copyright: "Copyright© 2011 Red Hat, Inc. All Rights Reserved."
dashboard: Dashboard
datetime:
distance_in_words:
ACK