Permalink
Browse files

updating some missing items with more translations

  • Loading branch information...
1 parent 90d47b3 commit 6a52ee7ec48d9cadb313ae7a361e11804b3d6aee Mark Holton committed Feb 23, 2009
Showing with 3 additions and 3 deletions.
  1. +2 −2 app/views/store/checkout.html.erb
  2. +1 −1 app/views/store/index.html.erb
  3. BIN db/development.sqlite3
@@ -3,7 +3,7 @@
<% form_for :order, :url => { :action => :save_order } do |form| %>
<fieldset>
- <legend>Please Enter Your Details</legend>
+ <legend><%= I18n.t('checkout.legend') %></legend>
<div>
<%= form.label :name, I18n.t('checkout.name') + ":" %>
@@ -30,7 +30,7 @@
%>
</div>
- <%= submit_tag "Place Order", :class => "submit" %>
+ <%= submit_tag I18n.t('checkout.submit'), :class => "submit" %>
</fieldset>
<% end %>
</div>
@@ -8,7 +8,7 @@
<div class="price-line">
<span class="price"><%= pennies_to_dollars(product.price) %></span>
<span>
- <%= button_to "Add to Cart", :action => 'create', :controller => 'items',
+ <%= button_to I18n.t('layout.main.add'), :action => 'create', :controller => 'items',
:cart_id => @cart_id, :id => product.id %>
</span>
</div>
View
Binary file not shown.

0 comments on commit 6a52ee7

Please sign in to comment.