From 90bd304099e1f600e824b544cf6201a8019e2f2c Mon Sep 17 00:00:00 2001 From: qinmingyuan Date: Sun, 10 Dec 2023 18:46:13 +0800 Subject: [PATCH] add i18n --- app/views/application/_add_cart.html.erb | 4 ++-- config/locales/en.controller.yml | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app/views/application/_add_cart.html.erb b/app/views/application/_add_cart.html.erb index d3fb27dbd..4366be3fa 100644 --- a/app/views/application/_add_cart.html.erb +++ b/app/views/application/_add_cart.html.erb @@ -6,8 +6,8 @@ <%= f.hidden_field :scene_id, value: params[:scene_id] %> <%= f.hidden_field :station_id, value: params[:station_id] %> <%= f.hidden_field :desk_id, value: params[:desk_id] %> - <%= button_tag class: 'button is-small is-danger' do %> + <% end %> diff --git a/config/locales/en.controller.yml b/config/locales/en.controller.yml index 5cd71fd77..e0d933003 100644 --- a/config/locales/en.controller.yml +++ b/config/locales/en.controller.yml @@ -123,3 +123,7 @@ en: title: Add To Cart order_edit: title: Edit + agent: + items: + create: + title: Proxy Add