Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

clean up i18n translations for `core` and `admin`

Łukasz Adamczykd6b957d7c52f
diff --git a/admin/app/helpers/spree/admin/orders_helper.rb b/admin/app/helpers/spree/admin/orders_helper.rb
index 1c062ccdec..0e44a1910e 100644
--- a/admin/app/helpers/spree/admin/orders_helper.rb
+++ b/admin/app/helpers/spree/admin/orders_helper.rb
@@ -48,7 +48,7 @@ module Spree
elsif shipment_state == 'partial'
icon('progress-check') + Spree.t('shipment_states.partial')
elsif shipment_state == 'canceled'
- icon('cancel') + Spree.t('shipment_states.cancelled')
+ icon('cancel') + Spree.t('shipment_states.canceled')
else
icon('progress') + Spree.t("shipment_states.#{shipment_state}")
end
@@ -154,7 +154,7 @@ module Spree
elsif params[:q][:shipment_state_eq] == 'shipped'
Spree.t('admin.orders.fulfilled')
elsif params[:q][:state_in] == ['canceled','partially_canceled']
- Spree.t('admin.orders.cancelled')
+ Spree.t('admin.orders.canceled')
elsif params.dig(:q, :refunded) && params[:q][:refunded].present?
Spree.t('admin.orders.refunded')
elsif params.dig(:q, :partially_refunded) && params[:q][:partially_refunded].present?
diff --git a/admin/app/views/spree/admin/oauth_applications/create.turbo_stream.erb b/admin/app/views/spree/admin/oauth_applications/create.turbo_stream.erb
index b07d9e6036..2b15c74477 100644
--- a/admin/app/views/spree/admin/oauth_applications/create.turbo_stream.erb
+++ b/admin/app/views/spree/admin/oauth_applications/create.turbo_stream.erb
@@ -9,7 +9,7 @@
<div class="input-append">
<button data-action="clipboard#copy" class="btn btn-light">
<%= icon 'clone.svg', class: 'mr-2' %>
- <%= Spree.t(:copy_to_clipboard, scope: :admin ) %>
+ <%= Spree.t('admin.copy_to_clipboard') %>
</button>
</div>
</div>
@@ -24,7 +24,7 @@
<div class="input-append">
<button data-action="clipboard#copy" class="btn btn-light">
<%= icon 'clone.svg', class: 'mr-2' %>
- <%= Spree.t(:copy_to_clipboard, scope: :admin ) %>
+ <%= Spree.t('admin.copy_to_clipboard') %>
</button>
</div>
</div>
diff --git a/admin/app/views/spree/admin/orders/_table_filter_dropdown.html.erb b/admin/app/views/spree/admin/orders/_table_filter_dropdown.html.erb
index 656684d18f..80b4524464 100644
--- a/admin/app/views/spree/admin/orders/_table_filter_dropdown.html.erb
+++ b/admin/app/views/spree/admin/orders/_table_filter_dropdown.html.erb
@@ -3,7 +3,7 @@
<button class="btn btn-light h-100 dropdown-toggle" type="button" data-toggle="dropdown" aria-expanded="false">
<span class="text-muted font-weight-normal">
<%= Spree.t(:show) %>
- </span>
+ </span>
<%= order_filter_dropdown_value %>
</button>
<div class="dropdown-menu dropdown-menu-right w-100" style="min-width: 200px">
@@ -20,7 +20,7 @@
<%= link_to Spree.t('admin.orders.fulfilled'),
params.to_unsafe_h.deep_merge({q: {shipment_state_eq: :shipped, shipment_state_not_in: '', state_eq: '', state_in: '', refunded: '', partially_refunded: ''}}),
class: "dropdown-item #{'active' if params[:q][:shipment_state_eq] == 'shipped'}" %>
- <%= link_to Spree.t('admin.orders.cancelled'),
+ <%= link_to Spree.t('admin.orders.canceled'),
params.to_unsafe_h.deep_merge({q: {state_eq: nil, state_in: [:canceled, :partially_canceled], shipment_state_not_in: '', shipment_state_eq: '', refunded: '', partially_refunded: ''}}),
class: "dropdown-item #{'active' if params[:q][:state_in] == ['canceled','partially_canceled']}" %>
<%= link_to Spree.t('admin.orders.refunded'),
diff --git a/admin/app/views/spree/admin/shared/sidebar/_store_nav.html.erb b/admin/app/views/spree/admin/shared/sidebar/_store_nav.html.erb
index cbb85b6244..dfd41fa9f5 100644
--- a/admin/app/views/spree/admin/shared/sidebar/_store_nav.html.erb
+++ b/admin/app/views/spree/admin/shared/sidebar/_store_nav.html.erb
@@ -13,16 +13,16 @@
<li class="nav-item">
<%= active_link_to_with_icon('building-store', Spree.t(:store_details), spree.edit_admin_store_path(section: 'general-settings'), class: 'nav-link', active: params[:section] == 'general-settings') %>
</li>
-
+
<% if defined?(current_account) && current_account.present? %>
<li class="nav-item">
- <%= active_link_to_with_icon 'receipt', I18n.t(:account), main_app.edit_account_path(current_account), class: 'nav-link' %>
+ <%= active_link_to_with_icon 'receipt', Spree.t(:account), main_app.edit_account_path(current_account), class: 'nav-link' %>
</li>
<li class="nav-item">
- <%= active_link_to_with_icon 'users', I18n.t(:account_members), main_app.account_members_path(current_account), class: 'nav-link rounded-lg ' %>
+ <%= active_link_to_with_icon 'users', Spree.t(:account_members), main_app.account_members_path(current_account), class: 'nav-link rounded-lg ' %>
</li>
<% end %>
-
+
<li class="nav-item">
<%= active_link_to_with_icon('send', Spree.t(:emails), spree.edit_admin_store_path(section: 'emails'), class: 'nav-link', active: params[:section] == 'emails') %>
</li>
@@ -171,7 +171,7 @@
<div class="text-uppercase small ml-2 mb-1 text-muted"><%= Spree.t(:settings) %></div>
<% if defined?(current_account) && current_account.present? %>
<li class="nav-item">
- <%= active_link_to_with_icon 'users', I18n.t(:account_members), main_app.account_members_path(current_account), class: 'nav-link' %>
+ <%= active_link_to_with_icon 'users', Spree.t(:account_members), main_app.account_members_path(current_account), class: 'nav-link' %>
</li>
<% end %>
<li class="nav-item">
diff --git a/admin/config/i18n-tasks.yml b/admin/config/i18n-tasks.yml
new file mode 100644
index 0000000000..2b20fd36d3
--- /dev/null
+++ b/admin/config/i18n-tasks.yml
@@ -0,0 +1,190 @@
+# i18n-tasks finds and manages missing and unused translations: https://github.com/glebm/i18n-tasks
+
+# The "main" locale.
+base_locale: en
+## All available locales are inferred from the data by default. Alternatively, specify them explicitly:
+# locales: [es, fr]
+## Reporting locale, default: en. Available: en, ru.
+# internal_locale: en
+
+# Read and write translations.
+data:
+ ## Translations are read from the file system. Supported format: YAML, JSON.
+ ## Provide a custom adapter:
+ # adapter: I18n::Tasks::Data::FileSystem
+
+ # Locale files or `Dir.glob` patterns where translations are read from:
+ read:
+ ## Default:
+ - config/locales/%{locale}.yml
+ ## More files:
+ # - config/locales/**/*.%{locale}.yml
+
+ # Locale files to write new keys to, based on a list of key pattern => file rules. Matched from top to bottom:
+ # `i18n-tasks normalize -p` will force move the keys according to these rules
+ write:
+ ## For example, write devise and simple form keys to their respective files:
+ # - ['{devise, simple_form}.*', 'config/locales/\1.%{locale}.yml']
+ ## Catch-all default:
+ # - config/locales/%{locale}.yml
+
+ # External locale data (e.g. gems).
+ # This data is not considered unused and is never written to.
+ external:
+ ## Example (replace %#= with %=):
+ # - "<%#= %x[bundle info vagrant --path].chomp %>/templates/locales/%{locale}.yml"
+ - "<%= %x[bundle info spree_core --path].chomp %>/config/locales/%{locale}.yml"
+
+ ## Specify the router (see Readme for details). Valid values: conservative_router, pattern_router, or a custom class.
+ # router: conservative_router
+
+ yaml:
+ write:
+ # do not wrap lines at 80 characters
+ line_width: -1
+
+ ## Pretty-print JSON:
+ # json:
+ # write:
+ # indent: ' '
+ # space: ' '
+ # object_nl: "\n"
+ # array_nl: "\n"
+
+# Find translate calls
+search:
+ ## Paths or `Find.find` patterns to search in:
+ # paths:
+ # - app/
+
+ ## Root directories for relative keys resolution.
+ # relative_roots:
+ # - app/controllers
+ # - app/helpers
+ # - app/mailers
+ # - app/presenters
+ # - app/views
+
+ ## Directories where method names which should not be part of a relative key resolution.
+ # By default, if a relative translation is used inside a method, the name of the method will be considered part of the resolved key.
+ # Directories listed here will not consider the name of the method part of the resolved key
+ #
+ # relative_exclude_method_name_paths:
+ # -
+
+ ## Files or `File.fnmatch` patterns to exclude from search. Some files are always excluded regardless of this setting:
+ ## *.jpg *.jpeg *.png *.gif *.svg *.ico *.eot *.otf *.ttf *.woff *.woff2 *.pdf *.css *.sass *.scss *.less
+ ## *.yml *.json *.zip *.tar.gz *.swf *.flv *.mp3 *.wav *.flac *.webm *.mp4 *.ogg *.opus *.webp *.map *.xlsx
+ exclude:
+ - app/assets/images
+ - app/assets/fonts
+ - app/assets/videos
+ - app/assets/builds
+
+ ## Alternatively, the only files or `File.fnmatch patterns` to search in `paths`:
+ ## If specified, this settings takes priority over `exclude`, but `exclude` still applies.
+ # only: ["*.rb", "*.html.slim"]
+
+ ## If `strict` is `false`, guess usages such as t("categories.#{category}.title"). The default is `true`.
+ strict: false
+
+ ## Allows adding ast_matchers for finding translations using the AST-scanners
+ ## The available matchers are:
+ ## - RailsModelMatcher
+ ## Matches ActiveRecord translations like
+ ## User.human_attribute_name(:email) and User.model_name.human
+ ## - DefaultI18nSubjectMatcher
+ ## Matches ActionMailer's default_i18n_subject method
+ ##
+ ## To implement your own, please see `I18n::Tasks::Scanners::AstMatchers::BaseMatcher`.
+ # ast_matchers:
+ # - 'I18n::Tasks::Scanners::AstMatchers::RailsModelMatcher'
+ # - 'I18n::Tasks::Scanners::AstMatchers::DefaultI18nSubjectMatcher'
+
+ ## Multiple scanners can be used. Their results are merged.
+ ## The options specified above are passed down to each scanner. Per-scanner options can be specified as well.
+ ## See this example of a custom scanner: https://github.com/glebm/i18n-tasks/wiki/A-custom-scanner-example
+
+## Translation Services
+# translation:
+# # Google Translate
+# # Get an API key and set billing info at https://code.google.com/apis/console to use Google Translate
+# google_translate_api_key: "AbC-dEf5"
+# # DeepL Pro Translate
+# # Get an API key and subscription at https://www.deepl.com/pro to use DeepL Pro
+# deepl_api_key: "48E92789-57A3-466A-9959-1A1A1A1A1A1A"
+# # deepl_host: "https://api.deepl.com"
+# # deepl_version: "v2"
+# # deepl_glossary_ids:
+# # - f28106eb-0e06-489e-82c6-8215d6f95089
+# # - 2c6415be-1852-4f54-9e1b-d800463496b4
+# # add additional options to the DeepL.translate call: https://www.deepl.com/docs-api/translate-text/translate-text/
+# deepl_options:
+# formality: prefer_less
+# # OpenAI
+# openai_api_key: "sk-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
+# # openai_model: "gpt-3.5-turbo" # see https://platform.openai.com/docs/models
+# # may contain `%{from}` and `%{to}`, which will be replaced by source and target locale codes, respectively (using `Kernel.format`)
+# # openai_system_prompt: >-
+# # You are a professional translator that translates content from the %{from} locale
+# # to the %{to} locale in an i18n locale array.
+# #
+# # The array has a structured format and contains multiple strings. Your task is to translate
+# # each of these strings and create a new array with the translated strings.
+# #
+# # HTML markups (enclosed in < and > characters) must not be changed under any circumstance.
+# # Variables (starting with %%{ and ending with }) must not be changed under any circumstance.
+# #
+# # Keep in mind the context of all the strings for a more accurate translation.
+
+## Do not consider these keys missing:
+# ignore_missing:
+# - 'errors.messages.{accepted,blank,invalid,too_short,too_long}'
+# - '{devise,simple_form}.*'
+
+## Consider these keys used:
+# ignore_unused:
+# - 'activerecord.attributes.*'
+# - '{devise,kaminari,will_paginate}.*'
+# - 'simple_form.{yes,no}'
+# - 'simple_form.{placeholders,hints,labels}.*'
+# - 'simple_form.{error_notification,required}.:'
+ignore_unused:
+ - 'spree.admin.bulk_ops.products.body.*'
+ - 'spree.admin.bulk_ops.products.title.*'
+ - 'spree.admin.bulk_ops.users.body.*'
+ - 'spree.admin.bulk_ops.users.title.*'
+ - 'spree.admin.display_on_options.*'
+ - 'spree.admin.order.events.*'
+ - 'spree.admin.orders.no_email_present'
+ - 'spree.admin.orders.payment_link_sent'
+ - 'spree.admin.store_setup_tasks.*'
+ - 'spree.admin.taxon_rules.*'
+ - 'spree.admin.webhooks_subscribers.*'
+
+## Exclude these keys from the `i18n-tasks eq-base' report:
+# ignore_eq_base:
+# all:
+# - common.ok
+# fr,es:
+# - common.brand
+
+## Exclude these keys from the `i18n-tasks check-consistent-interpolations` report:
+# ignore_inconsistent_interpolations:
+# - 'activerecord.attributes.*'
+
+## Ignore these keys completely:
+# ignore:
+# - kaminari.*
+
+## Sometimes, it isn't possible for i18n-tasks to match the key correctly,
+## e.g. in case of a relative key defined in a helper method.
+## In these cases you can use the built-in PatternMapper to map patterns to keys, e.g.:
+#
+# <%# I18n::Tasks.add_scanner 'I18n::Tasks::Scanners::PatternMapper',
+# only: %w(*.html.haml *.html.slim),
+# patterns: [['= title\b', '.page_title']] %>
+#
+# The PatternMapper can also match key literals via a special %{key} interpolation, e.g.:
+#
+<% I18n::Tasks.add_scanner 'I18n::Tasks::Scanners::PatternMapper', patterns: [['\bSpree\.t[( ]\s*%{key}', 'spree.%{key}']] %>
diff --git a/admin/config/locales/en.yml b/admin/config/locales/en.yml
index 94a4b0ffdc..38ffa62983 100644
--- a/admin/config/locales/en.yml
+++ b/admin/config/locales/en.yml
@@ -1,235 +1,242 @@
+---
en:
spree:
admin:
+ active: Active
add_tracking_details: Add tracking details
+ amount_spent: Amount spent
audit_log: Audit Log
- url: URL
- active: Active
- name: Name
- successful: Successful
- created_at: Created At
- response_code: Response Code
- execution_time: Execution Time
- request_errors: Request Errors
- edit_profile: Edit Profile
- personal_details: Personal Details
- notifications: Notifications
- filters: Filters
- kind: Kind
- home: Home
+ avg_order_value: Avg. Order Value
+ bulk_ops:
+ products:
+ body:
+ add_tags: 'Select tags to add to the products:'
+ add_to_brand: 'Select which brand to add the products to:'
+ add_to_taxons: 'Select which taxons to add the products to:'
+ remove_from_taxons: 'Select which taxons to remove the products from:'
+ remove_tags: 'Select tags to remove from the products:'
+ set_return_rule: Select return rule for products
+ set_status:
+ active: Setting products to active will make those products available on the storefront.
+ archived: Setting products to archived will hide them from storefront.
+ draft: Setting products to draft will hide them from storefront.
+ ready_for_review: We will notify your partners that these products are ready for review. Your partners will be able to review and publish these products.
+ status_updated: Status updated
+ title:
+ add_tags: Add tags
+ add_to_brand: Add to brand
+ add_to_taxons: Add to taxons
+ remove_from_brand: Remove from brand
+ remove_from_taxons: Remove from taxons
+ remove_tags: Remove tags
+ set_return_rule: Set Return Rule
+ set_size_chart: Set Size Chart
+ set_status: Set as %{status}
+ users:
+ body:
+ add_tags: 'Select tags to add to the customers:'
+ remove_tags: 'Select tags to remove from the customers:'
+ title:
+ add_tags: Add tags
+ remove_tags: Remove tags
+ copy_payment_link: Copy Payment Link
copy_to_clipboard: Copy to clipboard
+ created_at: Created At
dashboard:
- hi: Hi
- whats_happening_on: Here's what's happening on <strong>%{store_name}</strong> today.
getting_started:
description: Everything you need to set up to start selling.
- data_feeds:
- data_feeds: Data Feeds
- type: Type
- slug_label: Slug (leave blank to generate)
- new_data_feed: New Data Feed
- digitals:
- digital: Digital
- add_new_file: Add a new digital asset.
- digital_assets: Digital Assets
- reset_download_links: Reset Digital Download Links
- downloads_reset: Digital Download Links Reset
- no_digital_assets_added: No digital assets.
- delete_file_confirmation: "Are you sure you want to delete: %{filename}"
- upload: Upload
+ hi: Hi
+ whats_happening_on: Here's what's happening on <strong>%{store_name}</strong> today.
display_on_options:
back_end: Only on admin panel
- front_end: Only on storefront
both: On both admin panel & storefront
- export_only_filtered_records: Export only filtered records, matching the search criteria
- export_all: Export all records (can be slow for large datasets)
- export_created: Your export was started. You will receive an email with a download link when it is ready!
+ front_end: Only on storefront
+ edit_billing_address: Edit billing address
edit_contact_information: Edit contact information
+ edit_profile: Edit Profile
edit_shipping_address: Edit shipping address
- edit_billing_address: Edit billing address
edit_theme: Edit theme
+ errors: Errors
+ execution_time: Execution Time
+ export_all: Export all records (can be slow for large datasets)
+ export_created: Your export was started. You will receive an email with a download link when it is ready!
+ export_only_filtered_records: Export only filtered records, matching the search criteria
+ filters: Filters
getting_started: Getting started
- linkable:
- search_for_a_page: Search for a page
- search_for_a_taxon: Search for a Taxon
- search_for_a_product: Search for a Product
- store:
- digital_settings:
- digital_asset_settings: Digital Asset Settings
- limit_digital_download_count: Limit Download Count
- limit_digital_download_days: Limit Download Days
- digital_asset_authorized_clicks:
- authorized_clicks: Authorized Download Count
- info: Number of times a download link can be clicked.
- digital_asset_authorized_days:
- authorized_days: Authorized Download Days
- info: The number of days a purchase can be downloaded after purchase.
- digital_asset_link_expire_time:
- download_link_expire_time: Download Link Expire Time
- link_expire_time: Set the expire time of each download link. (seconds).
- storefront: Storefront
+ manage_currencies: Manage Currencies
+ manage_properties: Manage Properties
+ manage_stock_locations: Manage Stock Locations
+ manage_taxons: Manage Taxons
+ manage_zones: Manage Zones
+ member_since: Member since
+ name: Name
+ navigation:
+ nested_under: Nested under
+ not_tracking_inventory: Not tracking inventory
+ notifications: Notifications
+ num_orders: No. of Orders
+ oauth_applications:
+ last_used: Last used
+ list: API keys
+ never: Never
+ new: New API key
+ read_and_write: Read & Write
+ read_only: Read Only
+ scopes: Scopes
+ order:
+ events:
+ approve: Approve
+ cancel: Cancel
+ resend: Resend
+ resume: Resume
+ orders:
+ add_user_to_this_order: Add customer to this order
+ all_orders: All Orders
+ canceled: Canceled
+ fulfilled: Fulfilled
+ no_email_present: Please add an email address to send the payment link
+ orders_to_fulfill: Orders to fulfill
+ partially_refunded: Partially Refunded
+ payment_link_sent: Payment link was sent to the customer
+ refunded: Refunded
+ remove_user_from_this_order: Remove customer from this order
+ unfulfilled: Unfulfilled
+ page_builder:
+ background_color: Background color
+ border_bottom_width: Border bottom width
+ border_color: Border color
+ border_top_width: Border top width
+ bottom_padding: Bottom padding
+ button_alignment: Button alignment
+ button_background_color: Button background color
+ button_style: Button style
+ button_text: Button's text
+ button_text_color: Button text color
+ category: Category
+ description: Description
+ description_alignment: Description alignment
+ desktop_image_alignment: Image alignment for desktop
+ desktop_logo_height: Logo height (desktop)
+ heading: Heading
+ heading_alignment: Heading alignment
+ heading_size: Heading size
+ height: Height
+ left_aligned: Left aligned
+ logo_centered: Logo centered
+ max_video_width_on_desktop: Max video width on desktop
+ maximum_posts_to_show: Maximum posts to show
+ maximum_products_to_show: Maximum products to show
+ nav_centered: Nav centered
+ not_set: Not set
+ posts_to_show: Posts to show
+ separated: Separated
+ show_more_button: Show explore category button
+ show_taxon_image: Show taxon image
+ text_color: Text color
+ title: Title
+ top_padding: Top padding
+ use_description_from_admin: Use description from admin
+ vertical_alignment: Vertical alignment
+ youtube_video_url: Youtube video URL
+ personal_details: Personal Details
+ products:
+ active: Active
+ all_statuses: All statuses
+ any_stock: Any stock
+ archived: Archived
+ by_status: By status
+ by_stock: By stock
+ deleted: Deleted
+ draft: Draft
+ help_bubble: Draft & Ready for Review statuses mean that the product isn't available for purchase. Active means that the product is live. Vendors can move product from draft to ready for review, but only marketplace operators can move product from ready for review to active
+ in_stock: In Stock
+ inventory:
+ barcode: Barcode (ISBN, UPC, GTIN, etc.)
+ sku: SKU (Stock Keeping Unit)
+ out_of_stock: Out of Stock
+ paused: Paused
+ search_results:
+ no_products: We couldn't find any products matching your search :(
+ selected: products selected
+ seo:
+ placeholder: Add a title and description to see how this product might appear in a search engine listing
+ status_form:
+ available_on: Marks when the product will be released, put a future date to indicate that this is a pre-order
+ discontinue_on: Marks when the product should be automatically taken off from your site
+ make_active_at: Marks when the product should be automatically promoted to "active" state
+ status: Draft - initial status. Ready For Review - inform store owner that product can be checked before activation
+ stores:
+ choose_stores: Choose which stores this product should be available in
+ variants:
+ option_types_link: To add more option types please go to <a href="%{link}">Option Types</a>
+ report_created: Your report is being generated. You will receive an email with a download link when it is ready!
+ response_code: Response Code
+ send_payment_link: Send Payment Link
+ shipment_transfer:
+ wrong_destination: Wrong destination
+ stock_transfers:
+ add_products_tip: You need to select a destination location first
+ store_form:
+ customer_support_email_help: This email is visible to your Store visitors in the Footer section
+ new_order_notifications_email_help: If you want to receive an email notification every time someone places an Order please provide an email address for that notification to be sent to
store_setup_tasks:
add_billing_address: Add billing address
- setup_taxes_collection: Setup taxes collection
add_products: Add products
- set_customer_support_email: Set customer support email
payment_methods:
- title: Please setup Payment Methods for your store
- done: You're all set! You can always manage your Payment Methods on <a href="%{link}" data-turbo-frame="_top">this</a> page.
copy: In order to collect payments, please setup at least one online payment provider.
+ done: You're all set! You can always manage your Payment Methods on <a href="%{link}" data-turbo-frame="_top">this</a> page.
setup: Setup Payment Methods
+ title: Please setup Payment Methods for your store
+ set_customer_support_email: Set customer support email
+ setup_taxes_collection: Setup taxes collection
taxes:
- done: You're all set! You can always manage your taxes on the <a href="%{link}" data-turbo-frame="_top">settings</a> page.
copy: In order to collect taxes, please setup your tax rates.
+ done: You're all set! You can always manage your taxes on the <a href="%{link}" data-turbo-frame="_top">settings</a> page.
setup: Setup Tax Rates
- product_kinds:
- physical: Physical
- digital: Digital
- report_created: Your report is being generated. You will receive an email with a download link when it is ready!
- tab:
- configuration: Configuration
- content: Content
- option_types: Option Types
- orders: Orders
- overview: Overview
- pages: Pages
- products: Products
- promotions: Promotions
- promotion_categories: Promotion Categories
- properties: Properties
- prototypes: Prototypes
- reports: Reports
- navigation: Navigation
- taxonomies: Taxonomies
- taxons: Taxons
- users: Users
- return_authorizations: Return Authorizations
- stock: Stock
- customer_returns: Customer Returns
- apps: Apps
- applications: Applications
- integrations: Integrations
- webhook_subscribers: Webhook Subscribers
- taxon:
- nested_under_info: Nest this Taxon within the Taxonomy tree.
- taxonomies:
- edit_root_taxonomy: Edit %{name} Taxonomy
- taxonomies: Taxonomies
- taxons_belonging_to: "Taxons Belonging To %{taxonomy_name}"
- submenu: Submenu
- add_new_taxon: Add a new Taxon
- no_taxons: '<b>%{taxonomy}</b> has no Taxons. Click the <b>Add a new Taxon</b> button, to begin adding Taxons.'
- taxon_type: Taxon type
- taxon_types:
- manual: Manual
- manual_info: Curate products manually. You can add or remove them in bulk.
- automatic: Automatic
- automatic_info: Automatically match products to this taxon based on the conditions you set.
+ storefront: Storefront
+ successful: Successful
taxon_rules:
- products_must_match: "Products must match:"
all_conditions: all conditions
any_condition: any condition
- tag: Product tag
available_on: Available on
- on_sale: On sale
match_policies:
- is_equal_to: is equal to
- is_not_equal_to: is not equal to
contains: contains
does_not_contain: does not contain
- manage_stock_locations: Manage Stock Locations
- manage_properties: Manage Properties
- manage_currencies: Manage Currencies
- manage_zones: Manage Zones
- manage_taxons: Manage Taxons
- not_tracking_inventory: Not tracking inventory
- send_payment_link: Send Payment Link
- copy_payment_link: Copy Payment Link
- order:
- changing_store_warning: If you change the store this order belongs to, the order will be reset.
- once_an_order_is_complete_you_can_not_change_store: 'Sorry, once an order is complete, you can no longer change the store that the order belongs to.'
- events:
- approve: Approve
- cancel: Cancel
- resume: Resume
- resend: Resend
- orders:
- all: All
- unpaid: Unpaid
- fulfilled: Fulfilled
- unfulfilled: Unfulfilled
- cancelled: Cancelled
- refunded: Refunded
- partially_refunded: Partially Refunded
- cart: Cart
- all_orders: All Orders
- draft_orders: Draft Orders
- abandoned_checkouts: Abandoned Checkouts
- orders_to_fulfill: Orders to fulfill
- remove_user_from_this_order: Remove customer from this order
- add_user_to_this_order: Add customer to this order
- payment_link_sent: Payment link was sent to the customer
- no_email_present: Please add an email address to send the payment link
- oauth_applications:
- list: API keys
- new: New API key
- uid: UID
- scopes: Scopes
- last_used: Last used
- never: Never
- read_only: Read Only
- read_and_write: Read & Write
- documentation_message: 'To learn how to authenticate requests to the Platform API, '
- documentation_cta: see the documentation
- reports:
- for: For %{store_name}
- return_authorization:
- product: Product
- store_form:
- look_and_feel: Look and feel
- code_help: "Store unique identifier, which is an abbreviated version of the store’s name (used as the layout directory name, and also helpful for separating templates by store)"
- checkout_zone_help: "Selecting zone will limit to which Countries or States products are shipped.
- For more information <a href='https://guides.spreecommerce.org/user/configuration/configuring_geography.html#zones' target='_blank' class='alert-link'>please see documentation</a>"
- currencies_help: "You can accept payments in multiple currencies. Each product and product variant can have different price in different currency"
- locales_help: "Install <a href='https://github.com/spree-contrib/spree_i18n' target='_blank' class='alert-link'>Spree I18n extension</a> to add more locales"
- default_locale_notice: "Warning: Before changing the default locale, ensure that all products, taxons and stores have translations in the new locale"
- social_help: "If you want to link to your social accounts in the footer part of your website please fill below fields"
- default_country_help: "This is the Country that will be pre-selected on the Checkout Address form"
- footer_help: "This content is visible in the footer section of your Store"
- mail_from_address_help: "This is the email which will be the sender of all your Store emails (Order Confirmation, Shipment notification etc)"
- customer_support_email_help: "This email is visible to your Store visitors in the Footer section"
- new_order_notifications_email_help: "If you want to receive an email notification every time someone places an Order please provide an email address for that notification to be sent to"
- seo_robots: "Please check <a href='https://developers.google.com/search/reference/robots_meta_tag' target='_blank'>this page for more help</a>"
+ is_equal_to: is equal to
+ is_not_equal_to: is not equal to
+ on_sale: On sale
+ products_must_match: 'Products must match:'
+ tag: Product tag
+ taxon_type: Taxon type
+ taxon_types:
+ automatic: Automatic
+ automatic_info: Automatically match products to this taxon based on the conditions you set.
+ manual: Manual
+ manual_info: Curate products manually. You can add or remove them in bulk.
+ url: URL
user:
- account: Account
- addresses: Addresses
- items: Items
- items_purchased: Items Purchased
+ available_store_credit: User has %{amount} in Store Credit available.
last_order_placed: Last order placed
- order_history: Order History
- order_num: "Order #"
- orders: Orders
- user_information: User Information
- stores: Stores
- store_credits: Store Credits
no_store_credit: User has no Store Credit available.
- available_store_credit: User has %{amount} in Store Credit available.
- settings: Settings
- stock_transfers:
- add_products_tip: You need to select a destination location first
+ users:
+ filters:
+ search_placeholder: Search customers by email or name
utilities:
preview: Preview
+ variants:
+ search_results:
+ no_variants: We couldn't find any variants matching your search :(
+ variants_form:
+ add_option:
+ empty: Add options like size or color
+ not_empty: Add another option
+ compare_at_price_description: This price is used to shown marked price on the product page.
+ stock_locations_link: To add more stock locations please go to <a href="%{link}">Stock Locations</a>
+ total_inventory_html: 'Total inventory at %{stock_location} location: %{count} available'
+ view_all_orders: View all orders
webhooks_subscribers:
- webhooks_subscribers: Webhooks Subscribers
- new_webhooks_subscriber: New Webhooks Subscriber
- webhooks_events: Webhooks Events
- subscriptions: Subscriptions
- time_of_last_event: Time of Last Event
- all_events: All Events
- no_events: No Events
- subscribe_to_all_events: Subscribe to all events
- select_events: Select events
addresses: Addresses
+ all_events: All Events
assets: Assets
credit_cards: Credit Cards
customer_returns: Customer Returns
@@ -237,11 +244,13 @@ en:
digitals: Digitals
inventory_units: Inventory Units
line_items: Line Items
+ new_webhooks_subscriber: New Webhooks Subscriber
+ no_events: No Events
option_types: Option Types
option_values: Option Values
orders: Orders
- payments: Payments
payment_capture_events: Payment Capture Events
+ payments: Payments
prices: Prices
products: Products
promotions: Promotions
@@ -252,9 +261,10 @@ en:
return_authorizations: Return Authorizations
return_items: Return Items
roles: Roles
- shipments: Shipments
+ select_events: Select events
shipment_transfer:
wrong_destination: Selected location is not a valid destination
+ shipments: Shipments
shipping_categories: Shipping Categories
shipping_methods: Shipping Methods
shipping_rates: Shipping Rates
@@ -264,146 +274,15 @@ en:
stock_transfers: Stock Transfers
store_credits: Store Credits
stores: Stores
+ subscribe_to_all_events: Subscribe to all events
+ subscriptions: Subscriptions
tax_rates: Tax Rates
taxonomies: Taxonomies
taxons: Taxons
+ time_of_last_event: Time of Last Event
variants: Variants
+ webhooks_events: Webhooks Events
+ webhooks_subscribers: Webhooks Subscribers
wished_items: Wished Items
wishlists: Wishlists
zones: Zones
- product:
- all: All
- active: Active
- archived: Archived
- deleted: Deleted
- draft: Draft
- pre_order: Pre-order
- payment_methods:
- edit:
- payment_method_configuration: "Payment Method Configuration"
- bulk_ops:
- set: Set
- stock_items:
- set_backorderable_to_false: Set Backorderable to false
- set_backorderable_to_true: Set Backorderable to true
- set_track_inventory_to_false: Disable Inventory Tracking
- set_track_inventory_to_true: Enable Inventory Tracking
- backorderable_explanation: Backorderable indicates if a stock item can be backordered when it runs out.
- track_inventory_explanation: Enable/disable tracking the inventory for stock items.
- users:
- title:
- add_tags: Add tags
- remove_tags: Remove tags
- body:
- add_tags: 'Select tags to add to the customers:'
- remove_tags: 'Select tags to remove from the customers:'
- products:
- title:
- set_status: Set as %{status}
- add_to_taxons: Add to taxons
- remove_from_taxons: Remove from taxons
- add_tags: Add tags
- remove_tags: Remove tags
- add_to_brand: Add to brand
- remove_from_brand: Remove from brand
- set_size_chart: Set Size Chart
- set_return_rule: Set Return Rule
- body:
- set_status:
- draft: Setting products to draft will hide them from storefront.
- ready_for_review: We will notify your partners that these products are ready for review. Your partners will be able to review and publish these products.
- active: Setting products to active will make those products available on the storefront.
- archived: Setting products to archived will hide them from storefront.
- remove_from_taxons: 'Select which taxons to remove the products from:'
- add_to_taxons: 'Select which taxons to add the products to:'
- add_to_brand: 'Select which brand to add the products to:'
- add_tags: 'Select tags to add to the products:'
- remove_tags: 'Select tags to remove from the products:'
- set_return_rule: Select return rule for products
- products:
- active: Active
- draft: Draft
- archived: Archived
- all_statuses: All statuses
- by_status: By status
- all_products: All Products
- paused: Paused
- in_stock: In Stock
- out_of_stock: Out of Stock
- any_stock: Any stock
- by_stock: By stock
- selected: products selected
- help_bubble: Draft & Ready for Review statuses mean that the product isn't available for purchase. Active means that the product is live. Vendors can move product from draft to ready for review, but only marketplace operators can move product from ready for review to active
- search_results:
- no_products: We couldn't find any products matching your search :(
- inventory:
- sku: SKU (Stock Keeping Unit)
- barcode: Barcode (ISBN, UPC, GTIN, etc.)
- properties:
- link: To manage properties, go to <a href="%{link}">Properties</a>.
- status_form:
- status: Draft - initial status. Ready For Review - inform store owner that product can be checked before activation
- make_active_at: Marks when the product should be automatically promoted to "active" state
- available_on: Marks when the product will be released, put a future date to indicate that this is a pre-order
- discontinue_on: Marks when the product should be automatically taken off from your site
- stores:
- choose_stores: Choose which stores this product should be available in
- seo:
- placeholder: Add a title and description to see how this product might appear in a search engine listing
- variants:
- option_types_link: To add more option types please go to <a href="%{link}">Option Types</a>
- variants:
- search_results:
- no_variants: We couldn't find any variants matching your search :(
- variants_form:
- currencies_link: To add more currencies, go to <a href="%{link}">Store Settings</a>
- stock_locations_link: To add more stock locations please go to <a href="%{link}">Stock Locations</a>
- compare_at_price_description: This price is used to shown marked price on the product page.
- add_option:
- empty: Add options like size or color
- not_empty: Add another option
- total_inventory_html: "Total inventory at %{stock_location} location: %{count} available"
- page_builder:
- show_more_button: Show explore category button
- heading: Heading
- heading_size: Heading size
- heading_alignment: Heading alignment
- description_alignment: Description alignment
- use_description_from_admin: Use description from admin
- button_text: Button's text
- show_taxon_image: Show taxon image
- category: Category
- maximum_products_to_show: Maximum products to show
- button_style: Button style
- posts_to_show: Posts to show
- maximum_posts_to_show: Maximum posts to show
- desktop_image_alignment: Image alignment for desktop
- vertical_alignment: Vertical alignment
- overlay_transparency: Overlay transparency
- title: Title
- separated: Separated
- youtube_video_url: Youtube video URL
- max_video_width_on_desktop: Max video width on desktop
- border_color: Border color
- border_top_width: Border top width
- border_bottom_width: Border bottom width
- bottom_padding: Bottom padding
- button_background_color: Button background color
- button_text_color: Button text color
- desktop_logo_height: Logo height (desktop)
- height: Height
- nav_centered: Nav centered
- logo_centered: Logo centered
- left_aligned: Left aligned
- text_color: Text color
- top_padding: Top padding
- button_alignment: Button alignment
- not_set: Not set
- view_all_orders: View all orders
- amount_spent: Amount spent
- avg_order_value: Avg. Order Value
- num_orders: No. of Orders
- member_since: Member since
- users:
- filters:
- search_placeholder: Search customers by email or name
diff --git a/admin/spec/i18n_spec.rb b/admin/spec/i18n_spec.rb
new file mode 100644
index 0000000000..98d90f9407
--- /dev/null
+++ b/admin/spec/i18n_spec.rb
@@ -0,0 +1,33 @@
+require 'spec_helper'
+require 'i18n/tasks'
+
+RSpec.describe I18n do
+ let(:i18n) { I18n::Tasks::BaseTask.new }
+ let(:missing_keys) { i18n.missing_keys }
+ let(:unused_keys) { i18n.unused_keys }
+ let(:inconsistent_interpolations) { i18n.inconsistent_interpolations }
+
+ it 'does not have missing keys' do
+ expect(missing_keys).to be_empty,
+ "Missing #{missing_keys.leaves.count} i18n keys, run `i18n-tasks missing' to show them"
+ end
+
+ it 'does not have unused keys' do
+ expect(unused_keys).to be_empty,
+ "#{unused_keys.leaves.count} unused i18n keys, run `i18n-tasks unused' to show them"
+ end
+
+ it 'files are normalized' do
+ non_normalized = i18n.non_normalized_paths
+ error_message = "The following files need to be normalized:\n" \
+ "#{non_normalized.map { |path| " #{path}" }.join("\n")}\n" \
+ "Please run `i18n-tasks normalize' to fix"
+ expect(non_normalized).to be_empty, error_message
+ end
+
+ it 'does not have inconsistent interpolations' do
+ error_message = "#{inconsistent_interpolations.leaves.count} i18n keys have inconsistent interpolations.\n" \
+ "Run `i18n-tasks check-consistent-interpolations' to show them"
+ expect(inconsistent_interpolations).to be_empty, error_message
+ end
+end
diff --git a/api/spree_api.gemspec b/api/spree_api.gemspec
index 003d749606..d1f3d0ee8a 100644
--- a/api/spree_api.gemspec
+++ b/api/spree_api.gemspec
@@ -23,7 +23,6 @@ Gem::Specification.new do |s|
s.executables = s.files.grep(%r{^bin/}).map { |f| File.basename(f) }
s.require_paths = ['lib']
- s.add_development_dependency 'i18n-tasks'
s.add_development_dependency 'jsonapi-rspec'
s.add_development_dependency 'multi_json'
s.add_development_dependency 'rswag-specs'
diff --git a/core/config/i18n-tasks.yml b/core/config/i18n-tasks.yml
new file mode 100644
index 0000000000..8642d48919
--- /dev/null
+++ b/core/config/i18n-tasks.yml
@@ -0,0 +1,178 @@
+# i18n-tasks finds and manages missing and unused translations: https://github.com/glebm/i18n-tasks
+
+# The "main" locale.
+base_locale: en
+## All available locales are inferred from the data by default. Alternatively, specify them explicitly:
+# locales: [es, fr]
+## Reporting locale, default: en. Available: en, ru.
+# internal_locale: en
+
+# Read and write translations.
+data:
+ ## Translations are read from the file system. Supported format: YAML, JSON.
+ ## Provide a custom adapter:
+ # adapter: I18n::Tasks::Data::FileSystem
+
+ # Locale files or `Dir.glob` patterns where translations are read from:
+ read:
+ ## Default:
+ # - config/locales/%{locale}.yml
+ ## More files:
+ # - config/locales/**/*.%{locale}.yml
+
+ # Locale files to write new keys to, based on a list of key pattern => file rules. Matched from top to bottom:
+ # `i18n-tasks normalize -p` will force move the keys according to these rules
+ write:
+ ## For example, write devise and simple form keys to their respective files:
+ # - ['{devise, simple_form}.*', 'config/locales/\1.%{locale}.yml']
+ ## Catch-all default:
+ # - config/locales/%{locale}.yml
+
+ # External locale data (e.g. gems).
+ # This data is not considered unused and is never written to.
+ external:
+ ## Example (replace %#= with %=):
+ # - "<%#= %x[bundle info vagrant --path].chomp %>/templates/locales/%{locale}.yml"
+
+ ## Specify the router (see Readme for details). Valid values: conservative_router, pattern_router, or a custom class.
+ # router: conservative_router
+
+ yaml:
+ write:
+ # do not wrap lines at 80 characters
+ line_width: -1
+
+ ## Pretty-print JSON:
+ # json:
+ # write:
+ # indent: ' '
+ # space: ' '
+ # object_nl: "\n"
+ # array_nl: "\n"
+
+# Find translate calls
+search:
+ ## Paths or `Find.find` patterns to search in:
+ # paths:
+ # - app/
+
+ ## Root directories for relative keys resolution.
+ # relative_roots:
+ # - app/controllers
+ # - app/helpers
+ # - app/mailers
+ # - app/presenters
+ # - app/views
+
+ ## Directories where method names which should not be part of a relative key resolution.
+ # By default, if a relative translation is used inside a method, the name of the method will be considered part of the resolved key.
+ # Directories listed here will not consider the name of the method part of the resolved key
+ #
+ # relative_exclude_method_name_paths:
+ # -
+
+ ## Files or `File.fnmatch` patterns to exclude from search. Some files are always excluded regardless of this setting:
+ ## *.jpg *.jpeg *.png *.gif *.svg *.ico *.eot *.otf *.ttf *.woff *.woff2 *.pdf *.css *.sass *.scss *.less
+ ## *.yml *.json *.zip *.tar.gz *.swf *.flv *.mp3 *.wav *.flac *.webm *.mp4 *.ogg *.opus *.webp *.map *.xlsx
+ exclude:
+ - app/assets/images
+ - app/assets/fonts
+ - app/assets/videos
+ - app/assets/builds
+
+ ## Alternatively, the only files or `File.fnmatch patterns` to search in `paths`:
+ ## If specified, this settings takes priority over `exclude`, but `exclude` still applies.
+ # only: ["*.rb", "*.html.slim"]
+
+ ## If `strict` is `false`, guess usages such as t("categories.#{category}.title"). The default is `true`.
+ # strict: true
+
+ ## Allows adding ast_matchers for finding translations using the AST-scanners
+ ## The available matchers are:
+ ## - RailsModelMatcher
+ ## Matches ActiveRecord translations like
+ ## User.human_attribute_name(:email) and User.model_name.human
+ ## - DefaultI18nSubjectMatcher
+ ## Matches ActionMailer's default_i18n_subject method
+ ##
+ ## To implement your own, please see `I18n::Tasks::Scanners::AstMatchers::BaseMatcher`.
+ # ast_matchers:
+ # - 'I18n::Tasks::Scanners::AstMatchers::RailsModelMatcher'
+ # - 'I18n::Tasks::Scanners::AstMatchers::DefaultI18nSubjectMatcher'
+
+ ## Multiple scanners can be used. Their results are merged.
+ ## The options specified above are passed down to each scanner. Per-scanner options can be specified as well.
+ ## See this example of a custom scanner: https://github.com/glebm/i18n-tasks/wiki/A-custom-scanner-example
+
+## Translation Services
+# translation:
+# # Google Translate
+# # Get an API key and set billing info at https://code.google.com/apis/console to use Google Translate
+# google_translate_api_key: "AbC-dEf5"
+# # DeepL Pro Translate
+# # Get an API key and subscription at https://www.deepl.com/pro to use DeepL Pro
+# deepl_api_key: "48E92789-57A3-466A-9959-1A1A1A1A1A1A"
+# # deepl_host: "https://api.deepl.com"
+# # deepl_version: "v2"
+# # deepl_glossary_ids:
+# # - f28106eb-0e06-489e-82c6-8215d6f95089
+# # - 2c6415be-1852-4f54-9e1b-d800463496b4
+# # add additional options to the DeepL.translate call: https://www.deepl.com/docs-api/translate-text/translate-text/
+# deepl_options:
+# formality: prefer_less
+# # OpenAI
+# openai_api_key: "sk-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
+# # openai_model: "gpt-3.5-turbo" # see https://platform.openai.com/docs/models
+# # may contain `%{from}` and `%{to}`, which will be replaced by source and target locale codes, respectively (using `Kernel.format`)
+# # openai_system_prompt: >-
+# # You are a professional translator that translates content from the %{from} locale
+# # to the %{to} locale in an i18n locale array.
+# #
+# # The array has a structured format and contains multiple strings. Your task is to translate
+# # each of these strings and create a new array with the translated strings.
+# #
+# # HTML markups (enclosed in < and > characters) must not be changed under any circumstance.
+# # Variables (starting with %%{ and ending with }) must not be changed under any circumstance.
+# #
+# # Keep in mind the context of all the strings for a more accurate translation.
+
+## Do not consider these keys missing:
+# ignore_missing:
+# - 'errors.messages.{accepted,blank,invalid,too_short,too_long}'
+# - '{devise,simple_form}.*'
+
+## Consider these keys used:
+# ignore_unused:
+# - 'activerecord.attributes.*'
+# - '{devise,kaminari,will_paginate}.*'
+# - 'simple_form.{yes,no}'
+# - 'simple_form.{placeholders,hints,labels}.*'
+# - 'simple_form.{error_notification,required}.:'
+
+## Exclude these keys from the `i18n-tasks eq-base' report:
+# ignore_eq_base:
+# all:
+# - common.ok
+# fr,es:
+# - common.brand
+
+## Exclude these keys from the `i18n-tasks check-consistent-interpolations` report:
+# ignore_inconsistent_interpolations:
+# - 'activerecord.attributes.*'
+
+## Ignore these keys completely:
+# ignore:
+# - kaminari.*
+
+## Sometimes, it isn't possible for i18n-tasks to match the key correctly,
+## e.g. in case of a relative key defined in a helper method.
+## In these cases you can use the built-in PatternMapper to map patterns to keys, e.g.:
+#
+# <%# I18n::Tasks.add_scanner 'I18n::Tasks::Scanners::PatternMapper',
+# only: %w(*.html.haml *.html.slim),
+# patterns: [['= title\b', '.page_title']] %>
+#
+# The PatternMapper can also match key literals via a special %{key} interpolation, e.g.:
+#
+# <%# I18n::Tasks.add_scanner 'I18n::Tasks::Scanners::PatternMapper',
+# patterns: [['\bSpree\.t[( ]\s*%{key}', 'spree.%{key}']] %>
diff --git a/core/config/locales/en.yml b/core/config/locales/en.yml
index ad5acf81dd..eb3a81f97b 100644
--- a/core/config/locales/en.yml
+++ b/core/config/locales/en.yml
@@ -1,4 +1,8 @@
+---
en:
+ action_text:
+ video_embed:
+ not_found: Can't embed a video using the provided URL
activemodel:
errors:
messages:
@@ -6,22 +10,22 @@ en:
models:
spree/fulfilment_changer:
attributes:
+ current_shipment:
+ can_not_have_backordered_inventory_units: has backordered inventory units
+ has_already_been_shipped: has already been shipped
desired_shipment:
can_not_transfer_within_same_shipment: can not be same as current shipment
has_not_enough_stock_at_desired_location: has not enough stock in desired stock location
- current_shipment:
- has_already_been_shipped: has already been shipped
- can_not_have_backordered_inventory_units: has backordered inventory units
activerecord:
attributes:
spree/address:
- label: Address name
address1: Address
address2: Address (contd.)
city: City
company: Company
country: Country
firstname: First Name
+ label: Address name
lastname: Last Name
phone: Phone
state: State
@@ -42,26 +46,28 @@ en:
base: ''
cc_type: Type
month: Month
+ name: Name
number: Number
verification_value: Verification Value
year: Year
- name: Name
spree/inventory_unit:
state: State
spree/line_item:
price: Price
quantity: Quantity
spree/option_type:
+ filterable: Filterable
name: Name
presentation: Presentation
- filterable: Filterable
spree/order:
checkout_complete: Checkout Complete
completed_at: Completed At
+ considered_risky: Risky
coupon_code: Coupon Code
created_at: Order Date
email: Email
ip_address: IP Address
+ item_count: Items
item_total: Item Total
number: Number
payment_state: Payment State
@@ -69,8 +75,6 @@ en:
special_instructions: Special Instructions
state: State
total: Total
- considered_risky: Risky
- item_count: Items
spree/order/bill_address:
address1: Billing address street
city: Billing address city
@@ -94,18 +98,18 @@ en:
name: Name
spree/product:
available_on: Available On
- make_active_at: Make Active At
- discontinue_on: Discontinue On
cost_currency: Cost Currency
cost_price: Cost Price
description: Description
+ discontinue_on: Discontinue On
+ less_than: Less than
+ make_active_at: Make Active At
master_price: Master Price
+ more_than: More than
name: Name
on_hand: On Hand
shipping_category: Shipping Category
tax_category: Tax Category
- less_than: Less than
- more_than: More than
spree/promotion:
advertise: Advertise
code: Code
@@ -115,12 +119,12 @@ en:
generate_code: Generate coupon code
name: Name
path: Path
+ promotion_category: Promotion Category
starts_at: Starts At
usage_limit: Usage Limit
- promotion_category: Promotion Category
spree/promotion_category:
- name: Name
code: Code
+ name: Name
spree/property:
name: Name
presentation: Presentation
@@ -137,20 +141,20 @@ en:
name: Name
spree/state_change:
state_changes: State changes
- type: Type
state_from: State from
state_to: State to
- user: User
timestamp: Timestamp
+ type: Type
updated: Updated
+ user: User
spree/store:
- url: Site URL
+ mail_from_address: Mail From Address
meta_description: Meta Description
meta_keywords: Meta Keywords
+ name: Site Name
seo_robots: SEO Robots
seo_title: SEO Title
- name: Site Name
- mail_from_address: Mail From Address
+ url: Site URL
spree/store_credit:
amount_used: Amount used
spree/store_credit_category:
@@ -181,11 +185,119 @@ en:
sku: SKU
weight: Weight
width: Width
+ spree/wished_item:
+ variant: ''
spree/zone:
description: Description
name: Name
- spree/wished_item:
- variant: ""
+ errors:
+ messages:
+ blank: can't be blank
+ models:
+ spree/calculator/tiered_flat_rate:
+ attributes:
+ base:
+ keys_should_be_positive_number: Tier keys should all be numbers larger than 0
+ preferred_tiers:
+ should_be_hash: should be a hash
+ spree/calculator/tiered_percent:
+ attributes:
+ base:
+ keys_should_be_positive_number: Tier keys should all be numbers larger than 0
+ values_should_be_percent: Tier values should all be percentages between 0% and 100%
+ preferred_tiers:
+ should_be_hash: should be a hash
+ spree/classification:
+ attributes:
+ taxon_id:
+ already_linked: is already linked to this product
+ spree/credit_card:
+ attributes:
+ base:
+ card_expired: Card has expired
+ expiry_invalid: Card expiration is invalid
+ spree/image:
+ attributes:
+ attachment:
+ attachment_must_be_present: must be present
+ not_allowed_content_type: has not allowed content type
+ spree/legacy_user:
+ attributes:
+ bill_address_id:
+ belongs_to_other_user: belongs to other user
+ deprecated_in_completed_order: deprecated in completed order
+ ship_address_id:
+ belongs_to_other_user: belongs to other user
+ deprecated_in_completed_order: deprecated in completed order
+ spree/line_item:
+ attributes:
+ currency:
+ must_match_order_currency: Must match order currency
+ spree/product:
+ attributes:
+ base:
+ cannot_destroy_if_attached_to_line_items: Cannot delete Products that are added to placed Orders. In such cases, please discontinue them.
+ discontinue_on:
+ invalid_date_range: must be later than available date
+ spree/promotion:
+ attributes:
+ expires_at:
+ invalid_date_range: must be later than start date
+ spree/refund:
+ attributes:
+ amount:
+ greater_than_allowed: is greater than the allowed amount.
+ spree/reimbursement:
+ attributes:
+ base:
+ return_items_order_id_does_not_match: One or more of the return items specified do not belong to the same order as the reimbursement.
+ spree/return_item:
+ attributes:
+ inventory_unit:
+ other_completed_return_item_exists: "%{inventory_unit_id} has already been taken by return item %{return_item_id}"
+ reimbursement:
+ cannot_be_associated_unless_accepted: cannot be associated to a return item that is not accepted.
+ spree/shipping_method:
+ attributes:
+ base:
+ required_shipping_category: You must select at least one shipping category
+ spree/store:
+ attributes:
+ base:
+ cannot_destroy_only_store: Cannot destroy the only Store.
+ spree/store_credit:
+ attributes:
+ amount_authorized:
+ exceeds_total_credits: Exceeds total credits.
+ amount_used:
+ cannot_be_greater_than_amount: Cannot be greater than amount.
+ greater_than_zero_restrict_delete: is greater than zero. Can not delete store credit.
+ spree/store_credit_category:
+ attributes:
+ base:
+ cannot_destroy_if_used_in_store_credit: Cannot delete store credit categories once they are used in store credit.
+ spree/taxon_image:
+ attributes:
+ attachment:
+ not_allowed_content_type: has not allowed content type
+ spree/user:
+ attributes:
+ bill_address_id:
+ belongs_to_other_user: belongs to other user
+ deprecated_in_completed_order: deprecated in completed order
+ ship_address_id:
+ belongs_to_other_user: belongs to other user
+ deprecated_in_completed_order: deprecated in completed order
+ spree/variant:
+ attributes:
+ base:
+ cannot_destroy_if_attached_to_line_items: Cannot delete Variants that are added to placed Orders. In such cases, please discontinue them.
+ must_supply_price_for_variant_or_master: Must supply price for variant or master price for product.
+ no_master_variant_found_to_infer_price: No master variant found to infer price
+ spree/wished_item:
+ attributes:
+ variant:
+ taken: You already added this item to your wishlist
models:
spree/address:
one: Address
@@ -274,12 +386,12 @@ en:
spree/state_change:
one: State Change
other: State Changes
- spree/stock_movement:
- one: Stock Movement
- other: Stock Movements
spree/stock_location:
one: Stock Location
other: Stock Locations
+ spree/stock_movement:
+ one: Stock Movement
+ other: Stock Movements
spree/stock_transfer:
one: Stock Transfer
other: Stock Transfers
@@ -313,114 +425,6 @@ en:
spree/zone:
one: Zone
other: Zones
- errors:
- messages:
- blank: can't be blank
- models:
- spree/calculator/tiered_flat_rate:
- attributes:
- base:
- keys_should_be_positive_number: "Tier keys should all be numbers larger than 0"
- preferred_tiers:
- should_be_hash: "should be a hash"
- spree/calculator/tiered_percent:
- attributes:
- base:
- keys_should_be_positive_number: "Tier keys should all be numbers larger than 0"
- values_should_be_percent: "Tier values should all be percentages between 0% and 100%"
- preferred_tiers:
- should_be_hash: "should be a hash"
- spree/classification:
- attributes:
- taxon_id:
- already_linked: "is already linked to this product"
- spree/credit_card:
- attributes:
- base:
- card_expired: "Card has expired"
- expiry_invalid: "Card expiration is invalid"
- spree/legacy_user:
- attributes:
- bill_address_id:
- belongs_to_other_user: belongs to other user
- deprecated_in_completed_order: deprecated in completed order
- ship_address_id:
- belongs_to_other_user: belongs to other user
- deprecated_in_completed_order: deprecated in completed order
- spree/user:
- attributes:
- bill_address_id:
- belongs_to_other_user: belongs to other user
- deprecated_in_completed_order: deprecated in completed order
- ship_address_id:
- belongs_to_other_user: belongs to other user
- deprecated_in_completed_order: deprecated in completed order
- spree/line_item:
- attributes:
- currency:
- must_match_order_currency: "Must match order currency"
- spree/promotion:
- attributes:
- expires_at:
- invalid_date_range: must be later than start date
- spree/product:
- attributes:
- discontinue_on:
- invalid_date_range: must be later than available date
- base:
- cannot_destroy_if_attached_to_line_items: Cannot delete Products that are added to placed Orders. In such cases, please discontinue them.
- spree/refund:
- attributes:
- amount:
- greater_than_allowed: is greater than the allowed amount.
- spree/reimbursement:
- attributes:
- base:
- return_items_order_id_does_not_match: One or more of the return items specified do not belong to the same order as the reimbursement.
- spree/return_item:
- attributes:
- reimbursement:
- cannot_be_associated_unless_accepted: cannot be associated to a return item that is not accepted.
- inventory_unit:
- other_completed_return_item_exists: "%{inventory_unit_id} has already been taken by return item %{return_item_id}"
- spree/shipping_method:
- attributes:
- base:
- required_shipping_category: "You must select at least one shipping category"
- spree/store:
- attributes:
- base:
- cannot_destroy_only_store: Cannot destroy the only Store.
- spree/store_credit:
- attributes:
- amount_used:
- cannot_be_greater_than_amount: Cannot be greater than amount.
- greater_than_zero_restrict_delete: is greater than zero. Can not delete store credit.
- amount_authorized:
- exceeds_total_credits: Exceeds total credits.
- spree/store_credit_category:
- attributes:
- base:
- cannot_destroy_if_used_in_store_credit: Cannot delete store credit categories once they are used in store credit.
- spree/wished_item:
- attributes:
- variant:
- taken: "You already added this item to your wishlist"
- spree/variant:
- attributes:
- base:
- cannot_destroy_if_attached_to_line_items: Cannot delete Variants that are added to placed Orders. In such cases, please discontinue them.
- no_master_variant_found_to_infer_price: No master variant found to infer price
- must_supply_price_for_variant_or_master: Must supply price for variant or master price for product.
- spree/image:
- attributes:
- attachment:
- not_allowed_content_type: has not allowed content type
- attachment_must_be_present: must be present
- spree/taxon_image:
- attributes:
- attachment:
- not_allowed_content_type: has not allowed content type
address_book:
save: Save
successfully_created: New address has been successfully created
@@ -462,123 +466,131 @@ en:
user_sessions:
signed_in: Signed in successfully.
signed_out: Signed out successfully.
-
errors:
messages:
already_confirmed: was already confirmed
+ not_a_number: not a number
not_found: not found
not_locked: was not locked
not_saved:
- one: ! '1 error prohibited this %{resource} from being saved:'
- other: ! '%{count} errors prohibited this %{resource} from being saved:'
-
+ one: '1 error prohibited this %{resource} from being saved:'
+ other: "%{count} errors prohibited this %{resource} from being saved:"
number:
+ currency:
+ format:
+ separator: "."
percentage:
format:
precision: 1
-
pagination:
first: "&laquo;"
last: "&raquo;"
- previous: "&lsaquo;"
next: "&rsaquo;"
+ previous: "&lsaquo;"
truncate: "&hellip;"
-
spree:
abbreviation: Abbreviation
accept: Accept
- acceptance_status: Acceptance status
acceptance_errors: Acceptance errors
+ acceptance_status: Acceptance status
accepted: Accepted
+ accepts_email_marketing: Accepts email marketing
account: Account
account_info: Account info
+ account_members: Team
account_updated: Account updated
action: Action
actions:
+ approve: Approve
cancel: Cancel
+ confirm: Confirm
+ connect: Connect
continue: Continue
create: Create
- approve: Approve
+ destroy: Delete
+ discard: Discard
+ disconnect: Disconnect
edit: Edit
- confirm: Confirm
list: List
listing: Listing
new: New
- connect: Connect
- discard: Discard
- destroy: Delete
- disconnect: Disconnect
+ publish: Publish
+ receive: Mark as received
refund: Refund
- save: Save
- update: Update
reject: Reject
- receive: Mark as received
resolve: Mark as resolved
+ save: Save
+ select_file: Select file
send_invitation: Send invitation
+ update: Update
activate: Activate
active: Active
add: Add
- add_new_credit_card: Add a new card
add_action_of_type: Add action of type
add_country: Add Country
add_coupon_code: Add Coupon Code
add_new_address: Add new address
+ add_new_credit_card: Add a new card
add_new_header: Add New Header
+ add_new_page: Add new page
+ add_new_store: Add New Store
add_new_style: Add New Style
add_one: Add One
add_option_value: Add Option Value
add_product: Add Product
- add_products: Add Products
add_product_properties: Add Product Properties
+ add_products: Add Products
add_rule_of_type: Add rule of type
+ add_section: Add section
+ add_selected_products: Add selected products
+ add_selected_variant: Add selected variant
add_state: Add State
add_stock: Add Stock
- add_to_cart: Add To Cart
- add_variant: Add Variant
add_store: New Store
add_store_credit: Add Store Credit
+ add_to_cart: Add To Cart
+ add_variant: Add Variant
added_to_cart: Added to cart successfully!
additional_item: Additional Item
address: Address
address1: Address
address2: Address (contd.)
- addresses: Addresses
address_action_popup:
delete_button: yes, delete
delete_text: Do you really want <br /> to delete this address?
delete_title: Are you sure?
address_book:
- other_address: "Other address"
- add_new_shipping_address: "Add new address"
- label: Address Name
+ add_new_shipping_address: Add new address
address_name_label: Address Name
address_name_placeholder: Give this address a unique name (Work, Home, etc.)
- new_address: "New Address"
- edit_address: "Edit Address"
+ addresses: Addresses
+ edit_address: Edit Address
+ label: Address Name
+ new_address: New Address
+ no_shipping_addresses_on_file: No addresses on file
+ other_address: Other address
remove_address: Remove Address
- no_shipping_addresses_on_file: "No addresses on file"
- addresses: "Addresses"
- successfully_created: "Address has been successfully created."
- successfully_removed: "Address has been successfully removed."
- successfully_saved: "Saved successfully"
- unsuccessfully_saved: "There was an error while trying to save your address."
- successfully_updated: "Updated successfully"
- unsuccessfully_updated: "There was an update while trying to update your address."
- save: "Save"
+ save: Save
+ successfully_created: Address has been successfully created.
+ successfully_removed: Address has been successfully removed.
+ successfully_saved: Saved successfully
+ successfully_updated: Updated successfully
+ unsuccessfully_saved: There was an error while trying to save your address.
+ unsuccessfully_updated: There was an update while trying to update your address.
+ addresses: Addresses
adjustable: Adjustable
adjustment: Adjustment
adjustment_amount: Amount
adjustment_labels:
tax_rates:
- including_tax: '%{name}%{amount} (Included in Price)'
- excluding_tax: '%{name}%{amount}'
+ excluding_tax: "%{name}%{amount}"
+ including_tax: "%{name}%{amount} (Included in Price)"
adjustment_successfully_closed: Adjustment has been successfully closed!
adjustment_successfully_opened: Adjustment has been successfully opened!
adjustment_total: Adjustment Total
adjustments: Adjustments
- administration: Administration
- add_new_store: Add New Store
adjustments_deleted: Adjustments Deleted
+ administration: Administration
advertise: Advertise
agree_to_privacy_policy: Agree to Privacy Policy
agree_to_terms_of_service: Agree to Terms of Service
@@ -587,41 +599,52 @@ en:
all_adjustments_opened: All adjustments successfully opened!
all_departments: All departments
all_items_have_been_returned: All items have been returned
+ all_products: All products
all_rights_reserved: All rights reserved
+ all_time: All time
already_have_account: Already have an account?
alt_text: Alternative Text
alternative_phone: Alternative Phone
amount: Amount
+ analytics: Analytics
and: and
+ api_keys: API keys
apply_only_on_full_priced_items: Apply only on full priced items
approve: approve
- approver: Approver
approved_at: Approved at
+ approver: Approver
are_you_sure: Are you sure?
are_you_sure_delete: Are you sure you want to delete this record?
associated_adjustment_closed: The associated adjustment is closed, and will not be recalculated. Do you want to open it?
- at_symbol: '@'
+ at_symbol: "@"
+ audit_log: Audit Log
+ author: Author
authorization_failure: Authorization Failure
authorized: Authorized
auto_capture: Auto Capture
+ automatic_taxon_names:
+ new_arrivals: New arrivals
+ on_sale: On sale
availability: availability
- available_on: Available On
- make_active_at: Make Active At
available: Available
+ available_on: Available On
average_order_value: Average Order Value
avs_response: AVS Response
back: Back
back_end: Backend
- backordered: Backordered
- back_to_resource_list: 'Back To %{resource} List'
back_to_payment: Back To Payment
+ back_to_resource_list: Back To %{resource} List
back_to_rma_reason_list: Back To RMA Reason List
back_to_store: Back to Store
back_to_users_list: Back To Users List
backorderable: Backorderable
backorderable_default: Backorderable default
+ backordered: Backordered
+ backordered_confirm_info: Selected item is backordered so expect delays. Are you sure you want to order it?
+ backordered_info: Backordered
backorders_allowed: backorders allowed
balance_due: Balance Due
+ barcode: Barcode
base_amount: Base Amount
base_percent: Base Percent
basic_information: Basic Information
@@ -629,6 +652,9 @@ en:
billing: Billing
billing_address: Billing Address
blog: Blog
+ blogs_posts: Blogs posts
+ body_tag_end: Body tag end
+ body_tag_start: Body tag start
both: Both
breadcrumbs: Breadcrumbs
calculated_reimbursements: Calculated Reimbursements
@@ -636,16 +662,16 @@ en:
calculator_settings_warning: If you are changing the calculator type, you must save first before you can edit the calculator settings
call_us_now: 'Call us now: '
cancel: cancel
+ cancel_order: Cancel order
canceled: Canceled
- canceler: Canceler
canceled_at: Canceled at
- cancel_order: Cancel order
+ canceler: Canceler
cannot_be_destroyed: Order cannot be destroyed.
- cannot_empty: Cannot empty order.
- cannot_empty_completed_order: Order has already been processed so it cannot be emptied
- cannot_create_payment_without_payment_methods: You cannot create a payment for an order without any payment methods defined.
cannot_create_customer_returns: Cannot create customer returns as this order has no shipped units.
+ cannot_create_payment_without_payment_methods: You cannot create a payment for an order without any payment methods defined.
cannot_create_returns: Cannot create returns as this order has no shipped units.
+ cannot_empty: Cannot empty order.
+ cannot_empty_completed_order: Order has already been processed so it cannot be emptied
cannot_perform_operation: Cannot perform requested operation
cannot_return_more_than_bought_quantity: Cannot return more than bought quantity.
cannot_set_shipping_method_without_address: Cannot set shipping method until customer details are provided.
@@ -658,30 +684,32 @@ en:
card_type_is: Card type is
cart: Cart
cart_line_item:
- discontinued: '%{li_name} was removed because it was discontinued'
- out_of_stock: '%{li_name} was removed because it was sold out'
+ discontinued: "%{li_name} was removed because it was discontinued"
+ out_of_stock: "%{li_name} was removed because it was sold out"
cart_page:
add_promo_code: ADD PROMO CODE
change_quantity: Change quantity
checkout: checkout
- empty_info: 'Your cart is empty.'
+ empty_info: Your cart is empty.
header: Your shopping cart
product: product
quantity: quantity
remove_from_cart: Remove from cart
title: Shopping Cart
- cart_subtotal:
- one: 'Subtotal (1 item)'
- other: 'Subtotal (%{count} items)'
cart_state_changed: Cart changed
+ cart_subtotal:
+ one: Subtotal (1 item)
+ other: Subtotal (%{count} items)
categories: Categories
+ categorization: Categorization
category: Category
changes_published: Changes published!
channel: Channel
charged: Charged
checkout: Checkout
+ checkout_message: Checkout message
choose_a_customer: Choose a customer
- choose_a_taxon_to_sort_products_for: "Choose a taxon to sort products for"
+ choose_a_taxon_to_sort_products_for: Choose a taxon to sort products for
choose_currency: Choose Currency
choose_dashboard_locale: Choose Dashboard Locale
choose_location: Choose location
@@ -695,8 +723,10 @@ en:
close_all_adjustments: Close All Adjustments
code: Code
company: Company
+ compare_at_amount: Compare at amount
compare_at_price: Compare at price
complete: complete
+ conditions: Conditions
configuration: Configuration
configurations: Configurations
confirm: Confirm
@@ -705,10 +735,15 @@ en:
contact_information: Contact information
contact_phone: Contact phone
contact_us: Contact us
+ container_alignment: Container alignment
+ content: Content
continue: Continue
continue_as_guest: Continue as a guest
+ continue_selling_when_out_of_stock: Continue selling when out of stock
continue_shopping: Continue shopping
+ copy_id: Copy
copy_payment_link: Copy payment link
+ copy_to_clipboard: Copy to clipboard
cost_currency: Cost Currency
cost_price: Cost Price
could_not_create_customer_return: Could not create customer return
@@ -727,9 +762,9 @@ en:
label: Choose must be shipped to this country
coupon: Coupon
coupon_code: Coupon code
- coupon_code_apply: Apply
coupon_code_already_applied: The coupon code has already been applied to this order
coupon_code_applied: The coupon code was successfully applied to your order.
+ coupon_code_apply: Apply
coupon_code_better_exists: The previously applied coupon code results in a better deal
coupon_code_expired: The coupon code is expired
coupon_code_max_usage: Coupon code usage limit exceeded
@@ -740,44 +775,48 @@ en:
coupon_code_used: The coupon code you entered has already been used. Please try again.
create: Create
create_a_new_account: Create a new account
+ create_customer: Create customer
create_new: Create new
create_new_order: Create new order
+ create_new_team: Create new team
create_reimbursement: Create reimbursement
created_at: Created At
created_by: Created By
credit: Credit
+ credit_allowed: Credit allowed
credit_card: Credit Card
credit_card_remove_confirmation: Are you sure you want to delete the credit card?
credit_cards: Credit Cards
credit_owed: Credit Owed
credited: Credited
credits: Credits
- currency: Currency
currencies: Currencies
+ currency: Currency
currency_settings: Currency Settings
current: Current
- current_promotion_usage: ! 'current usage: %{count}'
+ current_promotion_usage: 'current usage: %{count}'
+ custom_code: Custom code
+ custom_font_code: Custom font code
customer: Customer
- customers: Customers
customer_details: Customer Details
customer_details_updated: Customer Details Updated
customer_return: Customer Return
customer_returns: Customer Returns
customer_search: Customer Search
customer_support_email: Customer Support Email
- new_order_notifications_email: New Order Notifications Email
+ customers: Customers
cut: Cut
cvv: CVV
- no_cc_type: N/A
cvv_response: CVV Response
date: Date
date_completed: Date Completed
date_picker:
- # FlatPickr human friendly formatting
fpr_human_friendly_date_format: M j, Y
fpr_human_friendly_date_time_format: M j, Y at H:i
date_range: Date Range
+ days_ago: Days ago
default: Default
+ default_country: Default Country
default_country_cannot_be_deleted: Default country cannot be deleted
default_currency: Default currency
default_post_categories:
@@ -785,39 +824,56 @@ en:
news: News
resources: Resources
default_refund_amount: Default Refund Amount
+ default_stock_location_name: Shop location
default_tax: Default Tax
default_tax_zone: Default Tax Zone
default_theme_name: Default
default_wishlist_name: Wishlist
delete: Delete
- deleted: Deleted
delete_from_taxon: Delete From Taxon
- digital:
- digital_delivery: Digital Delivery
- dimension_units:
- millimeter: Millimeter (mm)
- centimeter: Centimeter (cm)
- inch: Inch (in)
- foot: Foot (ft)
- discontinued_variants_present: Some line items in this order have products that are no longer available.
+ delete_selected: Delete selected
+ deleted: Deleted
delivery: Delivery
delivery_information: Delivery Information
depth: Depth
- details: Details
description: Description
destination: Destination
destroy: Destroy
- discount_amount: Discount Amount
+ details: Details
+ developers: Developers
+ digital:
+ digital_delivery: Digital Delivery
+ dimension_units:
+ centimeter: Centimeter (cm)
+ foot: Foot (ft)
+ inch: Inch (in)
+ millimeter: Millimeter (mm)
discontinue_on: Discontinue On
discontinued: Discontinued
+ discontinued_variants_present: Some line items in this order have products that are no longer available.
+ discount: Discount
+ discount_amount: Discount Amount
+ discounts: Discounts
dismiss_banner: No. Thanks! I'm not interested, do not display this message again
display: Display
- display_delivery_range: "Delivery in %{delivery_range} business days"
+ display_delivery_range: Delivery in %{delivery_range} business days
+ display_on: Display on
+ display_settings: Display settings
+ do_not_import: Do not import
doesnt_track_inventory: It doesn't track inventory
+ domain: Domain
+ domains: Domains
+ done: Done
dont_have_account: No account?
+ download: Download
+ draft: Draft
draft_mode: Draft Mode
+ draft_orders: Draft orders
+ duplicate: Duplicate
+ duplicating: Duplicating
edit: Edit
- editing_resource: 'Editing %{resource}'
+ edit_refund: Edit refund
+ editing_resource: Editing %{resource}
editing_rma_reason: Editing RMA Reason
editing_user: Edit Your account
eligibility_errors:
@@ -837,31 +893,35 @@ en:
not_first_order: This coupon code can only be applied to your first order.
wrong_country: This coupon code is not eligible in your country
email: Email
+ email_marketing: Email marketing
+ emails: Emails
empty: Empty
empty_cart: Empty Cart
enable_mail_delivery: Enable Mail Delivery
end: End
- ends_at: Ends at
ending_at: Ending at
ending_in: Ending in
+ ends_at: Ends at
error: error
+ error_user_destroy_with_orders: User associated with orders cannot be destroyed
+ error_user_does_not_have_any_store_credits: User does not have any Store Credits available
errors:
- messages:
- store_association_can_not_be_changed: The store association can not be changed
- store_is_already_set: Store is already set
+ messages:
blank: can't be blank
+ cannot_remove_icon: Cannot remove image
could_not_create_taxon: Could not create taxon
no_shipping_methods_available: No shipping methods available for selected location, please change your address and try again.
- cannot_remove_icon: Cannot remove image
+ store_association_can_not_be_changed: The store association can not be changed
+ store_is_already_set: Store is already set
services:
get_shipping_rates:
- no_shipping_address: To generate Shipping Rates Order needs to have a Shipping Address
no_line_items: To generate Shipping Rates you need to add some Line Items to Order
+ no_shipping_address: To generate Shipping Rates Order needs to have a Shipping Address
errors_prohibited_this_record_from_being_saved:
one: 1 error prohibited this record from being saved
- other: ! '%{count} errors prohibited this record from being saved'
- error_user_destroy_with_orders: User associated with orders cannot be destroyed
- error_user_does_not_have_any_store_credits: 'User does not have any Store Credits available'
+ other: "%{count} errors prohibited this record from being saved"
+ estimated_delivery_time: Estimated delivery time
+ estimated_transit_business_days: Estimated transit business days
event: Event
events:
spree:
@@ -878,42 +938,50 @@ en:
signup: User signup
exceptions:
count_on_hand_setter: Cannot set count_on_hand manually, as it is set automatically by the recalculate_count_on_hand callback. Please use `update_column(:count_on_hand, value)` instead.
+ excerpt: Excerpt
exchange_for: Exchange for
- expedited_exchanges_warning: "Any specified exchanges will ship to the customer immediately upon saving. The customer will be charged the full amount of the item if they do not return the original item within %{days_window} days."
excl: excl.
+ existing_address: Existing address
+ existing_shipments: Existing shipments
+ expedited_exchanges_warning: Any specified exchanges will ship to the customer immediately upon saving. The customer will be charged the full amount of the item if they do not return the original item within %{days_window} days.
expiration: Expiration
expiration_date: Expiration Date
export: Export
export_mailer:
- greeting: Hi %{user_name},
- thanks: Thank you,
export_done:
- subject: 'Your export %{export_number} was successfully processed!'
message: Good work, your export is ready! Please use the link below to download it.
+ subject: Your export %{export_number} was successfully processed!
+ greeting: Hi %{user_name},
+ thanks: Thank you,
extension: Extension
extensions_directory: Extensions Directory
- existing_address: Existing address
- existing_shipments: Existing shipments
facebook: Facebook
failed_payment_attempts: Failed Payment Attempts
- favicon: 'Favicon'
- favicon_upload_info: "File format: PNG or ICO. File resolution: up to 256x256. File size: up to 1MB"
+ favicon: Favicon
+ favicon_upload_info: 'File format: PNG or ICO. File resolution: up to 256x256. File size: up to 1MB'
+ featured_image: Featured image
+ featured_taxon: Featured taxon
+ field: Field
filename: Filename
fill_in_customer_info: Please fill in customer info
filter: Filter
- filterable: Filterable
filter_results: Filter Results
+ filterable: Filterable
+ filtered_records: Filtered records
finalize: Finalize
- find_a_taxon: Find a Taxon
finalized: Finalized
+ find_a_taxon: Find a Taxon
first_item: First Item
first_name: First Name
- firstname: First Name
first_name_begins_with: First Name Begins With
+ firstname: First Name
flat_percent: Flat Percent
flat_rate_per_order: Flat Rate
flexible_rate: Flexible Rate
follow_us: Follow us
+ font_family: Font family
+ font_size_scale: Font size scale
+ fonts: Fonts
footer: Footer
forgot_password: Forgot password?
free: Free
@@ -926,9 +994,11 @@ en:
gateway: Gateway
gateway_error: Gateway Error
general: General
+ general_information: General information
general_settings: General Settings
generate_code: Generate coupon code
get_back_to_the: Get back to the
+ gift_cards: Gift cards
go_to_category: Go to category
go_to_facebook: Go to facebook
go_to_homepage: Go to Home Page
@@ -937,21 +1007,24 @@ en:
guest_checkout: Guest Checkout
guest_user_account: Checkout as a Guest
has_no_shipped_units: has no shipped units
+ head_tag: Head tag
header_banner: Header banner
+ header_font_family: Header font family
+ header_font_size_scale: Header font size scale
height: Height
+ help_center: Help Center
hide_from_subcategories_nav: Hide from subcategories navigation
home: Home
home_page: homepage
- help_center: Help Center
i18n:
available_locales: Available Locales
- fields: Fields
- language: Language
country: Country
default_country: Default Country
+ fields: Fields
+ language: Language
localization_settings: Localization Settings
- only_incomplete: Only incomplete
only_complete: Only complete
+ only_incomplete: Only incomplete
select_locale: Select locale
show_only: Show only
supported_locales: Supported Locales
@@ -959,20 +1032,23 @@ en:
translations: Translations
icon: Icon
image: Image
- images: Images
image_alt_text: Add Alt text to your image
- implement_eligible_for_return: "Must implement #eligible_for_return? for your EligibilityValidator."
- implement_requires_manual_intervention: "Must implement #requires_manual_intervention? for your EligibilityValidator."
+ images: Images
+ implement_eligible_for_return: 'Must implement #eligible_for_return? for your EligibilityValidator.'
+ implement_requires_manual_intervention: 'Must implement #requires_manual_intervention? for your EligibilityValidator.'
+ import_payment_methods_from: Import payment methods from
+ import_products_from: Import products from
in_stock: In Stock
inactive: Inactive
incl: incl.
included_in_price: Included in Price
included_price_validation: cannot be selected unless you have set a Default Tax Zone
incomplete: Incomplete
- info_product_has_multiple_skus: "This product has %{count} variants:"
+ index_in_search_engines: Index in search engines
info_number_of_skus_not_shown:
- one: "and one other"
- other: "and %{count} others"
+ one: and one other
+ other: and %{count} others
+ info_product_has_multiple_skus: 'This product has %{count} variants:'
instagram: Instagram
instructions_to_reset_password: Please enter your email on the form below
insufficient_stock: Insufficient stock available, only %{on_hand} remaining
@@ -996,6 +1072,7 @@ en:
iso: ISO Alpha-2
iso3: ISO Alpha-3
iso_name: ISO Name
+ issue_gift_card: Issue Gift Card
issued_on: Issued On
item: Item
item_description: Item Description
@@ -1007,30 +1084,31 @@ en:
lt: less than
lte: less than or equal to
items_cannot_be_shipped: We are unable to calculate shipping rates for the selected items.
- products_cannot_be_shipped: We cannot ship %{product_names} to your current location at the moment. Please change your shipping address or remove %{product_names} from your cart.
items_in_rmas: Items in Return Authorizations
- items_to_be_reimbursed: Items to be reimbursed
items_reimbursed: Items reimbursed
+ items_to_be_reimbursed: Items to be reimbursed
join_slack: Join Slack
+ kind: Kind
language: Language
last_name: Last Name
- lastname: Last Name
last_name_begins_with: Last Name Begins With
+ lastname: Last Name
learn_more: Learn More
lifetime_stats: Lifetime Stats
limit_usage_to: Limit usage to
line_item: Line Item
- line_item_adjustments: "Line item adjustments"
+ line_item_adjustments: Line item adjustments
+ line_items: Line items
list: List
+ live: Live
loading: Loading
loading_tree: Loading tree. Please wait…
locale_changed: Locale Changed
location: Location
lock: Lock
- log_entries: "Log Entries"
+ log_entries: Log Entries
log_in: Log in
log_in_to_continue: Log in to continue
- logs: "Logs"
logged_in_as: Logged in as
logged_in_successfully: Logged in successfully
logged_out: You have been logged out.
@@ -1041,55 +1119,70 @@ en:
logo: Logo
logo_alt: Brand logo
logout: Logout
+ logs: Logs
look_for_similar_items: Look for similar items
- make_refund: Make refund
- make_sure_the_above_reimbursement_amount_is_correct: Make sure the above reimbursement amount is correct
mail_from_address: Mail from address
mailer_logo: Mailer logo (JPG or PNG images only)
+ make_active_at: Make Active At
+ make_refund: Make refund
+ make_sure_the_above_reimbursement_amount_is_correct: Make sure the above reimbursement amount is correct
manage_promotion_categories: Manage Promotion Categories
- manual_intervention_required: Manual intervention required
manage_variants: Manage Variants
+ manual_intervention_required: Manual intervention required
+ mark_as_default: Mark as default
master: Master
master_price: Master Price
master_sku: Master SKU
match_choices:
all: All
none: None
- max: 'Max'
+ max: Max
max_items: Max Items
+ media: Media
memo: Memo
meta_description: Meta Description
meta_keywords: Meta Keywords
meta_title: Meta Title
metadata: Metadata
- mutable: Mutable
- must_have_one_store: The resource must belong to a store.
- min: 'Min'
+ min: Min
minimal_amount: Minimal Amount
- missing_return_authorization: ! 'Missing Return Authorization for %{item_name}.'
+ missing_return_authorization: Missing Return Authorization for %{item_name}.
month: Month
more: More
+ more_actions: More actions
move: Move
+ move_down: Move down
move_stock_between_locations: Move Stock Between Locations
+ move_up: Move up
move_variant_to: Move variant to
+ must_have_one_store: The resource must belong to a store.
+ mutable: Mutable
my_account: My Account
my_orders: My Orders
name: Name
name_on_card: Name on card
name_or_sku: Name or SKU (enter at least first 3 characters of product name)
+ navigation: Navigation
new: New
new_adjustment: New Adjustment
- new_shipping_address: New Bhipping Address
+ new_billing_address: New billing address
+ new_country: New Country
new_customer: Create new account
new_customer_return: New Customer Return
- new_country: New Country
+ new_domain: New domain
new_image: New Image
new_line_item: Add line item
+ new_market: New market
+ new_nested_taxon: New nested taxon
new_option_type: New Option Type
new_order: New Order
new_order_completed: New Order Completed
+ new_order_notifications_email: New Order Notifications Email
+ new_page: New Page
new_payment: New Payment
new_payment_method: New Payment Method
+ new_post: New Post
+ new_post_category: New Post Category
new_product: New Product
new_promotion: New Promotion
new_promotion_category: New Promotion Category
@@ -1098,17 +1191,18 @@ en:
new_refund: New Refund
new_refund_reason: New Refund Reason
new_reimbursement_type: New Reimbursement Type
- new_rma_reason: New RMA Reason
new_return_authorization: New Return Authorization
+ new_rma_reason: New RMA Reason
new_role: New Role
+ new_shipment_at_location: New shipment at location
new_shipping_address: New Shipping Address
new_shipping_category: New Shipping Category
new_shipping_method: New Shipping Method
- new_shipment_at_location: New shipment at location
new_state: New State
new_stock_location: New Stock Location
new_stock_movement: New Stock Movement
new_stock_transfer: New Stock Transfer
+ new_store: New Store
new_store_credit: New Store Credit
new_store_credit_category: New Store Credit Category
new_tax_category: New Tax Category
@@ -1123,43 +1217,48 @@ en:
no_actions_added: No actions added
no_address_given: No address given
no_available_date_set: No available date set
+ no_billing_address_available: No billing address available
+ no_cc_type: N/A
no_country: No country set
no_email_provided: No email provided
+ no_limits_zone: No Limits
no_payment_found: No payment found
no_payment_provider_settings_message: This payment provider has no custom settings available
no_pending_payments: No pending payments
no_product_available:
for_this_quantity: Sorry, it looks like some products are not available in selected quantity.
oops: Oops!
+ no_products_added: No products added
no_products_found: No products found
+ no_resource_found: No %{resource} found
no_results: No results
- no_rules_added: No rules added
- no_resource_found: 'No %{resource} found'
no_returns_found: No returns found
+ no_rules_added: No rules added
+ no_saved_cards: No saved cards
+ no_shipping_address_available: No shipping address available
no_shipping_method_selected: No shipping method selected.
no_state_changes: No state changes yet.
no_tracking_present: No tracking details provided.
- not_provided: Not provided
- not_risky: Not risky
- user_not_found: User not found
none: None
none_selected: None Selected
normal_amount: Normal Amount
not: not
not_available: N/A
not_enough_stock: There is not enough inventory at the source location to complete this transfer.
- not_found: ! '%{resource} is not found'
+ not_found: "%{resource} is not found"
+ not_provided: Not provided
+ not_risky: Not risky
note: Note
notice_messages:
icon_removed: Image has been successfully removed
prices_saved: Prices successfully saved
- translations_saved: Translations successfully saved
product_cloned: Product has been cloned
product_deleted: Product has been deleted
- product_not_cloned: "Product could not be cloned. Reason: %{error}"
- product_not_deleted: "Product could not be deleted. Reason: %{error}"
+ product_not_cloned: 'Product could not be cloned. Reason: %{error}'
+ product_not_deleted: 'Product could not be deleted. Reason: %{error}'
+ translations_saved: Translations successfully saved
variant_deleted: Variant has been deleted
- variant_not_deleted: "Variant could not be deleted. Reason: %{error}"
+ variant_not_deleted: 'Variant could not be deleted. Reason: %{error}'
num_orders: "# Orders"
number: Number
ok: OK
@@ -1167,8 +1266,9 @@ en:
only_active_products_can_be_added_to_cart: Draft and archived products cannot be added to cart, please mark the product as active before.
open: Open
open_all_adjustments: Open All Adjustments
+ option_name: Option name
option_type: Option Type
- option_type_filterable_info: 'When an option type is set to Filterable, your storefront visitors are presented with the option to filter a taxon of products based on the option type. A typical example of this would be to filter clothing by size and color.<br><br><b>Please Note:</b> Filters will only be visible in the storefront taxons that contain products with this option type set.'
+ option_type_filterable_info: When an option type is set to Filterable, your storefront visitors are presented with the option to filter a taxon of products based on the option type. A typical example of this would be to filter clothing by size and color.<br><br><b>Please Note:</b> Filters will only be visible in the storefront taxons that contain products with this option type set.
option_type_placeholder: Choose an option type
option_types: Option Types
option_value: Option Value
@@ -1176,7 +1276,7 @@ en:
optional: Optional
options: Options
or: or
- or_over_price: ! '%{price} or over'
+ or_over_price: "%{price} or over"
or_select_other_address: or select other address
order: Order
order_adjustments: Order adjustments
@@ -1189,9 +1289,6 @@ en:
order_information: Order Information
order_line_items: Order Line Items
order_mailer:
- subtotal: ! 'Subtotal:'
- total: ! 'Order Total:'
- store_team: '%{store_name} Team'
cancel_email:
dear_customer: Dear %{name},
instructions: Your order has been CANCELED. Please retain this cancellation information for your records.
@@ -1208,8 +1305,11 @@ en:
heading: New Order Received
instructions: You have received a new order.
order_summary: Order %{number} Summary
- subject: '%{store_name} received a new order'
+ subject: "%{store_name} received a new order"
thanks: Thank you for your business.
+ store_team: "%{store_name} Team"
+ subtotal: 'Subtotal:'
+ total: 'Order Total:'
order_not_found: We couldn't find your order. Please try that action again.
order_number: Order %{number}
order_processed_successfully: Your order has been processed successfully
@@ -1219,9 +1319,9 @@ en:
awaiting_return: awaiting return
canceled: canceled
cart: cart
- considered_risky: considered risky
complete: complete
confirm: confirm
+ considered_risky: considered risky
delivery: delivery
payment: payment
resumed: resumed
@@ -1233,14 +1333,11 @@ en:
order_total: Order Total
order_updated: Order Updated
orders: Orders
+ origin: Origin
out_of_stock: Out of Stock
- backordered_info: Backordered
- backordered_confirm_info: Selected item is backordered so expect delays. Are you sure you want to order it?
overview: Overview
package_from: package from
page: Page
- pages: Pages
- page_not_found: Sorry! Page you are looking can’t be found.
page_blocks:
buttons:
display_name: Button
@@ -1251,12 +1348,13 @@ en:
newsletter_form:
button_text_default: Submit
placeholder_default: Enter your email
+ page_not_found: Sorry! Page you are looking can’t be found.
page_sections:
announcement_bar:
default_text: Welcome to my Store!
featured_taxon:
- heading_default: Beloved products
button_text_default: Explore category
+ heading_default: Beloved products
featured_taxons:
heading_default: Shop by category
image_banner:
@@ -1264,7 +1362,7 @@ en:
text_default: This is the place to tell people about your business and what you do.
image_with_text:
heading_default: Welcome to my online store!
- text_default: "Hi, I'm %{store_name}. I enjoy life and love to share our experiences and energy with you and the world! And here we can share some of our favorite things as well."
+ text_default: Hi, I'm %{store_name}. I enjoy life and love to share our experiences and energy with you and the world! And here we can share some of our favorite things as well.
newsletter:
heading_default: Subscribe for more feel good content
text_default: Thank you for choosing us as your trusted online shopping destination.
@@ -1280,84 +1378,96 @@ en:
video:
heading_1_default: Why I recommend it?
heading_2_default: There's nothing like a soft hint of blush to add dimension and color to your look.
+ page_settings: Page settings
+ pages: Pages
pages_defaults:
homepage:
- featured_taxon_heading_on_sale: On sale
featured_taxon_heading_new_arrivals: New arrivals
+ featured_taxon_heading_on_sale: On sale
image_with_text_heading: About me
- image_with_text_text: "I'm always looking for new and exciting projects to work on. Let's make something great together!"
+ image_with_text_text: I'm always looking for new and exciting projects to work on. Let's make something great together!
password:
newsletter_heading: Opening soon
newsletter_text: Be the first one to know when we launch.
pagination:
next_page: next page &raquo;
- previous_page: ! '&laquo; previous page'
- truncate: ! '&hellip;'
+ previous_page: "&laquo; previous page"
+ truncate: "&hellip;"
password: Password
+ password_protected: Password protected
paste: Paste
path: Path
pay: pay
payment: Payment
+ payment_amount: Payment amount
payment_attempts: failed attempts
payment_could_not_be_created: Payment could not be created.
payment_identifier: Payment Identifier
payment_information: Payment Information
payment_method: Payment Method
- payment_methods: Payment Methods
payment_method_not_supported: That payment method is unsupported. Please choose another one.
+ payment_methods: Payment Methods
payment_processing_failed: Payment could not be processed, please check the details you entered
payment_processor_choose_banner_text: If you need help choosing a payment processor, please visit
payment_processor_choose_link: our payments page
payment_provider_settings: Payment Provider Settings
+ payment_source: Payment source
payment_state: Payment State
payment_states:
balance_due: Balance due
checkout: Checkout
+ complete: Complete
+ completed: Completed
credit_owed: Credit owed
failed: Failed
paid: Paid
- void: Void
- complete: Complete
- completed: Completed
+ partially_refunded: Partially Refunded
pending: Pending
processing: Processing
refunded: Refunded
- partially_refunded: Partially Refunded
+ void: Void
payment_type: Payment type
payment_updated: Payment Updated
payments: Payments
+ payments_count: Payments count
+ pending: Pending
+ pending_sale: Pending Sale
percent: Percent
percent_per_item: Percent Per Item
permalink: Permalink
- pending: Pending
- pending_sale: Pending Sale
phone: Phone
place_order: Place Order
+ please_check_back_soon: Please check back soon.
please_define_payment_methods: Please define some payment methods first.
please_enter_reasonable_quantity: Please enter a reasonable quantity.
+ policies: Policies
populate_get_error: Something went wrong. Please try adding the item again.
- posts: Posts
post_categories: Post categories
+ posts: Posts
powered_by: Powered by
- pre_tax_refund_amount: Pre-Tax Refund Amount
pre_tax_amount: Pre-Tax Amount
+ pre_tax_refund_amount: Pre-Tax Refund Amount
pre_tax_total: Pre-Tax Total
preferred_reimbursement_type: Preferred Reimbursement Type
presentation: Presentation
+ preview: Preview
preview_product: Preview Product
preview_taxon: Preview Taxon
previous: Previous
- previous_state_missing: "n/a"
+ previous_state_missing: n/a
previously_used_card: Previously Used Cards
price: Price
- prices: Prices
price_range: Price Range
price_sack: Price Sack
+ prices: Prices
+ pricing: Pricing
+ privacy_policy: Privacy Policy
process: Process
+ processing: Processing
product: Product
- product_name: Product Name
product_details: Product Details
product_has_no_description: This product has no description
+ product_name: Product Name
product_not_available_in_this_currency: This product is not available in the selected currency.
product_properties: Product Properties
product_rule:
@@ -1370,11 +1480,8 @@ en:
group: From product group
manual: Manually choose
products: Products
+ products_cannot_be_shipped: We cannot ship %{product_names} to your current location at the moment. Please change your shipping address or remove %{product_names} from your cart.
promotion: Promotion
- promotionable: Promotable
- promotion_cloned: Promotion has been cloned
- promotion_not_cloned: "Promotion has not been cloned. Reason: %{error}"
- promotion_already_used: "You can not destroy promotion that was already applied"
promotion_action: Promotion Action
promotion_action_types:
create_adjustment:
@@ -1390,12 +1497,15 @@ en:
description: Makes all shipments for the order free
name: Free shipping
promotion_actions: Actions
+ promotion_already_used: You can not destroy promotion that was already applied
promotion_category: Promotion Category
+ promotion_cloned: Promotion has been cloned
promotion_form:
match_policies:
all: Match all of these rules
any: Match any of these rules
- promotion_label: 'Promotion (%{name})'
+ promotion_label: Promotion (%{name})
+ promotion_not_cloned: 'Promotion has not been cloned. Reason: %{error}'
promotion_rule: Promotion Rule
promotion_rule_types:
country:
@@ -1416,17 +1526,18 @@ en:
product:
description: Order includes specified product(s)
name: Product(s)
+ taxon:
+ description: Order includes products with specified taxon(s)
+ name: Taxon(s)
user:
description: Available only to the specified customers
name: User
user_logged_in:
description: Available only to logged in users
name: User Logged In
- taxon:
- description: Order includes products with specified taxon(s)
- name: Taxon(s)
- promotions: Promotions
promotion_uses: Promotion uses
+ promotionable: Promotable
+ promotions: Promotions
propagate_all_variants: Propagate all variants
properties: Properties
property: Property
@@ -1434,22 +1545,15 @@ en:
prototypes: Prototypes
provider: Provider
provider_settings_warning: If you are changing the provider type, you must save first before you can edit the provider settings
+ publish: Publish
+ published_at: Published at
purchased_quantity: Purchased Quantity
- report_mailer:
- greeting: Hi %{user_name},
- thanks: Thank you,
- report_done:
- subject: 'Your report %{report_name} is ready'
- message: Please use the link below to download it.
- report_names:
- products_performance: Products performance
- sales_total: Sales total
qty: Qty
quantity: Quantity
quantity_returned: Quantity Returned
quantity_shipped: Quantity Shipped
- quick_search: Quick search..
query: Query
+ quick_search: Quick search..
rate: Rate
reason: Reason
receive: receive
@@ -1459,16 +1563,28 @@ en:
reference: Reference
reference_contains: Reference Contains
refund: Refund
+ refund_amount_must_be_greater_than_zero: Refund amount must be greater than zero
refund_reasons: Refund Reasons
refunded_amount: Refunded Amount
refunds: Refunds
- refund_amount_must_be_greater_than_zero: Refund amount must be greater than zero
register: Register
registration: Registration
reimburse: Reimburse
reimbursed: Reimbursed
reimbursement: Reimbursement
- reimbursement_perform_failed: "Reimbursement could not be performed. Error: %{error}"
+ reimbursement_mailer:
+ reimbursement_email:
+ days_to_send: You have %{days} days to send back any items awaiting exchange.
+ dear_customer: Dear %{name},
+ exchange_summary: Exchange Summary
+ for: for
+ instructions: Your reimbursement has been processed.
+ refund_summary: Refund Summary
+ store_team: "%{store_name} Team"
+ subject: Reimbursement Notification
+ thanks: Thank you for your business.
+ total_refunded: 'Total refunded: %{total}'
+ reimbursement_perform_failed: 'Reimbursement could not be performed. Error: %{error}'
reimbursement_status: Reimbursement status
reimbursement_type: Reimbursement type
reimbursement_type_override: Reimbursement Type Override
@@ -1478,27 +1594,37 @@ en:
rejected: Rejected
remember_me: Remember me
remove: Remove
+ remove_condition: Remove condition
remove_image: Remove Image
rename: Rename
report: Report
+ report_mailer:
+ greeting: Hi %{user_name},
+ report_done:
+ message: Please use the link below to download it.
+ subject: Your report %{report_name} is ready
+ thanks: Thank you,
+ report_names:
+ products_performance: Products performance
+ sales_total: Sales total
reports: Reports
- required: '*'
+ required: "*"
required_fields: required fields
resellable: Resellable
resend: Resend
reset_password: Reset my password
response_code: Response Code
+ restore_defaults: Restore defaults
resume: resume
resumed: Resumed
return: return
- returns: Returns
return_authorization: Return Authorization
+ return_authorization_canceled: Return authorization canceled
return_authorization_reasons: Return Authorization Reasons
return_authorization_states:
authorized: Authorized
canceled: Canceled
return_authorization_updated: Return authorization updated
- return_authorization_canceled: Return authorization canceled
return_authorizations: Return Authorizations
return_item_inventory_unit_ineligible: Return item's inventory unit must be shipped
return_item_inventory_unit_reimbursed: Return item's inventory unit is already reimbursed
@@ -1507,21 +1633,11 @@ en:
return_item_time_period_ineligible: Return item is outside the eligible time period
return_items: Return Items
return_items_cannot_be_associated_with_multiple_orders: Return items cannot be associated with multiple orders.
- reimbursement_mailer:
- reimbursement_email:
- store_team: '%{store_name} Team'
- days_to_send: ! 'You have %{days} days to send back any items awaiting exchange.'
- dear_customer: Dear %{name},
- exchange_summary: Exchange Summary
- for: for
- instructions: Your reimbursement has been processed.
- refund_summary: Refund Summary
- subject: Reimbursement Notification
- total_refunded: ! 'Total refunded: %{total}'
- thanks: Thank you for your business.
return_number: Return Number
return_quantity: Return Quantity
returned: Returned
+ returns: Returns
+ returns_policy: Returns Policy
review: Review
risk: Risk
risk_analysis: Risk Analysis
@@ -1544,59 +1660,63 @@ en:
say_no: 'No'
say_yes: 'Yes'
scope: Scope
- seed:
- shipping:
- categories:
- default: Default
- digital: Digital
+ scopes: Scopes
search: Search
search_by: 'Search by:'
+ search_engine_listing: Search engine listing
search_order_number: Order Number
search_results: Search results for '%{keywords}'
+ search_results_for: Search results for %{query}
searching: Searching
secure_connection_type: Secure Connection Type
+ security: Security
security_settings: Security Settings
+ seed:
+ shipping:
+ categories:
+ default: Default
+ digital: Digital
select: Select
- select_from_prototype: Select From Prototype
select_a_date: Select a date
select_a_date_range: Select a date range
select_a_return_authorization_reason: Select a reason for the return authorization
select_a_stock_location: Select a stock location
select_a_store_credit_reason: Select a reason for the store credit
select_an_option: Select an option
+ select_existing_address: Select existing address
+ select_from_prototype: Select From Prototype
select_stock: Select stock
select_stores: Select Store(s)
select_user: Select customer
- selected_quantity_not_available: ! 'selected of %{item} is not available.'
+ selected_quantity_not_available: selected of %{item} is not available.
send_copy_of_all_mails_to: Send Copy of All Mails To
send_mails_as: Send Mails As
send_payment_link: Send payment link
+ send_payment_link_title: Send payment link title
seo: SEO
seo_robots: SEO Robots
seo_title: SEO Title
- search_results_for: "Search results for ${query}"
server: Server
server_error: The server returned an error
settings: Settings
ship: Ship
- ship_to: "Shipping to:"
ship_address: Ship Address
+ ship_to: 'Shipping to:'
ship_total: Ship Total
shipment: Shipment
- shipment_adjustments: "Shipment adjustments"
- shipment_details: "From %{stock_location} via %{shipping_method}"
+ shipment_adjustments: Shipment adjustments
+ shipment_details: From %{stock_location} via %{shipping_method}
shipment_mailer:
shipped_email:
- store_team: '%{store_name} Team'
dear_customer: Dear %{name},
instructions: Your order %{number} has been shipped
shipment_summary: Shipment Summary for order
- shipping_method: "Shipping method: %{shipping_method}"
+ shipping_method: 'Shipping method: %{shipping_method}'
+ store_team: "%{store_name} Team"
subject: Shipment Notification
thanks: Thank you for your business.
- track_information: ! 'Tracking Information: %{tracking}'
- track_link: "Tracking Link: %{url}"
- shipment_successfully_shipped: Shipment successfully shipped
+ track_information: 'Tracking Information: %{tracking}'
+ track_link: 'Tracking Link: %{url}'
shipment_state: Shipment State
shipment_states:
backorder: Backorder
@@ -1605,8 +1725,9 @@ en:
pending: Unfulfilled
ready: Unfulfilled
shipped: Fulfilled
- shipment_transfer_success: 'Variants successfully transferred'
- shipment_transfer_error: 'There was an error transferring variants'
+ shipment_successfully_shipped: Shipment successfully shipped
+ shipment_transfer_error: There was an error transferring variants
+ shipment_transfer_success: Variants successfully transferred
shipments: Shipments
shipped: Shipped
shipping: Shipping
@@ -1619,15 +1740,16 @@ en:
shipping_instructions: Shipping Instructions
shipping_method: Shipping Method
shipping_methods: Shipping Methods
+ shipping_policy: Shipping Policy
shipping_price_sack: Price sack
shipping_rates:
display_price:
- including_tax: "%{price} (incl. %{tax_amount} %{tax_rate_name})"
excluding_tax: "%{price} (+ %{tax_amount} %{tax_rate_name})"
+ including_tax: "%{price} (incl. %{tax_amount} %{tax_rate_name})"
shipping_total: Shipping total
shipping_zone: Shipping Zone
- shop_by_taxonomy: Shop by %{taxonomy}
shop_all: Shop All
+ shop_by_taxonomy: Shop by %{taxonomy}
shopping_cart: Shopping Cart
show: Show
show_active: Show Active
@@ -1638,27 +1760,34 @@ en:
show_only_considered_risky: Only show risky orders
show_property: Show Property
show_rate_in_label: Show rate in label
+ show_report: Show report
show_store_selector:
- short: Show Store selector
long: Display the Store selector in the main nav bar of Storefront and allow users to change Store and Currency
+ short: Show Store selector
sign_up: Sign Up
+ site_name: Site name
+ size: Size
sku: SKU
skus: SKUs
slug: Slug
- source: Source
social: Social
+ social_media: Social media
something_went_wrong: Something went wrong
+ source: Source
special_instructions: Special Instructions
split: Split
spree_gateway_error_flash_for_checkout: There was a problem with your payment information. Please check your information and try again.
+ square_image: Square image
ssl:
- change_protocol: "Please switch to using HTTP (rather than HTTPS) and retry this request."
+ change_protocol: Please switch to using HTTP (rather than HTTPS) and retry this request.
+ standards_and_formats: Standards and formats
start: Start
+ start_typing_to_search_for_products: Start typing to search for products
+ start_typing_to_search_for_variants: Start typing to search for variants
starting_from: Starts at
state: State
state_based: State Based
state_changes: State Changes
- states: States
state_machine_states:
accepted: Accepted
address: Address
@@ -1666,22 +1795,22 @@ en:
awaiting: Awaiting
awaiting_return: Awaiting return
backordered: Back ordered
- cart: Cart
canceled: Canceled
+ cart: Cart
checkout: Checkout
- confirm: Confirm
+ closed: Closed
complete: Complete
completed: Completed
- closed: Closed
+ confirm: Confirm
delivery: Delivery
errored: Errored
failed: Failed
given_to_customer: Given to customer
invalid: Invalid
manual_intervention_required: Manual intervention required
+ on_hand: On hand
open: Open
order: Order
- on_hand: On hand
payment: Payment
pending: Pending
processing: Processing
@@ -1692,11 +1821,10 @@ en:
shipment: Shipment
shipped: Shipped
void: Void
+ states: States
states_required: States Required
status: Status
stock: Stock
- default_stock_location_name: Shop location
- default_country: Default Country
stock_location: Stock Location
stock_location_info: Stock location info
stock_locations: Stock Locations
@@ -1706,94 +1834,99 @@ en:
stock_movements: Stock Movements
stock_movements_for_stock_location: Stock Movements for %{stock_location_name}
stock_successfully_transferred: Stock was successfully transferred between locations.
- stock_transfer_name: Stock Transfer
stock_transfer:
errors:
must_have_variant: You must add at least one variant
- variants_unavailable: "Some variants are not available on %{stock}"
- same_location: "cannot be the same as the destination location"
+ same_location: cannot be the same as the destination location
+ variants_unavailable: Some variants are not available on %{stock}
+ stock_transfer_name: Stock Transfer
stock_transfers: Stock Transfers
stop: Stop
store: Store
- store_errors:
- unable_to_create: Unable to create store.
- unable_to_update: Unable to update store.
- unable_to_delete: Unable to delete store.
- store_form:
- code_help: "Store unique identifier, which is an abbreviated version of the store’s name (used as the layout directory name, and also helpful for separating templates by store)"
- checkout_zone_help: "Selecting zone will limit to which Countries or States products are shipped.
- For more information <a href='https://guides.spreecommerce.org/user/configuration/configuring_geography.html#zones' target='_blank' class='alert-link'>please see documentation</a>"
- locales_help: "Install <a href='https://github.com/spree-contrib/spree_i18n' target='_blank' class='alert-link'>Spree I18n extension</a> to add more locales"
- social_help: "If you want to link to your social accounts in the footer part of your website please fill below fields"
- default_country_help: "This is the Country that will be pre-selected on the Checkout Address form"
- footer_help: "This content is visible in the footer section of your Store"
- mail_from_address_help: "This is the email which will be the sender of all your Store emails (Order Confirmation, Shipment notification etc)"
- customer_support_email_help: "This email is visible to your Store visitors in the Footer section"
- new_order_notifications_email_help: "If you want to receive an email notification every time someone places an Order please provide an email address for that notification to be sent to"
- seo_robots: "Please check <a href='https://developers.google.com/search/reference/robots_meta_tag' target='_blank'>this page for more help</a>"
- stores: Stores
- store_credit_name: Store Credit
store_credit:
- credit: "Credit"
- authorized: "Authorized"
- captured: "Used"
- allocated: "Added"
- apply: Apply
- remove: Remove
- applicable_amount: "<strong>%{amount}</strong> in store credit will be applied to this order."
- available_amount: "You have <strong>%{amount}</strong> in Store Credit available!"
- remaining_amount: "You have <strong>%{amount}</strong> remaining in your account's Store Credit."
additional_payment_needed: Select another payment method for the remaining <strong>%{amount}</strong>.
+ allocated: Added
+ applicable_amount: "<strong>%{amount}</strong> in store credit will be applied to this order."
+ apply: Apply
+ authorized: Authorized
+ available_amount: You have <strong>%{amount}</strong> in Store Credit available!
+ captured: Used
+ credit: Credit
errors:
cannot_change_used_store_credit: You cannot change a store credit that has already been used
unable_to_create: Unable to create store credit
unable_to_delete: Unable to delete store credit
unable_to_fund: Unable to pay for order using store credits
unable_to_update: Unable to update store credit
- store_credits: Store Credits
+ remaining_amount: You have <strong>%{amount}</strong> remaining in your account's Store Credit.
+ remove: Remove
store_credit_categories: Store Credit Categories
+ store_credit_name: Store Credit
store_credit_payment_method:
- unable_to_void: "Unable to void code: %{auth_code}"
- unable_to_credit: "Unable to credit code: %{auth_code}"
- successful_action: "Successful store credit %{action}"
- unable_to_find: "Could not find store credit"
- insufficient_funds: "Store credit amount remaining is not sufficient"
- currency_mismatch: "Store credit currency does not match order currency"
- insufficient_authorized_amount: "Unable to capture more than authorized amount"
- unable_to_find_for_action: "Could not find store credit for auth code: %{auth_code} for action: %{action}"
- user_has_no_store_credits: "User does not have any available store credit"
- select_one_store_credit: "Select store credit to go towards remaining balance"
+ currency_mismatch: Store credit currency does not match order currency
+ insufficient_authorized_amount: Unable to capture more than authorized amount
+ insufficient_funds: Store credit amount remaining is not sufficient
+ select_one_store_credit: Select store credit to go towards remaining balance
+ successful_action: Successful store credit %{action}
+ unable_to_credit: 'Unable to credit code: %{auth_code}'
+ unable_to_find: Could not find store credit
+ unable_to_find_for_action: 'Could not find store credit for auth code: %{auth_code} for action: %{action}'
+ unable_to_void: 'Unable to void code: %{auth_code}'
+ user_has_no_store_credits: User does not have any available store credit
+ store_credits: Store Credits
store_default: Default store
- store_set_default_button: Set as default
+ store_details: Store details
+ store_errors:
+ unable_to_create: Unable to create store.
+ unable_to_delete: Unable to delete store.
+ unable_to_update: Unable to update store.
+ store_form:
+ checkout_zone_help: Selecting zone will limit to which Countries or States products are shipped. For more information <a href='https://guides.spreecommerce.org/user/configuration/configuring_geography.html#zones' target='_blank' class='alert-link'>please see documentation</a>
+ code_help: Store unique identifier, which is an abbreviated version of the store’s name (used as the layout directory name, and also helpful for separating templates by store)
+ customer_support_email_help: This email is visible to your Store visitors in the Footer section
+ default_country_help: This is the Country that will be pre-selected on the Checkout Address form
+ footer_help: This content is visible in the footer section of your Store
+ locales_help: Install <a href='https://github.com/spree-contrib/spree_i18n' target='_blank' class='alert-link'>Spree I18n extension</a> to add more locales
+ mail_from_address_help: This is the email which will be the sender of all your Store emails (Order Confirmation, Shipment notification etc)
+ new_order_notifications_email_help: If you want to receive an email notification every time someone places an Order please provide an email address for that notification to be sent to
+ seo_robots: Please check <a href='https://developers.google.com/search/reference/robots_meta_tag' target='_blank'>this page for more help</a>
+ social_help: If you want to link to your social accounts in the footer part of your website please fill below fields
+ store_name: Store name
store_not_set_as_default: Couldn't set store %{store} as a default store
store_set_as_default: Store %{store} is now a default store
+ store_set_default_button: Set as default
+ storefront: Storefront
+ stores: Stores
street_address: Street Address
street_address_2: Street Address (cont'd)
subtotal: Subtotal
subtract: Subtract
success: Success
- successfully_created: ! '%{resource} has been successfully created!'
- successfully_refunded: ! '%{resource} has been successfully refunded!'
- successfully_removed: ! '%{resource} has been successfully removed!'
- successfully_updated: ! '%{resource} has been successfully updated!'
+ successfully_created: "%{resource} has been successfully created!"
+ successfully_refunded: "%{resource} has been successfully refunded!"
+ successfully_removed: "%{resource} has been successfully removed!"
+ successfully_updated: "%{resource} has been successfully updated!"
summary: Summary
support: Support
supported_currencies: Supported Currencies
supported_currencies_long: A comma separated list of supported currencies
supported_locales: Supported Locales
+ switch_store: Switch store
+ switch_team: Switch team
+ tags: Tags
+ tags_placeholder: Add Tags
tax: Tax
- tax_included: "Tax (incl.)"
tax_categories: Tax Categories
tax_category: Tax Category
tax_code: Tax Code
+ tax_included: Tax (incl.)
tax_rate_amount_explanation: Tax rates are a decimal amount to aid in calculations, (i.e. if the tax rate is 5% then enter 0.05)
tax_rates: Tax Rates
+ taxes: Taxes
taxon: Taxon
taxon_edit: Edit Taxon
- taxon_placeholder: Add a Taxon
- tags: Tags
- tags_placeholder: Add Tags
taxon_missing_alt: Category banner description
+ taxon_placeholder: Add a Taxon
taxon_rule:
choose_taxons: Choose taxons
label: Order must contain x amount of these taxons
@@ -1806,13 +1939,9 @@ en:
taxonomy_collections_name: Collections
taxonomy_edit: Edit taxonomy
taxonomy_tree_error: The requested change has not been accepted and the tree has been returned to its previous state, please try again.
- taxonomy_tree_instruction: ! '* Right click (or double tap on iOS device) a child in the tree to access the menu for adding, deleting or sorting a child.'
+ taxonomy_tree_instruction: "* Right click (or double tap on iOS device) a child in the tree to access the menu for adding, deleting or sorting a child."
taxons: Taxons
- title: Title
- true_label: "TRUE"
- automatic_taxon_names:
- on_sale: On sale
- new_arrivals: New arrivals
+ terms_of_service: Terms of Service
test: Test
test_mailer:
test_email:
@@ -1820,20 +1949,37 @@ en:
message: If you have received this email, then your email settings are correct.
subject: Test Mail
test_mode: Test Mode
+ text_alignment: Text alignment
thank_you_for_your_order: Thank you for your business. Please print out a copy of this confirmation page for your records.
- there_are_no_items_for_this_order: There are no items for this order
- themes: Themes
+ theme: Theme
theme_copied: Theme has been successfully copied.
- theme_not_copied: "Theme could not be copied with errors: %{error}"
theme_duplicating: Theme is still duplicating
theme_is_now_live: Theme is now live
+ theme_not_copied: 'Theme could not be copied with errors: %{error}'
+ theme_settings:
+ accent_color: Accent color
+ background_color: Background color
+ border_color: Border color
+ brand_color: Brand color
+ button_border_color: Button border color
+ button_text_color: Button text color
+ danger_color: Danger color
+ input_text_color: Input text color
+ neutral_color: Neutral color
+ success_color: Success color
+ text_color: Text color
+ themes: Themes
+ there_are_no_items_for_this_order: There are no items for this order
there_were_problems_with_the_following_fields: There were problems with the following fields
this_order_has_already_received_a_refund: This order has already received a refund
thumbnail: Thumbnail
- tiers: Tiers
tiered_flat_rate: Tiered Flat Rate
tiered_percent: Tiered Percent
+ tiers: Tiers
time: Time
+ timezone: Timezone
+ title: Title
+ title_link: Title link
to_add_variants_you_must_first_define: To add variants, you must first define
total: Total
total_per_item: Total per item
@@ -1841,6 +1987,7 @@ en:
total_price: Total price
total_sales: Total Sales
track_inventory: Track Inventory
+ track_quantity: Track quantity
tracking: Tracking
tracking_number: Tracking Number
tracking_url: Tracking URL
@@ -1852,64 +1999,83 @@ en:
translations: Translations
translations_for: "%{resource_name} translations"
tree: Tree
+ true_label: 'TRUE'
+ twitter: Twitter
type: Type
type_to_search: Type to search
- twitter: Twitter
unable_to_connect_to_gateway: Unable to connect to gateway.
unable_to_create_reimbursements: Unable to create reimbursements because there are items pending manual intervention.
under_price: Under %{price}
+ unit: Unit
unit_system: Unit system
unit_systems:
- metric_system: Metric system
imperial_system: Imperial system
metric: metric
+ metric_system: Metric system
unlock: Unlock
unrecognized_card_type: Unrecognized card type
unshippable_items: Unshippable Items
update: Update
+ update_address: Update address
+ update_billing_address: Update billing address
+ update_contact_information: Update contact information
+ update_shipping_address: Update shipping address
+ updated: Updated
updating: Updating
+ upload_image: Upload image
url: URL
usage_limit: Usage Limit
use_app_default: Use App Default
use_billing_address: Use Billing Address
- use_shipping_address: Use Shipping Address
use_existing_cc: Use an existing card on file
use_new_cc: Use a new card
use_new_cc_or_payment_method: Use a new card / payment method
use_s3: Use Amazon S3 For Images
+ use_shipping_address: Use Shipping Address
used: Used
user: User
+ user_not_found: User not found
user_rule:
choose_users: 'Input the full email address of a registered customer(s) in the search field to whom this discount should apply:'
users: Users
validation:
- unpaid_amount_not_zero: "Amount was not fully reimbursed. Still due: %{amount}"
cannot_be_less_than_shipped_units: cannot be less than the number of shipped units.
cannot_destroy_line_item_as_inventory_units_have_shipped: Cannot destroy line item as some inventory units have shipped.
exceeds_available_stock: exceeds available stock. Please ensure line items have a valid quantity.
is_too_large: is too large -- stock on hand cannot cover requested quantity!
must_be_int: must be an integer
must_be_non_negative: must be a non-negative value
+ unpaid_amount_not_zero: 'Amount was not fully reimbursed. Still due: %{amount}'
value: Value
variant: Variant
variant_placeholder: Choose a variant
variant_prices_search_placeholder: Search for SKU or variant name...
variants: Variants
+ variants_count: Variants count
+ vendor: Vendor
+ vendors: Vendors
version: Version
+ view: View
+ view_store: View store
+ view_your_store: View your store
+ visibility: Visibility
+ visits: Visits
void: Void
+ we_are_busy_updating: We're updating the %{store_name} homepage.
+ we_are_busy_updating_page: We're busy updating this page.
we_will_be_back: We will be back.
- we_are_busy_updating: "We're updating the %{store_name} homepage."
- we_are_busy_updating_page: "We're busy updating this page."
- please_check_back_soon: Please check back soon.
+ webhooks: Webhooks
weight: Weight
+ weight_unit: Weight unit
weight_units:
- kilogram: Kilogram (kg)
gram: Gram (g)
- pound: Pound (lb)
+ kilogram: Kilogram (kg)
ounce: Ounce (oz)
+ pound: Pound (lb)
what_is_a_cvv: What is a (CVV) Credit Card Code?
what_is_this: What's This?
width: Width
+ without_taxon: Without taxon
year: Year
you_have_no_orders_yet: You have no orders yet
your_cart_is_empty: Your cart is empty
@@ -1919,8 +2085,6 @@ en:
zipcode_required: Zip Code Required
zone: Zone
zones: Zones
- no_limits_zone: No Limits
- terms_of_service: Terms of Service
- privacy_policy: Privacy Policy
- returns_policy: Returns Policy
- shipping_policy: Shipping Policy
+ views:
+ pagination:
+ truncate: Truncate
diff --git a/core/spec/i18n_spec.rb b/core/spec/i18n_spec.rb
new file mode 100644
index 0000000000..eacd60d02f
--- /dev/null
+++ b/core/spec/i18n_spec.rb
@@ -0,0 +1,27 @@
+require 'spec_helper'
+require 'i18n/tasks'
+
+RSpec.describe I18n do
+ let(:i18n) { I18n::Tasks::BaseTask.new }
+ let(:missing_keys) { i18n.missing_keys }
+ let(:inconsistent_interpolations) { i18n.inconsistent_interpolations }
+
+ it 'does not have missing keys' do
+ expect(missing_keys).to be_empty,
+ "Missing #{missing_keys.leaves.count} i18n keys, run `i18n-tasks missing' to show them"
+ end
+
+ it 'files are normalized' do
+ non_normalized = i18n.non_normalized_paths
+ error_message = "The following files need to be normalized:\n" \
+ "#{non_normalized.map { |path| " #{path}" }.join("\n")}\n" \
+ "Please run `i18n-tasks normalize' to fix"
+ expect(non_normalized).to be_empty, error_message
+ end
+
+ it 'does not have inconsistent interpolations' do
+ error_message = "#{inconsistent_interpolations.leaves.count} i18n keys have inconsistent interpolations.\n" \
+ "Run `i18n-tasks check-consistent-interpolations' to show them"
+ expect(inconsistent_interpolations).to be_empty, error_message
+ end
+end
diff --git a/core/spree_core.gemspec b/core/spree_core.gemspec
index 5b14269738..1c6d4efbd1 100644
--- a/core/spree_core.gemspec
+++ b/core/spree_core.gemspec
@@ -26,6 +26,8 @@ Gem::Specification.new do |s|
s.files = Dir["{app,config,db,lib}/**/*", "LICENSE.md", "Rakefile"].reject { |f| f.match(/^spec/) && !f.match(/^spec\/fixtures/) }
s.require_path = 'lib'
+ s.add_development_dependency 'i18n-tasks'
+
s.add_dependency 'rails', '>= 7.2', '< 8.0'
s.add_dependency 'activemerchant', '~> 1.67'