diff --git a/config/locales/en-GB.yml b/config/locales/en-GB.yml
index 01c195382f..73d86cf9a6 100644
--- a/config/locales/en-GB.yml
+++ b/config/locales/en-GB.yml
@@ -1,4 +1,4 @@
-en-GB:
+en_GB:
activerecord:
attributes:
spree/order:
@@ -100,6 +100,11 @@ en-GB:
powered_by: Powered by
blocked_cookies_alert: "Your browser may be blocking cookies needed to use this shopfront. Click below to allow cookies and reload the page."
allow_cookies: "Allow Cookies"
+ notes: Notes
+ error: Error
+ processing_payment: Processing payment...
+ actions:
+ create_and_add_another: "Create and Add Another"
admin:
date: Date
email: Email
@@ -294,6 +299,8 @@ en-GB:
index:
capture: "Capture"
ship: "Ship"
+ invoice_email_sent: 'Invoice email has been sent'
+ order_email_resent: 'Order email has been resent'
bulk_management:
tip: "Use this page to alter product quantities across multiple orders. Products may also be removed from orders entirely, if required."
shared: "Shared Resource?"
@@ -433,6 +440,18 @@ en-GB:
close_date: Close Date
social:
twitter_placeholder: eg. @the_prof
+ stripe_connect:
+ connect_with_stripe: "Connect with Stripe"
+ stripe_connect_intro: "To accept payments using credit card, you will need to connect your stripe account to the Open Food Network. Use the button to the right to get started."
+ stripe_account_connected: "Stripe account connected."
+ disconnect: "Disconnect account"
+ confirm_modal:
+ title: Connect with Stripe
+ part1: Stripe is a payment processing service that allows shops on the OFN to accept credit card payments from customers.
+ part2: To use this feature, you must connect your Stripe account to the OFN. Clicking 'I Agree' below will redirect to you the Stripe website where you can connect an existing Stripe account, or create a new one if you don't already have one.
+ part3: This will allow the Open Food Network to accept credit card payments from customers on your behalf. Please note that you will need to maintain your own Stripe account, pay the fees Stripe charges and handle any chargebacks and customer service yourself.
+ i_agree: I Agree
+ cancel: Cancel
tag_rules:
default_rules:
by_default: By Default
@@ -516,12 +535,17 @@ en-GB:
advanced_settings: Advanced Settings
update_and_close: Update and Close
choose_products_from: 'Choose Products From:'
- pickup_time_tip: When orders from this OC will be ready for the customer
- pickup_instructions_tip: These instructions are shown to customers after they complete an order
exchange_form:
+ pickup_time_tip: When orders from this OC will be ready for the customer
pickup_instructions_placeholder: "Pick-up instructions"
+ pickup_instructions_tip: These instructions are shown to customers after they complete an order
pickup_time_placeholder: "Ready for (ie. Date / Time)"
receival_instructions_placeholder: "Receival instructions"
+ add_fee: 'Add fee'
+ selected: 'selected'
+ add_exchange_form:
+ add_supplier: 'Add supplier'
+ add_distributor: 'Add distributor'
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.
@@ -632,6 +656,30 @@ en-GB:
description: Invoices for import into Xero
packing:
name: Packing Reports
+ stripe_connect_settings:
+ edit:
+ title: "Stripe Connect"
+ settings: "Settings"
+ stripe_beta_warning: "Warning: The Stripe Connect integration is currently in beta and should not be enabled in production yet"
+ stripe_connect_enabled: Enable shops to accept payments using Stripe Connect?
+ no_api_key_msg: No Stripe account exists for this enterprise.
+ configuration_explanation_html: For detailed instructions on configuring the Stripe Connect integration, please consult this guide.
+ status: Status
+ ok: Ok
+ instance_secret_key: Instance Secret Key
+ account_id: Account ID
+ business_name: Business Name
+ charges_enabled: Charges Enabled
+ charges_enabled_warning: "Warning: Charges are not enabled for your account"
+ auth_fail_error: The API key you provided is invalid
+ empty_api_key_error: No Stripe API key has been provided. To set your API key, please follow the instructions at
+ controllers:
+ enterprises:
+ stripe_connect_cancelled: "Connection to Stripe has been cancelled"
+ stripe_connect_success: "Stripe account connected successfully"
+ stripe_connect_fail: Sorry, the connection of your Stripe account failed
+ stripe_connect_settings:
+ resource: Stripe Connect configuration
checkout:
already_ordered:
cart: "cart"
@@ -657,6 +705,8 @@ en-GB:
require_customer_login: "This shop is for customers only."
require_login_html: "Please %{login} if you have an account already. Otherwise, %{register} to become a customer."
require_customer_html: "Please %{contact} %{enterprise} to become a customer."
+ card_could_not_be_saved: card could not be saved
+ spree_gateway_error_flash_for_checkout: "There was a problem with your payment information: %{error}"
invoice_billing_address: "Billing address:"
invoice_column_tax: "VAT"
invoice_column_price: "Price"
@@ -747,6 +797,18 @@ en-GB:
card_number: Card Number
card_securitycode: "Security Code"
card_expiry_date: Expiry Date
+ card_masked_digit: "X"
+ card_expiry_abbreviation: "Exp"
+ new_credit_card: "New credit card"
+ my_credit_cards: My credit cards
+ add_new_credit_card: Add new credit card
+ saved_cards: Saved cards
+ add_a_card: Add a Card
+ add_card: Add Card
+ you_have_no_saved_cards: You haven't saved any cards yet
+ saving_credit_card: Saving credit card...
+ card_has_been_removed: "Your card has been removed (number: %{number})"
+ card_could_not_be_removed: Sorry, the card could not be removed
ie_warning_headline: "Your browser is out of date :-("
ie_warning_text: "For the best Open Food Network experience, we strongly recommend upgrading your browser:"
ie_warning_chrome: Download Chrome
@@ -824,6 +886,7 @@ en-GB:
checkout_shipping_price: Shipping
checkout_total_price: Total
checkout_back_to_cart: "Back to cart"
+ cost_currency: "Cost Currency"
order_paid: PAID
order_not_paid: NOT PAID
order_total: Total order
@@ -1157,10 +1220,64 @@ en-GB:
password_reset_sent: "An email with instructions on resetting your password has been sent!"
reset_password: "Reset password"
who_is_managing_enterprise: "Who is responsible for managing %{enterprise}?"
+ enterprise:
+ registration:
+ modal:
+ steps:
+ details:
+ title: 'Details'
+ headline: "Let's Get Started"
+ enterprise: "Great! First we need to know a little bit about your enterprise:"
+ producer: "Great! First we need to know a little bit about your farm:"
+ enterprise_name_field: "Enterprise Name:"
+ producer_name_field: "Farm Name:"
+ producer_name_field_placeholder: "e.g. Charlie's Chilli Farm"
+ producer_name_field_error: "Sorry, this name has already been taken. Please try another."
+ address1_field: "Address line 1:"
+ address1_field_placeholder: "e.g. 123 Apple Drive"
+ address1_field_error: "Please enter an address"
+ address2_field: "Address line 2:"
+ suburb_field: "Town:"
+ suburb_field_placeholder: "eg. Taunton"
+ suburb_field_error: "Please enter a postal town"
+ postcode_field: "Postcode:"
+ postcode_field_placeholder: "eg. TA1 TAA"
+ postcode_field_error: "Postcode required"
+ state_field: "County:"
+ state_field_error: "County Required"
+ country_field: "Country:"
+ country_field_error: "Please select a country"
+ contact:
+ title: 'Contact'
+ contact_field: 'Primary Contact'
+ contact_field_placeholder: 'Contact Name'
+ contact_field_required: "Please enter a primary contact."
+ email_field: 'Email Address'
+ email_field_placeholder: 'eg. charlie@thefarm.co.uk'
+ phone_field: 'Phone number'
+ phone_field_placeholder: 'eg. 07123123123'
+ type:
+ title: 'Type'
+ headline: "Last step to add %{enterprise}!"
+ question: "Are you a producer?"
+ yes_producer: "Yes, I'm a producer"
+ no_producer: "No, I'm not a producer"
+ producer_field_error: "Please choose one. Are you are producer?"
+ yes_producer_help: "Producers make tasty things to eat and/or drink. You're a producer if you grow, rear, brew, bake, ferment ... etc."
+ 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."
+ about:
+ title: 'About'
+ images:
+ title: 'Images'
+ social:
+ title: 'Social'
enterprise_contact: "Primary contact"
+ enterprise_contact_placeholder: "Contact Name"
enterprise_contact_required: "You need to enter a primary contact."
enterprise_email_address: "Email address"
+ enterprise_email_placeholder: "eg. charlie@thefarm.co.uk"
enterprise_phone: "Phone number"
+ enterprise_phone_placeholder: "eg. 07123123123"
back: "Back"
continue: "Continue"
limit_reached_headline: "Oh no!"
@@ -1230,6 +1347,7 @@ en-GB:
registration_finished_activate: "Activate %{enterprise}."
registration_finished_activate_instruction_html: "We've sent a confirmation email to %{email} if it hasn't been activated before.
Please follow the instructions there to make your enterprise visible on the Open Food Network."
registration_finished_action: "Open Food Network home"
+ registration_contact_name: 'Contact Name'
registration_type_headline: "Last step to add %{enterprise}!"
registration_type_question: "Are you a producer?"
registration_type_producer: "Yes, I'm a producer"
@@ -1327,6 +1445,9 @@ en-GB:
create: "Create"
search: "Search"
supplier: "Supplier"
+ product_name: "Product Name"
+ product_description: "Product Description"
+ units: "Unit Size"
coordinator: "Coordinator"
distributor: "Distributor"
enterprise_fees: "Enterprise Fees"
@@ -1341,9 +1462,11 @@ en-GB:
new_order_cycles: "New Order Cycles"
new_order_cycle: "New Order Cycle"
select_a_coordinator_for_your_order_cycle: "Select a coordinator for your order cycle"
+ notify_producers: 'Notify producers'
edit_order_cycle: "Edit Order Cycle"
roles: "Roles"
update: "Update"
+ delete: Delete
add_producer_property: "Add producer property"
in_progress: "In Progress"
started_at: "Started at"
@@ -1387,6 +1510,8 @@ en-GB:
spree_admin_unit_description: Unit Description
spree_admin_variant_unit: Variant unit
spree_admin_variant_unit_scale: Variant unit scale
+ spree_admin_supplier: Supplier
+ spree_admin_product_category: Product Category
spree_admin_variant_unit_name: Variant unit name
change_package: "Change Package"
spree_admin_single_enterprise_hint: "Hint: To allow people to find you, turn on your visibility under"
@@ -1415,6 +1540,7 @@ en-GB:
order_cycle: "Order Cycle"
order_cycles: "Order Cycles"
enterprises: "Enterprises"
+ enterprise_relationships: "Enterprise relationships"
remove_tax: "Remove tax"
enterprise_terms_of_service: "Enterprise Terms of Service"
enterprises_require_tos: "Enterprises must accept Terms of Service"
@@ -1857,6 +1983,8 @@ en-GB:
signup:
start_free_profile: "Start with a free profile, and expand when you're ready!"
spree:
+ email: Email
+ account_updated: "Account updated!"
admin:
orders:
invoice:
@@ -1879,7 +2007,28 @@ en-GB:
one: "You have one active order cycle."
other: "You have %{count} active order cycles."
manage_order_cycles: "MANAGE ORDER CYCLES"
+ payment_methods:
+ stripe_connect:
+ enterprise_select_placeholder: Choose...
+ loading_account_information_msg: Loading account information from stripe, please wait...
+ stripe_disabled_msg: Stripe payments have been disabled by the system administrator.
+ request_failed_msg: Sorry. Something went wrong when trying to verify account details with Stripe...
+ account_missing_msg: No Stripe account exists for this enterprise.
+ connect_one: Connect One
+ access_revoked_msg: Access to this Stripe account has been revoked, please reconnect your account.
+ status: Status
+ connected: Connected
+ account_id: Account ID
+ business_name: Business Name
+ charges_enabled: Charges Enabled
+ payments:
+ source_forms:
+ stripe:
+ no_payment_via_admin_backend: Creating Stripe-based payments from the admin backend is not possible at this time
products:
+ new:
+ title: 'New Product'
+ unit_name_placeholder: 'eg. bunches'
bulk_edit:
header:
title: Bulk Edit Products
@@ -1887,15 +2036,34 @@ en-GB:
title: LOADING PRODUCTS
no_products: "No products yet. Why don't you add some?"
no_results: "Sorry, no results match"
+ product_name: Product Name
+ primary_taxon_form:
+ product_category: Product Category
+ group_buy_form:
+ group_buy: "Group Buy?"
+ bulk_unit_size: Bulk unit size
+ display_as:
+ display_as: Display As
reports:
bulk_coop:
bulk_coop_supplier_report: 'Bulk Co-op - Totals by Supplier'
bulk_coop_allocation: 'Bulk Co-op - Allocation'
bulk_coop_packing_sheets: 'Bulk Co-op - Packing Sheets'
bulk_coop_customer_payments: 'Bulk Co-op - Customer Payments'
+ shared:
+ configuration_menu:
+ stripe_connect: Stripe Connect
variants:
autocomplete:
producer_name: Producer
+ checkout:
+ payment:
+ stripe:
+ choose_one: Choose one
+ enter_new_card: Enter details for a new card
+ used_saved_card: "Use a saved card:"
+ or_enter_new_card: "Or, enter details for a new card:"
+ remember_this_card: Remember this card?
date_picker:
format: '%Y-%m-%d'
js_format: 'yy-mm-dd'
@@ -1950,9 +2118,16 @@ en-GB:
weight: Weight (per kg)
zipcode: Postcode
users:
+ form:
+ account_settings: Account Settings
show:
+ tabs:
+ orders: Orders
+ cards: Credit Cards
+ transactions: Transactions
+ settings: Account Settings
+ orders:
open_orders: Open Orders
- transaction_history: Transaction History
open_orders:
order: Order
shop: Shop