mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Merge remote-tracking branch 'origin/master' into HEAD
This commit is contained in:
@@ -68,6 +68,7 @@ angular.module('admin.orderCycles')
|
||||
$scope.removeCoordinatorFee = ($event, index) ->
|
||||
$event.preventDefault()
|
||||
OrderCycle.removeCoordinatorFee(index)
|
||||
$scope.order_cycle_form.$dirty = true
|
||||
|
||||
$scope.addExchangeFee = ($event, exchange) ->
|
||||
$event.preventDefault()
|
||||
@@ -76,6 +77,7 @@ angular.module('admin.orderCycles')
|
||||
$scope.removeExchangeFee = ($event, exchange, index) ->
|
||||
$event.preventDefault()
|
||||
OrderCycle.removeExchangeFee(exchange, index)
|
||||
$scope.order_cycle_form.$dirty = true
|
||||
|
||||
$scope.removeDistributionOfVariant = (variant_id) ->
|
||||
OrderCycle.removeDistributionOfVariant(variant_id)
|
||||
|
||||
@@ -4,5 +4,5 @@ Darkswarm.filter 'products', (Matcher) ->
|
||||
text ?= ""
|
||||
return products if text == ""
|
||||
products.filter (product) =>
|
||||
propertiesToMatch = [product.name, product.supplier.name, product.primary_taxon.name]
|
||||
propertiesToMatch = [product.name, product.variant_names, product.supplier.name, product.primary_taxon.name]
|
||||
Matcher.match propertiesToMatch, text
|
||||
|
||||
@@ -25,7 +25,6 @@ Darkswarm.factory 'Products', ($resource, Enterprises, Dereferencer, Taxons, Pro
|
||||
prices = (v.price for v in product.variants)
|
||||
product.price = Math.min.apply(null, prices)
|
||||
product.hasVariants = product.variants?.length > 0
|
||||
|
||||
product.primaryImage = product.images[0]?.small_url if product.images
|
||||
product.primaryImageOrMissing = product.primaryImage || "/assets/noimage/small.png"
|
||||
product.largeImage = product.images[0]?.large_url if product.images
|
||||
@@ -45,5 +44,7 @@ Darkswarm.factory 'Products', ($resource, Enterprises, Dereferencer, Taxons, Pro
|
||||
if product.variants
|
||||
product.variants = for variant in product.variants
|
||||
variant = Variants.register variant
|
||||
if product.name != variant.name_to_display
|
||||
product.variant_names += variant.name_to_display
|
||||
variant.product = product
|
||||
variant
|
||||
|
||||
@@ -203,6 +203,10 @@ text-angular {
|
||||
.ta-scroll-window > .ta-bind {
|
||||
max-height: 400px;
|
||||
min-height: 100px;
|
||||
outline: none;
|
||||
p {
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
}
|
||||
.ta-scroll-window.form-control {
|
||||
min-height: 100px;
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
|
||||
- content_for :page_title do
|
||||
= t(:account)
|
||||
|
||||
|
||||
- if @invoices.empty?
|
||||
%h4= t(:no_invoices_to_display)
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
%fieldset.no-border-bottom
|
||||
%legend
|
||||
=t :admin_settings
|
||||
= t(:admin_settings)
|
||||
= form_for @settings, as: :settings, url: main_app.admin_accounts_and_billing_settings_path, :method => :put do |f|
|
||||
.row{ ng: { app: 'admin.accounts_and_billing_settings' } }
|
||||
.twelve.columns.alpha.omega
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
%table.index
|
||||
%thead
|
||||
%tr
|
||||
%th Distributor
|
||||
%th Order Cycle
|
||||
%th Status
|
||||
%th Diff
|
||||
%th= t('.distributor')
|
||||
%th= t('.order_cycle')
|
||||
%th= t('.status')
|
||||
%th= t('.diff')
|
||||
%tbody
|
||||
- @results.each do |result|
|
||||
%tr
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
= render 'spree/admin/shared/configuration_menu'
|
||||
|
||||
- content_for :page_title do
|
||||
Content
|
||||
|
||||
= t('.title')
|
||||
|
||||
= form_tag main_app.admin_content_path, method: :put, multipart: true do
|
||||
#preferences
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
= content_for :page_title do
|
||||
=t :Enterprise_Fees
|
||||
= t('.title')
|
||||
|
||||
= ng_form_for @enterprise_fee_set, :url => main_app.bulk_update_admin_enterprise_fees_path, :html => {'ng-app' => 'admin.enterpriseFees', 'ng-controller' => 'enterpriseFeesCtrl'} do |enterprise_fee_set_form|
|
||||
= hidden_field_tag 'enterprise_id', @enterprise.id if @enterprise
|
||||
@@ -12,17 +12,17 @@
|
||||
%thead
|
||||
%tr
|
||||
%th
|
||||
=t'Enterprise'
|
||||
= t('.enterprise')
|
||||
%th
|
||||
=t'fee_type'
|
||||
= t('.fee_type')
|
||||
%th
|
||||
=t'name'
|
||||
= t('.name')
|
||||
%th
|
||||
=t'tax_category'
|
||||
= t('.tax_category')
|
||||
%th
|
||||
=t'calculator'
|
||||
= t('.calculator')
|
||||
%th
|
||||
=t'calculator_values'
|
||||
= t('.calculator_values')
|
||||
%th.actions
|
||||
%tbody
|
||||
= enterprise_fee_set_form.ng_fields_for :collection do |f|
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
- if admin_user?
|
||||
= content_for :page_actions do
|
||||
%li= button_link_to "New Enterprise Group", main_app.new_admin_enterprise_group_path
|
||||
%li= button_link_to t('.new_button'), main_app.new_admin_enterprise_group_path
|
||||
|
||||
%table.index#listing_enterprise_groups
|
||||
%thead
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
= link_to_with_icon('icon-edit', 'Edit Profile', main_app.edit_admin_enterprise_path(enterprise), class: 'edit')
|
||||
= link_to_with_icon('icon-edit', t('.edit_profile'), main_app.edit_admin_enterprise_path(enterprise), class: 'edit')
|
||||
%br/
|
||||
|
||||
- if can? :destroy, enterprise
|
||||
@@ -6,27 +6,27 @@
|
||||
%br/
|
||||
|
||||
- if enterprise.is_primary_producer
|
||||
= link_to_with_icon 'icon-dashboard', 'Properties', main_app.admin_enterprise_producer_properties_path(enterprise_id: enterprise)
|
||||
= link_to_with_icon 'icon-dashboard', t('.properties'), main_app.admin_enterprise_producer_properties_path(enterprise_id: enterprise)
|
||||
(#{enterprise.producer_properties.count})
|
||||
%br/
|
||||
|
||||
- if enterprise.is_distributor
|
||||
- if can?(:admin, Spree::PaymentMethod) && can?(:manage_payment_methods, enterprise)
|
||||
= link_to_with_icon 'icon-chevron-right', 'Payment Methods', spree.admin_payment_methods_path(enterprise_id: enterprise.id)
|
||||
= link_to_with_icon 'icon-chevron-right', t('.payment_methods'), spree.admin_payment_methods_path(enterprise_id: enterprise.id)
|
||||
(#{enterprise.payment_methods.count})
|
||||
- if enterprise.payment_methods.count == 0
|
||||
%span.icon-exclamation-sign{"ofn-with-tip" => "This enterprise has no payment methods", style: "font-size: 16px;color: #DA5354"}
|
||||
%span.icon-exclamation-sign{"ofn-with-tip" => t('.payment_methods_tip'), style: "font-size: 16px;color: #DA5354"}
|
||||
%br/
|
||||
|
||||
- if can?(:admin, Spree::ShippingMethod) && can?(:manage_shipping_methods, enterprise)
|
||||
= link_to_with_icon 'icon-plane', 'Shipping Methods', spree.admin_shipping_methods_path(enterprise_id: enterprise.id)
|
||||
= link_to_with_icon 'icon-plane', t('.shipping_methods'), spree.admin_shipping_methods_path(enterprise_id: enterprise.id)
|
||||
(#{enterprise.shipping_methods.count})
|
||||
- if enterprise.shipping_methods.count == 0
|
||||
%span.icon-exclamation-sign{"ofn-with-tip" => "This enterprise has shipping methods", style: "font-size: 16px;color: #DA5354"}
|
||||
%span.icon-exclamation-sign{"ofn-with-tip" => t('.shipping_methods_tip'), style: "font-size: 16px;color: #DA5354"}
|
||||
%br/
|
||||
|
||||
- if can?(:admin, EnterpriseFee) && can?(:manage_enterprise_fees, enterprise)
|
||||
= link_to_with_icon 'icon-money', 'Enterprise Fees', main_app.admin_enterprise_fees_path(enterprise_id: enterprise.id)
|
||||
= link_to_with_icon 'icon-money', t('.enterprise_fees'), main_app.admin_enterprise_fees_path(enterprise_id: enterprise.id)
|
||||
(#{enterprise.enterprise_fees.count})
|
||||
- if enterprise.enterprise_fees.count == 0
|
||||
%span.icon-warning-sign{"ofn-with-tip" => "This enterprise has no fees", style: "font-size: 16px;color: orange"}
|
||||
%span.icon-warning-sign{"ofn-with-tip" => t('.enterprise_fees_tip'), style: "font-size: 16px;color: orange"}
|
||||
|
||||
@@ -15,13 +15,13 @@
|
||||
%col{style: "width: 25%;"}/
|
||||
%thead
|
||||
%tr{"data-hook" => "enterprises_header"}
|
||||
%th Name
|
||||
%th Role
|
||||
%th= t('.name')
|
||||
%th= t('.role')
|
||||
- if spree_current_user.admin?
|
||||
%th Sells
|
||||
%th Visible?
|
||||
%th= t('.sells')
|
||||
%th= t('.visible')
|
||||
- if spree_current_user.admin?
|
||||
%th Owner
|
||||
%th= t('.owner')
|
||||
%th
|
||||
%tbody
|
||||
= f.fields_for :collection do |enterprise_form|
|
||||
@@ -30,7 +30,7 @@
|
||||
%td= link_to enterprise.name, main_app.edit_admin_enterprise_path(enterprise)
|
||||
%td
|
||||
= enterprise_form.check_box :is_primary_producer
|
||||
Producer
|
||||
= t('.producer')
|
||||
- if spree_current_user.admin?
|
||||
%td= enterprise_form.select :sells, Enterprise::SELLS, {}, class: 'select2 fullwidth'
|
||||
%td= enterprise_form.check_box :visible
|
||||
@@ -41,4 +41,4 @@
|
||||
- if @enterprises.empty?
|
||||
%tr
|
||||
%td{colspan: "4"}= t(:none)
|
||||
= f.submit 'Update'
|
||||
= f.submit t(:update)
|
||||
|
||||
@@ -12,36 +12,36 @@
|
||||
.basic_producer.option.one-third.column.alpha
|
||||
%a.full-width.button.selector{ ng: { click: "sells='none'", class: "{selected: sells=='none'}" } }
|
||||
.top
|
||||
%h3 Producer Profile
|
||||
%p Connect through OFN
|
||||
.bottom ALWAYS FREE
|
||||
%h3= t('.producer_profile')
|
||||
%p= t('.connect_ofn')
|
||||
.bottom= t('.always_free')
|
||||
%p.description
|
||||
Add your products to Open Food Network, allowing hubs to stock your products in their stores.
|
||||
= t('.producer_description_text')
|
||||
|
||||
.producer_shop.option.one-third.column
|
||||
%a.full-width.button.selector{ ng: { click: "sells='own'", class: "{selected: sells=='own'}" } }
|
||||
.top
|
||||
%h3 Producer Shop
|
||||
%p Sell your own produce
|
||||
%h3= t('.producer_shop')
|
||||
%p= t('.sell_your_produce')
|
||||
.bottom
|
||||
%monthly-pricing-description{ joiner: "newline" }
|
||||
|
||||
%p.description
|
||||
Sell your products directly to customers through your very own Open Food Network shopfront.
|
||||
= t('.producer_description_text')
|
||||
%br
|
||||
%br
|
||||
A Producer Shop is for your produce only, if you want to sell produce grown/produced off site, select 'Producer Hub'.
|
||||
= t('.producer_description_text2')
|
||||
|
||||
.full_hub.option.one-third.column.omega
|
||||
%a.full-width.button.selector{ ng: { click: "sells='any'", class: "{selected: sells=='any'}" } }
|
||||
.top
|
||||
%h3 Producer Hub
|
||||
%p Sell produce from self and others
|
||||
%h3= t('.producer_hub')
|
||||
%p= t('.producer_hub_text')
|
||||
.bottom
|
||||
%monthly-pricing-description{ joiner: "newline" }
|
||||
|
||||
%p.description
|
||||
Your enterprise is the backbone of your local food system. You can sell your own produce as well as produce aggregated from other enterprises through your shopfront on the Open Food Network.
|
||||
= t('.producer_hub_description_text')
|
||||
|
||||
-# %p.description
|
||||
-# Test out having your own shopfront with full access to all Shopfront features for 30 days.
|
||||
@@ -55,38 +55,38 @@
|
||||
.shop_profile.option.six.columns
|
||||
%a.full-width.button.selector{ ng: { click: "sells='none'", class: "{selected: sells=='none'}" } }
|
||||
.top
|
||||
%h3 Profile Only
|
||||
%p Get a listing
|
||||
.bottom ALWAYS FREE
|
||||
%h3= t('.profile')
|
||||
%p= t('.get_listing')
|
||||
.bottom= t('.always_free')
|
||||
%p.description
|
||||
People can find and contact you on the Open Food Network. Your enterprise will be visible on the map, and will be searchable in listings.
|
||||
= t('.profile_description_text')
|
||||
|
||||
.full_hub.option.six.columns
|
||||
%a.full-width.button.selector{ ng: { click: "sells='any'", class: "{selected: sells=='any'}" } }
|
||||
.top
|
||||
%h3 Hub Shop
|
||||
%p Sell produce from others
|
||||
%h3= t('.hub_shop')
|
||||
%p= t('.hub_shop_text')
|
||||
.bottom
|
||||
%monthly-pricing-description{ joiner: "newline" }
|
||||
%p.description
|
||||
Your enterprise is the backbone of your local food system. You aggregate produce from other enterprises and can sell it through your shop on the Open Food Network.
|
||||
= t('.hub_shop_description_text')
|
||||
.two.columns.omega
|
||||
|
||||
|
||||
.row
|
||||
.sixteen.columns.alpha
|
||||
%span.error{ ng: { show: "(change_type.sells.$error.required || change_type.sells.$error.pattern) && submitted" } }
|
||||
Please choose one of the options above.
|
||||
= t('.choose_option')
|
||||
- if @enterprise.sells == 'unspecified' && @enterprise.shop_trial_start_date.nil?
|
||||
-if free_use?
|
||||
%input.button.big{ type: 'submit', value: 'Select and continue', ng: { click: "submit(change_type)" } }
|
||||
%input.button.big{ type: 'submit', value: t(:select_continue), ng: { click: "submit(change_type)" } }
|
||||
- else
|
||||
- trial_length = Spree::Config[:shop_trial_length_days]
|
||||
%input.button.big{ type: 'submit', value: "Start #{trial_length}-Day Shop Trial", ng: { click: "submit(change_type)", show: "sells=='own' || sells=='any'" } }
|
||||
%input.button.big{ type: 'submit', value: 'Select and continue', ng: { click: "submit(change_type)", hide: "sells=='own' || sells=='any'" } }
|
||||
%input.button.big{ type: 'submit', value: t(:select_continue), ng: { click: "submit(change_type)", hide: "sells=='own' || sells=='any'" } }
|
||||
- elsif @enterprise.sells == 'unspecified'
|
||||
%input.button.big{ type: 'submit', value: 'Select and continue', ng: { click: "submit(change_type)" } }
|
||||
%input.button.big{ type: 'submit', value: t(:select_continue), ng: { click: "submit(change_type)" } }
|
||||
- else
|
||||
%input.button.big{ type: 'submit', value: 'Change now', ng: { click: "submit(change_type)" } }
|
||||
%input.button.big{ type: 'submit', value: t('.change_now'), ng: { click: "submit(change_type)" } }
|
||||
%br
|
||||
%hr
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
.row{ 'ng-hide' => '!loaded' }
|
||||
.controls{ :class => "sixteen columns alpha", :style => "margin-bottom: 15px;" }
|
||||
.four.columns.alpha
|
||||
%input{ :class => "fullwidth", :type => "text", :id => 'quick_search', 'ng-model' => 'quickSearch', :placeholder => 'Search By Name' }
|
||||
%input{ :class => "fullwidth", :type => "text", :id => 'quick_search', 'ng-model' => 'quickSearch', :placeholder => t('.search_placeholder') }
|
||||
.six.columns
|
||||
-# = render 'admin/shared/bulk_actions_dropdown'
|
||||
.three.columns
|
||||
@@ -41,7 +41,7 @@
|
||||
%i.icon-status{ ng: { class: "enterprise.status" } }
|
||||
%td.manage{ ng: { show: 'columns.manage.visible' } }
|
||||
%a.button.fullwidth{ ng: { href: '{{::enterprise.edit_path}}' } }
|
||||
Manage
|
||||
= t('.manage')
|
||||
%i.icon-arrow-right
|
||||
|
||||
%tr.panel-row{ object: "enterprise", panels: "{producer: 'enterprise_producer', package: 'enterprise_package', status: 'enterprise_status'}" }
|
||||
|
||||
@@ -1,98 +1,97 @@
|
||||
.row
|
||||
.three.columns.alpha
|
||||
= f.label :name
|
||||
= f.label :name, t('admin.enterprises.form.primary_details.name')
|
||||
%span.required *
|
||||
.nine.columns.omega
|
||||
= f.text_field :name, { placeholder: "eg. Professor Plum's Biodynamic Truffles", class: "fullwidth" }
|
||||
= f.text_field :name, { placeholder: t('admin.enterprises.form.primary_details.name_placeholder'), class: "fullwidth" }
|
||||
|
||||
- if spree_current_user.admin?
|
||||
.row
|
||||
.three.columns.alpha
|
||||
=f.label :owner_id, 'Owner'
|
||||
=f.label :owner_id, t('.owner')
|
||||
%span.required *
|
||||
%div{'ofn-with-tip' => "The primary user responsible for this enterprise."}
|
||||
%a What's this?
|
||||
%div{'ofn-with-tip' => t('.owner_tip')}
|
||||
%a= t('admin.whats_this')
|
||||
.nine.columns.omega
|
||||
- owner_email = @enterprise.andand.owner.andand.email || ""
|
||||
= f.hidden_field :owner_id, class: "select2 fullwidth", 'user-select' => 'Enterprise.owner'
|
||||
.row
|
||||
.three.columns.alpha
|
||||
%label Primary Producer?
|
||||
%div{'ofn-with-tip' => "Select 'Producer' if you are a primary producer of food."}
|
||||
%a What's this?
|
||||
%label= t('admin.enterprises.form.primary_details.primary_producer')
|
||||
%div{'ofn-with-tip' => t('admin.enterprises.form.primary_details.primary_producer_tip')}
|
||||
%a= t('admin.whats_this')
|
||||
.five.columns.omega
|
||||
= f.check_box :is_primary_producer, 'ng-model' => 'Enterprise.is_primary_producer'
|
||||
|
||||
= f.label :is_primary_producer, 'I am a Producer'
|
||||
= f.label :is_primary_producer, t('.i_am_producer')
|
||||
- if spree_current_user.admin?
|
||||
.row
|
||||
.alpha.eleven.columns
|
||||
.three.columns.alpha
|
||||
= f.label :sells, 'Sells'
|
||||
%div{'ofn-with-tip' => "None - enterprise does not sell to customers directly.<br />Own - Enterprise sells own products to customers.<br />Any - Enterprise can sell own or other enterprises products.<br />"}
|
||||
= f.label :sells, t('admin.enterprises.form.primary_details.sells')
|
||||
%div{'ofn-with-tip' => t('admin.enterprises.form.primary_details.sells_tip')}
|
||||
%a What's this?
|
||||
.two.columns
|
||||
= f.radio_button :sells, "none", 'ng-model' => 'Enterprise.sells'
|
||||
|
||||
= f.label :sells, "None", value: "none"
|
||||
= f.label :sells, t('admin.enterprises.form.primary_details.none'), value: "none"
|
||||
.two.columns
|
||||
= f.radio_button :sells, "own", 'ng-model' => 'Enterprise.sells'
|
||||
|
||||
= f.label :sells, "Own", value: "own"
|
||||
= f.label :sells, t('admin.enterprises.form.primary_details.own'), value: "own"
|
||||
.four.columns.omega
|
||||
= f.radio_button :sells, "any", 'ng-model' => 'Enterprise.sells'
|
||||
|
||||
= f.label :sells, "Any", value: "any"
|
||||
|
||||
= f.label :sells, t('admin.enterprises.form.primary_details.any'), value: "any"
|
||||
|
||||
.row
|
||||
.alpha.three.columns
|
||||
= f.label :contact, 'Contact Name'
|
||||
= f.label :contact, t('.contact_name')
|
||||
.omega.nine.columns
|
||||
= f.text_field :contact, { placeholder: "eg. Gustav Plum"}
|
||||
= f.text_field :contact, { placeholder: t('admin.enterprises.form.contact.name_placeholder')}
|
||||
.row
|
||||
.alpha.three.columns
|
||||
= f.label :email_address
|
||||
= f.label :email_address, t('admin.enterprises.form.contact.email_address')
|
||||
.omega.nine.columns
|
||||
= f.text_field :email_address, { placeholder: "eg. gustav@truffles.com", "ng-model" => "Enterprise.email_address" }
|
||||
= f.text_field :email_address, { placeholder: t('admin.enterprises.form.contact.email_address_placeholder'), "ng-model" => "Enterprise.email_address" }
|
||||
.row
|
||||
.alpha.three.columns
|
||||
= f.label :phone
|
||||
= f.label :phone, t('admin.enterprises.form.contact.phone')
|
||||
.omega.nine.columns
|
||||
= f.text_field :phone, { placeholder: "eg. 98 7654 3210"}
|
||||
= f.text_field :phone, { placeholder: t('admin.enterprises.form.contact.phone_placeholder')}
|
||||
.row
|
||||
.alpha.three.columns
|
||||
= f.label :website
|
||||
= f.label :website, t('admin.enterprises.form.contact.website')
|
||||
.omega.nine.columns
|
||||
= f.text_field :website, { placeholder: "eg. www.truffles.com"}
|
||||
= f.text_field :website, { placeholder: t('admin.enterprises.form.contact.website_placeholder')}
|
||||
|
||||
= f.fields_for :address do |af|
|
||||
.row
|
||||
.three.columns.alpha
|
||||
= af.label :address1
|
||||
= af.label :address1, t(:address)
|
||||
%span.required *
|
||||
.nine.columns.omega
|
||||
= af.text_field :address1, { placeholder: "eg. 123 High Street"}
|
||||
= af.text_field :address1, { placeholder: t(:address_placeholder)}
|
||||
.row
|
||||
.alpha.three.columns
|
||||
= af.label :address2
|
||||
= af.label :address2, t(:address2)
|
||||
.nine.columns.omega
|
||||
= af.text_field :address2
|
||||
.row
|
||||
.three.columns.alpha
|
||||
= af.label :city, 'Suburb'
|
||||
= af.label :city, t(:city)
|
||||
\/
|
||||
= af.label :zipcode, 'Postcode'
|
||||
= af.label :zipcode, t(:postcode)
|
||||
%span.required *
|
||||
.four.columns
|
||||
= af.text_field :city, { placeholder: "eg. Northcote"}
|
||||
= af.text_field :city, { placeholder: t(:city_placeholder)}
|
||||
.five.columns.omega
|
||||
= af.text_field :zipcode, { placeholder: "eg. 3070"}
|
||||
= af.text_field :zipcode, { placeholder: t(:postcode_placeholder)}
|
||||
.row
|
||||
.three.columns.alpha
|
||||
= af.label :state_id, 'State'
|
||||
= af.label :state_id, t(:state)
|
||||
\/
|
||||
= af.label :country_id, 'Country'
|
||||
= af.label :country_id, t(:country)
|
||||
.four.columns
|
||||
= af.collection_select :state_id, af.object.country.states, :id, :name, {}, :class => "select2 fullwidth"
|
||||
.five.columns.omega
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
} do |f|
|
||||
|
||||
%save-bar{ dirty: "enterprise_form.$dirty", persist: "true" }
|
||||
%input.red{ type: "button", value: "Update", ng: { click: "submit()", disabled: "!enterprise_form.$dirty" } }
|
||||
%input{ type: "button", ng: { value: "enterprise_form.$dirty ? 'Cancel' : 'Close'", click: "cancel('#{main_app.admin_enterprises_path}')" } }
|
||||
%input.red{ type: "button", value: t(:update), ng: { click: "submit()", disabled: "!enterprise_form.$dirty" } }
|
||||
%input{ type: "button", ng: { value: "enterprise_form.$dirty ? '#{t(:cancel)}' : '#{t(:close)}'", click: "cancel('#{main_app.admin_enterprises_path}')" } }
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,12 +1,11 @@
|
||||
= render :partial => 'spree/shared/error_messages', :locals => { :target => @enterprise }
|
||||
= render partial: 'spree/shared/error_messages', locals: { target: @enterprise }
|
||||
|
||||
- content_for :page_title do
|
||||
Editing:
|
||||
= t('.editing')
|
||||
= @enterprise.name
|
||||
|
||||
- content_for :page_actions do
|
||||
%li= button_link_to "Back to enterprises list", main_app.admin_enterprises_path, icon: 'icon-arrow-left'
|
||||
|
||||
%li= button_link_to t('.back_link'), main_app.admin_enterprises_path, icon: 'icon-arrow-left'
|
||||
|
||||
= render 'admin/enterprises/form_data'
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
.row
|
||||
.alpha.three.columns
|
||||
= f.label :description, 'Short Description'
|
||||
= f.label :description, t('.desc_short')
|
||||
.omega.eight.columns
|
||||
= f.text_field :description, maxlength: 255, placeholder: 'Tell us about your enterprise in one or two sentences'
|
||||
= f.text_field :description, maxlength: 255, placeholder: t('.desc_short_placeholder')
|
||||
.row
|
||||
.alpha.three.columns
|
||||
= f.label :long_description, 'About Us'
|
||||
= f.label :long_description, t('.desc_long')
|
||||
.omega.eight.columns
|
||||
-# textAngular toolbar options, add to the ta-toolbar array below and separate into groups with extra ],[ if needed:
|
||||
-# ['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'p', 'pre', 'quote'],
|
||||
@@ -14,4 +14,4 @@
|
||||
-# ['html', 'insertImage', 'insertLink', 'insertVideo']
|
||||
%text-angular{'ng-model' => 'Enterprise.long_description', 'id' => 'enterprise_long_description', 'name' => 'enterprise[long_description]', 'class' => 'text-angular',
|
||||
'ta-toolbar' => "[['h1','h2','h3','h4','p'],['bold','italics','underline','clear'],['insertLink']]",
|
||||
'placeholder' => 'Tell customers about yourself. This information appears on your public profile.'}
|
||||
'placeholder' => t('.desc_long_placeholder')}
|
||||
@@ -1,34 +1,35 @@
|
||||
-# redo denoting required fields in the whole project
|
||||
.row
|
||||
Required fields are denoted with an asterisk (
|
||||
= t(:required_fields)
|
||||
(
|
||||
%span.required *
|
||||
)
|
||||
.row
|
||||
.three.columns.alpha
|
||||
= af.label :address1
|
||||
= af.label :address1, t(:address)
|
||||
%span.required *
|
||||
.eight.columns.omega
|
||||
= af.text_field :address1, { placeholder: "eg. 123 High Street"}
|
||||
= af.text_field :address1, { placeholder: t(:address_placeholder) }
|
||||
.row
|
||||
.alpha.three.columns
|
||||
= af.label :address2
|
||||
= af.label :address2, t(:address2)
|
||||
.eight.columns.omega
|
||||
= af.text_field :address2
|
||||
.row
|
||||
.three.columns.alpha
|
||||
= af.label :city, 'Suburb'
|
||||
= af.label :city, t(:city)
|
||||
\/
|
||||
= af.label :zipcode, 'Postcode'
|
||||
= af.label :zipcode, t(:postcode)
|
||||
%span.required *
|
||||
.four.columns
|
||||
= af.text_field :city, { placeholder: "eg. Northcote"}
|
||||
= af.text_field :city, { placeholder: t(:city_placeholder) }
|
||||
.four.columns.omega
|
||||
= af.text_field :zipcode, { placeholder: "eg. 3070"}
|
||||
= af.text_field :zipcode, { placeholder: t(:postcode_placeholder) }
|
||||
.row
|
||||
.three.columns.alpha
|
||||
= af.label :state_id, 'State'
|
||||
= af.label :state_id, t(:state)
|
||||
\/
|
||||
= af.label :country_id, 'Country'
|
||||
= af.label :country_id, t(:country)
|
||||
%span.required *
|
||||
.four.columns
|
||||
= af.collection_select :state_id, af.object.country.states, :id, :name, {}, :class => "select2 fullwidth"
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
.row
|
||||
.alpha.three.columns
|
||||
= f.label :abn, 'ABN'
|
||||
= f.label :abn, t('.abn')
|
||||
.omega.eight.columns
|
||||
= f.text_field :abn, { placeholder: "eg. 99 123 456 789"}
|
||||
= f.text_field :abn, { placeholder: t('.abn_placeholder') }
|
||||
|
||||
.row
|
||||
.alpha.three.columns
|
||||
= f.label :acn, 'ACN'
|
||||
= f.label :acn, t('.acn')
|
||||
.omega.eight.columns
|
||||
= f.text_field :acn, { placeholder: "eg. 123 456 789"}
|
||||
= f.text_field :acn, { placeholder: t('.acn_placeholder') }
|
||||
|
||||
.row
|
||||
.three.columns.alpha
|
||||
@@ -16,8 +16,8 @@
|
||||
.two.columns
|
||||
= f.radio_button :charges_sales_tax, true
|
||||
|
||||
= f.label :charges_sales_tax, "Yes", :value => "true"
|
||||
= f.label :charges_sales_tax, t(:say_yes), value: 'true'
|
||||
.five.columns.omega
|
||||
= f.radio_button :charges_sales_tax, false
|
||||
|
||||
= f.label :charges_sales_tax, "No", :value => "false"
|
||||
= f.label :charges_sales_tax, t(:say_no), value: 'false'
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
.row
|
||||
.alpha.three.columns
|
||||
= f.label :contact, 'Name'
|
||||
= f.label :contact, t('.name')
|
||||
.omega.eight.columns
|
||||
= f.text_field :contact, { placeholder: "eg. Gustav Plum"}
|
||||
= f.text_field :contact, { placeholder: t('.name_placeholder') }
|
||||
.row
|
||||
.alpha.three.columns
|
||||
= f.label :email_address
|
||||
= f.label :email_address, t('.email_address')
|
||||
.omega.eight.columns
|
||||
= f.text_field :email_address, { placeholder: "eg. gustav@truffles.com" }
|
||||
= f.text_field :email_address, { placeholder: t('.email_address_placeholder') }
|
||||
.row
|
||||
.alpha.three.columns
|
||||
= f.label :phone
|
||||
= f.label :phone, t('.phone')
|
||||
.omega.eight.columns
|
||||
= f.text_field :phone, { placeholder: "eg. 98 7654 3210"}
|
||||
= f.text_field :phone, { placeholder: t('.phone_placeholder') }
|
||||
.row
|
||||
.alpha.three.columns
|
||||
= f.label :website
|
||||
= f.label :website, t('.website')
|
||||
.omega.eight.columns
|
||||
= f.text_field :website, { placeholder: "eg. www.truffles.com"}
|
||||
= f.text_field :website, { placeholder: t('.website_placeholder') }
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
%table
|
||||
%thead
|
||||
%tr
|
||||
%th Name
|
||||
%th Fee Type
|
||||
%th= t('.name')
|
||||
%th= t('.fee_type')
|
||||
-# %th Calculator
|
||||
-# %th Calculator Values
|
||||
%tbody
|
||||
@@ -16,15 +16,15 @@
|
||||
%br
|
||||
%div
|
||||
%a.button{ href: "#{main_app.admin_enterprise_fees_path}"}
|
||||
Manage Enterprise Fees
|
||||
= t('.manage_fees')
|
||||
%i.icon-arrow-right
|
||||
|
||||
- else
|
||||
%p.text-center
|
||||
You don't have any enterprise fees yet.
|
||||
= t('.no_fees_yet')
|
||||
|
||||
%br
|
||||
.text-center
|
||||
%a.button{ href: "#{main_app.admin_enterprise_fees_path}"}
|
||||
Create One Now
|
||||
= t('.create_button')
|
||||
%i.icon-arrow-right
|
||||
|
||||
@@ -8,11 +8,13 @@
|
||||
= f.file_field :logo
|
||||
.row
|
||||
.alpha.three.columns
|
||||
= f.label :promo_image, 'ofn-with-tip' => 'This image is displayed in "About Us"'
|
||||
= f.label :promo_image, 'ofn-with-tip' => t('.promo_image_placeholder')
|
||||
%br/
|
||||
%span{ style: 'font-weight:bold' } PLEASE NOTE:
|
||||
Any promo image uploaded here will be cropped to 1200 x 260.
|
||||
The promo image is displayed at the top of an enterprise's profile page and pop-ups.
|
||||
%span{ style: 'font-weight:bold' }= t('.promo_image_note1')
|
||||
%br
|
||||
= t('.promo_image_note2')
|
||||
%br
|
||||
= t('.promo_image_note3')
|
||||
|
||||
.omega.eight.columns
|
||||
= image_tag @object.promo_image(:large) if @object.promo_image.present?
|
||||
|
||||
@@ -3,16 +3,17 @@
|
||||
-# their inventory if they so choose
|
||||
.row
|
||||
.alpha.eleven.columns
|
||||
You may opt to manage stock levels and prices in via your
|
||||
= t('.text1')
|
||||
= succeed "." do
|
||||
%strong
|
||||
%a{href: main_app.admin_inventory_path } inventory
|
||||
If you are using the inventory tool, you can select whether new products added by your suppliers need to be added to your inventory before they can be stocked. If you are not using your inventory to manage your products you should select the 'recommended' option below:
|
||||
%a{href: main_app.admin_inventory_path }= t('.inventory')
|
||||
%br
|
||||
= t('.text2')
|
||||
.row
|
||||
.alpha.eleven.columns
|
||||
.five.columns.alpha
|
||||
= radio_button :enterprise, :preferred_product_selection_from_inventory_only, "0", { 'ng-model' => 'Enterprise.preferred_product_selection_from_inventory_only' }
|
||||
= label :enterprise, :preferred_product_selection_from_inventory_only, "New products can be put into my shopfront (recommended)"
|
||||
= label :enterprise, :preferred_product_selection_from_inventory_only, t('.preferred_product_selection_from_inventory_only_yes')
|
||||
.six.columns.omega
|
||||
= radio_button :enterprise, :preferred_product_selection_from_inventory_only, "1", { 'ng-model' => 'Enterprise.preferred_product_selection_from_inventory_only' }
|
||||
= label :enterprise, :preferred_product_selection_from_inventory_only, "New products must be added to my inventory before they can be put into my shopfront"
|
||||
= label :enterprise, :preferred_product_selection_from_inventory_only, t('.preferred_product_selection_from_inventory_only_no')
|
||||
|
||||
@@ -2,32 +2,32 @@
|
||||
%table
|
||||
%thead
|
||||
%tr
|
||||
%th Name
|
||||
%th Applies?
|
||||
%th= t('.name')
|
||||
%th= t('.applies')
|
||||
%th
|
||||
%tbody
|
||||
- @payment_methods.each do |payment_method|
|
||||
%tr{ ng: { controller: 'paymentMethodsCtrl', init: "findPaymentMethodByID(#{payment_method.id})" } }
|
||||
%td= payment_method.name
|
||||
%td= f.check_box :payment_method_ids, { multiple: true, 'ng-model' => 'PaymentMethod.selected' }, payment_method.id, nil
|
||||
%td= link_to "Edit", edit_admin_payment_method_path(payment_method)
|
||||
%td= link_to t(:edit), edit_admin_payment_method_path(payment_method)
|
||||
%br
|
||||
.row
|
||||
.six.columns.alpha
|
||||
%a.button{ href: "#{admin_payment_methods_path}"}
|
||||
Manage Payment Methods
|
||||
= t('.manage')
|
||||
%i.icon-arrow-right
|
||||
.five.columns.omega.text-right
|
||||
%a.button{ href: "#{new_admin_payment_method_path}"}
|
||||
Create New Payment Method
|
||||
= t('.create_button')
|
||||
%i.icon-plus
|
||||
|
||||
- else
|
||||
%p.text-center
|
||||
You don't have any payment methods yet.
|
||||
= t('.no_method_yet')
|
||||
|
||||
%br
|
||||
.text-center
|
||||
%a.button{ href: "#{new_admin_payment_method_path}"}
|
||||
Create One Now
|
||||
= t('.create_one_button')
|
||||
%i.icon-arrow-right
|
||||
|
||||
@@ -1,61 +1,61 @@
|
||||
.row
|
||||
.alpha.eleven.columns
|
||||
.three.columns.alpha
|
||||
= f.label :name
|
||||
= f.label :name, t('.name')
|
||||
%span.required *
|
||||
.eight.columns.omega
|
||||
= f.text_field :name, { placeholder: "eg. Professor Plum's Biodynamic Truffles" }
|
||||
= f.text_field :name, { placeholder: t('.name_placeholder') }
|
||||
- if @groups.present?
|
||||
.row
|
||||
.alpha.eleven.columns
|
||||
.three.columns.alpha
|
||||
= f.label :group_ids, 'Groups'
|
||||
%div{'ofn-with-tip' => "Select any groups or regions that you are a member of. This will help customers find your enterprise."}
|
||||
%a What's this?
|
||||
= f.label :group_ids, t('.groups')
|
||||
%div{'ofn-with-tip' => t('.groups_tip')}
|
||||
%a= t('admin.whats_this')
|
||||
.eight.columns.omega
|
||||
= f.collection_select :group_ids, @groups, :id, :name, {}, class: "select2 fullwidth", multiple: true, placeholder: "Start typing to search available groups..."
|
||||
= f.collection_select :group_ids, @groups, :id, :name, {}, class: "select2 fullwidth", multiple: true, placeholder: t('.groups_placeholder')
|
||||
|
||||
.row
|
||||
.three.columns.alpha
|
||||
%label Primary Producer
|
||||
%div{'ofn-with-tip' => "Select 'Producer' if you are a primary producer of food."}
|
||||
%a What's this?
|
||||
%label= t('.primary_producer')
|
||||
%div{'ofn-with-tip' => t('.primary_producer_tip')}
|
||||
%a= t('admin.whats_this')
|
||||
.five.columns.omega
|
||||
= f.check_box :is_primary_producer, 'ng-model' => 'Enterprise.is_primary_producer'
|
||||
= f.label :is_primary_producer, 'Producer'
|
||||
= f.label :is_primary_producer, t('.producer')
|
||||
- if spree_current_user.admin?
|
||||
.row
|
||||
.alpha.eleven.columns
|
||||
.three.columns.alpha
|
||||
= f.label :sells, 'Sells'
|
||||
%div{'ofn-with-tip' => "None - enterprise does not sell to customers directly.<br />Own - Enterprise sells own products to customers.<br />Any - Enterprise can sell own or other enterprises products.<br />"}
|
||||
%a What's this?
|
||||
= f.label :sells, t('.sells')
|
||||
%div{'ofn-with-tip' => t('.sells_tip')}
|
||||
%a= t('admin.whats_this')
|
||||
.two.columns
|
||||
= f.radio_button :sells, "none", 'ng-model' => 'Enterprise.sells'
|
||||
= f.label :sells, "None", value: "none"
|
||||
= f.label :sells, t('.none'), value: "none"
|
||||
.two.columns
|
||||
= f.radio_button :sells, "own", 'ng-model' => 'Enterprise.sells'
|
||||
= f.label :sells, "Own", value: "own"
|
||||
= f.label :sells, t('.own'), value: "own"
|
||||
.four.columns.omega
|
||||
= f.radio_button :sells, "any", 'ng-model' => 'Enterprise.sells'
|
||||
= f.label :sells, "Any", value: "any"
|
||||
= f.label :sells, t('.any'), value: "any"
|
||||
.row
|
||||
.three.columns.alpha
|
||||
%label Visible in search?
|
||||
%div{'ofn-with-tip' => "Determines whether this enterprise will be visible to customers when searching the site."}
|
||||
%a What's this?
|
||||
%label= t('.visible_in_search')
|
||||
%div{'ofn-with-tip' => t('.visible_in_search_tip')}
|
||||
%a= t('admin.whats_this')
|
||||
.two.columns
|
||||
= f.radio_button :visible, true
|
||||
= f.label :visible, "Visible", :value => "true"
|
||||
= f.label :visible, t('.visible'), value: 'true'
|
||||
.five.columns.omega
|
||||
= f.radio_button :visible, false
|
||||
= f.label :visible, "Not Visible", :value => "false"
|
||||
= f.label :visible, t('.not_visible'), value: 'false'
|
||||
.permalink{ ng: { controller: "permalinkCtrl" } }
|
||||
.row{ ng: { show: "Enterprise.sells == 'own' || Enterprise.sells == 'any'" } }
|
||||
.three.columns.alpha
|
||||
= f.label :permalink, 'Permalink (no spaces)'
|
||||
%div{'ofn-with-tip' => "This permalink is used to create the url to your shop: #{spree.root_url}your-shop-name/shop"}
|
||||
%a What's this?
|
||||
= f.label :permalink, t('.permalink')
|
||||
%div{'ofn-with-tip' => t('.permalink_tip', link: spree.root_url)}
|
||||
%a= t('admin.whats_this')
|
||||
.six.columns
|
||||
= f.text_field :permalink, { 'ng-model' => "Enterprise.permalink", placeholder: "eg. your-shop-name", 'ng-model-options' => "{ updateOn: 'default blur', debounce: {'default': 300, 'blur': 0} }" }
|
||||
.two.columns.omega
|
||||
@@ -65,9 +65,9 @@
|
||||
%i{ ng: { class: "{'icon-ok-sign': availability == 'Available', 'icon-remove-sign': availability == 'Unavailable'}" } }
|
||||
.row{ ng: { show: "Enterprise.sells == 'own' || Enterprise.sells == 'any'" } }
|
||||
.three.columns.alpha
|
||||
%label Link to shop front
|
||||
%div{'ofn-with-tip' => "A direct link to your shopfront on the Open Food Network."}
|
||||
%a What's this?
|
||||
%label= t('.link_to_front')
|
||||
%div{'ofn-with-tip' => t('.link_to_front_tip')}
|
||||
%a= t('admin.whats_this')
|
||||
.eight.columns.omega
|
||||
= surround spree.root_url, "/shop" do
|
||||
{{Enterprise.permalink}}
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
%table
|
||||
%thead
|
||||
%tr
|
||||
%th Name
|
||||
%th Applies?
|
||||
%th= t('.name')
|
||||
%th= t('.applies')
|
||||
%th
|
||||
%tbody
|
||||
- @shipping_methods.each do |shipping_method|
|
||||
@@ -15,19 +15,19 @@
|
||||
.row
|
||||
.six.columns.alpha
|
||||
%a.button{ href: "#{admin_shipping_methods_path}"}
|
||||
Manage Shipping Methods
|
||||
= t('.manage')
|
||||
%i.icon-arrow-right
|
||||
.five.columns.omega.text-right
|
||||
%a.button{ href: "#{new_admin_shipping_method_path}"}
|
||||
Create New Shipping Method
|
||||
= t('.create_button')
|
||||
%i.icon-plus
|
||||
|
||||
- else
|
||||
%p.text-center
|
||||
You don't have any shipping methods yet.
|
||||
= t('.no_method_yet')
|
||||
|
||||
%br
|
||||
.text-center
|
||||
%a.button{ href: "#{new_admin_shipping_method_path}"}
|
||||
Create One Now
|
||||
= t('.create_one_button')
|
||||
%i.icon-arrow-right
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
.eight.columns.omega
|
||||
%text-angular{'ng-model' => 'Enterprise.preferred_shopfront_message', 'id' => 'enterprise_preferred_shopfront_message', 'name' => 'enterprise[preferred_shopfront_message]', 'class' => 'text-angular',
|
||||
'ta-toolbar' => "[['h1','h2','h3','h4','p'],['bold','italics','underline','clear'],['insertLink']]",
|
||||
'placeholder' => 'An optional explanation for customers detailing how your shopfront works, to be displayed above the product list on your shop page.'}
|
||||
'placeholder' => t('.shopfront_message_placeholder')}
|
||||
.row
|
||||
.alpha.eleven.columns
|
||||
.three.columns.alpha
|
||||
@@ -13,7 +13,7 @@
|
||||
.eight.columns.omega
|
||||
%text-angular{'ng-model' => 'Enterprise.preferred_shopfront_closed_message', 'id' => 'enterprise_preferred_shopfront_closed_message', 'name' => 'enterprise[preferred_shopfront_closed_message]', 'class' => 'text-angular',
|
||||
'ta-toolbar' => "[['h1','h2','h3','h4','p'],['bold','italics','underline','clear'],['insertLink']]",
|
||||
'placeholder' => 'A message which provides a more detailed explanation about why your shop is closed and/or when customers can expect it to open again. This is displayed on your shop only when you have no active order cycles (ie. shop is closed).'}
|
||||
'placeholder' => t('.shopfront_closed_message_placeholder')}
|
||||
.row
|
||||
.alpha.eleven.columns
|
||||
.three.columns.alpha
|
||||
@@ -29,10 +29,10 @@
|
||||
= f.label "enterprise_preferred_shopfront_order_cycle_order", t(:sort_order_cycles_on_shopfront_by)
|
||||
.three.columns
|
||||
= radio_button :enterprise, :preferred_shopfront_order_cycle_order, :orders_open_at, { 'ng-model' => 'Enterprise.preferred_shopfront_order_cycle_order' }
|
||||
= label :enterprise, :preferred_shopfront_order_cycle_order_orders_open_at, "Open Date"
|
||||
= label :enterprise, :preferred_shopfront_order_cycle_order_orders_open_at, t('.open_date')
|
||||
.five.columns.omega
|
||||
= radio_button :enterprise, :preferred_shopfront_order_cycle_order, :orders_close_at, { 'ng-model' => 'Enterprise.preferred_shopfront_order_cycle_order' }
|
||||
= label :enterprise, :preferred_shopfront_order_cycle_order_orders_close_at, "Close Date"
|
||||
= label :enterprise, :preferred_shopfront_order_cycle_order_orders_close_at, t('.close_date')
|
||||
.row
|
||||
.alpha.eleven.columns
|
||||
.three.columns.alpha
|
||||
|
||||
@@ -17,4 +17,4 @@
|
||||
.alpha.three.columns
|
||||
= f.label :twitter
|
||||
.omega.eight.columns
|
||||
= f.text_field :twitter, { placeholder: "eg. @the_prof" }
|
||||
= f.text_field :twitter, { placeholder: t('.twitter_placeholder') }
|
||||
@@ -2,7 +2,7 @@
|
||||
.eleven.columns.alpha.omega
|
||||
%ofn-sortable{ axis: "y", handle: ".header", items: '.customer_tag', position: "tagGroup.position", after: { sort: "updateRuleCounts()" } }
|
||||
.no_tags{ ng: { show: "tagGroups.length == 0" } }
|
||||
No tags apply to this enterprise yet
|
||||
= t('.no_tags_yet')
|
||||
= render 'admin/enterprises/form/tag_rules/default_rules'
|
||||
-# = render 'customer_tags'
|
||||
.customer_tag{ id: "tg_{{tagGroup.position}}", ng: { repeat: "tagGroup in tagGroups" } }
|
||||
@@ -14,14 +14,14 @@
|
||||
%tr
|
||||
%td
|
||||
%h5
|
||||
For customers tagged:
|
||||
= t('.for_customers_tagged')
|
||||
%td
|
||||
%tags-with-translation{ object: "tagGroup", max: 1, on: { tag: { added: "updateTagsRulesFor(tagGroup)", removed: "updateTagsRulesFor(tagGroup)" } } }
|
||||
|
||||
.no_rules{ ng: { show: "tagGroup.rules.length == 0" } }
|
||||
No rules apply to this tag yet
|
||||
= t('.no_rules_yet')
|
||||
.tag_rule{ ng: { repeat: "rule in tagGroup.rules" } }
|
||||
.add_rule.text-center
|
||||
%input.button.icon-plus{ type: 'button', value: "+ Add A New Rule", "add-new-rule-to" => "addNewRuleTo", "tag-group" => "tagGroup", "new-tag-rule-dialog" => true }
|
||||
%input.button.icon-plus{ type: 'button', value: t('.add_new_rule'), "add-new-rule-to" => "addNewRuleTo", "tag-group" => "tagGroup", "new-tag-rule-dialog" => true }
|
||||
.add_tag
|
||||
%input.button.red.icon-plus{ type: 'button', value: "+ Add A New Tag", ng: { click: 'addNewTag()' } }
|
||||
%input.button.red.icon-plus{ type: 'button', value: t('.add_new_tag'), ng: { click: 'addNewTag()' } }
|
||||
|
||||
@@ -4,19 +4,18 @@
|
||||
-if @enterprise.pending_any_confirmation?
|
||||
.alert-box
|
||||
- email = @enterprise.confirmed? ? @enterprise.unconfirmed_email : @enterprise.email
|
||||
Email confirmation is pending.
|
||||
We've sent a confirmation email to
|
||||
= t('.email_confirmation_text')
|
||||
%strong= "#{email}."
|
||||
= link_to('Resend', main_app.enterprise_confirmation_path(enterprise: { id: @enterprise.id, email: email } ), method: :post)
|
||||
= link_to(t('.resend'), main_app.enterprise_confirmation_path(enterprise: { id: @enterprise.id, email: email } ), method: :post)
|
||||
%a.close{ href: "#" } ×
|
||||
|
||||
.row
|
||||
.three.columns.alpha
|
||||
=f.label :owner_id, 'Owner'
|
||||
=f.label :owner_id, t('.owner')
|
||||
- if full_permissions
|
||||
%span.required *
|
||||
%div{'ofn-with-tip' => "The primary user responsible for this enterprise."}
|
||||
%a What's this?
|
||||
%div{'ofn-with-tip' => t('.owner_tip')}
|
||||
%a= t('admin.whats_this')
|
||||
.eight.columns.omega
|
||||
- if full_permissions
|
||||
= f.hidden_field :owner_id, class: "select2 fullwidth", 'user-select' => 'Enterprise.owner'
|
||||
@@ -25,29 +24,29 @@
|
||||
|
||||
.row
|
||||
.three.columns.alpha
|
||||
= f.label :email, 'Notifications'
|
||||
= f.label :email, t('.notifications')
|
||||
- if full_permissions
|
||||
%span.required *
|
||||
.with-tip{'data-powertip' => "Notifications about orders will be send to this email address."}
|
||||
%a What's this?
|
||||
.with-tip{'data-powertip' => t('.notifications_tip')}
|
||||
%a= t('admin.whats_this')
|
||||
.eight.columns.omega
|
||||
- if full_permissions
|
||||
= f.text_field :email, { placeholder: "eg. gustav@truffles.com", "ng-model" => "Enterprise.email" }
|
||||
= f.text_field :email, { placeholder: t('.notifications_placeholder'), "ng-model" => "Enterprise.email" }
|
||||
- else
|
||||
= @enterprise.email
|
||||
.row{ ng: { hide: "pristineEmail == null || pristineEmail == Enterprise.email"} }
|
||||
.alpha.three.columns
|
||||
|
||||
.omega.eight.columns
|
||||
Note: A new email address may need to be confirmed prior to use
|
||||
= t('.notifications_note')
|
||||
|
||||
.row
|
||||
.three.columns.alpha
|
||||
=f.label :user_ids, 'Managers'
|
||||
=f.label :user_ids, t('.managers')
|
||||
- if full_permissions
|
||||
%span.required *
|
||||
%div{'ofn-with-tip' => "The other users with permission to manage this enterprise."}
|
||||
%a What's this?
|
||||
%div{'ofn-with-tip' => t('.managers_tip')}
|
||||
%a= t('admin.whats_this')
|
||||
.eight.columns.omega
|
||||
- if full_permissions
|
||||
%table
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
%tr
|
||||
%td
|
||||
%h5
|
||||
By Default
|
||||
= t('.by_default')
|
||||
%i.text-big.icon-question-sign.help-modal{ template: 'admin/modals/tag_rule_help.html' }
|
||||
.no_rules{ ng: { show: "defaultTagGroup.rules.length == 0" } }
|
||||
No default rules apply yet
|
||||
= t('.no_rules_yet')
|
||||
.tag_rule{ ng: { repeat: "rule in defaultTagGroup.rules" } }
|
||||
.add_rule.text-center
|
||||
%input.button.icon-plus{ type: 'button', value: "+ Add A New Default Rule", "add-new-rule-to" => "addNewRuleTo", "tag-group" => "defaultTagGroup", "new-tag-rule-dialog" => true }
|
||||
%input.button.icon-plus{ type: 'button', value: t('.add_new_button'), "add-new-rule-to" => "addNewRuleTo", "tag-group" => "defaultTagGroup", "new-tag-rule-dialog" => true }
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
- content_for :page_title do
|
||||
Enterprises
|
||||
= t('.title')
|
||||
|
||||
- content_for :page_actions do
|
||||
= render 'admin/shared/user_guide_link'
|
||||
|
||||
- if spree_current_user.can_own_more_enterprises?
|
||||
%li#new_product_link
|
||||
= button_link_to "New Enterprise", main_app.new_admin_enterprise_path, :icon => 'icon-plus', :id => 'admin_new_enterprise_link'
|
||||
= button_link_to t('.new_enterprise'), main_app.new_admin_enterprise_path, icon: 'icon-plus', id: 'admin_new_enterprise_link'
|
||||
|
||||
= admin_inject_monthly_bill_description
|
||||
= admin_inject_column_preferences module: 'admin.enterprises', action: "enterprises_index"
|
||||
|
||||
= render 'admin/shared/enterprises_sub_menu'
|
||||
|
||||
= render :partial => 'spree/shared/error_messages', :locals => { :target => @enterprise_set }
|
||||
= render partial: 'spree/shared/error_messages', locals: { target: @enterprise_set }
|
||||
|
||||
- if spree_current_user.admin?
|
||||
= render 'admin_index'
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
= render :partial => 'spree/shared/error_messages', :locals => { :target => @enterprise }
|
||||
= render partial: 'spree/shared/error_messages', locals: { target: @enterprise }
|
||||
|
||||
- content_for :page_title do
|
||||
New Enterprise
|
||||
= t('.title')
|
||||
|
||||
- content_for :page_actions do
|
||||
%li= button_link_to "Back to enterprises list", main_app.admin_enterprises_path, icon: 'icon-arrow-left'
|
||||
%li= button_link_to t('.back_link'), main_app.admin_enterprises_path, icon: 'icon-arrow-left'
|
||||
|
||||
|
||||
-# Form
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
#welcome_page.sixteen.columns.alpha
|
||||
%header
|
||||
%h1 Welcome to the Open Food Network!
|
||||
%h1= t('.welcome_title')
|
||||
%p
|
||||
You have successfully created a
|
||||
= t('.welcome_text')
|
||||
%strong
|
||||
= "#{"producer " if @enterprise.is_primary_producer}profile"
|
||||
|
||||
%section
|
||||
%h2 Next step
|
||||
%p Choose your starting point:
|
||||
%h2= t('.next_step')
|
||||
%p= t('.choose_starting_point')
|
||||
|
||||
= render partial: "change_type_form"
|
||||
|
||||
@@ -1,22 +1,22 @@
|
||||
.row
|
||||
.alpha.omega.sixteen.columns
|
||||
%h3 Advanced Settings
|
||||
%h3= t('.title')
|
||||
|
||||
= form_for [main_app, :admin, @order_cycle] do |f|
|
||||
.row
|
||||
.six.columns.alpha
|
||||
= f.label "enterprise_preferred_product_selection_from_coordinator_inventory_only", t('admin.order_cycles.edit.choose_products_from')
|
||||
.with-tip{'data-powertip' => "You can opt to restrict all available products (both incoming and outgoing), to only those in #{@order_cycle.coordinator.name}'s inventory."}
|
||||
%a What's this?
|
||||
.with-tip{'data-powertip' => t('.choose_product_tip', inventory: @order_cycle.coordinator.name)}
|
||||
%a= t('admin.whats_this')
|
||||
.four.columns
|
||||
= f.radio_button :preferred_product_selection_from_coordinator_inventory_only, true
|
||||
= f.label :preferred_product_selection_from_coordinator_inventory_only, "Coordinator's Inventory Only"
|
||||
= f.label :preferred_product_selection_from_coordinator_inventory_only, t('.preferred_product_selection_from_coordinator_inventory_only_here')
|
||||
.six.columns.omega
|
||||
= f.radio_button :preferred_product_selection_from_coordinator_inventory_only, false
|
||||
= f.label :preferred_product_selection_from_coordinator_inventory_only, "All Available Products"
|
||||
= f.label :preferred_product_selection_from_coordinator_inventory_only, t('.preferred_product_selection_from_coordinator_inventory_only_all')
|
||||
|
||||
.row
|
||||
.sixteen.columns.alpha.omega.text-center
|
||||
%input{ type: 'submit', value: 'Save and Reload Page' }
|
||||
or
|
||||
%a{ href: "#", onClick: "toggleSettings()" } Close
|
||||
%input{ type: 'submit', value: t('.save_reload') }
|
||||
= t(:or)
|
||||
%a{ href: "#", onClick: "toggleSettings()" }= t(:close)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%ol.coordinator-fees
|
||||
%li{'ng-repeat' => 'enterprise_fee in order_cycle.coordinator_fees'}
|
||||
= select_tag 'order_cycle_coordinator_fee_{{ $index }}_id', nil, {'ng-model' => 'enterprise_fee.id', 'ng-options' => 'enterprise_fee.id as enterprise_fee.name for enterprise_fee in enterpriseFeesForEnterprise(order_cycle.coordinator_id)'}
|
||||
= link_to 'Remove', '#', {'id' => 'order_cycle_coordinator_fee_{{ $index }}_remove', 'ng-click' => 'removeCoordinatorFee($event, $index)'}
|
||||
= link_to t(:remove), '#', {'id' => 'order_cycle_coordinator_fee_{{ $index }}_remove', 'ng-click' => 'removeCoordinatorFee($event, $index)'}
|
||||
|
||||
= f.submit 'Add coordinator fee', 'ng-click' => 'addCoordinatorFee($event)'
|
||||
= f.submit t('.add'), 'ng-click' => 'addCoordinatorFee($event)'
|
||||
|
||||
@@ -3,55 +3,54 @@
|
||||
-if Enterprise.managed_by(spree_current_user).include? @order_cycle.coordinator
|
||||
= render 'coordinator_fees', f: f
|
||||
|
||||
%h2 Incoming
|
||||
%h2= t('.incoming')
|
||||
%table.exchanges
|
||||
%thead
|
||||
%tr
|
||||
%th Supplier
|
||||
%th= t('.supplier')
|
||||
%th
|
||||
Products
|
||||
=t('.products')
|
||||
= surround '(', ')' do
|
||||
%a{href: '#', 'ng-click' => "OrderCycle.toggleAllProducts('incoming')"}
|
||||
%span{'ng-show' => "OrderCycle.showProducts['incoming']"} Collapse all
|
||||
%span{'ng-hide' => "OrderCycle.showProducts['incoming']"} Expand all
|
||||
%th Receival details
|
||||
%th Fees
|
||||
%span{'ng-show' => "OrderCycle.showProducts['incoming']"}= t(:collapse_all)
|
||||
%span{'ng-hide' => "OrderCycle.showProducts['incoming']"}= t(:expand_all)
|
||||
%th= t('.receival_details')
|
||||
%th= t('.fees')
|
||||
%th.actions
|
||||
%tbody.panel-ctrl{ object: 'exchange', 'ng-repeat' => 'exchange in order_cycle.incoming_exchanges'}
|
||||
= render 'exchange_form', :f => f, :type => 'supplier'
|
||||
= render 'exchange_form', f: f, type: 'supplier'
|
||||
|
||||
- if Enterprise.managed_by(spree_current_user).include? @order_cycle.coordinator
|
||||
= render 'add_exchange_form', f: f, type: 'supplier'
|
||||
|
||||
%h2 Outgoing
|
||||
%h2= t('.outgoing')
|
||||
%table.exchanges
|
||||
%thead
|
||||
%tr
|
||||
%th Distributor
|
||||
%th= t('.distributor')
|
||||
%th
|
||||
Products
|
||||
= t('.products')
|
||||
= surround '(', ')' do
|
||||
%a{href: '#', 'ng-click' => "OrderCycle.toggleAllProducts('outgoing')"}
|
||||
%span{'ng-show' => "OrderCycle.showProducts['outgoing']"} Collapse all
|
||||
%span{'ng-hide' => "OrderCycle.showProducts['outgoing']"} Expand all
|
||||
%th{ ng: { if: 'enterprises[exchange.enterprise_id].managed || order_cycle.viewing_as_coordinator' } } Tags
|
||||
%th Pickup / Delivery details
|
||||
%span{'ng-show' => "OrderCycle.showProducts['outgoing']"}= t(:collapse_all)
|
||||
%span{'ng-hide' => "OrderCycle.showProducts['outgoing']"}= t(:expand_all)
|
||||
%th{ ng: { if: 'enterprises[exchange.enterprise_id].managed || order_cycle.viewing_as_coordinator' } }
|
||||
= t('.tags')
|
||||
%th= t('.delivery_details')
|
||||
%th Fees
|
||||
%th.actions
|
||||
%tbody.panel-ctrl{ object: 'exchange', 'ng-repeat' => 'exchange in order_cycle.outgoing_exchanges'}
|
||||
= render 'exchange_form', :f => f, :type => 'distributor'
|
||||
|
||||
= render 'exchange_form', f: f, type: 'distributor'
|
||||
|
||||
- if Enterprise.managed_by(spree_current_user).include? @order_cycle.coordinator
|
||||
= render 'add_exchange_form', f: f, type: 'distributor'
|
||||
|
||||
.actions
|
||||
%span{'ng-hide' => 'loaded()'} Loading...
|
||||
|
||||
%span{'ng-hide' => 'loaded()'}= t(:loading)
|
||||
|
||||
- unless Rails.env.production?
|
||||
#order-cycles-debug
|
||||
%h2 Debug information
|
||||
%h2= t('.debug_info')
|
||||
|
||||
%pre loaded = {{ loaded() | json }}
|
||||
%hr/
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
.row
|
||||
.alpha.two.columns
|
||||
= f.label :name
|
||||
= f.label :name, t('.name')
|
||||
.six.columns.omega
|
||||
- if viewing_as_coordinator_of?(@order_cycle)
|
||||
= f.text_field :name, 'ng-model' => 'order_cycle.name', 'required' => true, 'ng-disabled' => '!loaded()'
|
||||
- else
|
||||
{{ order_cycle.name }}
|
||||
.two.columns
|
||||
= f.label :orders_open_at, 'Orders open'
|
||||
= f.label :orders_open_at, t('.orders_open')
|
||||
.omega.six.columns
|
||||
- if viewing_as_coordinator_of?(@order_cycle)
|
||||
= f.text_field :orders_open_at, 'datetimepicker' => 'order_cycle.orders_open_at', 'ng-model' => 'order_cycle.orders_open_at', 'ng-disabled' => '!loaded()'
|
||||
@@ -16,11 +16,11 @@
|
||||
|
||||
.row
|
||||
.alpha.two.columns
|
||||
= f.label :coordinator
|
||||
= f.label :coordinator, t('.coordinator')
|
||||
.six.columns.omega
|
||||
= @order_cycle.coordinator.name
|
||||
.two.columns
|
||||
= f.label :orders_close_at, 'Orders close'
|
||||
= f.label :orders_close, t('.orders_close')
|
||||
.six.columns.omega
|
||||
- if viewing_as_coordinator_of?(@order_cycle)
|
||||
= f.text_field :orders_close_at, 'datetimepicker' => 'order_cycle.orders_close_at', 'ng-model' => 'order_cycle.orders_close_at', 'ng-disabled' => '!loaded()'
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
- if suppliers.count > 3
|
||||
%span{'ofn-with-tip' => supplier_list}
|
||||
= suppliers.count
|
||||
suppliers
|
||||
= t('.suppliers')
|
||||
- else
|
||||
= supplier_list
|
||||
%td= order_cycle.coordinator.name
|
||||
@@ -23,12 +23,12 @@
|
||||
- if distributors.count > 3
|
||||
%span{'ofn-with-tip' => distributor_list}
|
||||
= distributors.count
|
||||
distributors
|
||||
= t('.distributors')
|
||||
- else
|
||||
= distributor_list
|
||||
|
||||
%td.products
|
||||
%span= "#{order_cycle.variants.count} variants"
|
||||
%span= "#{order_cycle.variants.count} #{t('.variants')}"
|
||||
|
||||
%td.actions
|
||||
= link_to '', main_app.edit_admin_order_cycle_path(order_cycle), class: 'edit-order-cycle icon-edit no-text'
|
||||
@@ -36,4 +36,4 @@
|
||||
= link_to '', main_app.clone_admin_order_cycle_path(order_cycle), class: 'clone-order-cycle icon-copy no-text'
|
||||
- if can_delete?(order_cycle)
|
||||
%td.actions
|
||||
= link_to '', main_app.admin_order_cycle_path(order_cycle), class: 'delete-order-cycle icon-trash no-text', :method => :delete, data: { confirm: "Are you sure?" }
|
||||
= link_to '', main_app.admin_order_cycle_path(order_cycle), class: 'delete-order-cycle icon-trash no-text', :method => :delete, data: { confirm: t(:are_you_sure) }
|
||||
|
||||
@@ -2,23 +2,23 @@
|
||||
|
||||
.row
|
||||
.alpha.two.columns
|
||||
= label_tag 'Ready for'
|
||||
= label_tag t('.ready_for')
|
||||
.six.columns
|
||||
= text_field_tag 'order_cycle_outgoing_exchange_0_pickup_time', '', 'id' => 'order_cycle_outgoing_exchange_0_pickup_time', 'placeholder' => 'Date / time', 'ng-model' => 'outgoing_exchange.pickup_time', 'size' => 30
|
||||
= text_field_tag 'order_cycle_outgoing_exchange_0_pickup_time', '', 'id' => 'order_cycle_outgoing_exchange_0_pickup_time', 'placeholder' => t('.ready_for_placeholder'), 'ng-model' => 'outgoing_exchange.pickup_time', 'size' => 30
|
||||
.two.columns
|
||||
= label_tag 'Customer instructions'
|
||||
= label_tag t('.customer_instructions')
|
||||
.six.columns.omega
|
||||
= text_field_tag 'order_cycle_outgoing_exchange_0_pickup_instructions', '', 'id' => 'order_cycle_outgoing_exchange_0_pickup_instructions', 'placeholder' => 'Pick-up or delivery notes', 'ng-model' => 'outgoing_exchange.pickup_instructions', 'size' => 30
|
||||
= text_field_tag 'order_cycle_outgoing_exchange_0_pickup_instructions', '', 'id' => 'order_cycle_outgoing_exchange_0_pickup_instructions', 'placeholder' => t('.customer_instructions_placeholder'), 'ng-model' => 'outgoing_exchange.pickup_instructions', 'size' => 30
|
||||
|
||||
= label_tag 'Products'
|
||||
= label_tag t('.products')
|
||||
%table.exchanges
|
||||
%tbody{ng: {repeat: "exchange in order_cycle.incoming_exchanges"}}
|
||||
%tr.products
|
||||
%td{ ng: { include: "'admin/panels/exchange_supplied_products.html'" } }
|
||||
|
||||
%br/
|
||||
= label_tag 'Fees'
|
||||
= label_tag t('.fees')
|
||||
= render 'coordinator_fees', f: f
|
||||
|
||||
.actions
|
||||
%span{'ng-hide' => 'loaded()'} Loading...
|
||||
%span{'ng-hide' => 'loaded()'}= t(:loading)
|
||||
|
||||
@@ -12,26 +12,24 @@
|
||||
|
||||
- if can? :notify_producers, @order_cycle
|
||||
%li
|
||||
= button_to "Notify producers", main_app.notify_producers_admin_order_cycle_path, :id => 'admin_notify_producers', :confirm => 'Are you sure?'
|
||||
= button_to "Notify producers", main_app.notify_producers_admin_order_cycle_path, :id => 'admin_notify_producers', :confirm => t(:are_you_sure)
|
||||
%li
|
||||
%button#toggle_settings{ onClick: 'toggleSettings()' }
|
||||
Advanced Settings
|
||||
= t('.advanced_settings')
|
||||
%i.icon-chevron-down
|
||||
|
||||
|
||||
#advanced_settings{ hidden: true }
|
||||
= render partial: "/admin/order_cycles/advanced_settings"
|
||||
|
||||
%h1
|
||||
= t :edit_order_cycle
|
||||
|
||||
|
||||
- ng_controller = order_cycles_simple_form ? 'AdminSimpleEditOrderCycleCtrl' : 'AdminEditOrderCycleCtrl'
|
||||
= form_for [main_app, :admin, @order_cycle], :url => '', :html => {:class => 'ng order_cycle', 'ng-app' => 'admin.orderCycles', 'ng-controller' => ng_controller, name: 'order_cycle_form'} do |f|
|
||||
|
||||
%save-bar{ dirty: "order_cycle_form.$dirty", persist: "true" }
|
||||
%input.red{ type: "button", value: "Update", ng: { click: "submit($event, null)", disabled: "!order_cycle_form.$dirty" } }
|
||||
%input.red{ type: "button", value: "Update and Close", ng: { click: "submit($event, '#{main_app.admin_order_cycles_path}')", disabled: "!order_cycle_form.$dirty" } }
|
||||
%input.red{ type: "button", value: t(:update), ng: { click: "submit($event, null)", disabled: "!order_cycle_form.$dirty" } }
|
||||
%input.red{ type: "button", value: t('.update_and_close'), ng: { click: "submit($event, '#{main_app.admin_order_cycles_path}')", disabled: "!order_cycle_form.$dirty" } }
|
||||
%input{ type: "button", ng: { value: "order_cycle_form.$dirty ? 'Cancel' : 'Close'", click: "cancel('#{main_app.admin_order_cycles_path}')" } }
|
||||
|
||||
- if order_cycles_simple_form
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
= content_for :page_actions do
|
||||
%li#new_order_cycle_link
|
||||
= button_link_to t(:new_order_cycle), main_app.new_admin_order_cycle_path, :icon => 'icon-plus', :id => 'admin_new_order_cycle_link'
|
||||
= button_link_to t(:new_order_cycle), main_app.new_admin_order_cycle_path, icon: 'icon-plus', id: 'admin_new_order_cycle_link'
|
||||
- if @show_more
|
||||
%li
|
||||
= button_link_to t(:label_less), main_app.admin_order_cycles_path
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
= form_for [main_app, :admin, @order_cycle], :url => '', :html => {:class => 'ng order_cycle', 'ng-app' => 'admin.orderCycles', 'ng-controller' => ng_controller, name: 'order_cycle_form'} do |f|
|
||||
|
||||
%save-bar{ dirty: "order_cycle_form.$dirty", persist: "true" }
|
||||
%input.red{ type: "button", value: "Create", ng: { click: "submit($event, '#{main_app.admin_order_cycles_path}')", disabled: "!order_cycle_form.$dirty" } }
|
||||
%input.red{ type: "button", value: t(:create), ng: { click: "submit($event, '#{main_app.admin_order_cycles_path}')", disabled: "!order_cycle_form.$dirty" } }
|
||||
%input{ type: "button", ng: { value: "order_cycle_form.$dirty ? 'Cancel' : 'Close'", click: "cancel('#{main_app.admin_order_cycles_path}')" } }
|
||||
|
||||
- if order_cycles_simple_form
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
%table.index.sortable{"data-hook" => "", "data-sortable-link" => main_app.update_positions_admin_enterprise_producer_properties_url(@enterprise)}
|
||||
%thead
|
||||
%tr{"data-hook" => "producer_properties_header"}
|
||||
%th{colspan: "2"} Property
|
||||
%th Value
|
||||
%th{colspan: "2"}= t('.property')
|
||||
%th= t('.value')
|
||||
%th.actions
|
||||
%tbody#producer_properties{"data-hook" => ""}
|
||||
= f.fields_for :producer_properties do |pp_form|
|
||||
|
||||
@@ -1,17 +1,14 @@
|
||||
- content_for :page_title do
|
||||
= "#{@enterprise.name}:"
|
||||
Producer Properties
|
||||
|
||||
= t('.title')
|
||||
|
||||
- content_for :page_actions do
|
||||
%ul.tollbar.inline-menu
|
||||
%li
|
||||
= link_to_add_fields t(:add_producer_property), 'tbody#producer_properties', class: 'icon-plus button'
|
||||
|
||||
|
||||
= render 'spree/shared/error_messages', target: @enterprise
|
||||
|
||||
|
||||
= form_for @enterprise, url: main_app.admin_enterprise_path(@enterprise), method: :put do |f|
|
||||
= render 'form', f: f
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
= button_link_to "User Guide", "http://www.openfoodnetwork.org/platform/user-guide/", :icon => 'icon-external-link', target: '_blank'
|
||||
= button_link_to t('.user_guide'), "http://www.openfoodnetwork.org/platform/user-guide/", icon: 'icon-external-link', target: '_blank'
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
%div.sixteen.columns.alpha.omega#loading{ ng: { cloak: true, if: 'hub_id && products.length == 0 && RequestMonitor.loading' } }
|
||||
%img.spinner{ src: "/assets/spinning-circles.svg" }
|
||||
%h1 LOADING INVENTORY
|
||||
%h1= t('.loading_inventory')
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-# %show-more.text-center{ data: "filteredProducts", limit: "productLimit", increment: "10" }
|
||||
.text-center{ ng: { show: "filteredProducts.length > productLimit" } }
|
||||
%input{ type: 'button', value: 'Show More', ng: { click: 'productLimit = productLimit + 10' } }
|
||||
or
|
||||
%input{ type: 'button', value: "Show All ({{ filteredProducts.length - productLimit }} More)", ng: { click: 'productLimit = filteredProducts.length' } }
|
||||
%input{ type: 'button', value: t(:show_more), ng: { click: 'productLimit = productLimit + 10' } }
|
||||
= t(:or)
|
||||
%input{ type: 'button', value: "#{t(:show_all)} ({{ filteredProducts.length - productLimit }} More)", ng: { click: 'productLimit = filteredProducts.length' } }
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
%button.primary.expand{"auth" => "login"}
|
||||
= t :label_login
|
||||
.small-2.columns.text-center
|
||||
%p.pad-top= "-#{t :action_or}-"
|
||||
%p.pad-top= "#{t :action_or}"
|
||||
.small-5.columns.text-center
|
||||
%button.neutral-btn.dark.expand{"ng-click" => "enabled = true"}
|
||||
= t :checkout_as_guest
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
-# TODO render this in Angular instead of server-side
|
||||
-# The problem being how to render the partials
|
||||
.row
|
||||
.small-6.columns
|
||||
.small-12.medium-12.large-6.columns
|
||||
- available_payment_methods.each do |method|
|
||||
.row
|
||||
.small-12.columns
|
||||
@@ -34,6 +34,6 @@
|
||||
.row{"ng-if" => "order.payment_method_id == #{method.id}"}
|
||||
.small-12.columns
|
||||
= render partial: "spree/checkout/payment/#{method.method_type}", :locals => { :payment_method => method }
|
||||
.small-12.columns.medium-6.columns.large-6.columns
|
||||
.small-12.medium-12.large-6.columns
|
||||
#distributor_address.panel{"ng-show" => "Checkout.paymentMethod().description"}
|
||||
%span.pre-wrap {{ Checkout.paymentMethod().description }}
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
"ng-class" => "{valid: shipping.$valid, open: accordion.shipping}"}
|
||||
= render 'checkout/accordion_heading'
|
||||
|
||||
.small-12.columns.medium-6.columns.large-6.columns
|
||||
.small-12.columns.medium-12.columns.large-6.columns
|
||||
%label{"ng-repeat" => "method in ShippingMethods.shipping_methods"}
|
||||
%input{type: :radio,
|
||||
required: true,
|
||||
@@ -38,7 +38,7 @@
|
||||
%input{type: :checkbox, "ng-model" => "Checkout.default_ship_address"}
|
||||
= t :checkout_default_ship_address
|
||||
|
||||
.small-12.columns.medium-6.columns.large-6.columns
|
||||
.small-12.columns.medium-12.columns.large-6.columns
|
||||
#distributor_address.panel{"ng-show" => "Checkout.shippingMethod().description"}
|
||||
%span{ style: "white-space: pre-wrap;" }{{ Checkout.shippingMethod().description }}
|
||||
%br/
|
||||
|
||||
@@ -40,16 +40,28 @@
|
||||
%span.nav-primary
|
||||
%i.ofn-i_036-producers
|
||||
= t 'label_producers'
|
||||
%li.li-menu
|
||||
%a{href: "https://openfoodnetwork.org/au/connect/"}
|
||||
%span.nav-primary
|
||||
%i.ofn-i_035-groups
|
||||
= t 'label_connect'
|
||||
%li.li-menu
|
||||
%a{href: "https://openfoodnetwork.org/au/learn/"}
|
||||
%span.nav-primary
|
||||
%i.ofn-i_013-help
|
||||
= t 'label_learn'
|
||||
- if feature? :connect_learn_homepage
|
||||
%li.li-menu
|
||||
%a{href: "https://openfoodnetwork.org/au/connect/"}
|
||||
%span.nav-primary
|
||||
%i.ofn-i_035-groups
|
||||
= t 'label_connect'
|
||||
%li.li-menu
|
||||
%a{href: "https://openfoodnetwork.org/au/learn/"}
|
||||
%span.nav-primary
|
||||
%i.ofn-i_013-help
|
||||
= t 'label_learn'
|
||||
- else
|
||||
%li.li-menu
|
||||
%a{href: main_app.groups_path}
|
||||
%span.nav-primary
|
||||
%i.ofn-i_035-groups
|
||||
= t 'label_groups'
|
||||
%li.li-menu
|
||||
%a{href: ContentConfig.footer_about_url}
|
||||
%span.nav-primary
|
||||
%i.ofn-i_013-help
|
||||
= t 'label_about'
|
||||
|
||||
%li
|
||||
- if spree_current_user.nil?
|
||||
|
||||
@@ -151,7 +151,7 @@
|
||||
%th.final_weight_volume{ 'ng-show' => 'columns.final_weight_volume.visible' }
|
||||
= t("admin.orders.bulk_management.weight_volume")
|
||||
%th.price{ 'ng-show' => 'columns.price.visible' }
|
||||
= t("admin.price")
|
||||
= t("admin.price (#{currency_symbol})")
|
||||
%th.actions
|
||||
%th.actions
|
||||
= t("admin.orders.bulk_management.ask")
|
||||
@@ -178,7 +178,7 @@
|
||||
%input.show-dirty{ :type => 'number', :name => 'final_weight_volume', :id => 'final_weight_volume', ng: { model: "line_item.final_weight_volume", readonly: "unitValueLessThanZero(line_item)", change: "weightAdjustedPrice(line_item)", required: "true", class: '{"update-error": line_item.errors.final_weight_volume}' }, min: 0, 'ng-pattern' => '/[1-9]+/' }
|
||||
%span.error{ ng: { bind: 'line_item.errors.final_weight_volume' } }
|
||||
%td.price{ 'ng-show' => 'columns.price.visible' }
|
||||
%input.show-dirty{ :type => 'text', :name => 'price', :id => 'price', :ng => { value: 'line_item.price * line_item.quantity | currency', readonly: "true", class: '{"update-error": line_item.errors.price}' } }
|
||||
%input.show-dirty{ :type => 'text', :name => 'price', :id => 'price', :ng => { value: 'line_item.price * line_item.quantity | currency:""', readonly: "true", class: '{"update-error": line_item.errors.price}' } }
|
||||
%span.error{ ng: { bind: 'line_item.errors.price' } }
|
||||
%td.actions
|
||||
%a{ href: "/admin/orders/{{line_item.order.number}}/edit", :class => "edit-order icon-edit no-text", 'confirm-link-click' => 'confirmRefresh()' }
|
||||
|
||||
@@ -6,12 +6,12 @@ en-GB:
|
||||
shipment_state: Shipment State
|
||||
devise:
|
||||
failure:
|
||||
invalid:
|
||||
invalid: |
|
||||
Invalid email or password.
|
||||
Were you a guest last time? Perhaps you need to create an account or reset your password.
|
||||
enterprise_confirmations:
|
||||
enterprise:
|
||||
confirmed: Thank you, your email address has been confirmed.
|
||||
confirmed: Thankyou, your email address has been confirmed.
|
||||
not_confirmed: Your email address could not be confirmed. Perhaps you have already completed this step?
|
||||
confirmation_sent: "Confirmation email sent!"
|
||||
confirmation_not_sent: "Could not send a confirmation email."
|
||||
@@ -23,7 +23,7 @@ en-GB:
|
||||
title: Open Food Network
|
||||
welcome_to: 'Welcome to '
|
||||
site_meta_description: "We begin from the ground up. With farmers and growers ready to tell their stories proudly and truly. With distributors ready to connect people with products fairly and honestly. With buyers who believe that better weekly shopping decisions can seriously change the world."
|
||||
search_by_name: Search by name...
|
||||
search_by_name: Search by name, town, county or postcode...
|
||||
producers: 'UK Producers'
|
||||
producers_join: UK producers are now welcome to join Open Food Network UK.
|
||||
charges_sales_tax: Charges VAT?
|
||||
@@ -43,7 +43,7 @@ en-GB:
|
||||
monthly_cap_excl_tax: "monthly cap (excl. VAT)"
|
||||
capped_at_cap: "capped at %{cap}"
|
||||
per_month: "per month"
|
||||
free: "free"
|
||||
free: "pay what you can"
|
||||
free_trial: "free trial"
|
||||
plus_tax: "plus VAT"
|
||||
total_monthly_bill_incl_tax: "Total Monthly Bill (Incl. VAT)"
|
||||
@@ -90,6 +90,18 @@ en-GB:
|
||||
add_a_new_customer_for: Add a new customer for %{shop_name}
|
||||
code: Code
|
||||
duplicate_code: "This code is used already."
|
||||
bill_address: "Billing Address"
|
||||
ship_address: "Shipping Address"
|
||||
update_address_success: 'Address updated successfully.'
|
||||
update_address_error: 'Sorry! Please input all of the required fields!'
|
||||
edit_bill_address: 'Edit Billing Address'
|
||||
edit_ship_address: 'Edit Shipping Address'
|
||||
required_fileds: 'Required fields are denoted with an asterisk'
|
||||
select_country: 'Select Country'
|
||||
select_state: 'Select County'
|
||||
edit: 'Edit'
|
||||
update_address: 'Update Address'
|
||||
confirm_delete: 'Sure to delete?'
|
||||
products:
|
||||
bulk_edit:
|
||||
unit: Unit
|
||||
@@ -152,11 +164,15 @@ en-GB:
|
||||
status: Status
|
||||
manage: Manage
|
||||
form:
|
||||
primary_details:
|
||||
shopfront_requires_login: "Shopfront requires login?"
|
||||
shopfront_requires_login_tip: "Choose whether customers must login to view the shopfront."
|
||||
shop_preferences:
|
||||
shopfront_requires_login: "Publicly visible shopfront?"
|
||||
shopfront_requires_login_tip: "Choose whether customers must login to view the shopfront or if it's visible to everybody."
|
||||
shopfront_requires_login_false: "Public"
|
||||
shopfront_requires_login_true: "Require customers to login"
|
||||
shopfront_requires_login_true: "Visible to registered customers only"
|
||||
allow_guest_orders: "Guest orders"
|
||||
allow_guest_orders_tip: "Allow checkout as guest or require a registered user."
|
||||
allow_guest_orders_false: "Require login to order"
|
||||
allow_guest_orders_true: "Allow guest checkout"
|
||||
home:
|
||||
hubs:
|
||||
show_closed_shops: "Show closed shops"
|
||||
@@ -308,7 +324,9 @@ en-GB:
|
||||
checkout_as_guest: "Checkout as guest"
|
||||
checkout_details: "Your details"
|
||||
checkout_billing: "Billing info"
|
||||
checkout_default_bill_address: "Save as default billing address"
|
||||
checkout_shipping: Shipping info
|
||||
checkout_default_ship_address: "Save as default shipping address"
|
||||
checkout_method_free: Free
|
||||
checkout_address_same: Shipping address same as billing address?
|
||||
checkout_ready_for: "Ready for:"
|
||||
@@ -347,6 +365,7 @@ en-GB:
|
||||
email_userguide_html: "The User Guide with detailed support for setting up your Producer or Hub is here: %{link}"
|
||||
email_admin_html: "You can manage your account by logging into the %{link} or by clicking on the cog in the top right hand side of the homepage, and selecting Administration."
|
||||
email_community_html: "We also have an online forum for community discussion related to OFN software and the unique challenges of running a food enterprise. You are encouraged to join in. We are constantly evolving and your input into this forum will shape what happens next. %{link}"
|
||||
join_community: "Join the community"
|
||||
email_help: "If you have any difficulties, check out our FAQs, browse the forum or post a 'Support' topic and someone will help you out!"
|
||||
email_confirmation_greeting: "Hi, %{contact}!"
|
||||
email_confirmation_profile_created: "A profile for %{name} has been successfully created! To activate your Profile we need to confirm this email address."
|
||||
@@ -388,7 +407,7 @@ en-GB:
|
||||
email_signup_email: Your login email is
|
||||
email_signup_shop_html: "You can start shopping online now at %{link}."
|
||||
email_signup_text: "Thanks for joining the network. If you are a customer, we look forward to introducing you to many fantastic farmers, wonderful food hubs and delicious food! If you are a producer or food enterprise, we are excited to have you as a part of the network."
|
||||
email_signup_help_html: "We welcome all your questions and feedback; you can use the <em>Send Feedback</em> button on the site or email us at"
|
||||
email_signup_help_html: "We welcome all your questions and feedback; you can use the <em>Send Feedback</em> button on the site or email us at %{email}"
|
||||
producer_mail_greeting: "Dear"
|
||||
producer_mail_text_before: "We now have all the consumer orders for the next food delivery."
|
||||
producer_mail_order_text: "Here is a summary of the orders for your products:"
|
||||
@@ -503,14 +522,14 @@ en-GB:
|
||||
producers_title: Producers
|
||||
producers_headline: Find local producers
|
||||
producers_signup_title: Sign up as a producer
|
||||
producers_signup_headline: Food producers, empowered.
|
||||
producers_signup_motivation: Sell your food and tell your stories to diverse new markets. Save time and money on every overhead. We support innovation without the risk. We've levelled the playing field.
|
||||
producers_signup_send: Join now
|
||||
producers_signup_enterprise: Enterprise Accounts
|
||||
producers_signup_headline: Food producers. Meet OFN.
|
||||
producers_signup_motivation: Sell your food and tell your stories. Save time and money on every overhead. We support innovation without the risk. We're levelling the playing field.
|
||||
producers_signup_send: Register
|
||||
producers_signup_enterprise: Why the Open Food Network?
|
||||
producers_signup_studies: Stories from our producers.
|
||||
producers_signup_cta_headline: Join now!
|
||||
producers_signup_cta_action: Join now
|
||||
producers_signup_detail: Here's the detail.
|
||||
producers_signup_cta_action: Register
|
||||
producers_signup_detail: Got a question?
|
||||
products_item: Item
|
||||
products_description: Description
|
||||
products_variant: Variant
|
||||
@@ -518,7 +537,7 @@ en-GB:
|
||||
products_available: Available?
|
||||
products_producer: "Producer"
|
||||
products_price: "Price"
|
||||
register_title: Register
|
||||
register_title: Find out more
|
||||
sell_title: "Register"
|
||||
sell_headline: "Get on the Open Food Network!"
|
||||
sell_motivation: "Showcase your beautiful food."
|
||||
@@ -529,8 +548,8 @@ en-GB:
|
||||
sell_hubs_detail: "Set up a profile for your food enterprise or organisation on the OFN. At any time you can upgrade your profile to a multi-producer shop."
|
||||
sell_groups_detail: "Set up a tailored directory of enterprises (producers and other food enterprises) for your region or for your organisation."
|
||||
sell_user_guide: "Find out more in our user guide."
|
||||
sell_listing_price: "Listing on OFN is free. Opening and running a shop on OFN is free for six months and always free for small enterprises. We charge just 2% of sales for enterprises turning over more than £5000/year."
|
||||
sell_embed: "We can also embed an OFN shop in your own customised website or build a customised local food network website for your region."
|
||||
sell_listing_price: "Selling through OFN UK is free!\n\nOFN UK is a Platform Cooperative - part of the Solidarity or Sharing Economy. Our goal is to support the distribution of as much local food as possible. As such OFN UK asks users to 'Pay What You Feel' toward the running costs and maintenance. We think 2% of sales is fair for all the services that OFN UK provide. But more importantly, we think that getting good local food to people at a fair price is more important than paying for software. So pay what you feel our services are worth to your enterprise."
|
||||
sell_embed: "We collectively budget for new feature development from the international OFN community. This way the huge cost of good software development can be shared. If you want a new feature, chances are someone in France, South Africa, Australia, India or Brazil might want it too! Use the Community Forum to suggest features you'd like to see."
|
||||
sell_ask_services: "Ask us about OFN services."
|
||||
shops_title: Shops
|
||||
shops_headline: Shopping, transformed.
|
||||
@@ -706,30 +725,30 @@ en-GB:
|
||||
registration_type_producer: "Yes, I'm a producer"
|
||||
registration_type_no_producer: "No, I'm not a producer"
|
||||
registration_type_error: "Please choose one. Are you are producer?"
|
||||
registration_type_producer_help: "Producers make yummy things to eat and/or drink. You're a producer if you grow it, raise it, brew it, bake it, ferment it, milk it or mould it."
|
||||
registration_type_producer_help: "Producers make things to eat and/or drink. You're a producer if you might grow it, raise it, brew it, bake it or ferment it."
|
||||
registration_type_no_producer_help: "If you’re not a producer, you’re probably someone who sells and distributes food. You might be a hub, coop, buying group, retailer, wholesaler or other."
|
||||
create_profile: "Create profile"
|
||||
registration_images_headline: "Thanks!"
|
||||
registration_images_description: "Let's upload some pretty pictures so your profile looks great! :)"
|
||||
registration_images_description: "Let's upload some pictures so your profile looks great! :)"
|
||||
registration_detail_headline: "Let's get started"
|
||||
registration_detail_enterprise: "Woot! First we need to know a little bit about your enterprise:"
|
||||
registration_detail_producer: "Woot! First we need to know a little bit about your farm:"
|
||||
registration_detail_enterprise: "First we need to know a little bit about your enterprise:"
|
||||
registration_detail_producer: "First we need to know a little bit about your farm:"
|
||||
registration_detail_name_enterprise: "Enterprise name:"
|
||||
registration_detail_name_producer: "Farm name:"
|
||||
registration_detail_name_placeholder: "e.g. Charlie's Awesome Farm"
|
||||
registration_detail_name_placeholder: "e.g. Charlie's Farm"
|
||||
registration_detail_name_error: "Please choose a unique name for your enterprise"
|
||||
registration_detail_address1: "Address line 1:"
|
||||
registration_detail_address1_placeholder: "e.g. 123 Cranberry Drive"
|
||||
registration_detail_address1_placeholder: "e.g. 123 Apple Drive"
|
||||
registration_detail_address1_error: "Please enter an address"
|
||||
registration_detail_address2: "Address line 2:"
|
||||
registration_detail_suburb: "Suburb:"
|
||||
registration_detail_suburb_placeholder: "e.g. Northcote"
|
||||
registration_detail_suburb_error: "Please enter a suburb"
|
||||
registration_detail_suburb: "Town:"
|
||||
registration_detail_suburb_placeholder: "e.g. Taunton"
|
||||
registration_detail_suburb_error: "Please enter a town"
|
||||
registration_detail_postcode: "Postcode:"
|
||||
registration_detail_postcode_placeholder: "e.g. 3070"
|
||||
registration_detail_postcode_placeholder: "e.g. TA1 1AA"
|
||||
registration_detail_postcode_error: "Postcode required"
|
||||
registration_detail_state: "State:"
|
||||
registration_detail_state_error: "State required"
|
||||
registration_detail_state: "County:"
|
||||
registration_detail_state_error: "County required"
|
||||
registration_detail_country: "Country:"
|
||||
registration_detail_country_error: "Please select a country"
|
||||
fees: "Fees"
|
||||
@@ -797,6 +816,7 @@ en-GB:
|
||||
tax_category: "Tax Category"
|
||||
calculator: "Calculator"
|
||||
calculator_values: "Calculator values"
|
||||
flat_percent_per_item: "Flat Percent (per item)"
|
||||
new_order_cycles: "New Order Cycles"
|
||||
select_a_coordinator_for_your_order_cycle: "Select a coordinator for your order cycle"
|
||||
edit_order_cycle: "Edit Order Cycle"
|
||||
@@ -855,7 +875,7 @@ en-GB:
|
||||
spree_admin_single_enterprise_alert_mail_confirmation: "Please confirm the email address for"
|
||||
spree_admin_single_enterprise_alert_mail_sent: "We've sent an email to"
|
||||
spree_admin_overview_action_required: "Action Required"
|
||||
spree_admin_overview_check_your_inbox: "Please check your inbox for further instructions. Thanks!"
|
||||
spree_admin_overview_check_your_inbox: "Please check you inbox for further instructions. Thanks!"
|
||||
change_package: "Change Package"
|
||||
spree_admin_single_enterprise_hint: "Hint: To allow people to find you, turn on your visibility under"
|
||||
your_profil_live: "Your profile live"
|
||||
@@ -947,6 +967,7 @@ en-GB:
|
||||
validation_msg_tax_category_cant_be_blank: "^Tax Category can't be blank"
|
||||
validation_msg_is_associated_with_an_exising_customer: "is associated with an existing customer"
|
||||
spree:
|
||||
zipcode: Postcode
|
||||
shipment_states:
|
||||
backorder: backorder
|
||||
partial: partial
|
||||
|
||||
@@ -70,9 +70,17 @@ en:
|
||||
say_no: "No"
|
||||
say_yes: "Yes"
|
||||
then: then
|
||||
|
||||
sort_order_cycles_on_shopfront_by: "Sort Order Cycles On Shopfront By"
|
||||
|
||||
required_fields: Required fields are denoted with an asterisk
|
||||
select_continue: Select and Continue
|
||||
remove: Remove
|
||||
or: or
|
||||
collapse_all: Collapse all
|
||||
expand_all: Expand all
|
||||
loading: Loading...
|
||||
show_more: Show more
|
||||
show_all: Show all
|
||||
cancel: Cancel
|
||||
|
||||
admin:
|
||||
# Common properties / models
|
||||
@@ -131,6 +139,31 @@ en:
|
||||
update_address: 'Update Address'
|
||||
confirm_delete: 'Sure to delete?'
|
||||
|
||||
cache_settings:
|
||||
show:
|
||||
distributor: Distributor
|
||||
order_cycle: Order Cycle
|
||||
status: Status
|
||||
diff: Diff
|
||||
|
||||
contents:
|
||||
edit:
|
||||
title: Content
|
||||
|
||||
enterprise_fees:
|
||||
index:
|
||||
title: Entreprise Fees
|
||||
enterprise: Enterprise
|
||||
fee_type: Fee Type
|
||||
name: Name
|
||||
tax_category: Tax Category
|
||||
calculator: Calculator
|
||||
calculator_values: Calculator Values
|
||||
|
||||
enterprise_groups:
|
||||
index:
|
||||
new_button: New Enterprise Group
|
||||
|
||||
products:
|
||||
bulk_edit:
|
||||
unit: Unit
|
||||
@@ -142,6 +175,8 @@ en:
|
||||
av_on: "Av. On"
|
||||
|
||||
variant_overrides:
|
||||
loading_flash:
|
||||
loading_inventory: LOADING INVENTORY
|
||||
index:
|
||||
title: Inventory
|
||||
description: Use this page to manage inventories for your enterprises. Any product details set here will override those set on the 'Products' page
|
||||
@@ -193,11 +228,89 @@ en:
|
||||
|
||||
enterprises:
|
||||
index:
|
||||
producer?: Producer?
|
||||
title: Enterprises
|
||||
new_enterprise: New Enterprise
|
||||
producer?: "Producer?"
|
||||
package: Package
|
||||
status: Status
|
||||
manage: Manage
|
||||
form:
|
||||
about_us:
|
||||
desc_short: Short Description
|
||||
desc_short_placeholder: Tell us about your enterprise in one or two sentences
|
||||
desc_long: About Us
|
||||
desc_long_placeholder: Tell customers about yourself. This information appears on your public profile.
|
||||
business_details:
|
||||
abn: ABN
|
||||
abn_placeholder: eg. 99 123 456 789
|
||||
acn: ACN
|
||||
acn_placeholder: eg. 123 456 789
|
||||
contact:
|
||||
name: Name
|
||||
name_placeholder: eg. Gustav Plum
|
||||
email_address: Email Address
|
||||
email_address_placeholder: eg. gustav@truffles.com
|
||||
phone: Phone
|
||||
phone_placeholder: eg. 98 7654 3210
|
||||
website: Website
|
||||
website_placeholder: eg. www.truffles.com
|
||||
enterprise_fees:
|
||||
name: Name
|
||||
fee_type: Fee Type
|
||||
manage_fees: Manage Enterprise Fees
|
||||
no_fees_yet: You don't have any enterprise fees yet.
|
||||
create_button: Create One Now
|
||||
images:
|
||||
logo: Logo
|
||||
promo_image_placeholder: 'This image is displayed in "About Us"'
|
||||
promo_image_note1: 'PLEASE NOTE:'
|
||||
promo_image_note2: Any promo image uploaded here will be cropped to 1200 x 260.
|
||||
promo_image_note3: The promo image is displayed at the top of an enterprise's profile page and pop-ups.
|
||||
inventory_settings:
|
||||
text1: You may opt to manage stock levels and prices in via your
|
||||
inventory: inventory
|
||||
text2: "If you are using the inventory tool, you can select whether new products \
|
||||
added by your suppliers need to be added to your inventory before they can be \
|
||||
stocked. If you are not using your inventory to manage your products you should \
|
||||
select the 'recommended' option below:"
|
||||
preferred_product_selection_from_inventory_only_yes: New products can be put into my shopfront (recommended)
|
||||
preferred_product_selection_from_inventory_only_no: New products must be added to my inventory before they can be put into my shopfront
|
||||
payment_methods:
|
||||
name: Name
|
||||
applies: Applies?
|
||||
manage: Manage Payment Methods
|
||||
not_method_yet: You don't have any payment methods yet.
|
||||
create_button: Create New Payment Method
|
||||
create_one_button: Create One Now
|
||||
primary_details:
|
||||
name: Name
|
||||
name_placeholder: eg. Professor Plum's Biodynamic Truffles
|
||||
groups: Groups
|
||||
groups_tip: Select any groups or regions that you are a member of. This will help customers find your enterprise.
|
||||
groups_placeholder: Start typing to search available groups...
|
||||
primary_producer: Primary Producer?
|
||||
primary_producer_tip: Select 'Producer' if you are a primary producer of food.
|
||||
producer: Producer
|
||||
any: Any
|
||||
none: None
|
||||
own: Own
|
||||
sells: Sells
|
||||
sells_tip: "None - enterprise does not sell to customers directly.<br />Own - Enterprise sells own products to customers.<br />Any - Enterprise can sell own or other enterprises products.<br />"
|
||||
visible_in_search: Visible in search?
|
||||
visible_in_search_tip: Determines whether this enterprise will be visible to customers when searching the site.
|
||||
visible: Visible
|
||||
not_visible: Not visible
|
||||
permalink: Permalink (no spaces)
|
||||
permalink_tip: "This permalink is used to create the url to your shop: {{link}} your-shop-name/shop"
|
||||
link_to_front: Link to shop front
|
||||
link_to_front_tip: A direct link to your shopfront on the Open Food Network.
|
||||
shipping_methods:
|
||||
name: Name
|
||||
applies: Applies?
|
||||
manage: Manage Shipping Methods
|
||||
create_button: Create New Shipping Method
|
||||
create_one_button: Create One Now
|
||||
no_method_yet: You don't have any shipping methods yet.
|
||||
shop_preferences:
|
||||
shopfront_requires_login: "Publicly visible shopfront?"
|
||||
shopfront_requires_login_tip: "Choose whether customers must login to view the shopfront or if it's visible to everybody."
|
||||
@@ -207,6 +320,142 @@ en:
|
||||
allow_guest_orders_tip: "Allow checkout as guest or require a registered user."
|
||||
allow_guest_orders_false: "Require login to order"
|
||||
allow_guest_orders_true: "Allow guest checkout"
|
||||
shopfront_message_placeholder: \
|
||||
An optional explanation for customers detailing how your shopfront works, \
|
||||
to be displayed above the product list on your shop page.
|
||||
shopfront_closed_message_placeholder: \
|
||||
A message which provides a more detailed explanation about why your shop is \
|
||||
closed and/or when customers can expect it to open again. This is displayed \
|
||||
on your shop only when you have no active order cycles (ie. shop is closed).
|
||||
open_date: Open Date
|
||||
close_date: Close Date
|
||||
social:
|
||||
twitter_placeholder: eg. @the_prof
|
||||
tag_rules:
|
||||
default_rules:
|
||||
by_default: By Default
|
||||
no_rules_yet: No default rules apply yet
|
||||
add_new_button: '+ Add A New Default Rule'
|
||||
no_tags_yet: No tags apply to this enterprise yet
|
||||
no_rules_yet: No rules apply to this tag yet
|
||||
for_customers_tagged: 'For customers tagged:'
|
||||
add_new_rule: '+ Add A New Rule'
|
||||
add_new_tag: '+ Add A New Tag'
|
||||
users:
|
||||
email_confirmation_text: Email confirmation is pending.<br />We've sent a confirmation email to
|
||||
resend: Resend
|
||||
owner: 'Owner'
|
||||
owner_tip: The primary user responsible for this enterprise.
|
||||
notifications: Notifications
|
||||
notifications_tip: Notifications about orders will be send to this email address.
|
||||
notifications_placeholder: eg. gustav@truffles.com
|
||||
notifications_note: 'Note: A new email address may need to be confirmed prior to use'
|
||||
managers: Managers
|
||||
managers_tip: The other users with permission to manage this enterprise.
|
||||
actions:
|
||||
edit_profile: Edit Profile
|
||||
properties: Properties
|
||||
payment_methods: Payment Methods
|
||||
payment_methods_tip: This enterprise has no payment methods
|
||||
shipping_methods: Shipping Methods
|
||||
shipping_methods_tip: This enterprise has shipping methods
|
||||
enterprise_fees: Enterprise Fees
|
||||
enterprise_fees_tip: This enterprise has no fees
|
||||
admin_index:
|
||||
name: Name
|
||||
role: Role
|
||||
sells: Sells
|
||||
visible: Visible?
|
||||
owner: Owner
|
||||
producer: Producer
|
||||
change_type_form:
|
||||
producer_profile: Producer Profile
|
||||
connect_ofn: Connect through OFN
|
||||
always_free: ALWAYS FREE
|
||||
producer_description_text: Add your products to Open Food Network, allowing hubs to stock your products in their stores.
|
||||
producer_shop: Producer Shop
|
||||
sell_your_produce: Sell your own produce
|
||||
sell_description_text: Sell your products directly to customers through your very own Open Food Network shopfront.
|
||||
sell_description_text2: A Producer Shop is for your produce only, if you want to sell produce grown/produced off site, select 'Producer Hub'.
|
||||
producer_hub: Producer Hub
|
||||
producer_hub_text: Sell produce from self and others
|
||||
producer_hub_description_text: Your enterprise is the backbone of your local food system. You can sell your own produce as well as produce aggregated from other enterprises through your shopfront on the Open Food Network.
|
||||
profile: Profile Only
|
||||
get_listing: Get a listing
|
||||
profile_description_text: People can find and contact you on the Open Food Network. Your enterprise will be visible on the map, and will be searchable in listings.
|
||||
hub_shop: Hub Shop
|
||||
hub_shop_text: Sell produce from others
|
||||
hub_shop_description_text: Your enterprise is the backbone of your local food system. You aggregate produce from other enterprises and can sell it through your shop on the Open Food Network.
|
||||
choose_option: Please choose one of the options above.
|
||||
change_now: Change now
|
||||
enterprise_user_index:
|
||||
search_placeholder: Search By Name
|
||||
manage: Manage
|
||||
new_form:
|
||||
owner: Owner
|
||||
owner_tip: The primary user responsible for this enterprise.
|
||||
i_am_producer: I am a Producer
|
||||
contact_name: Contact Name
|
||||
edit:
|
||||
editing: 'Editing:'
|
||||
back_link: Back to enterprises list
|
||||
new:
|
||||
title: New Enterprise
|
||||
back_link: Back to enterprises list
|
||||
welcome:
|
||||
welcome_title: Welcome to the Open Food Network!
|
||||
welcome_text: You have successfully created a
|
||||
next_step: Next step
|
||||
choose_starting_point: 'Choose your starting point:'
|
||||
order_cycles:
|
||||
advanced_settings:
|
||||
title: Advanced Settings
|
||||
choose_product_tip: You can opt to restrict all available products (both incoming and outgoing), to only those in {{inventory}}'s inventory.
|
||||
preferred_product_selection_from_coordinator_inventory_only_here: Coordinator's Inventory Only
|
||||
preferred_product_selection_from_coordinator_inventory_only_all: All Available Products
|
||||
save_reload: Save and Reload Page
|
||||
coordinator_fees:
|
||||
add: Add coordinator fee
|
||||
form:
|
||||
incoming: Incoming
|
||||
supplier: Supplier
|
||||
products: Products
|
||||
receival_details: Receival details
|
||||
fees: Fees
|
||||
outgoing: Outgoing
|
||||
distributor: Distributor
|
||||
products: Products
|
||||
tags: Tags
|
||||
delivery_detaisl: Pickup / Delivery details
|
||||
debug_info: Debug information
|
||||
name_and_timing_form:
|
||||
name: Name
|
||||
orders_open: Orders open at
|
||||
coordinator: Coordinator
|
||||
order_closes: Orders close
|
||||
row:
|
||||
suppliers: suppliers
|
||||
distributors: distributors
|
||||
variants: variants
|
||||
simple_form:
|
||||
ready_for: Ready for
|
||||
ready_for_placeholder: Date / time
|
||||
customer_instructions: Customer instructions
|
||||
customer_instructions_placeholder: Pick-up or delivery notes
|
||||
products: Products
|
||||
fees: Fees
|
||||
edit:
|
||||
advanced_settings: Advanced Settings
|
||||
update_and_close: Update and Close
|
||||
producer_properties:
|
||||
form:
|
||||
property: Property
|
||||
value: Value
|
||||
index:
|
||||
title: Producer Properties
|
||||
shared:
|
||||
user_guide_link:
|
||||
user_guide: User Guide
|
||||
|
||||
home:
|
||||
hubs:
|
||||
@@ -256,10 +505,14 @@ en:
|
||||
phone: Phone
|
||||
next: Next
|
||||
address: Address
|
||||
address_placeholder: eg. 123 High Street
|
||||
address2: Address (contd.)
|
||||
city: City
|
||||
city_placeholder: eg. Northcote
|
||||
state: State
|
||||
postcode: Postcode
|
||||
postcode_placeholder: eg. 3070
|
||||
state: State
|
||||
country: Country
|
||||
unauthorized: Unauthorized
|
||||
terms_of_service: "Terms of service"
|
||||
@@ -413,6 +666,8 @@ en:
|
||||
order_payment_paypal_successful: Your payment via PayPal has been processed successfully.
|
||||
order_hub_info: Hub Info
|
||||
|
||||
bom_tip: "Use this page to alter product quantities across multiple orders. Products may also be removed from orders entirely, if required."
|
||||
|
||||
unsaved_changes_warning: "Unsaved changes exist and will be lost if you continue."
|
||||
unsaved_changes_error: "Fields with red borders contain errors."
|
||||
|
||||
|
||||
@@ -53,6 +53,17 @@ fr:
|
||||
say_yes: "Oui"
|
||||
then: puis
|
||||
sort_order_cycles_on_shopfront_by: "Trier les cycles de vente par"
|
||||
required_fields: "Les champs obligatoires sont annotés d'une astérisque"
|
||||
select_continue: Sélectionner et Continuer
|
||||
remove: Supprimer
|
||||
or: ou
|
||||
collapse_all: Réduire
|
||||
expand_all: Etendre
|
||||
loading: Chargement...
|
||||
show_more: Voir plus
|
||||
show_all: Voir tout
|
||||
cancel: Annuler
|
||||
|
||||
admin:
|
||||
date: Date
|
||||
email: Email
|
||||
@@ -100,6 +111,27 @@ fr:
|
||||
select_country: 'Choisir le pays'
|
||||
select_state: 'Choisir le département'
|
||||
edit: 'Modifier'
|
||||
cache_settings:
|
||||
show:
|
||||
distributor: Distributeur
|
||||
order_cycle: Cycle de vente
|
||||
status: Statut
|
||||
diff: Diff
|
||||
contents:
|
||||
edit:
|
||||
title: Contenu
|
||||
enterprise_fees:
|
||||
index:
|
||||
title: Marges de l'entreprise
|
||||
enterprise: Entreprise
|
||||
fee_type: Type de marge
|
||||
name: Nom
|
||||
tax_category: TVA appliquée
|
||||
calculator: Calculateur
|
||||
calculator_values: Valeurs applicables
|
||||
enterprise_groups:
|
||||
index:
|
||||
new_button: Nouveau groupe d'entreprise
|
||||
products:
|
||||
bulk_edit:
|
||||
unit: Unité
|
||||
@@ -110,6 +142,8 @@ fr:
|
||||
available_on: Disponible sur
|
||||
av_on: "Disp. sur"
|
||||
variant_overrides:
|
||||
loading_flash:
|
||||
loading_inventory: LOADING INVENTORY
|
||||
index:
|
||||
title: Stock
|
||||
description: Utilisez cette page pour gérer le catalogue de votre entreprise. Les détails produits saisis ici remplaceront ceux de la page "Produit" pour votre entreprise uniquement.
|
||||
@@ -162,11 +196,231 @@ fr:
|
||||
status: Statut
|
||||
manage: Gérer
|
||||
form:
|
||||
about_us:
|
||||
desc_short: Description courte
|
||||
desc_short_placeholder: Dites nous à propos de votre entreprise en 2 lignes
|
||||
desc_long: Description publique
|
||||
desc_long_placeholder: Décrivez-vous à vos clients. Cette information apparaîtra sur votre profil public.
|
||||
business_details:
|
||||
abn: ABN
|
||||
abn_placeholder: "ex: 99 123 456 789"
|
||||
acn: ACN
|
||||
acn_placeholder: "ex: 123 456 789"
|
||||
contact:
|
||||
name: Prénom/Nom
|
||||
name_placeholder: "ex: Maurice Batot"
|
||||
email_address: Email Address
|
||||
email_address_placeholder: "ex: maurice@tomates.fr"
|
||||
phone: Téléphone
|
||||
phone_placeholder: "ex: 98 7654 3210"
|
||||
website: Site Web
|
||||
website_placeholder: "ex: www.tomates.fr"
|
||||
enterprise_fees:
|
||||
name: Nom
|
||||
fee_type: Type de marge
|
||||
manage_fees: Gérer vos marges
|
||||
no_fees_yet: Vous n'avez pas encore de marges définies.
|
||||
create_button: Créer une nouvelle marge
|
||||
images:
|
||||
logo: Logo
|
||||
promo_image_placeholder: 'Cette image est affichée dans la partie "A Propos"'
|
||||
promo_image_note1: 'NOTES :'
|
||||
promo_image_note2: Toutes les images uploadées ici seront coupées pour 1200x260 pixels.
|
||||
promo_image_note3: L'image promotionelle est affichée en haut de la page profil de l'entreprise et sur les pop-ups.
|
||||
inventory_settings:
|
||||
text1: Vous pouvez gérer votre stock et vos prix via votre
|
||||
inventory: inventaire
|
||||
text2: "If you are using the inventory tool, you can select whether new products \
|
||||
added by your suppliers need to be added to your inventory before they can be \
|
||||
stocked. If you are not using your inventory to manage your products you should \
|
||||
select the 'recommended' option below:"
|
||||
preferred_product_selection_from_inventory_only_yes: Les nouveaux produits peuvent être mis dans mon magasin (Recommendé)
|
||||
preferred_product_selection_from_inventory_only_no: Les nouveaux produits doivent être ajouté dans mon magasin avant de pouvoir être ajouté dans mon magasin
|
||||
payment_methods:
|
||||
name: Nom
|
||||
applies: Applies?
|
||||
manage: Gérer les moyens de paiement
|
||||
not_method_yet: Vous n'avez encore aucun moyen de paiement.
|
||||
create_button: Ajouter un nouveau moyen de paiement
|
||||
create_one_button: Ajouter un nouveau moyen de paiement
|
||||
primary_details:
|
||||
name: Nom
|
||||
name_placeholder: 'ex: Les Oranges Bleues'
|
||||
groups: Groupes
|
||||
groups_tip: Select any groups or regions that you are a member of. This will help customers find your enterprise.
|
||||
groups_placeholder: Commencer à taper dans rechercher les groupes disponibles...
|
||||
primary_producer: Primary Producer
|
||||
primary_producer_tip: Select 'Producer' if you are a primary producer of food.
|
||||
producer: Producteur
|
||||
any: Any
|
||||
none: None
|
||||
own: Own
|
||||
sells: Sells
|
||||
sells_tip: "None - enterprise does not sell to customers directly.<br />Own - Enterprise sells own products to customers.<br />Any - Enterprise can sell own or other enterprises products.<br />"
|
||||
visible_in_seach: Visible dans la recherche?
|
||||
visible_in_seach_tip: Determines whether this enterprise will be visible to customers when searching the site.
|
||||
visible: Visible
|
||||
not_visible: Pas visible
|
||||
permalink: Lien (pas d'espace)
|
||||
permalink_tip: "This permalink is used to create the url to your shop: {{link}} your-shop-name/shop"
|
||||
link_to_front: Link to shop front
|
||||
link_to_front_tip: A direct link to your shopfront on the Open Food Network.
|
||||
shipping_methods:
|
||||
name: Nom
|
||||
applies: Applies?
|
||||
manage: Gérer les moyens de livraison
|
||||
create_button: Ajouter un nouveau moyen de livraison
|
||||
create_one_button: Ajouter un nouveau moyen de livraison
|
||||
no_method_yet: Vous n'avez encore aucun moyen de livraison défini.
|
||||
shop_preferences:
|
||||
shopfront_requires_login: "Cette boutique exige un login?"
|
||||
shopfront_requires_login_tip: "Les acheteurs doivent-ils se connecter pour accéder à la boutique?"
|
||||
shopfront_requires_login_false: "Public"
|
||||
shopfront_requires_login_true: "Demander aux acheteurs de se connecter"
|
||||
allow_guest_orders: "Guest orders"
|
||||
allow_guest_orders_tip: "Allow checkout as guest or require a registered user."
|
||||
allow_guest_orders_false: "Require login to order"
|
||||
allow_guest_orders_true: "Allow guest checkout"
|
||||
shopfront_message_placeholder: \
|
||||
An optional explanation for customers detailing how your shopfront works, \
|
||||
to be displayed above the product list on your shop page.
|
||||
shopfront_closed_message_placeholder: \
|
||||
A message which provides a more detailed explanation about why your shop is \
|
||||
closed and/or when customers can expect it to open again. This is displayed \
|
||||
on your shop only when you have no active order cycles (ie. shop is closed).
|
||||
open_date: Open Date
|
||||
close_date: Close Date
|
||||
social:
|
||||
twitter_placeholder: 'ex: @lesorangesbleues'
|
||||
tag_rules:
|
||||
default_rules:
|
||||
by_default: Par défaut
|
||||
no_rules_yet: Aucune règle encore ajoutée
|
||||
add_new_button: + Ajouter une nouvelle règle
|
||||
no_tags_yet: Aucun tag encore défini pour cette entreprise
|
||||
no_rules_yet: Aucun régle encore définie pour ce tag
|
||||
for_customers_tagged: 'For customers tagged:'
|
||||
add_new_rule: '+ Ajouter une nouvelle régle'
|
||||
add_new_tag: '+ Ajouter un nouveau tag'
|
||||
users:
|
||||
email_confirmation_text: Email confirmation is pending.<br />We've sent a confirmation email to
|
||||
resend: Renvoyer
|
||||
owner: Propriétaire
|
||||
owner_tip: Le premier utilisateur responsable pour l'entreprise.
|
||||
notifications: Notifications
|
||||
notifications_tip: Notifications about orders will be send to this email address.
|
||||
notifications_placeholder: 'ex: gustav@truffles.com'
|
||||
notifications_note: 'Note: A new email address may need to be confirmed prior to use'
|
||||
managers: Managers
|
||||
managers_tip: The other users with permission to manage this enterprise.
|
||||
actions:
|
||||
edit_profile: Mettre à jour le profil
|
||||
properties: Propriétés
|
||||
payment_methods: Méthodes de paiement
|
||||
payment_methods_tip: Cette entreprise n'a pas de méthode de paiement
|
||||
shipping_methods: Méthodes de livraison
|
||||
shipping_methods_tip: Cette entreprise n'a pas de méthode de livraisons
|
||||
enterprise_fees: Enterprise Fees
|
||||
enterprise_fees_tip: This enterprise has no fees
|
||||
admin_index:
|
||||
name: Nom
|
||||
role: Role
|
||||
sells: Sells
|
||||
visible: Visible?
|
||||
owner: Owner
|
||||
producer: Producer
|
||||
change_type_form:
|
||||
producer_profile: Producer Profile
|
||||
connect_ofn: Connect through OFN
|
||||
always_free: ALWAYS FREE
|
||||
producer_description_text: Add your products to Open Food Network, allowing hubs to stock your products in their stores.
|
||||
producer_shop: Producer Shop
|
||||
sell_your_produce: Sell your own produce
|
||||
sell_description_text: Sell your products directly to customers through your very own Open Food Network shopfront.
|
||||
sell_description_text2: A Producer Shop is for your produce only, if you want to sell produce grown/produced off site, select 'Producer Hub'.
|
||||
producer_hub: Producer Hub
|
||||
producer_hub_text: Sell produce from self and others
|
||||
producer_hub_description_text: Your enterprise is the backbone of your local food system. You can sell your own produce as well as produce aggregated from other enterprises through your shopfront on the Open Food Network.
|
||||
profile: Profile Only
|
||||
get_listing: Get a listing
|
||||
profile_description_text: People can find and contact you on the Open Food Network. Your enterprise will be visible on the map, and will be searchable in listings.
|
||||
hub_shop: Hub Shop
|
||||
hub_shop_text: Sell produce from others
|
||||
hub_shop_description_text: Your enterprise is the backbone of your local food system. You aggregate produce from other enterprises and can sell it through your shop on the Open Food Network.
|
||||
choose_option: Please choose one of the options above.
|
||||
change_now: Change now
|
||||
enterprise_user_index:
|
||||
search_placeholder: Search By Name
|
||||
manage: Manage
|
||||
new_form:
|
||||
owner: Owner
|
||||
owner_tip: The primary user responsible for this enterprise.
|
||||
i_am_producer: I am a Producer
|
||||
contact_name: Nom du contact
|
||||
edit:
|
||||
editing: 'Editing:'
|
||||
back_link: Retour à la liste d'entreprise
|
||||
index:
|
||||
title: Enterprises
|
||||
new_enterprise: Ajouter une nouvelle entreprise
|
||||
new:
|
||||
title: Nouvelle entreprise
|
||||
back_link: Retour à la liste d'entreprise
|
||||
welcome:
|
||||
welcome_title: Bienvenue chez Open Food France !
|
||||
welcome_text: Vous avez bien créé une
|
||||
next_step: Etape suivante
|
||||
choose_starting_point: 'Choose your starting point:'
|
||||
order_cycles:
|
||||
advanced_settings:
|
||||
title: Advanced Settings
|
||||
choose_product_tip: You can opt to restrict all available products (both incoming and outgoing), to only those in {{inventory}}'s inventory.
|
||||
preferred_product_selection_from_coordinator_inventory_only_here: Coordinator's Inventory Only
|
||||
preferred_product_selection_from_coordinator_inventory_only_all: All Available Products
|
||||
save_reload: Save and Reload Page
|
||||
coordinator_fees:
|
||||
add: Add coordinator fee
|
||||
form:
|
||||
incoming: Incoming
|
||||
supplier: Supplier
|
||||
products: Products
|
||||
receival_details: Receival details
|
||||
fees: Fees
|
||||
outgoing: Outgoing
|
||||
distributor: Distributor
|
||||
products: Products
|
||||
tags: Tags
|
||||
delivery_detaisl: Pickup / Delivery details
|
||||
debug_info: Debug information
|
||||
name_and_timing_form:
|
||||
name: Name
|
||||
orders_open: Orders open
|
||||
coordinator: Coordinator
|
||||
order_closes: Orders close
|
||||
row:
|
||||
suppliers: suppliers
|
||||
distributors: distributors
|
||||
variants: variants
|
||||
simple_form:
|
||||
ready_for: Ready for
|
||||
ready_for_placeholder: Date / time
|
||||
customer_instructions: Customer instructions
|
||||
customer_instructions_placeholder: Pick-up or delivery notes
|
||||
products: Products
|
||||
fees: Fees
|
||||
edit:
|
||||
advanced_settings: Advanced Settings
|
||||
update_and_close: Update and Close
|
||||
producer_properties:
|
||||
form:
|
||||
property: Propriété
|
||||
value: Valeur
|
||||
index:
|
||||
title: Producer Properties
|
||||
shared:
|
||||
user_guide_link:
|
||||
user_guide: Guide l'utilisateur
|
||||
|
||||
home:
|
||||
hubs:
|
||||
show_closed_shops: "Aficher les boutiques fermées"
|
||||
@@ -211,10 +465,14 @@ fr:
|
||||
phone: Téléphone
|
||||
next: Suivant
|
||||
address: Adresse
|
||||
address_placeholder: "ex: 16, rue du Marché"
|
||||
address2: Adresse (suite)
|
||||
city: Ville
|
||||
city_placeholder: "ex: Lille"
|
||||
state: Département
|
||||
postcode: Code postal
|
||||
postcode_placeholder: "ex: 59000"
|
||||
state: Région
|
||||
country: Pays
|
||||
unauthorized: Non authorisé
|
||||
terms_of_service: "Conditions d'utilisation"
|
||||
|
||||
987
config/locales/pt-BR.yml
Normal file
987
config/locales/pt-BR.yml
Normal file
@@ -0,0 +1,987 @@
|
||||
pt-BR:
|
||||
activerecord:
|
||||
attributes:
|
||||
spree/order:
|
||||
payment_state: Situação do pagamento
|
||||
shipment_state: Situação do Envio
|
||||
devise:
|
||||
failure:
|
||||
invalid: |
|
||||
Email ou senha incorretos.
|
||||
Você entrou como visitante da última vez? Talvez você precise criar uma conta ou criar uma nova senha.
|
||||
enterprise_confirmations:
|
||||
enterprise:
|
||||
confirmed: Obrigado, seu endereço de email foi confirmado.
|
||||
not_confirmed: Não foi possível confirmar seu endereço de email. Talvez você já tenha completado esse passo?
|
||||
confirmation_sent: "Email de confirmação enviado!"
|
||||
confirmation_not_sent: "Não foi possível enviar a confirmação de email."
|
||||
enterprise_mailer:
|
||||
confirmation_instructions:
|
||||
subject: "Favor confirmar o endereço de email para %{enterprise}"
|
||||
welcome:
|
||||
subject: "%{enterprise} está agora em %{sitename}"
|
||||
title: Open Food Network
|
||||
welcome_to: 'Bem vindo a'
|
||||
site_meta_description: "A gente começa por quem produz os alimentos, contando suas histórias e de seus cultivos, passando por quem distribui de modo justo e sem desperdício, até chegar em quem acredita que suas decisões de consumo podem..."
|
||||
search_by_name: Procurar por nome ou localidade
|
||||
producers: 'Produtores Nacionais'
|
||||
producers_join: Produtores nacionais estão convidados a se unirem à Open Food Network.
|
||||
print_invoice: "Imprimir fatura"
|
||||
send_invoice: "Enviar fatura"
|
||||
resend_confirmation: "Enviar confirmação novamente"
|
||||
view_order: "Ver pedido"
|
||||
edit_order: "Editar pedido"
|
||||
ship_order: "Enviar pedido"
|
||||
cancel_order: "Cancelar pedido"
|
||||
confirm_send_invoice: "Uma fatura desse pedido será enviada ao cliente. Tem certeza que deseja continuar?"
|
||||
confirm_resend_order_confirmation: "Tem certeza que deseja enviar novamente o pedido de confirmação do email?"
|
||||
invoice: "Fatura"
|
||||
percentage_of_sales: "%{percentage} de vendas"
|
||||
percentage_of_turnover: " \"Percentual de faturamento\""
|
||||
monthly_cap_excl_tax: "limite mensal (taxas exclusas)"
|
||||
capped_at_cap: "limitado em %{cap}"
|
||||
per_month: "ao mês"
|
||||
free: "grátis"
|
||||
free_trial: "faça um teste grátis"
|
||||
plus_tax: "mais taxas"
|
||||
total_monthly_bill_incl_tax: "Total mensal (taxas inclusas)"
|
||||
min_bill_turnover_desc: "uma vez que o volume de negócio exceder %{mbt_amount}"
|
||||
business_model_configuration: "Configuração do modelo de negócios"
|
||||
say_no: "Não"
|
||||
say_yes: "Sim"
|
||||
then: então
|
||||
sort_order_cycles_on_shopfront_by: "Ordenar Ciclo de Pedidos no Mercado Por"
|
||||
admin:
|
||||
date: Data
|
||||
email: Email
|
||||
name: Nome
|
||||
on_hand: Disponível
|
||||
on_demand: Sob Encomenda
|
||||
on_demand?: Sob Encomenda
|
||||
order_cycle: Ciclo de Pedidos
|
||||
phone: Telefone
|
||||
price: Preço
|
||||
producer: Produtor
|
||||
product: Produto
|
||||
quantity: Quantidade
|
||||
shop: Loja
|
||||
tags: Tags
|
||||
variant: Variante
|
||||
quick_search: Busca Rápida
|
||||
clear_all: apagar tudo
|
||||
start_date: "Data de Início"
|
||||
end_date: "Data de Término"
|
||||
columns: Colunas
|
||||
actions: Ações
|
||||
viewing: "Visualizando: %{current_view_name}"
|
||||
whats_this: O que é isso
|
||||
tag_has_rules: "Regras existentes para essa tag: %{num}"
|
||||
has_one_rule: "possui uma regra"
|
||||
has_n_rules: "tem %{num} regras"
|
||||
customers:
|
||||
index:
|
||||
add_customer: "Adicionar Cliente"
|
||||
new_customer: "Novo Cliente"
|
||||
customer_placeholder: "cliente@exemplo.org"
|
||||
valid_email_error: Favor usar um endereço de email válido
|
||||
add_a_new_customer_for: Adicionar novo cliente para %{shop_name}
|
||||
code: Código
|
||||
duplicate_code: "Esse código já está sendo usado."
|
||||
bill_address: "Endereço de Fatura"
|
||||
ship_address: "Endereço de Entrega"
|
||||
update_address_success: 'Endereço atualizado com sucesso'
|
||||
update_address_error: 'Favor preencher todos os campos obrigatórios'
|
||||
edit_bill_address: 'Editar Endereço de Fatura'
|
||||
edit_ship_address: 'Editar Endereço de Entrega'
|
||||
required_fileds: 'Os campos obrigatórios estão marcados com um asterisco'
|
||||
select_country: 'Selecionar País'
|
||||
select_state: 'Selecionar Estado'
|
||||
edit: 'Editar'
|
||||
update_address: 'Atualizar Endereço'
|
||||
confirm_delete: 'Certeza que quer excluir?'
|
||||
products:
|
||||
bulk_edit:
|
||||
unit: Unidade
|
||||
display_as: Mostrar Como
|
||||
category: Categoria
|
||||
tax_category: Categoria de taxa
|
||||
inherits_properties?: Herdar Propriedades?
|
||||
available_on: Disponível Em
|
||||
av_on: "Disp. Em"
|
||||
variant_overrides:
|
||||
index:
|
||||
title: Inventário
|
||||
description: Utilize essa página para gerenciar inventários para seus empreendimentos. Qualquer detalhe de produtos especificado aqui irá substituir o que foi especificado na página de 'Produtos'
|
||||
enable_reset?: Ativar Restauração do Estoque
|
||||
inherit?: Herdar?
|
||||
add: Adicionar
|
||||
hide: Esconder
|
||||
select_a_shop: Selecionar Uma Loja
|
||||
review_now: Avaliar Agora
|
||||
new_products_alert_message: Há %{new_product_count} novos produtos disponíveis para serem adicionados ao seu inventário.
|
||||
currently_empty: Seu inventário está vazio no momento
|
||||
no_matching_products: enhum produto correspondente encontrado no seu inventário
|
||||
no_hidden_products: Nenhum produto foi ocultado nesse inventário
|
||||
no_matching_hidden_products: Nenhum produto oculto corresponde à sua busca
|
||||
no_new_products: Nenhum novo produto está disponível para ser adicionado a este inventário
|
||||
no_matching_new_products: Nenhum novo produto corresponde à sua busca
|
||||
inventory_powertip: Este é seu inventário de produtos. Para adicionar produtos ao seu inventário, selecione 'Novos Produtos' no menu Exibição
|
||||
hidden_powertip: Estes produtos foram escondidos no seu inventário e não estarão disponíveis para serem adicionados à sua loja. Você pode clicar em 'Adicionar' para adicionar um produto a seu inventário.
|
||||
new_powertip: 'Estes produtos estão disponíveis para serem adicionados ao seu inventário. Clique em ''Adicionar'' para adicionar um produto em seu inventário, ou ''Ocultar'' para escondê-lo. Você pode voltar atrás quando quiser! '
|
||||
orders:
|
||||
bulk_management:
|
||||
tip: "Use essa página para alterar a quantidade de produtos dentre múltiplos pedidos. Produtos podem ser removidos completamente dos pedidos, se necessário"
|
||||
shared: "Recurso Compartilhado?"
|
||||
order_no: "Pedido nº"
|
||||
order_date: "Data do Pedido"
|
||||
max: "Máximo"
|
||||
product_unit: "Produto: Unidade"
|
||||
weight_volume: "Peso/Volume"
|
||||
ask: "Perguntar?"
|
||||
page_title: "Gestão de Pedidos a Granel"
|
||||
actions_delete: "Deletar Selecionado"
|
||||
loading: "Carregando pedidos"
|
||||
no_results: "Nenhum pedido encontrado. "
|
||||
group_buy_unit_size: "Tamanho de Unidade para Compras de Grupo"
|
||||
total_qtt_ordered: "Quantidade Total do Pedido"
|
||||
max_qtt_ordered: "Quantidade Máxima do Pedido"
|
||||
current_fulfilled_units: "Unidades Completadas no Momento"
|
||||
max_fulfilled_units: "Máximo de Unidades Completadas "
|
||||
order_error: "Alguns erros devem ser corrigidos antes de atualizar os pedidos.\nOs campos com bordas vermelhas contém erros."
|
||||
variants_without_unit_value: "AVISO: Algumas variantes não possuem unidade de valor"
|
||||
order_cycles:
|
||||
edit:
|
||||
choose_products_from: "Escolha Produtos De:"
|
||||
enterprises:
|
||||
index:
|
||||
producer?: Produtor?
|
||||
package: Embalagem
|
||||
status: Status
|
||||
manage: Administrar
|
||||
form:
|
||||
shop_preferences:
|
||||
shopfront_requires_login: "Mercado visível publicamente?"
|
||||
shopfront_requires_login_tip: "Escolha se os clientes precisarão fazer o login para ver os produtos do mercado, ou se eles estarão visíveis para todos."
|
||||
shopfront_requires_login_false: "Publico"
|
||||
shopfront_requires_login_true: "Disponível somente para clientes registrados"
|
||||
allow_guest_orders: "Pedidos dos convidados"
|
||||
allow_guest_orders_tip: "Permitir o checkout como convidado, ou requisitar um usuário registrado. "
|
||||
allow_guest_orders_false: "Requisitar o registro para fazer pedidos"
|
||||
allow_guest_orders_true: "Permitir checkout de convidados"
|
||||
home:
|
||||
hubs:
|
||||
show_closed_shops: "Mostrar lojas fechadas"
|
||||
hide_closed_shops: "Esconder lojas fechadas"
|
||||
show_on_map: "Mostrar todas no mapa"
|
||||
shared:
|
||||
register_call:
|
||||
selling_on_ofn: "Interessado em participar da Open Food Network?"
|
||||
register: "Registre-se aqui"
|
||||
shop:
|
||||
messages:
|
||||
login: "Entrar"
|
||||
register: "registro"
|
||||
contact: "contato"
|
||||
require_customer_login: "Essa loja é somente para clientes."
|
||||
require_login_html: "Fazer o %{login} se você já possui uma conta. Caso contrário, %{register} para se tornar cliente. "
|
||||
require_customer_html: "Favor %{contact} %{enterprise} para se tornar um cliente. "
|
||||
invoice_column_item: "Ítem"
|
||||
invoice_column_qty: "Quantidade"
|
||||
invoice_column_price: "Preço"
|
||||
logo: "Logo (640x130)"
|
||||
logo_mobile: "logo mobile (75x26)"
|
||||
logo_mobile_svg: "Logo mobile (svg)"
|
||||
home_hero: "Imagem de capa"
|
||||
home_show_stats: "Mostrar estatísticas"
|
||||
footer_logo: "Logo (220x76)"
|
||||
footer_facebook_url: "URL Facebook"
|
||||
footer_twitter_url: "URL Twitter"
|
||||
footer_instagram_url: "URL Instagram"
|
||||
footer_linkedin_url: "URL Linkedln "
|
||||
footer_googleplus_url: "URL Google Plus"
|
||||
footer_pinterest_url: "URL Pinterest"
|
||||
footer_email: "Email"
|
||||
footer_links_md: "Links"
|
||||
footer_about_url: "URL Sobre"
|
||||
footer_tos_url: "URL Termos de Serviço"
|
||||
name: Nome
|
||||
first_name: Primeiro Nome
|
||||
last_name: Último Nome
|
||||
email: Email
|
||||
phone: Telefon
|
||||
next: Próximo
|
||||
address: Endereço
|
||||
address2: Complemento
|
||||
city: Cidade
|
||||
state: Estado
|
||||
postcode: CEP
|
||||
country: País
|
||||
unauthorized: Não autorizado
|
||||
terms_of_service: "Termos de Serviço"
|
||||
on_demand: Sob encomenda
|
||||
none: Nenhum
|
||||
label_shops: "Lojas"
|
||||
label_map: "Mapa"
|
||||
label_producers: "Produtores"
|
||||
label_groups: "Grupos"
|
||||
label_about: "Sobre"
|
||||
label_connect: "Conectar"
|
||||
label_learn: "Aprender"
|
||||
label_shopping: "Compras"
|
||||
label_login: "Entrar"
|
||||
label_logout: "Sair"
|
||||
label_signup: "Registre-se"
|
||||
label_administration: "Administração"
|
||||
label_admin: "Admin"
|
||||
label_account: "Conta"
|
||||
label_more: "Mostrar mais"
|
||||
label_less: "Mostrar menos"
|
||||
label_notices: "Avisos"
|
||||
items: "itens"
|
||||
cart_headline: "seu carrinho de compras"
|
||||
total: "Total"
|
||||
checkout: "Checkout"
|
||||
cart_updating: "Atualizando carrinho"
|
||||
cart_empty: "Carrinho vazio"
|
||||
cart_edit: "Edite seu carrinho"
|
||||
card_number: Número do Cartão
|
||||
card_securitycode: "Código de Segurança"
|
||||
card_expiry_date: Data de Vencimento
|
||||
ofn_cart_headline: "Carrinho atual para:"
|
||||
ofn_cart_distributor: "Distribuidor:"
|
||||
ofn_cart_oc: "Ciclo de pedidos"
|
||||
ofn_cart_from: "De:"
|
||||
ofn_cart_to: "Para:"
|
||||
ofn_cart_product: "Produto:"
|
||||
ofn_cart_quantitiy: "Quantidade:"
|
||||
ofn_cart_send: "Me compre"
|
||||
ie_warning_headline: "Seu navegador está desatualizado :-("
|
||||
ie_warning_text: "Para a melhor experiência na Open Food Network, recomendamos que você atualize seu navegador:"
|
||||
ie_warning_chrome: Baixar Chrome
|
||||
ie_warning_firefox: Baixar Firefox
|
||||
ie_warning_ie: Atualizar Internet Explorer
|
||||
ie_warning_other: "Não consegue atualizar o navegador? Tente acessar a OFN pelo smartphone :-)"
|
||||
footer_global_headline: "OFN Global"
|
||||
footer_global_home: "Início"
|
||||
footer_global_news: "Novidades"
|
||||
footer_global_about: "Sobre"
|
||||
footer_global_contact: "Contato"
|
||||
footer_sites_headline: "Páginas OFN"
|
||||
footer_sites_developer: "Desenvolvedores"
|
||||
footer_sites_community: "Comunidade"
|
||||
footer_sites_userguide: "Guia do Usuário"
|
||||
footer_secure: "Seguro e confiável."
|
||||
footer_secure_text: "A Open Food Network utiliza a criptografia SSL (2048 bit RSA) para manter suas informações em segurança. Nossos servidores não guardam os detalhes do seu cartão de crédito e os pagamentos são processados por serviços compatíveis com PCI."
|
||||
footer_contact_headline: "Mantenha contato"
|
||||
footer_contact_email: "Envie-nos um email"
|
||||
footer_nav_headline: "Navegar"
|
||||
footer_join_headline: "Junte-se a nós"
|
||||
footer_join_body: "Criar uma lista de ofertas, mercado ou cooperativa na Open Food Network"
|
||||
footer_join_cta: "Quero saber mais!"
|
||||
footer_legal_call: "Leia nosso"
|
||||
footer_legal_tos: "Termos e condições"
|
||||
footer_legal_visit: "Nos encontre em "
|
||||
footer_legal_text_html: "A Open Food Network é uma plataforma grátis e open-source. Nosso conteúdo está sob licensa %{content_license} e nosso código %{code_license}."
|
||||
home_shop: Compre Agora
|
||||
brandstory_headline: "Alimentos, com liberdade"
|
||||
brandstory_intro: "Às vezes, a melhor maneira de consertar o sistema é construir um novo..."
|
||||
brandstory_part1: "A gente começa por quem produz os alimentos, contando suas histórias e de seus cultivos, passando por quem distribui de modo justo e sem desperdício, até chegar em quem acredita que suas decisões de consumo podem..."
|
||||
brandstory_part2: "Precisamos de uma ferramenta para empoderar a todos que produzem, vendem e compram comida. Uma maneira de contar histórias, e controlar toda a logística. "
|
||||
brandstory_part3: "Por isso construímos um mercado online, transparente, capaz de criar conexões verdadeiras. O código é aberto, e pode ser modificado para melhor se adaptar as particularidades de cada canto do planeta. "
|
||||
brandstory_part4: "Queremos de volta o controle sobre os alimentos que consumimos."
|
||||
brandstory_part5_strong: "Bem vindos à Open Food Network"
|
||||
brandstory_part6: "Todos amamos comida. Agora a gente também pode amar nosso sistema alimentar. "
|
||||
learn_body: "Conheça novos modelos, histórias e fornecedores para dar suporte à sua iniciativa, mercado ou organização. Encontre oportunidades para aprender com quem faz parte do seu setor. "
|
||||
learn_cta: "Inspire-se"
|
||||
connect_body: "Procure em nossa lista por produtores, distribuidores e cooperativas para encontrar um comércio justo, perto de você. Registre seu negócio na OFN para que os consumidores possam te encontrar. Junte-se à comunidade para trocar experiências e resolver problemas, juntos. "
|
||||
connect_cta: "Explore"
|
||||
system_headline: "Comprar, funciona assim:"
|
||||
system_step1: "1. Busca"
|
||||
system_step1_text: "Escolha entre diversos mercados independentes por alimentos locais, da estação. Procure por região, tipo de alimentos, ou se você prefere retirar ou receber em casa. "
|
||||
system_step2: "2. Compra"
|
||||
system_step2_text: "Transforme seu comércio com fornecedores de alimentos locais. Conheça as histórias por trás do seu produto, e daqueles que o fazem!"
|
||||
system_step3: "3. Coleta / Entrega"
|
||||
system_step3_text: "Espere que sua compre chegue até você, ou retire nos pontos de entrega determinados pelo seu fornecedor. Simples assim!"
|
||||
cta_headline: "A feira que incentiva a economia local."
|
||||
cta_label: "Estou pronto"
|
||||
stats_headline: "Estamos criando um novo sistema alimentar"
|
||||
stats_producers: "produtores"
|
||||
stats_shops: "lojas"
|
||||
stats_shoppers: "compradores"
|
||||
stats_orders: "pedidos"
|
||||
checkout_title: Fechar pedido
|
||||
checkout_now: Fechar pedido agora
|
||||
checkout_order_ready: Pedido pronto para
|
||||
checkout_hide: Ocultar
|
||||
checkout_expand: Expandir
|
||||
checkout_headline: "Ok, pronto para fechar o pedido?"
|
||||
checkout_as_guest: "Fechar pedido como convidado"
|
||||
checkout_details: "Seus detalhes"
|
||||
checkout_billing: "Informações para fatura"
|
||||
checkout_default_bill_address: "Salvar como endereço de faturamento padrão"
|
||||
checkout_shipping: Informações para envio
|
||||
checkout_default_ship_address: "Salvar como endereço para entrega padrão"
|
||||
checkout_method_free: Grátis
|
||||
checkout_address_same: O endereço de entrega é o mesmo endereço da fatura?
|
||||
checkout_ready_for: "Pronto para"
|
||||
checkout_instructions: "Algum comentário ou instruções especiais?"
|
||||
checkout_payment: Pagamento
|
||||
checkout_send: Fechar pedido agora
|
||||
checkout_your_order: Seu pedido
|
||||
checkout_cart_total: Total do carrinho
|
||||
checkout_shipping_price: Envio
|
||||
checkout_total_price: Total
|
||||
checkout_back_to_cart: "De volta para o Carrinho"
|
||||
order_paid: PAGO
|
||||
order_not_paid: NÃO PAGO
|
||||
order_total: Total do pedido
|
||||
order_payment: "Pagando com:"
|
||||
order_billing_address: Endereço de fatura
|
||||
order_delivery_on: Entrega em
|
||||
order_delivery_address: Endereço para entrega
|
||||
order_special_instructions: "Suas anotações"
|
||||
order_pickup_time: Pronto para retirada
|
||||
order_pickup_instructions: Instruções para retirada
|
||||
order_produce: Produtos
|
||||
order_total_price: Total
|
||||
order_includes_tax: (inclui taxas)
|
||||
order_payment_paypal_successful: Seu pagamento via Paypal foi processado com sucesso.
|
||||
order_hub_info: Informações do distribuidor
|
||||
unsaved_changes_warning: "Existem modificações não salvas que serão perdidas se você continuar"
|
||||
unsaved_changes_error: "Campos com bordas vermelhas contem erros. "
|
||||
products: "Produtos"
|
||||
products_in: "em %{oc}"
|
||||
products_at: "em %{distributor}"
|
||||
products_elsewhere: "Produtos encontrados em outros lugares"
|
||||
email_welcome: "Bem vindo"
|
||||
email_confirmed: "Obrigado por confirmar seu endereço"
|
||||
email_registered: "é agora parte de"
|
||||
email_userguide_html: "O Guia de Usuário com suporte detalhado para gerenciar sua loja está aqui:"
|
||||
email_admin_html: "Você pode gerenciar sua conta entrando no %{link} ou clicando na engrenagem no canto superior direito da página, e selecionando Administração."
|
||||
email_community_html: "Também temos um fórum online para discussão sobre a plataforma e as dificuldades únicas de se negociar alimentos. Você está convidade a participar. Estamos evoluindo constantemente e suas idéias vão nos ajudar a melhorar.\n%{link}"
|
||||
join_community: "Faça parte da comunidade"
|
||||
email_help: "Se tiver quaisquer dificuldades, leia nosso FAQs, navegue no fórum ou crie um post no tópico 'Support' e alguém irá te ajudar!"
|
||||
email_confirmation_greeting: "Olá, %{contact}!"
|
||||
email_confirmation_profile_created: "Um perfil para %{name} foi criado com sucesso!\nPara ativar seu Perfil precisamos que você confirme seu endereço de email."
|
||||
email_confirmation_click_link: "Clique no link abaixo para confirma seu email e continuar criando seu perfil."
|
||||
email_confirmation_link_label: "Confirme esse endereço de email »"
|
||||
email_confirmation_help_html: "Depois de confirmar seu email você pode acessar a conta de administração desse empreendimento. Veja o %{link} para descobrir mais sobre %{sitename} e para começar a utilizar seu perfil ou loja online."
|
||||
email_confirmation_userguide: "Guia do Usuário"
|
||||
email_social: "Conecte-se com a gente:"
|
||||
email_contact: "Envie-nos um email:"
|
||||
email_signoff: "Olá,"
|
||||
email_signature: "%{sitename} Equipe"
|
||||
email_confirm_customer_greeting: "Olá %{name}, "
|
||||
email_confirm_customer_intro_html: "Obrigado por comprar com <strong>%{distributor}</strong>!"
|
||||
email_confirm_customer_number_html: "Confirmação de pedido <strong>#%{number}</strong>"
|
||||
email_confirm_customer_details_html: "Aqui estão os detalhes de pedido de <strong>%{distributor}</strong>:"
|
||||
email_confirm_customer_signoff: "Atenciosamente,"
|
||||
email_confirm_shop_greeting: "Olá %{name}, "
|
||||
email_confirm_shop_order_html: "Parabéns! Você tem um novo pedido para <strong>%{distributor}</strong>:"
|
||||
email_confirm_shop_number_html: "Confirmação de pedido <strong>#%{number}</strong>"
|
||||
email_order_summary_item: "Item"
|
||||
email_order_summary_quantity: "Qtd"
|
||||
email_order_summary_price: "Preço"
|
||||
email_order_summary_subtotal: "Subtotal:"
|
||||
email_order_summary_total: "Total:"
|
||||
email_payment_paid: PAGO
|
||||
email_payment_not_paid: NÃO PAGO
|
||||
email_payment_summary: Resumo do pagamento
|
||||
email_payment_method: "Pagando com:"
|
||||
email_shipping_delivery_details: Detalhes da entrega
|
||||
email_shipping_delivery_time: "Entrega "
|
||||
email_shipping_delivery_address: "Endereço de entrega:"
|
||||
email_shipping_collection_details: Detalhes para retirada
|
||||
email_shipping_collection_time: "Pronto para retirada"
|
||||
email_shipping_collection_instructions: "Instruções para retirada:"
|
||||
email_special_instructions: "Suas anotações"
|
||||
email_signup_greeting: Olá!
|
||||
email_signup_welcome: "Bem vindo a %{sitename}!"
|
||||
email_signup_login: Seu login
|
||||
email_signup_email: 'O seu email de login é '
|
||||
email_signup_shop_html: "Você pode começar a comprar agora em %{link}."
|
||||
email_signup_text: "Obrigado por se juntar à rede. Se você é um cliente, esperamos te apresentar a vários produtores fantásticos, incríveis distribuidores e comidas deliciosas! Se você é um produtor ou empreendedor, estamos felizes em ter você como parte de nossa rede"
|
||||
email_signup_help_html: "Dúvidas e comentários são sempre benvindos; você pode usar o botão <em>Enviar Comentário</em> no site, ou enviar um e-mail para %{email}"
|
||||
producer_mail_greeting: "Querido"
|
||||
producer_mail_text_before: "Agora temos todos os pedidos do cliente para a próxima entrega."
|
||||
producer_mail_order_text: "Aqui está um resumo de pedidos para seus produtos:"
|
||||
producer_mail_delivery_instructions: "Instruções para retirada/entrega do estoque:"
|
||||
producer_mail_signoff: "Obrigado e até breve"
|
||||
shopping_oc_closed: Fechado para pedidos
|
||||
shopping_oc_closed_description: "Favor aguardar até que o próximo ciclo seja aberto (ou entre em contato diretamente para saber se podemos aceitar pedidos atrasados)"
|
||||
shopping_oc_last_closed: "A último ciclo fechou a %{distance_of_time} atrás"
|
||||
shopping_oc_next_open: "A próximo ciclo abre em %{distance_of_time}"
|
||||
shopping_tabs_about: "Sobre %{distributor}"
|
||||
shopping_tabs_contact: "Contato"
|
||||
shopping_contact_address: "Endereço"
|
||||
shopping_contact_web: "Contato"
|
||||
shopping_contact_social: "Seguir"
|
||||
shopping_groups_part_of: "é parte de:"
|
||||
shopping_producers_of_hub: "produtores de %{hub}:"
|
||||
enterprises_next_closing: "Próximo fechamento de pedido"
|
||||
enterprises_ready_for: "Pronto para"
|
||||
enterprises_choose: "Escolha para quando você quer seu pedido:"
|
||||
hubs_buy: "Compre por:"
|
||||
hubs_shopping_here: "Comprando aqui"
|
||||
hubs_orders_closed: "Fechado para pedidos"
|
||||
hubs_profile_only: "Somente perfil"
|
||||
hubs_delivery_options: "Opções de entrega"
|
||||
hubs_pickup: "Coleta"
|
||||
hubs_delivery: "Entrega"
|
||||
hubs_producers: "Nosso produtores"
|
||||
hubs_filter_by: "Filtrar por"
|
||||
hubs_filter_type: "Tipo"
|
||||
hubs_filter_delivery: "Entrega"
|
||||
hubs_matches: "Você quis dizer?"
|
||||
hubs_intro: Compre na sua região
|
||||
hubs_distance: Mais próximo a
|
||||
hubs_distance_filter: "Mostrar lojas próximas a %{location}"
|
||||
products_clear_all: Apagar tudo
|
||||
products_showing: "Mostrando:"
|
||||
products_with: com
|
||||
products_search: "Procurar por produto ou produtor"
|
||||
products_loading: "Carregando produtos..."
|
||||
products_updating_cart: "Atualizando carrinho..."
|
||||
products_cart_empty: "Carrinho vazio"
|
||||
products_edit_cart: "Edite seu carrinho"
|
||||
products_from: de
|
||||
products_change: "Nenhuma modificação a ser salva."
|
||||
products_update_error: "Falha ao salvar, com os seguintes erros:"
|
||||
products_update_error_msg: "Falha ao salvar."
|
||||
products_update_error_data: "Falha no salvamento devido a dados inválidos:"
|
||||
products_changes_saved: "Modificações salvas."
|
||||
search_no_results_html: "Desculpe, nenhum resultado encontrado para %{query}. Que tal tentar outra busca?"
|
||||
components_profiles_popover: "Perfis não possuem mercaods na Open Food Network, mas pode ter suas próprias lojas físicas ou online em outro endereço"
|
||||
components_profiles_show: "Mostrar perfis"
|
||||
components_filters_nofilters: "Nenhum filtro"
|
||||
components_filters_clearfilters: "Eliminar filtros"
|
||||
groups_title: Grupos
|
||||
groups_headline: Grupos / Regiões
|
||||
groups_text: "Todo produtor é único. Todo negócio tem algo de diferente para oferecer. Nossos grupos são coletivos de produtores, armazéns e distribuidores que compartilham algo em comum, como localização, mercado ou filosofia. Isso faz com que sua experiência de compra fique mais fácil. Explore a curadoria feita por cada um de nosso grupos. "
|
||||
groups_search: "Procurar por nome ou localidade"
|
||||
groups_no_groups: "Nenhum grupo encontrado. "
|
||||
groups_about: "Sobre nós"
|
||||
groups_producers: "Nosso produtores"
|
||||
groups_hubs: "Nossas"
|
||||
groups_contact_web: Contato
|
||||
groups_contact_social: Seguir
|
||||
groups_contact_address: Endereço
|
||||
groups_contact_email: Envie-nos um email
|
||||
groups_contact_website: Visite nosso website
|
||||
groups_contact_facebook: Siga
|
||||
groups_signup_title: Inscreva-se como grupo
|
||||
groups_signup_headline: Inscrição de grupos
|
||||
groups_signup_intro: "Somos uma plataforma incrível para marketing colaborativo: a maneira mais fácil para que seus membros alcancem novos mercados. Não temos fins lucrativos, somos simples e acessíveis."
|
||||
groups_signup_email: Envie-nos um email
|
||||
groups_signup_motivation1: Transformamos o sistema alimentar de maneira justa.
|
||||
groups_signup_motivation2: 'Trabalhos para isso. Somos uma organização global, sem fins lucrativos, baseada em código open source. Jogamos limpo, sem mistério. '
|
||||
groups_signup_motivation3: 'Sabemos que você tem grandes planos, e queremos ajudar. Podemos compartilhar conhecimento, redes e recurso. Sabemos que ninguém muda nada sozinho, por isso queremos você como parceiro. '
|
||||
groups_signup_motivation4: Vamos até onde você está.
|
||||
groups_signup_motivation5: 'Seja uma cooperativa de produtores, distribuidores, indústria ou governo local. '
|
||||
groups_signup_motivation6: 'Seja qual for o seu papel, estamos aqui para ajudar. Entre em contato com a gente e conte-nos sobre suas ideias e projetos. '
|
||||
groups_signup_motivation7: 'Queremos dar sentido para os movimentos por boa comida. '
|
||||
groups_signup_motivation8: 'Se você precisa engajar sua rede de contatos, nós oferecemos a plataforma para isso. Conectamos todos os agentes e setores envolvidos no sistema alimentar. '
|
||||
groups_signup_motivation9: 'Se você precisa de recursos, nós te conectamos a uma rede global de parceiros. '
|
||||
groups_signup_pricing: Conta de Grupos
|
||||
groups_signup_studies: Estudos de Caso
|
||||
groups_signup_contact: Pronto para discutir?
|
||||
groups_signup_contact_text: "Entre em contato para descobrir o que a OFN pode fazer por você"
|
||||
groups_signup_detail: "Aqui está o detalhe. "
|
||||
login_invalid: "Email ou senha inválidos"
|
||||
modal_hubs: "Centrais de Alimentos"
|
||||
modal_hubs_abstract: Nossas centrais de alimentos são o ponto de contato entre você e as pessoas que produzem sua comida!
|
||||
modal_hubs_content1: 'Você pode procurar pelo mercado mais próximo, por localização ou por nome. Alguns distribuidores possuem múltiplos pontos de entrega, onde você pode retirar suas compras, e outros ainda entregam na sua casa. Cada mercado é um ponto de venda independente, e por isso as ofertas e maneira de operar podem variar de um para outro. '
|
||||
modal_hubs_content2: Você só pode comprar em uma central de alimentos por vez.
|
||||
modal_groups: "Grupos / Regiões"
|
||||
modal_groups_content1: Essas são as organizações e relações entre as centrais que constroem a Open Food Network
|
||||
modal_groups_content2: Alguns grupos estão organizados por localização, outros por similaridades não geográficas.
|
||||
modal_how: "Como funciona"
|
||||
modal_how_shop: Compra na Open Food Network
|
||||
modal_how_shop_explained: Procure por um mercado próximo e comece suas compras! Em cada mercado você pode ver, em detalhe, quais produtos são oferecidos (você só pode comprar em um mercado de cada vez).
|
||||
modal_how_pickup: 'Custos de coleta e entrega. '
|
||||
modal_how_pickup_explained: 'Alguns mercados entregam na sua casa, outros oferecem um local para que você mesmo retire os produtos. É possível ver quais opções estão disponíveis no perfil individual de cada um, e fazer sua escolha no momento do checkout. Provavelmente será cobrada uma taxa de entrega, que pode variar de mercado para mercado. '
|
||||
modal_how_more: Saiba mais
|
||||
modal_how_more_explained: "Para saber mais sobre a Open Food Network, como funciona, e se envolver:"
|
||||
modal_producers: "Produtores"
|
||||
modal_producers_explained: "Nosso produtores são quem disponibilizam toda a oferta da Open Food Network"
|
||||
producers_about: Sobre nós
|
||||
producers_buy: Compre por
|
||||
producers_contact: Contato
|
||||
producers_contact_phone: Ligue
|
||||
producers_contact_social: Seguir
|
||||
producers_buy_at_html: "Compre por produtos oferecidos por %{enterprise} em:"
|
||||
producers_filter: Filtrar por
|
||||
producers_filter_type: Tipo
|
||||
producers_filter_property: Propriedades
|
||||
producers_title: Produtores
|
||||
producers_headline: Encontre produtores locais
|
||||
producers_signup_title: Inscreva-se como produtor
|
||||
producers_signup_headline: Mais liberdade para quem produz comida.
|
||||
producers_signup_motivation: Comercialize seus produtos e conte sua história para um mercado novo e diferenciado. Economize tempo e dinheiro em comunicação e logística.
|
||||
producers_signup_send: Cadastre-se agora
|
||||
producers_signup_enterprise: Contas de Empreendimentos
|
||||
producers_signup_studies: Histórias de nossos produtores
|
||||
producers_signup_cta_headline: Cadastre-se agora!
|
||||
producers_signup_cta_action: Cadastre-se agora
|
||||
producers_signup_detail: Aqui está o detalhe/
|
||||
products_item: Ítem
|
||||
products_description: Descrição
|
||||
products_variant: Variante
|
||||
products_quantity: Quantidade
|
||||
products_available: Disponível?
|
||||
products_producer: "Produtor"
|
||||
products_price: "Preço"
|
||||
register_title: Registro
|
||||
sell_title: "\bRegistrar"
|
||||
sell_headline: "Fazer parte da Open Food Network!"
|
||||
sell_motivation: "Mostre seus produtos deliciosos."
|
||||
sell_producers: "Produtores"
|
||||
sell_hubs: "Centrais"
|
||||
sell_groups: "Grupos"
|
||||
sell_producers_detail: "Crie um perfil para seu negócio em apenas alguns minutos. A qualquer momento você poderá fazer se tornar um mercado online e vender seus produtos diretamente ao consumidor."
|
||||
sell_hubs_detail: "Crie um perfil para seu negócio ou organização na OFN. A qualquer momento você poderá fazer um upgrade para um mercado de multi-produtores. "
|
||||
sell_groups_detail: "Organize um lista personalizada de negócios (cultivos, cooperativas, comércios, etc.) para sua região ou organização. "
|
||||
sell_user_guide: "Saiba mais acessando nosso guia. "
|
||||
sell_listing_price: "Criar um perfil na OFN é grátis. Abrir e gerenciar um mercado na OFN é grátis. Organizar um grupo de empresas na OFN é grátis."
|
||||
sell_embed: "Você também pode embutir um mercado da OFN no seu próprio site, ou construir um site específico para a sua região. "
|
||||
sell_ask_services: "Pergunte-nos sobre nossos serviços."
|
||||
shops_title: Lojas
|
||||
shops_headline: 'Compras, transformadas. '
|
||||
shops_text: 'A colheita é feita em ciclos, a comida é produzida em ciclos, e nós fazemos nossos pedidos em ciclos. Se você encontrar um ciclo de pedidos fechado, volte em breve para tentar novamente. '
|
||||
shops_signup_title: Registre-se como uma central
|
||||
shops_signup_headline: 'Um mercado de alimentos sem tamanho. '
|
||||
shops_signup_motivation: 'Seja qual for seu perfil, nos oferecemos suporte. Somos sem fins lucrativos, independentes, e open source. '
|
||||
shops_signup_action: Cadastre-se agora
|
||||
shops_signup_pricing: Contas de Empreendimentos
|
||||
shops_signup_stories: Histórias de nossas centrais.
|
||||
shops_signup_help: Estamos prontos para ajudar
|
||||
shops_signup_help_text: Você precisa de mais retorno, novos compradores e parceiros de logística. Você precisa contar a sua história.
|
||||
shops_signup_detail: Aqui está o detalhe.
|
||||
orders_fees: Taxas...
|
||||
orders_edit_title: Carrinho de compras
|
||||
orders_edit_headline: seu carrinho de compras
|
||||
orders_edit_time: Pedido pronto para
|
||||
orders_edit_continue: Continuar comprando
|
||||
orders_edit_checkout: Fechar pedido
|
||||
orders_form_empty_cart: "Carrinho vazio"
|
||||
orders_form_subtotal: Subtotal dos produtos
|
||||
orders_form_admin: Administração e manejo
|
||||
orders_form_total: Total
|
||||
orders_oc_expired_headline: Este ciclo de pedidos está fechado para pedidos
|
||||
orders_oc_expired_text: "Desculpe, este ciclo de pedidos fechou há %{time} atrás. Favor entrar em contato diretamente com sua central para saber se podem aceitar pedidos atrasados."
|
||||
orders_oc_expired_text_others_html: "Desculpe, este ciclo de pedidos fechou há %{time} atrás. Favor entrar em contato diretamente com sua central para saber se podem aceitar pedidos atrasados <strong>%{link}</strong>."
|
||||
orders_oc_expired_text_link: "ou veja os outros ciclos de pedidos disponíveis nessa central"
|
||||
orders_oc_expired_email: "Email:"
|
||||
orders_oc_expired_phone: "Telefone:"
|
||||
orders_show_title: Confimação de Pedido
|
||||
orders_show_time: Pedido pronto em
|
||||
orders_show_number: Confirmação de pedido
|
||||
products_cart_distributor_choice: "Distribuidor para seu pedido:"
|
||||
products_cart_distributor_change: "O distribuidor para este pedido será trocado para %{name} se você adicionar este produto no carrinho."
|
||||
products_cart_distributor_is: "O distribuidor para este pedido é %{name}."
|
||||
products_distributor_error: "Favor completar seu pedido no %{link} antes de comprar com outro distribuidor."
|
||||
products_oc: "Ciclo de pedido para seu pedido:"
|
||||
products_oc_change: "O ciclo de pedido para esse pedido será trocada para %{name} se você adicionar este produto ao carrinho."
|
||||
products_oc_is: "O ciclo de pedido para este pedido é %{name}."
|
||||
products_oc_error: "Favor completar seu pedido no %{link} antes de comprar em outro ciclo de pedido."
|
||||
products_oc_current: "seu ciclo de pedido atual"
|
||||
products_max_quantity: Quantidade máxima
|
||||
products_distributor: Distribuidor
|
||||
products_distributor_info: Quando você selecionar um distribuidor para seu pedido, o endereço e data para retirada serão exibidos aqui.
|
||||
shop_trial_length: "Duração de Avaliação da Loja (dias)"
|
||||
shop_trial_expires_in: "O período de avaliação do mercado termina em "
|
||||
shop_trial_expired_notice: "Boa notícia! Decidimos extender o período avaliação do mercado até segunda ordem. "
|
||||
password: Senha
|
||||
remember_me: Lembre-me
|
||||
are_you_sure: "Tem certeza?"
|
||||
orders_open: Pedidos abertos
|
||||
closing: "Fechando"
|
||||
going_back_to_home_page: "Voltando à pagina inicial"
|
||||
creating: Criando
|
||||
updating: Atualizando
|
||||
failed_to_create_enterprise: "Falha ao criar seu empreendimento"
|
||||
failed_to_create_enterprise_unknown: "Falha ao criar seu empreendimento. \nFavor verificar se todos os campos foram preenchidos corretamente."
|
||||
failed_to_update_enterprise_unknown: "Falha ao atualizar seu empreendimento. \nFavor verificar se todos os campos foram preenchidos corretamente."
|
||||
order_not_saved_yet: "Seu pedido ainda não foi salvo. Aguarde um momento. "
|
||||
filter_by: "Filtrar por"
|
||||
hide_filters: "Esconder filtros"
|
||||
one_filter_applied: "1 filtro aplicado"
|
||||
x_filters_applied: "filtros aplicados"
|
||||
submitting_order: "Processando seu pedido: favor aguardar"
|
||||
confirm_hub_change: "Tem certeza? Isso irá mudar a central selecionada e remover todos os ítens do carrinho de compras."
|
||||
confirm_oc_change: "Tem certeza? Isso irá mudar o ciclo de pedidos selecionado e remover todos os ítens do carrinho de compras."
|
||||
location_placeholder: "Digite uma localidade..."
|
||||
error_required: "Não pode ser vazio"
|
||||
error_number: "Precisa ser um número"
|
||||
error_email: "Precisa ser um endereço de email"
|
||||
item_handling_fees: "Taxas de Manejo do Produto (incluídas no total do produto)"
|
||||
january: "Janeiro"
|
||||
february: "Fevereiro"
|
||||
march: "Março"
|
||||
april: "Abril"
|
||||
may: "Maio"
|
||||
june: "Junho"
|
||||
july: "Julho"
|
||||
august: "Agosto "
|
||||
september: "Setembro"
|
||||
october: "Outubro"
|
||||
november: "Novembro"
|
||||
december: "Dezembro"
|
||||
email_not_found: "Endereço de email não encontrado"
|
||||
email_required: "Você precisa providenciar um endereço de email"
|
||||
logging_in: "Fazendo o login, aguarde um momento"
|
||||
signup_email: "Seu email"
|
||||
choose_password: "Escolha uma senha"
|
||||
confirm_password: "Confirme a senha"
|
||||
action_signup: "Cadastre-se agora"
|
||||
welcome_to_ofn: "Bem-vindo à Open Food Network!"
|
||||
signup_or_login: "Faça seu cadastro ou login para começar"
|
||||
have_an_account: "Já possui um conta?"
|
||||
action_login: "Entrar agora"
|
||||
forgot_password: "Esqueceu sua senha?"
|
||||
password_reset_sent: "Um email foi enviado com instruções para resetar sua senha!"
|
||||
reset_password: "Resetar password"
|
||||
who_is_managing_enterprise: "Quem é responsável por gerenciar %{enterprise}? "
|
||||
enterprise_contact: "Contato Principal"
|
||||
enterprise_contact_required: "Você precisa adicionar um contato principal"
|
||||
enterprise_email_address: "Endereço de e-mail"
|
||||
enterprise_phone: "n"
|
||||
back: "Voltar"
|
||||
continue: "Continuar"
|
||||
limit_reached_headline: "Oh não!"
|
||||
limit_reached_message: "Você chegou ao limite!"
|
||||
limit_reached_text: "Você chegou ao limite para o número de empreendimentos permitidos"
|
||||
limit_reached_action: "Voltar à página principal"
|
||||
select_promo_image: "Passo 3. Selecionar Imagem Promocional"
|
||||
promo_image_tip: "Tamanho preferencial: 1200x260px"
|
||||
promo_image_label: "Escolher uma imagem promocional"
|
||||
action_or: "OU"
|
||||
promo_image_drag: "Arraste e solte sua imagem aqui"
|
||||
review_promo_image: "Passo 4. Avalie Sua Imagem Promocional"
|
||||
review_promo_image_tip: "Dica: para melhores resultados, sua imagem deve preencher o espaço disponível"
|
||||
promo_image_placeholder: "Seu logo aparecerá aqui para avaliação assim que for carregado"
|
||||
uploading: "Carregando..."
|
||||
select_logo: "Passo 1. Selecionar imagem de perfil"
|
||||
logo_tip: "Dica: Imagens quadradas funcionam melhor, com mínimo de 300x300px"
|
||||
logo_label: "Escolha uma imagem de perfil"
|
||||
logo_drag: "Arraste e solte sua imagem aqui"
|
||||
review_logo: "Passo 2. Avalie sua imagem de perfil"
|
||||
review_logo_tip: "Dica: para melhores resultados, sua imagem deve preencher o espaço disponível"
|
||||
logo_placeholder: "Seu logo aparecerá aqui para avaliação assim que for carregado`"
|
||||
enterprise_about_headline: "Boa!"
|
||||
enterprise_about_message: "Vamos inserir mais detalhes sobre"
|
||||
enterprise_success: "Sucesso! %{enterprise} foi adicionada a Open Food Network"
|
||||
enterprise_registration_exit_message: "Se você fechar esse guia a qualquer momento, você precisa clicar no link de confirmação que você recebeu no email. Isso te levará até sua interface de administração onde você pode continuar construindo seu perfil."
|
||||
enterprise_description: "Descrição Curta"
|
||||
enterprise_description_placeholder: "Uma pequena frase descrevendo sua empresa"
|
||||
enterprise_long_desc: "Descrição completa"
|
||||
enterprise_long_desc_placeholder: "Essa é a oportunidade de contar a história da sua empresa. Sugerimos um parágrafo, no máximo, 600 caracteres ou 150 palavras. "
|
||||
enterprise_long_desc_length: "%{num} caracteres / recomendamos até 600"
|
||||
enterprise_tax_required: "Você precisa fazer uma seleção."
|
||||
enterprise_final_step: "Último passo!"
|
||||
enterprise_social_text: "Como as pessoas podem encontrar o/a %{enterprise} online?"
|
||||
website: "Website"
|
||||
website_placeholder: "eg. openfoodnetwork.com.br"
|
||||
facebook: "Facebook"
|
||||
facebook_placeholder: "ex. www.facebook.com/suapagina"
|
||||
linkedin: "LinkedIn"
|
||||
linkedin_placeholder: "ex. www.linkedin.com/seunome"
|
||||
twitter: "Twitter"
|
||||
twitter_placeholder: "ex. @conta_twitter"
|
||||
instagram: "Instagram"
|
||||
instagram_placeholder: "ex. @conta_instagram"
|
||||
registration_greeting: "Olá!"
|
||||
registration_intro: "Você pode criar um perfil para seu Produtor ou Distribuidor"
|
||||
registration_action: "Vamos começar!"
|
||||
registration_checklist: "Você vai precisar"
|
||||
registration_time: "5-10 minutos"
|
||||
registration_enterprise_address: "Endereço do empreendimento"
|
||||
registration_contact_details: "Informações para contato"
|
||||
registration_logo: "Sua imagem de perfil"
|
||||
registration_promo_image: "Imagem horizontal para seu perfil"
|
||||
registration_about_us: "'Sobre Nós'"
|
||||
registration_outcome_headline: "O que eu ganho?"
|
||||
registration_outcome1_html: "Seu perfil ajuda as pessoas a te <strong>encontrarem</strong> e entrarem em <strong>contato</strong> com você na Open Food Network"
|
||||
registration_outcome2: "Use este espaço para contar a história da sua empresa, e ajudar a criar conexões entre sua presença física e virtual."
|
||||
registration_outcome3: "Esse é também o primeiro passo para começar a comercializar na Open Food Network, ou abrir uma loja online"
|
||||
registration_finished_headline: "Pronto!"
|
||||
registration_finished_thanks: "Obrigado por preencher os detalhes para %{enterprise}."
|
||||
registration_finished_login: "Você pode alterar ou atualizar suas informações a qualquer momento fazendo o login na Open Food Network e entrando na seção 'Admin'."
|
||||
registration_finished_activate: "Ativar %{enterprise}."
|
||||
registration_finished_activate_instruction_html: "Enviamos um email de confirmação para <strong>%{email}</strong>. Favor seguir as instruções do email para que seu negócio seja visível na Open Food Network. "
|
||||
registration_finished_action: "Página principal"
|
||||
registration_type_headline: "Último passo para adicionar %{enterprise}!"
|
||||
registration_type_question: "Você é um produtor?"
|
||||
registration_type_producer: "Sim, sou um produtor"
|
||||
registration_type_no_producer: "Não, não sou um produtor"
|
||||
registration_type_error: "Favor escolher um. Você é um produtor?"
|
||||
registration_type_producer_help: "Produtores fazem coisas deliciosas de comer e beber. "
|
||||
registration_type_no_producer_help: "Se você não é um produtor, você provavelmente é alguém que vende e distribui comida. Você pode ser uma central, cooperativa, grupo de compras, lojista, etc."
|
||||
create_profile: "Crir perfil"
|
||||
registration_images_headline: "Obrigado!"
|
||||
registration_images_description: "Vamos adicionar umas belas imagens para seu perfil ficar lindão!"
|
||||
registration_detail_headline: "Vamos Começar"
|
||||
registration_detail_enterprise: "Primeiro precisamos saber mais sobre sua empresa:"
|
||||
registration_detail_producer: "Primeiro precisamos saber mais sobre sua produção:"
|
||||
registration_detail_name_enterprise: "Nome da Atividade:"
|
||||
registration_detail_name_producer: "Nome da Produção"
|
||||
registration_detail_name_placeholder: "ex. Fazenda da Nina"
|
||||
registration_detail_name_error: "Escolha um nome para sua empresa"
|
||||
registration_detail_address1: "Linha de endereço 1:"
|
||||
registration_detail_address1_placeholder: "ex. Rua Mármore, 123"
|
||||
registration_detail_address1_error: "Favor inserir um endereço"
|
||||
registration_detail_address2: "Linha de endereço 2:"
|
||||
registration_detail_suburb: "Município"
|
||||
registration_detail_suburb_placeholder: "ex. Contagem"
|
||||
registration_detail_suburb_error: "Favor inserir um município"
|
||||
registration_detail_postcode: "Código postal"
|
||||
registration_detail_postcode_placeholder: "ex. 3070"
|
||||
registration_detail_postcode_error: "Código postal requisitado"
|
||||
registration_detail_state: "Estado"
|
||||
registration_detail_state_error: "É obrigatório inserir o Estado"
|
||||
registration_detail_country: "País"
|
||||
registration_detail_country_error: "Favor inserir um país"
|
||||
fees: "Taxas"
|
||||
item_cost: "Custo da unidade"
|
||||
bulk: "Atacado"
|
||||
shop_variant_quantity_min: "mín."
|
||||
shop_variant_quantity_max: "max."
|
||||
follow: "Seguir"
|
||||
shop_for_products_html: "Compre produtos da <span class=\"turquoise\">%{enterprise}</span> em:"
|
||||
change_shop: "Mudar loja para:"
|
||||
shop_at: "Compre agora em:"
|
||||
price_breakdown: "Preço detalhado"
|
||||
admin_fee: "Taxa de manejo"
|
||||
sales_fee: "Taxa de venda"
|
||||
packing_fee: "Taxa de embalagem"
|
||||
transport_fee: "Taxa de transporte"
|
||||
fundraising_fee: "Taxa de poupança"
|
||||
price_graph: "Gráfico de preços"
|
||||
included_tax: "Taxas incluídas"
|
||||
balance: "Balanço"
|
||||
transaction: "Transação"
|
||||
transaction_date: "DataData"
|
||||
payment_state: "Status do Pagamento"
|
||||
shipping_state: "Status da entrega"
|
||||
value: "Valor"
|
||||
balance_due: "saldo devedor"
|
||||
credit: "Crédito"
|
||||
Paid: "Pago"
|
||||
Ready: "Pronto"
|
||||
you_have_no_orders_yet: "Você ainda não tem pedidos"
|
||||
running_balance: "Balanço corrente"
|
||||
outstanding_balance: "Saldo devedor"
|
||||
admin_entreprise_relationships: "Relações da empresa"
|
||||
admin_entreprise_relationships_everything: "Tudo"
|
||||
admin_entreprise_relationships_permits: "permite"
|
||||
admin_entreprise_relationships_seach_placeholder: "Busca"
|
||||
admin_entreprise_relationships_button_create: "Criar"
|
||||
admin_entreprise_groups: "Grupos de empresas"
|
||||
admin_entreprise_groups_name: "Nome"
|
||||
admin_entreprise_groups_owner: "Dono"
|
||||
admin_entreprise_groups_on_front_page: "Na página inicial?"
|
||||
admin_entreprise_groups_entreprise: "Empreendimentos"
|
||||
admin_entreprise_groups_data_powertip: "Usuário responsável pelo grupo"
|
||||
admin_entreprise_groups_data_powertip_logo: "Esse é o logo do grupo"
|
||||
admin_entreprise_groups_data_powertip_promo_image: "Essa é a imagem que aparecerá no topo do perfil do Grupo"
|
||||
admin_entreprise_groups_contact: "Contato"
|
||||
admin_entreprise_groups_contact_city: "Município"
|
||||
admin_entreprise_groups_contact_city_placeholder: "ex. Contagem"
|
||||
admin_entreprise_groups_contact_zipcode: "Código Postal "
|
||||
admin_entreprise_groups_contact_zipcode_placeholder: "ex. 3078"
|
||||
admin_entreprise_groups_contact_state_id: "Estadi"
|
||||
admin_entreprise_groups_contact_country_id: "País"
|
||||
admin_entreprise_groups_web: "Recursos Web"
|
||||
admin_entreprise_groups_web_twitter: "ex. @nome_perfil"
|
||||
admin_entreprise_groups_web_website_placeholder: "ex. www.cogumelos.com.br"
|
||||
admin_order_cycles: "Ciclo de Pedidos do Administrador"
|
||||
open: "Aberto"
|
||||
close: "Fechado"
|
||||
supplier: "Fornecedor"
|
||||
coordinator: "Coordenador"
|
||||
distributor: "Distribuidor"
|
||||
fee_type: "Tipo de Taxa"
|
||||
tax_category: "Categoria de taxa"
|
||||
calculator: "Calculadora"
|
||||
calculator_values: "Valores da calculadora"
|
||||
flat_percent_per_item: "Percentual (por unidade)"
|
||||
new_order_cycles: "Novo Ciclo de Pedidos"
|
||||
select_a_coordinator_for_your_order_cycle: "Escolher um coordenador para novo ciclo de pedidos"
|
||||
edit_order_cycle: "Editar Ciclo de Pedidos"
|
||||
roles: "Papeis"
|
||||
update: "Atualizar"
|
||||
add_producer_property: "Adicionar produtor"
|
||||
admin_settings: "Preferências do Sistema"
|
||||
update_invoice: "Atualizar faturas"
|
||||
finalise_invoice: "Finalizar Faturas"
|
||||
finalise_user_invoices: "Finalizar Faturas de Usuário"
|
||||
finalise_user_invoice_explained: "Usar este botão para finalizar todos as faturas no sistema para o calendário do mês anterior. "
|
||||
manually_run_task: "Rodar Tarefa Manualmente"
|
||||
update_user_invoices: "Atualizar Fatura de Usuário"
|
||||
update_user_invoice_explained: "Usar este botão para atualizar imediamente todas as faturas no sistema para o mês atual, para cada usuário da empresa no sistema. Essa tarefa pode ser automatizada para rodar automaticamente toda noite. "
|
||||
auto_finalise_invoices: "Finalizar automaticamente as faturas no dia 2 de cada mês, à 1:30am"
|
||||
auto_update_invoices: "Atualizar automaticamente faturas toda as noites, a 1:00 am"
|
||||
in_progress: "Em andamento"
|
||||
started_at: "Começou em "
|
||||
queued: "Aguardando"
|
||||
scheduled_for: "Agendado para"
|
||||
customers: "Clientes"
|
||||
please_select_hub: "Favor selecionar uma Central"
|
||||
loading_customers: "Carregando Clientes"
|
||||
no_customers_found: "Nenhum cliente encontrado"
|
||||
go: "Ir"
|
||||
hub: "Central"
|
||||
accounts_administration_distributor: "distribuidor de administração de contas"
|
||||
accounts_and_billing: "Contas e Faturamento"
|
||||
producer: "Produtor"
|
||||
product: "Produto"
|
||||
price: "Preço"
|
||||
on_hand: "Disponível"
|
||||
save_changes: "Salvar Modificações"
|
||||
spree_admin_overview_enterprises_header: "Minhas Empresas"
|
||||
spree_admin_overview_enterprises_footer: "GERENCIAR MINHAS EMPRESAS"
|
||||
spree_admin_enterprises_hubs_name: "Nome"
|
||||
spree_admin_enterprises_create_new: "CRIAR NOVA"
|
||||
spree_admin_enterprises_shipping_methods: "Métodos de Entrega"
|
||||
spree_admin_enterprises_fees: "Taxas da Empresa"
|
||||
spree_admin_enterprises_none_create_a_new_enterprise: "CRIAR NOVA EMPRESA"
|
||||
spree_admin_enterprises_none_text: "Você ainda não possui nenhuma empresa"
|
||||
spree_admin_enterprises_producers_name: "Nome"
|
||||
spree_admin_enterprises_producers_total_products: "Total de Produtos"
|
||||
spree_admin_enterprises_producers_active_products: "Produtos Ativos"
|
||||
spree_admin_enterprises_tabs_hubs: "CENTRAIS"
|
||||
spree_admin_enterprises_tabs_producers: "PRODUTORES"
|
||||
spree_admin_enterprises_producers_manage_order_cycles: "GERENCIAR CICLO DE PEDIDOS"
|
||||
spree_admin_enterprises_producers_manage_products: "GERENCIAR PRODUTOS"
|
||||
spree_admin_enterprises_producers_orders_cycle_text: "Você ainda não possui nenhum ciclo de pedidos ativo."
|
||||
spree_admin_enterprises_any_active_products_text: "Você ainda não tem nenhum produto ativo."
|
||||
spree_admin_enterprises_create_new_product: "CRIAR UM NOVO PRODUTO"
|
||||
spree_admin_order_cycles: "Ciclo de Pedidos"
|
||||
spree_admin_order_cycles_tip: "O ciclo de pedido determina quando e onde seus produtos estarão disponíveis para clientes."
|
||||
dashbord: "Painel"
|
||||
spree_admin_single_enterprise_alert_mail_confirmation: "Favor confirmar o endereço de email para"
|
||||
spree_admin_single_enterprise_alert_mail_sent: "Enviamos um e-mail para"
|
||||
spree_admin_overview_action_required: "Medida Solicitada"
|
||||
spree_admin_overview_check_your_inbox: "Favor verificar sua caixa de entrada para maiores informações. Obrigado!"
|
||||
change_package: "Modificar Embalagem"
|
||||
spree_admin_single_enterprise_hint: "Dica: Para permitir que as pessoas te encontrem, ative sua visibilidade em"
|
||||
your_profil_live: "Seu perfil online"
|
||||
on_ofn_map: "O mapa da Open Food Network"
|
||||
see: "Ver"
|
||||
live: "online"
|
||||
manage: "Gerenciar"
|
||||
resend: "Re-enviar"
|
||||
add_and_manage_products: "Adicionar e gerenciar produtos"
|
||||
add_and_manage_order_cycles: "Adicionar e enviar ciclos de pedidos"
|
||||
manage_order_cycles: "Gerenciar ciclos de pedidos"
|
||||
manage_products: "Gerenciar produtos"
|
||||
edit_profile_details: "Editar detalhes de perfil "
|
||||
edit_profile_details_etc: "Modificar a descrição dos seu perfil, imagem, etc."
|
||||
order_cycle: "Ciclo de Pedidos"
|
||||
remove_tax: "Remover taxa"
|
||||
tax_settings: "Configurações de Taxas"
|
||||
products_require_tax_category: "produtos necessitam uma categoria de taxa"
|
||||
admin_shared_address_1: "Endereço"
|
||||
admin_shared_address_2: "Endereço (cont.)"
|
||||
admin_share_city: "Cidade"
|
||||
admin_share_zipcode: "Código Postal "
|
||||
admin_share_country: "País"
|
||||
admin_share_state: "Estadi"
|
||||
hub_sidebar_hubs: "Centrais"
|
||||
hub_sidebar_none_available: "Nada Disponível"
|
||||
hub_sidebar_manage: "Gerenciar"
|
||||
hub_sidebar_at_least: "Ao menos uma central deve ser selecionada"
|
||||
hub_sidebar_blue: "azul"
|
||||
hub_sidebar_red: "vermelho"
|
||||
shop_trial_in_progress: "O período de avaliação do mercado termina em %{days}."
|
||||
shop_trial_expired: "Boa notícia! Decidimos extender a avaliação da loja até segunda ordem. "
|
||||
report_customers_distributor: "Distribuidor"
|
||||
report_customers_supplier: "Fornecedor"
|
||||
report_customers_cycle: "Ciclo de Pedidos"
|
||||
report_customers_type: "Relatar Tipo"
|
||||
report_customers_csv: "Fazer download como csv"
|
||||
report_producers: "Produtores:"
|
||||
report_type: "Relatar Tipo:"
|
||||
report_hubs: "Centrais:"
|
||||
report_payment: "Métodos de Pagamento"
|
||||
report_distributor: "Distribuidor:"
|
||||
report_payment_by: 'Pagamentos Por Tipo'
|
||||
report_itemised_payment: 'Totais dos Pagamentos Discriminados'
|
||||
report_payment_totals: 'Totais dos Pagamanetos'
|
||||
report_all: 'todos'
|
||||
report_order_cycle: "Ciclo de Pedidos:"
|
||||
report_entreprises: "Empresas:"
|
||||
report_users: "Usuários:"
|
||||
initial_invoice_number: "Número de recibo inicial:"
|
||||
invoice_date: "Data de recibo:"
|
||||
due_date: "Data limite:"
|
||||
account_code: "Código de conta:"
|
||||
equals: "Igual a:"
|
||||
contains: "contém:"
|
||||
discount: "Desconto"
|
||||
filter_products: "Filtrar Produtos"
|
||||
delete_product_variant: "A última variante não pode ser deletada!"
|
||||
progress: "progresso"
|
||||
saving: "Salvando.."
|
||||
success: "Sucesso"
|
||||
failure: "falha"
|
||||
unsaved_changes_confirmation: "Modificações não salvas serão perdidas. Continuar mesmo assim?"
|
||||
one_product_unsaved: "Modificações para um produto permanecem não salvas."
|
||||
products_unsaved: "Modificações para %{n} produtos permanecem não salvas."
|
||||
is_already_manager: "já é um gestor!"
|
||||
no_change_to_save: "Nenhuma modificação a ser salva"
|
||||
add_manager: "Adicionar um gestor"
|
||||
users: "Usuários"
|
||||
about: "Sobre"
|
||||
images: "Imagens"
|
||||
web: "Web"
|
||||
primary_details: "Detalhes principais"
|
||||
adrdress: "Endereço"
|
||||
contact: "Contato"
|
||||
social: "Social"
|
||||
business_details: "Detalhes do negócio"
|
||||
properties: "Propriedades"
|
||||
shipping_methods: "Métodos de Entrega"
|
||||
payment_methods: "Métodos de Pagamento"
|
||||
payment_method_fee: "Taxa de transação"
|
||||
enterprise_fees: "Taxas da Empresa"
|
||||
inventory_settings: "Configurações de Inventário"
|
||||
tag_rules: "Regras para tag"
|
||||
shop_preferences: "Preferências da Loja"
|
||||
validation_msg_relationship_already_established: "^Esse relacionamento já foi estabelecido."
|
||||
validation_msg_at_least_one_hub: "^Pelo menos uma central deve ser selecionada"
|
||||
validation_msg_product_category_cant_be_blank: "^A Categoria do Produto deve ser preenchida"
|
||||
validation_msg_tax_category_cant_be_blank: "^A Categoria da taxa deve ser preenchida"
|
||||
validation_msg_is_associated_with_an_exising_customer: "está associado com um cliente existente"
|
||||
spree:
|
||||
zipcode: CEP
|
||||
shipment_states:
|
||||
backorder: atrasos
|
||||
partial: parcial
|
||||
pending: pendente
|
||||
ready: pronto
|
||||
shipped: enviado
|
||||
payment_states:
|
||||
balance_due: saldo devedor
|
||||
completed: completado
|
||||
checkout: fechar pedido
|
||||
credit_owed: crédito devido
|
||||
failed: falha
|
||||
paid: pago
|
||||
pending: pendente
|
||||
processing: processando
|
||||
void: vazio
|
||||
invalid: inváliod
|
||||
order_state:
|
||||
address: endereço
|
||||
adjustments: ajustes
|
||||
awaiting_return: aguardando retorno
|
||||
canceled: cancelado
|
||||
cart: carrinho
|
||||
complete: completo
|
||||
confirm: confirmado
|
||||
delivery: entrega
|
||||
payment: pagamento
|
||||
resumed: retomado
|
||||
returned: retornado
|
||||
skrill: skrill
|
||||
BIN
public/Terms-of-ServiceUK.pdf
Normal file
BIN
public/Terms-of-ServiceUK.pdf
Normal file
Binary file not shown.
@@ -162,9 +162,9 @@ feature %q{
|
||||
# hide dropdown
|
||||
find("div#columns-dropdown", :text => "COLUMNS").click
|
||||
within "tr#li_#{li1.id}" do
|
||||
expect(page).to have_field "price", with: "$50.00"
|
||||
expect(page).to have_field "price", with: "50.00"
|
||||
fill_in "final_weight_volume", :with => 2000
|
||||
expect(page).to have_field "price", with: "$100.00"
|
||||
expect(page).to have_field "price", with: "100.00"
|
||||
end
|
||||
click_button "Save Changes"
|
||||
expect(page).to have_no_selector "#save-bar"
|
||||
@@ -181,9 +181,9 @@ feature %q{
|
||||
find("div#columns-dropdown div.menu div.menu_item", text: "Price").click
|
||||
find("div#columns-dropdown", :text => "COLUMNS").click
|
||||
within "tr#li_#{li1.id}" do
|
||||
expect(page).to have_field "price", with: "$#{format("%.2f",li1.price * 5)}"
|
||||
expect(page).to have_field "price", with: "#{format("%.2f",li1.price * 5)}"
|
||||
fill_in "quantity", :with => 6
|
||||
expect(page).to have_field "price", with: "$#{format("%.2f",li1.price * 6)}"
|
||||
expect(page).to have_field "price", with: "#{format("%.2f",li1.price * 6)}"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -142,7 +142,9 @@ feature "As a consumer I want to shop with a distributor", js: true do
|
||||
|
||||
describe "after selecting an order cycle with products visible" do
|
||||
let(:variant1) { create(:variant, product: product, price: 20) }
|
||||
let(:variant2) { create(:variant, product: product, price: 30) }
|
||||
let(:variant2) { create(:variant, product: product, price: 30, display_name: "Badgers") }
|
||||
let(:product2) { create(:simple_product, supplier: supplier, name: "Meercats") }
|
||||
let(:variant3) { create(:variant, product: product2, price: 40, display_name: "Ferrets") }
|
||||
let(:exchange) { Exchange.find(oc1.exchanges.to_enterprises(distributor).outgoing.first.id) }
|
||||
|
||||
before do
|
||||
@@ -150,6 +152,7 @@ feature "As a consumer I want to shop with a distributor", js: true do
|
||||
add_variant_to_order_cycle(exchange, variant)
|
||||
add_variant_to_order_cycle(exchange, variant1)
|
||||
add_variant_to_order_cycle(exchange, variant2)
|
||||
add_variant_to_order_cycle(exchange, variant3)
|
||||
order.order_cycle = oc1
|
||||
end
|
||||
|
||||
@@ -171,6 +174,35 @@ feature "As a consumer I want to shop with a distributor", js: true do
|
||||
# Product price should be listed as the lesser of these
|
||||
page.should have_price "$43.00"
|
||||
end
|
||||
|
||||
it "filters search results properly" do
|
||||
visit shop_path
|
||||
select "frogs", :from => "order_cycle_id"
|
||||
|
||||
fill_in "search", with: "74576345634XXXXXX"
|
||||
page.should have_content "Sorry, no results found"
|
||||
page.should_not have_content product2.name
|
||||
|
||||
fill_in "search", with: "Meer" # For product named "Meercats"
|
||||
page.should have_content product2.name
|
||||
page.should_not have_content product.name
|
||||
end
|
||||
|
||||
it "returns search results for products where the search term matches one of the product's variant names" do
|
||||
visit shop_path
|
||||
select "frogs", :from => "order_cycle_id"
|
||||
|
||||
fill_in "search", with: "Badg" # For variant with display_name "Badgers"
|
||||
|
||||
within('div.pad-top') do
|
||||
page.should have_content product.name
|
||||
page.should have_content variant2.display_name
|
||||
page.should_not have_content product2.name
|
||||
page.should_not have_content variant3.display_name
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
describe "group buy products" do
|
||||
|
||||
@@ -300,6 +300,7 @@ describe 'OrderCycle controllers', ->
|
||||
scope.removeCoordinatorFee(event, 0)
|
||||
expect(event.preventDefault).toHaveBeenCalled()
|
||||
expect(OrderCycle.removeCoordinatorFee).toHaveBeenCalledWith(0)
|
||||
expect(scope.order_cycle_form.$dirty).toEqual true
|
||||
|
||||
it 'Adds exchange fees', ->
|
||||
scope.addExchangeFee(event)
|
||||
@@ -310,6 +311,7 @@ describe 'OrderCycle controllers', ->
|
||||
scope.removeExchangeFee(event, 'exchange', 0)
|
||||
expect(event.preventDefault).toHaveBeenCalled()
|
||||
expect(OrderCycle.removeExchangeFee).toHaveBeenCalledWith('exchange', 0)
|
||||
expect(scope.order_cycle_form.$dirty).toEqual true
|
||||
|
||||
it 'Removes distribution of a variant', ->
|
||||
scope.removeDistributionOfVariant('variant')
|
||||
|
||||
Reference in New Issue
Block a user