Commit 3ee5af2

mo khan <mo@mokhan.ca>
2015-01-03 17:14:48
move text into translations files.
1 parent c01d14f
Changed files (2)
app
views
config
locales
app/views/sessions/new.html.erb
@@ -1,1 +1,1 @@
-<%= link_to "Register", new_registration_path, class: "button secondary" %>
+<%= link_to t('.register_button'), new_registration_path, class: "button secondary" %>
config/locales/en.yml
@@ -27,3 +27,6 @@ en:
       password: "Password"
       terms_and_conditions: "I Agree"
       register_button: "Register"
+  sessions:
+    new:
+      register_button: "Register"