Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

updating some missing items with more translations

  • Loading branch information...
commit 6a52ee7ec48d9cadb313ae7a361e11804b3d6aee 1 parent 90d47b3
Mark Holton authored
View
4 app/views/store/checkout.html.erb
@@ -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>
View
2  app/views/store/index.html.erb
@@ -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
BIN  db/development.sqlite3
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.