Rename i18n key what_is_this

This commit is contained in:
Maikel Linke
2016-03-11 12:13:17 +11:00
parent 3595685f9a
commit 3e5f53b082
6 changed files with 7 additions and 10 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 'admin_entreprise_groups_what_s_this'
= t 'what_is_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 'admin_entreprise_groups_what_s_this'
= t 'what_is_this'
=f.label :owner_id, 'Owner'
%div{'ofn-with-tip' => "The primary user responsible for this group."}
%a What's this?

View File

@@ -2,12 +2,10 @@
= "ng-app='admin.lineItems'"
- content_for :page_title do
%h1.page-title
= t "bulk_order_management"
%a{ 'ofn-with-tip' => "#t('bom_tip')" }
= t "admin_entreprise_groups_what_s_this"
%h1.page-title
= t "bom_page_title"
%a{ 'ofn-with-tip' => "#t('bom_tip')" }
= t "what_is_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 "admin_entreprise_groups_what_s_this"
= t "what_is_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 "admin_entreprise_groups_what_s_this"
= t "what_is_this"
%div.seven.columns.alpha.list
- if @product_count > 0
%div.seven.columns.alpha.list-item

View File

@@ -789,7 +789,7 @@ 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
admin_entreprise_groups_what_s_this: "What's this ?"
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"
@@ -831,7 +831,6 @@ Please follow the instructions there to make your enterprise visible on the Open
manage_products: "Manage products"
edit_profile_details: "Edit profile details"
edit_profile_details_etc: "Change your profile description, images, etc."
bulk_order_management: "Bulk Order Management"
start_date: "Start Date"
end_date: "End Date"
order_cycle: "Order Cycle"