Remove what_is_this from locale

It got replaced by admin.whats_this.
Changed views to use the new key.
This commit is contained in:
Maikel Linke
2016-03-11 17:08:13 +11:00
parent e81343c8e4
commit 2546603a67
6 changed files with 5 additions and 6 deletions

View File

@@ -14,7 +14,7 @@
= f.label :promo_image, class: 'with-tip', 'data-powertip' => t(:admin_entreprise_groups_data_powertip_promo_image)
.with-tip{'data-powertip' => t(:admin_entreprise_groups_data_powertip_promo_image_tip)}
%a
= t 'what_is_this'
= t 'admin.whats_this'
= f.label :promo_image, 'ofn-with-tip' => 'This image is displayed at the top of the Group profile'
%div{'ofn-with-tip' => 'This image is displayed at the top of the Group profile'}
%a What's this?

View File

@@ -5,7 +5,7 @@
=f.label :owner_id, t(:admin_entreprise_groups_owner)
.with-tip{'data-powertip' => t(:admin_entreprise_groups_data_powertip)}
%a
= t 'what_is_this'
= t 'admin.whats_this'
=f.label :owner_id, 'Owner'
%div{'ofn-with-tip' => "The primary user responsible for this group."}
%a What's this?

View File

@@ -5,7 +5,7 @@
%h1.page-title
= t "bom_page_title"
%a{ 'ofn-with-tip' => "#t('bom_tip')" }
= t "what_is_this"
= t "admin.whats_this"
= render :partial => 'spree/admin/shared/order_sub_menu'

View File

@@ -7,7 +7,7 @@
= t "spree_admin_enterprises_create_new"
- else
%a.with-tip{ title: t(:spree_admin_order_cycles_tip) }
= t "what_is_this"
= t "admin.whats_this"
%a{ "ofn-with-tip" => "Order cycles determine when and where your products are available to customers." } What's this?
%div.seven.columns.alpha.list
- if @order_cycle_count > 0

View File

@@ -7,7 +7,7 @@
= t "spree_admin_enterprises_create_new"
- else
%a{ "ofn-with-tip" => "The products that you sell through the Open Food Network." }
= t "what_is_this"
= t "admin.whats_this"
%div.seven.columns.alpha.list
- if @product_count > 0
%div.seven.columns.alpha.list-item

View File

@@ -835,7 +835,6 @@ Please follow the instructions there to make your enterprise visible on the Open
on_hand: "On hand"
save_changes: "Save Changes"
update_action: "update()" #FIXME
what_is_this: "What's this?"
spree_admin_overview_enterprises_header: "My Enterprises"
spree_admin_overview_enterprises_footer: "MANAGE MY ENTERPRISES"
spree_admin_enterprises_hubs_name: "Name"