spree_core 4.0.0 → 4.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (764) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/spree/base_controller.rb +2 -2
  3. data/app/finders/concerns/spree/product_filterable.rb +9 -0
  4. data/app/finders/spree/addresses/find.rb +6 -0
  5. data/app/finders/spree/base_finder.rb +14 -0
  6. data/app/finders/spree/cms_pages/find.rb +41 -0
  7. data/app/finders/spree/countries/find.rb +11 -3
  8. data/app/finders/spree/credit_cards/find.rb +2 -2
  9. data/app/finders/spree/menus/find.rb +11 -0
  10. data/app/finders/spree/option_values/find_available.rb +28 -0
  11. data/app/finders/spree/orders/find_complete.rb +14 -2
  12. data/app/finders/spree/orders/find_current.rb +2 -14
  13. data/app/finders/spree/product_properties/find_available.rb +20 -0
  14. data/app/finders/spree/products/find.rb +155 -27
  15. data/app/finders/spree/stores/find_current.rb +24 -0
  16. data/app/finders/spree/taxons/find.rb +31 -8
  17. data/app/finders/spree/variants/option_types_finder.rb +21 -0
  18. data/app/finders/spree/variants/visible_finder.rb +22 -0
  19. data/app/helpers/spree/base_helper.rb +187 -31
  20. data/app/helpers/spree/currency_helper.rb +34 -0
  21. data/app/helpers/spree/locale_helper.rb +39 -0
  22. data/app/helpers/spree/products_helper.rb +112 -21
  23. data/app/jobs/spree/base_job.rb +4 -0
  24. data/app/jobs/spree/stock_locations/stock_items/create_job.rb +13 -0
  25. data/app/jobs/spree/variants/remove_from_incomplete_orders_job.rb +9 -0
  26. data/app/jobs/spree/variants/remove_line_item_job.rb +9 -0
  27. data/app/models/concerns/spree/calculated_adjustments.rb +1 -1
  28. data/app/models/concerns/spree/default_price.rb +3 -6
  29. data/app/models/concerns/spree/display_link.rb +30 -0
  30. data/app/models/concerns/spree/display_money.rb +8 -2
  31. data/app/models/concerns/spree/filter_param.rb +21 -0
  32. data/app/models/concerns/spree/image_methods.rb +36 -0
  33. data/app/models/concerns/spree/memoized_data.rb +24 -0
  34. data/app/models/concerns/spree/metadata.rb +23 -0
  35. data/app/models/concerns/spree/multi_store_resource.rb +24 -0
  36. data/app/models/concerns/spree/named_type.rb +1 -1
  37. data/app/models/concerns/spree/number_identifier.rb +18 -0
  38. data/app/models/concerns/spree/product_scopes.rb +135 -36
  39. data/app/models/concerns/spree/single_store_resource.rb +19 -0
  40. data/app/models/concerns/spree/translatable_resource.rb +25 -0
  41. data/app/models/concerns/spree/translatable_resource_scopes.rb +24 -0
  42. data/app/models/concerns/spree/translatable_resource_slug.rb +17 -0
  43. data/app/models/concerns/spree/unique_name.rb +10 -0
  44. data/app/models/concerns/spree/user_address.rb +19 -0
  45. data/app/models/concerns/spree/user_methods.rb +40 -12
  46. data/app/models/concerns/spree/user_payment_source.rb +1 -1
  47. data/app/models/concerns/spree/user_reporting.rb +35 -10
  48. data/app/models/concerns/spree/user_roles.rb +43 -0
  49. data/app/models/spree/ability.rb +58 -37
  50. data/app/models/spree/address.rb +56 -9
  51. data/app/models/spree/adjustment.rb +2 -0
  52. data/app/models/spree/asset/support/active_storage.rb +3 -2
  53. data/app/models/spree/asset.rb +4 -0
  54. data/app/models/spree/base.rb +38 -0
  55. data/app/models/spree/calculator/flat_rate.rb +1 -1
  56. data/app/models/spree/calculator/flexi_rate.rb +1 -1
  57. data/app/models/spree/calculator/price_sack.rb +1 -1
  58. data/app/models/spree/calculator/shipping/digital_delivery.rb +22 -0
  59. data/app/models/spree/calculator/shipping/flat_rate.rb +1 -1
  60. data/app/models/spree/calculator/shipping/flexi_rate.rb +1 -1
  61. data/app/models/spree/calculator/shipping/per_item.rb +1 -1
  62. data/app/models/spree/calculator/shipping/price_sack.rb +1 -1
  63. data/app/models/spree/calculator.rb +2 -2
  64. data/app/models/spree/classification.rb +3 -0
  65. data/app/models/spree/cms/pages/feature_page.rb +7 -0
  66. data/app/models/spree/cms/pages/homepage.rb +20 -0
  67. data/app/models/spree/cms/pages/standard_page.rb +4 -0
  68. data/app/models/spree/cms/sections/featured_article.rb +22 -0
  69. data/app/models/spree/cms/sections/hero_image.rb +38 -0
  70. data/app/models/spree/cms/sections/image_gallery.rb +103 -0
  71. data/app/models/spree/cms/sections/product_carousel.rb +14 -0
  72. data/app/models/spree/cms/sections/rich_text_content.rb +13 -0
  73. data/app/models/spree/cms/sections/side_by_side_images.rb +74 -0
  74. data/app/models/spree/cms_page.rb +70 -0
  75. data/app/models/spree/cms_section.rb +69 -0
  76. data/app/models/spree/cms_section_image.rb +15 -0
  77. data/app/models/spree/cms_section_image_one.rb +4 -0
  78. data/app/models/spree/cms_section_image_three.rb +4 -0
  79. data/app/models/spree/cms_section_image_two.rb +4 -0
  80. data/app/models/spree/country.rb +18 -8
  81. data/app/models/spree/credit_card.rb +33 -13
  82. data/app/models/spree/customer_return.rb +14 -3
  83. data/app/models/spree/data_feed/google.rb +15 -0
  84. data/app/models/spree/data_feed.rb +40 -0
  85. data/app/models/spree/digital.rb +19 -0
  86. data/app/models/spree/digital_link.rb +57 -0
  87. data/app/models/spree/fulfilment_changer.rb +58 -16
  88. data/app/models/spree/gateway/bogus.rb +11 -5
  89. data/app/models/spree/icon.rb +13 -0
  90. data/app/models/spree/image/configuration/active_storage.rb +17 -20
  91. data/app/models/spree/image.rb +33 -3
  92. data/app/models/spree/inventory_unit.rb +8 -10
  93. data/app/models/spree/legacy_user.rb +2 -2
  94. data/app/models/spree/line_item.rb +34 -14
  95. data/app/models/spree/linkable/homepage.rb +3 -0
  96. data/app/models/spree/linkable/uri.rb +3 -0
  97. data/app/models/spree/log_entry.rb +9 -1
  98. data/app/models/spree/menu.rb +66 -0
  99. data/app/models/spree/menu_item.rb +72 -0
  100. data/app/models/spree/option_type.rb +22 -4
  101. data/app/models/spree/option_value.rb +22 -0
  102. data/app/models/spree/option_value_variant.rb +1 -1
  103. data/app/models/spree/order/address_book.rb +11 -25
  104. data/app/models/spree/order/checkout.rb +7 -1
  105. data/app/models/spree/order/currency_updater.rb +1 -1
  106. data/app/models/spree/order/digital.rb +33 -0
  107. data/app/models/spree/order/emails.rb +32 -0
  108. data/app/models/spree/order/payments.rb +11 -3
  109. data/app/models/spree/order/store_credit.rb +3 -1
  110. data/app/models/spree/order.rb +126 -61
  111. data/app/models/spree/order_inventory.rb +1 -1
  112. data/app/models/spree/order_merger.rb +1 -1
  113. data/app/models/spree/order_promotion.rb +1 -1
  114. data/app/models/spree/payment/processing.rb +4 -3
  115. data/app/models/spree/payment.rb +57 -9
  116. data/app/models/spree/payment_capture_event.rb +4 -0
  117. data/app/models/spree/payment_method/store_credit.rb +1 -1
  118. data/app/models/spree/payment_method.rb +29 -0
  119. data/app/models/spree/payment_source.rb +10 -0
  120. data/app/models/spree/preference.rb +6 -1
  121. data/app/models/spree/price.rb +30 -8
  122. data/app/models/spree/product.rb +197 -53
  123. data/app/models/spree/product_property.rb +31 -6
  124. data/app/models/spree/promotion/actions/create_item_adjustments.rb +1 -1
  125. data/app/models/spree/promotion/rules/country.rb +1 -1
  126. data/app/models/spree/promotion/rules/first_order.rb +4 -3
  127. data/app/models/spree/promotion/rules/option_value.rb +3 -3
  128. data/app/models/spree/promotion/rules/product.rb +3 -2
  129. data/app/models/spree/promotion/rules/taxon.rb +10 -7
  130. data/app/models/spree/promotion/rules/user.rb +2 -1
  131. data/app/models/spree/promotion.rb +18 -24
  132. data/app/models/spree/promotion_action.rb +1 -1
  133. data/app/models/spree/promotion_handler/cart.rb +7 -2
  134. data/app/models/spree/promotion_handler/coupon.rb +6 -6
  135. data/app/models/spree/promotion_handler/free_shipping.rb +5 -6
  136. data/app/models/spree/promotion_handler/page.rb +3 -2
  137. data/app/models/spree/promotion_handler/promotion_duplicator.rb +10 -3
  138. data/app/models/spree/promotion_rule.rb +3 -1
  139. data/app/models/spree/promotion_rule_user.rb +1 -1
  140. data/app/models/spree/property.rb +38 -1
  141. data/app/models/spree/prototype.rb +5 -0
  142. data/app/models/spree/refund.rb +12 -2
  143. data/app/models/spree/reimbursement.rb +9 -2
  144. data/app/models/spree/reimbursement_type/reimbursement_helpers.rb +2 -1
  145. data/app/models/spree/return_authorization.rb +7 -2
  146. data/app/models/spree/return_item/eligibility_validator/base_validator.rb +1 -1
  147. data/app/models/spree/return_item/eligibility_validator/default.rb +0 -2
  148. data/app/models/spree/return_item.rb +5 -1
  149. data/app/models/spree/role.rb +3 -3
  150. data/app/models/spree/role_user.rb +1 -1
  151. data/app/models/spree/shipment.rb +16 -37
  152. data/app/models/spree/shipment_handler.rb +4 -2
  153. data/app/models/spree/shipping_category.rb +4 -1
  154. data/app/models/spree/shipping_method.rb +9 -5
  155. data/app/models/spree/shipping_rate.rb +2 -11
  156. data/app/models/spree/state.rb +1 -1
  157. data/app/models/spree/state_change.rb +1 -1
  158. data/app/models/spree/stock/availability_validator.rb +9 -4
  159. data/app/models/spree/stock/content_item.rb +1 -1
  160. data/app/models/spree/stock/quantifier.rb +7 -7
  161. data/app/models/spree/stock/splitter/digital.rb +35 -0
  162. data/app/models/spree/stock_item.rb +8 -7
  163. data/app/models/spree/stock_location.rb +32 -13
  164. data/app/models/spree/stock_movement.rb +7 -0
  165. data/app/models/spree/stock_transfer.rb +6 -6
  166. data/app/models/spree/store.rb +229 -10
  167. data/app/models/spree/store_credit.rb +18 -7
  168. data/app/models/spree/store_credit_category.rb +2 -0
  169. data/app/models/spree/store_credit_event.rb +4 -9
  170. data/app/models/spree/store_credit_type.rb +2 -0
  171. data/app/models/spree/store_favicon_image.rb +17 -0
  172. data/app/models/spree/store_logo.rb +9 -0
  173. data/app/models/spree/store_mailer_logo.rb +13 -0
  174. data/app/models/spree/store_payment_method.rb +11 -0
  175. data/app/models/spree/store_product.rb +11 -0
  176. data/app/models/spree/store_promotion.rb +11 -0
  177. data/app/models/spree/tax_category.rb +9 -1
  178. data/app/models/spree/tax_rate.rb +9 -2
  179. data/app/models/spree/taxon.rb +67 -13
  180. data/app/models/spree/taxon_image/configuration/active_storage.rb +8 -12
  181. data/app/models/spree/taxon_image.rb +4 -2
  182. data/app/models/spree/taxonomy.rb +18 -2
  183. data/app/models/spree/variant.rb +114 -51
  184. data/app/models/spree/wished_item.rb +33 -0
  185. data/app/models/spree/wishlist.rb +38 -0
  186. data/app/models/spree/zone.rb +33 -12
  187. data/app/paginators/spree/shared/paginate.rb +8 -1
  188. data/app/presenters/spree/filters/options_presenter.rb +47 -0
  189. data/app/presenters/spree/filters/price_presenter.rb +22 -0
  190. data/app/presenters/spree/filters/price_range_presenter.rb +29 -0
  191. data/app/presenters/spree/filters/properties_presenter.rb +23 -0
  192. data/app/presenters/spree/filters/property_presenter.rb +42 -0
  193. data/app/presenters/spree/filters/quantified_price_range_presenter.rb +44 -0
  194. data/app/presenters/spree/product_summary_presenter.rb +26 -0
  195. data/app/presenters/spree/variant_presenter.rb +80 -0
  196. data/app/presenters/spree/variants/option_types_presenter.rb +87 -0
  197. data/app/presenters/spree/variants/options_presenter.rb +49 -0
  198. data/app/services/spree/account/addresses/create.rb +8 -0
  199. data/app/services/spree/account/addresses/update.rb +8 -0
  200. data/app/services/spree/account/create.rb +17 -0
  201. data/app/services/spree/account/update.rb +15 -0
  202. data/app/services/spree/addresses/create.rb +24 -0
  203. data/app/services/spree/addresses/helper.rb +41 -0
  204. data/app/services/spree/addresses/update.rb +32 -0
  205. data/app/services/spree/cart/add_item.rb +4 -2
  206. data/app/services/spree/cart/associate.rb +16 -0
  207. data/app/services/spree/cart/change_currency.rb +27 -0
  208. data/app/services/spree/cart/create.rb +9 -5
  209. data/app/services/spree/cart/destroy.rb +40 -0
  210. data/app/services/spree/cart/empty.rb +36 -0
  211. data/app/services/spree/cart/estimate_shipping_rates.rb +3 -3
  212. data/app/services/spree/cart/remove_line_item.rb +1 -0
  213. data/app/services/spree/cart/update.rb +2 -2
  214. data/app/services/spree/checkout/add_store_credit.rb +5 -2
  215. data/app/services/spree/checkout/get_shipping_rates.rb +7 -10
  216. data/app/services/spree/checkout/select_shipping_method.rb +49 -0
  217. data/app/services/spree/checkout/update.rb +11 -7
  218. data/app/services/spree/classifications/reposition.rb +18 -0
  219. data/app/services/spree/compare_line_items.rb +4 -2
  220. data/app/services/spree/credit_cards/destroy.rb +41 -0
  221. data/app/services/spree/data_feeds/google/optional_attributes.rb +23 -0
  222. data/app/services/spree/data_feeds/google/optional_sub_attributes.rb +21 -0
  223. data/app/services/spree/data_feeds/google/products_list.rb +14 -0
  224. data/app/services/spree/data_feeds/google/required_attributes.rb +67 -0
  225. data/app/services/spree/data_feeds/google/rss.rb +107 -0
  226. data/app/services/spree/line_items/create.rb +20 -0
  227. data/app/services/spree/line_items/destroy.rb +18 -0
  228. data/app/services/spree/line_items/helper.rb +11 -0
  229. data/app/services/spree/line_items/update.rb +17 -0
  230. data/app/services/spree/orders/approve.rb +18 -0
  231. data/app/services/spree/orders/cancel.rb +18 -0
  232. data/app/services/spree/payments/create.rb +66 -0
  233. data/app/services/spree/seeds/all.rb +26 -0
  234. data/app/services/spree/seeds/countries.rb +50 -0
  235. data/app/services/spree/seeds/default_reimbursement_types.rb +12 -0
  236. data/app/services/spree/seeds/roles.rb +11 -0
  237. data/app/services/spree/seeds/shipping_categories.rb +12 -0
  238. data/app/services/spree/seeds/states.rb +72 -0
  239. data/app/services/spree/seeds/stock_locations.rb +18 -0
  240. data/app/services/spree/seeds/store_credit_categories.rb +14 -0
  241. data/app/services/spree/seeds/stores.rb +31 -0
  242. data/app/services/spree/seeds/zones.rb +39 -0
  243. data/app/services/spree/shipments/add_item.rb +32 -0
  244. data/app/services/spree/shipments/change_state.rb +14 -0
  245. data/app/services/spree/shipments/create.rb +48 -0
  246. data/app/services/spree/shipments/helper.rb +23 -0
  247. data/app/services/spree/shipments/remove_item.rb +55 -0
  248. data/app/services/spree/shipments/update.rb +40 -0
  249. data/app/services/spree/stock_locations/stock_items/create.rb +31 -0
  250. data/app/services/spree/variants/remove_line_items.rb +15 -0
  251. data/app/services/spree/wallet/create_payment_source.rb +26 -0
  252. data/app/sorters/spree/base_sorter.rb +47 -0
  253. data/app/sorters/spree/orders/sort.rb +1 -37
  254. data/app/sorters/spree/products/sort.rb +47 -31
  255. data/app/validators/db_maximum_length_validator.rb +5 -0
  256. data/app/validators/email_validator.rb +4 -2
  257. data/app/validators/spree/url_validator.rb +23 -0
  258. data/brakeman.ignore +328 -0
  259. data/config/initializers/active_storage.rb +1 -5
  260. data/config/initializers/friendly_id.rb +2 -0
  261. data/config/initializers/inflections.rb +3 -0
  262. data/config/initializers/mobility.rb +18 -0
  263. data/config/initializers/rails61_fixes.rb +3 -0
  264. data/config/locales/en.yml +320 -71
  265. data/config/routes.rb +41 -2
  266. data/db/migrate/20210914000000_spree_four_three.rb +1205 -0
  267. data/db/migrate/20210915064321_add_metadata_to_spree_orders.rb +13 -0
  268. data/db/migrate/20210915064322_add_metadata_to_spree_products.rb +13 -0
  269. data/db/migrate/20210915064323_add_metadata_to_spree_variants.rb +13 -0
  270. data/db/migrate/20210915064324_add_metadata_to_spree_line_items.rb +13 -0
  271. data/db/migrate/20210915064325_add_metadata_to_spree_shipments.rb +13 -0
  272. data/db/migrate/20210915064326_add_metadata_to_spree_payments.rb +13 -0
  273. data/db/migrate/20210915064327_add_metadata_to_spree_taxons_and_taxonomies.rb +18 -0
  274. data/db/migrate/20210915064328_add_metadata_to_spree_stock_transfers.rb +13 -0
  275. data/db/migrate/20210915064329_add_metadata_to_spree_multiple_tables.rb +30 -0
  276. data/db/migrate/20210920090344_add_deleted_at_to_spree_stores.rb +8 -0
  277. data/db/migrate/20210921070812_rename_column_access_hash_to_token.rb +8 -0
  278. data/db/migrate/20210921070813_create_spree_wishlists.rb +18 -0
  279. data/db/migrate/20210921070814_create_spree_wished_products.rb +16 -0
  280. data/db/migrate/20210921070815_rename_spree_wished_products_to_spree_wished_items.rb +5 -0
  281. data/db/migrate/20210921090344_add_unique_stock_item_stock_location_variant_deleted_at_index.rb +5 -0
  282. data/db/migrate/20210929090344_create_stock_item_stock_location_id_variant_id_coalesce_deleted_at_unique_index.rb +32 -0
  283. data/db/migrate/20210929091444_create_spree_digital_links.rb +13 -0
  284. data/db/migrate/20210929093238_create_spree_digitals.rb +9 -0
  285. data/db/migrate/20210930143043_rename_secret_to_token_on_spree_digital_links.rb +5 -0
  286. data/db/migrate/20210930155649_add_settings_to_spree_stores.rb +11 -0
  287. data/db/migrate/20211201202851_update_linkable_resource_types.rb +10 -0
  288. data/db/migrate/20211203082008_add_settings_to_payment_methods.rb +11 -0
  289. data/db/migrate/20211229162122_disable_propagate_all_variants_by_default.rb +5 -0
  290. data/db/migrate/20220103082046_add_status_and_make_active_at_to_spree_products.rb +7 -0
  291. data/db/migrate/20220106230929_add_internal_note_to_spree_orders.rb +5 -0
  292. data/db/migrate/20220113052823_create_payment_sources.rb +22 -0
  293. data/db/migrate/20220117100333_add_make_active_at_to_spree_products.rb +17 -0
  294. data/db/migrate/20220120092821_add_metadata_to_spree_tax_rates.rb +13 -0
  295. data/db/migrate/20220201103922_add_first_name_and_last_name_to_spree_users.rb +9 -0
  296. data/db/migrate/20220222083546_add_barcode_to_spree_variants.rb +6 -0
  297. data/db/migrate/20220329113557_fix_cms_pages_unique_indexes.rb +8 -0
  298. data/db/migrate/20220613133029_add_metadata_to_spree_stock_items.rb +13 -0
  299. data/db/migrate/20220706112554_create_product_name_and_description_translations_for_mobility_table_backend.rb +27 -0
  300. data/db/migrate/20220715083542_create_spree_product_translations_for_mobility.rb +7 -0
  301. data/db/migrate/20220715120222_change_product_name_null_to_true.rb +5 -0
  302. data/db/migrate/20220718100743_create_spree_taxon_name_and_description_translations_for_mobility_table_backend.rb +27 -0
  303. data/db/migrate/20220718100948_change_taxon_name_null_to_true.rb +5 -0
  304. data/db/migrate/20220802070609_add_locale_to_friendly_id_slugs.rb +11 -0
  305. data/db/migrate/20220802073225_create_spree_product_slug_translations_for_mobility_table_backend.rb +5 -0
  306. data/db/migrate/20220804073928_transfer_data_to_translatable_tables.rb +66 -0
  307. data/db/migrate/20221215151408_add_selected_locale_to_spree_users.rb +8 -0
  308. data/db/migrate/20221219123957_add_deleted_at_to_product_translations.rb +6 -0
  309. data/db/migrate/20221220133432_add_uniqueness_constraint_to_product_translations.rb +5 -0
  310. data/db/migrate/20221229132350_create_spree_data_feed_settings.rb +14 -0
  311. data/db/migrate/20230103144439_create_option_type_translations.rb +26 -0
  312. data/db/migrate/20230103151034_create_option_value_translations.rb +26 -0
  313. data/db/migrate/20230109084253_create_product_property_translations.rb +25 -0
  314. data/db/migrate/20230109094907_transfer_options_data_to_translatable_tables.rb +58 -0
  315. data/db/migrate/20230109105943_create_property_translations.rb +26 -0
  316. data/db/migrate/20230109110840_transfer_property_data_to_translatable_tables.rb +59 -0
  317. data/db/migrate/20230110142344_backfill_friendly_id_slug_locale.rb +15 -0
  318. data/db/migrate/20230111121534_add_additional_taxon_translation_fields.rb +8 -0
  319. data/db/migrate/20230111122511_transfer_product_and_taxon_data_to_translatable_tables.rb +82 -0
  320. data/db/migrate/20230117115531_create_taxonomy_translations.rb +24 -0
  321. data/db/migrate/20230117120430_allow_null_taxonomy_name.rb +5 -0
  322. data/db/migrate/20230117121303_transfer_taxonomy_data_to_translatable_tables.rb +11 -0
  323. data/db/migrate/20230210142732_create_store_translations.rb +50 -0
  324. data/db/migrate/20230210142849_transfer_store_data_to_translatable_tables.rb +11 -0
  325. data/db/migrate/20230210230434_add_deleted_at_to_store_translations.rb +6 -0
  326. data/db/migrate/20230415155958_rename_data_feed_settings_table.rb +5 -0
  327. data/db/migrate/20230415160828_rename_data_feed_table_columns.rb +7 -0
  328. data/db/migrate/20230415161226_add_indexes_to_data_feeds_table.rb +5 -0
  329. data/db/migrate/20230512094803_rename_data_feeds_column_provider_to_type.rb +5 -0
  330. data/db/migrate/20230514162157_add_index_on_locale_and_permalink_to_spree_taxons.rb +5 -0
  331. data/db/seeds.rb +1 -5
  332. data/lib/friendly_id/paranoia.rb +4 -0
  333. data/lib/generators/spree/dummy/dummy_generator.rb +25 -9
  334. data/lib/generators/spree/dummy/templates/package.json +12 -0
  335. data/lib/generators/spree/dummy/templates/rails/database.yml +20 -18
  336. data/lib/generators/spree/dummy/templates/rails/test.rb +4 -0
  337. data/lib/generators/spree/dummy_model/templates/model.rb.tt +1 -1
  338. data/lib/generators/spree/install/install_generator.rb +25 -26
  339. data/lib/generators/spree/install/templates/config/initializers/spree.rb +1 -0
  340. data/lib/spree/core/components.rb +8 -0
  341. data/lib/spree/core/configuration.rb +91 -0
  342. data/lib/spree/core/controller_helpers/auth.rb +14 -4
  343. data/lib/spree/core/controller_helpers/common.rb +22 -9
  344. data/lib/spree/core/controller_helpers/currency.rb +56 -0
  345. data/lib/spree/core/controller_helpers/locale.rb +84 -0
  346. data/lib/spree/core/controller_helpers/order.rb +28 -15
  347. data/lib/spree/core/controller_helpers/search.rb +3 -2
  348. data/lib/spree/core/controller_helpers/store.rb +32 -8
  349. data/lib/spree/core/dependencies.rb +106 -0
  350. data/lib/spree/core/dependencies_helper.rb +30 -0
  351. data/lib/spree/core/engine.rb +60 -40
  352. data/lib/spree/core/importer/order.rb +9 -9
  353. data/lib/spree/core/importer/product.rb +4 -2
  354. data/lib/spree/core/number_generator.rb +5 -6
  355. data/{app/models/spree → lib/spree/core}/preferences/configuration.rb +5 -2
  356. data/{app/models/spree → lib/spree/core}/preferences/preferable.rb +16 -1
  357. data/{app/models/spree → lib/spree/core}/preferences/preferable_class_methods.rb +12 -1
  358. data/{app/models/spree → lib/spree/core}/preferences/store.rb +2 -2
  359. data/lib/spree/core/product_duplicator.rb +2 -1
  360. data/lib/spree/core/product_filters.rb +10 -7
  361. data/lib/spree/core/search/base.rb +74 -38
  362. data/lib/spree/core/version.rb +3 -1
  363. data/lib/spree/core.rb +55 -17
  364. data/lib/spree/database_type_utilities.rb +12 -0
  365. data/lib/spree/i18n.rb +17 -19
  366. data/lib/spree/money.rb +11 -3
  367. data/lib/spree/permitted_attributes.rb +60 -18
  368. data/lib/spree/service_module.rb +8 -4
  369. data/lib/spree/testing_support/authorization_helpers.rb +15 -7
  370. data/lib/spree/testing_support/capybara_config.rb +14 -17
  371. data/lib/spree/testing_support/capybara_ext.rb +1 -51
  372. data/lib/spree/testing_support/common_rake.rb +39 -7
  373. data/lib/spree/testing_support/controller_requests.rb +10 -10
  374. data/lib/spree/testing_support/extension_rake.rb +2 -2
  375. data/lib/spree/testing_support/factories/address_factory.rb +1 -1
  376. data/lib/spree/testing_support/factories/asset_factory.rb +15 -0
  377. data/lib/spree/testing_support/factories/classification_factory.rb +8 -0
  378. data/lib/spree/testing_support/factories/cms_page_factory.rb +20 -0
  379. data/lib/spree/testing_support/factories/cms_section_factory.rb +31 -0
  380. data/lib/spree/testing_support/factories/customer_return_factory.rb +24 -17
  381. data/lib/spree/testing_support/factories/digital_factory.rb +10 -0
  382. data/lib/spree/testing_support/factories/digital_link_factory.rb +6 -0
  383. data/lib/spree/testing_support/factories/favicon_image_factory.rb +9 -0
  384. data/lib/spree/testing_support/factories/google_data_feed_factory.rb +8 -0
  385. data/lib/spree/testing_support/factories/icon_factory.rb +9 -0
  386. data/lib/spree/testing_support/factories/image_factory.rb +3 -1
  387. data/lib/spree/testing_support/factories/line_item_factory.rb +6 -2
  388. data/lib/spree/testing_support/factories/log_entry_factory.rb +6 -0
  389. data/lib/spree/testing_support/factories/menu_factory.rb +16 -0
  390. data/lib/spree/testing_support/factories/menu_item_factory.rb +10 -0
  391. data/lib/spree/testing_support/factories/options_factory.rb +15 -0
  392. data/lib/spree/testing_support/factories/order_factory.rb +17 -4
  393. data/lib/spree/testing_support/factories/payment_capture_event_factory.rb +6 -0
  394. data/lib/spree/testing_support/factories/payment_factory.rb +3 -3
  395. data/lib/spree/testing_support/factories/payment_method_factory.rb +21 -4
  396. data/lib/spree/testing_support/factories/product_factory.rb +29 -2
  397. data/lib/spree/testing_support/factories/product_property_factory.rb +2 -1
  398. data/lib/spree/testing_support/factories/product_translation_factory.rb +6 -0
  399. data/lib/spree/testing_support/factories/promotion_action_factory.rb +5 -0
  400. data/lib/spree/testing_support/factories/promotion_factory.rb +44 -23
  401. data/lib/spree/testing_support/factories/property_factory.rb +22 -0
  402. data/lib/spree/testing_support/factories/refund_factory.rb +1 -1
  403. data/lib/spree/testing_support/factories/reimbursement_credit_factory.rb +7 -0
  404. data/lib/spree/testing_support/factories/return_authorization_factory.rb +1 -1
  405. data/lib/spree/testing_support/factories/role_factory.rb +1 -1
  406. data/lib/spree/testing_support/factories/shipment_factory.rb +7 -9
  407. data/lib/spree/testing_support/factories/shipping_category_factory.rb +1 -1
  408. data/lib/spree/testing_support/factories/shipping_rate_factory.rb +7 -0
  409. data/lib/spree/testing_support/factories/state_change_factory.rb +8 -0
  410. data/lib/spree/testing_support/factories/stock_item_factory.rb +7 -0
  411. data/lib/spree/testing_support/factories/stock_location_factory.rb +6 -4
  412. data/lib/spree/testing_support/factories/stock_transfer_factory.rb +9 -0
  413. data/lib/spree/testing_support/factories/store_credit_factory.rb +1 -0
  414. data/lib/spree/testing_support/factories/store_credit_type_factory.rb +5 -0
  415. data/lib/spree/testing_support/factories/store_factory.rb +24 -5
  416. data/lib/spree/testing_support/factories/tax_rate_factory.rb +1 -0
  417. data/lib/spree/testing_support/factories/taxon_factory.rb +3 -1
  418. data/lib/spree/testing_support/factories/taxon_image_factory.rb +9 -0
  419. data/lib/spree/testing_support/factories/taxonomy_factory.rb +1 -0
  420. data/lib/spree/testing_support/factories/user_factory.rb +13 -2
  421. data/lib/spree/testing_support/factories/variant_factory.rb +10 -2
  422. data/lib/spree/testing_support/factories/wished_variant_factory.rb +6 -0
  423. data/lib/spree/testing_support/factories/wishlist_factory.rb +18 -0
  424. data/lib/spree/testing_support/factories/zone_factory.rb +16 -13
  425. data/lib/spree/testing_support/flatpickr_capybara.rb +124 -0
  426. data/lib/spree/testing_support/i18n.rb +1 -1
  427. data/lib/spree/testing_support/jobs.rb +9 -0
  428. data/lib/spree/testing_support/locale_helpers.rb +78 -0
  429. data/lib/spree/testing_support/metadata.rb +54 -0
  430. data/lib/spree/testing_support/next_instance_of.rb +38 -0
  431. data/lib/spree/testing_support/order_walkthrough.rb +16 -7
  432. data/lib/spree/testing_support/rspec_retry_config.rb +15 -0
  433. data/lib/spree/translation_migrations.rb +40 -0
  434. data/lib/spree_core.rb +2 -1
  435. data/lib/tasks/core.rake +17 -5
  436. data/spec/fixtures/favicon.ico +0 -0
  437. data/spec/fixtures/files/icon_256x256.gif +0 -0
  438. data/spec/fixtures/files/icon_256x256.png +0 -0
  439. data/spec/fixtures/files/icon_512x512.png +0 -0
  440. data/spec/fixtures/files/img_256x128.png +0 -0
  441. data/spree_core.gemspec +37 -26
  442. metadata +443 -426
  443. data/app/assets/images/logo/spree_50.png +0 -0
  444. data/app/assets/images/noimage/large.png +0 -0
  445. data/app/assets/images/noimage/mini.png +0 -0
  446. data/app/assets/images/noimage/product.png +0 -0
  447. data/app/assets/images/noimage/small.png +0 -0
  448. data/app/assets/javascripts/spree.js +0 -60
  449. data/app/mailers/spree/base_mailer.rb +0 -32
  450. data/app/mailers/spree/order_mailer.rb +0 -17
  451. data/app/mailers/spree/reimbursement_mailer.rb +0 -10
  452. data/app/mailers/spree/shipment_mailer.rb +0 -10
  453. data/app/mailers/spree/test_mailer.rb +0 -8
  454. data/app/models/friendly_id/slug_decorator.rb +0 -9
  455. data/app/models/spree/app_configuration.rb +0 -76
  456. data/app/models/spree/app_dependencies.rb +0 -74
  457. data/app/models/spree/validations/db_maximum_length_validator.rb +0 -22
  458. data/app/views/layouts/spree/base_mailer.html.erb +0 -41
  459. data/app/views/spree/order_mailer/_adjustment.html.erb +0 -8
  460. data/app/views/spree/order_mailer/_subtotal.html.erb +0 -8
  461. data/app/views/spree/order_mailer/_total.html.erb +0 -8
  462. data/app/views/spree/order_mailer/cancel_email.html.erb +0 -30
  463. data/app/views/spree/order_mailer/cancel_email.text.erb +0 -16
  464. data/app/views/spree/order_mailer/confirm_email.html.erb +0 -70
  465. data/app/views/spree/order_mailer/confirm_email.text.erb +0 -38
  466. data/app/views/spree/reimbursement_mailer/reimbursement_email.html.erb +0 -61
  467. data/app/views/spree/reimbursement_mailer/reimbursement_email.text.erb +0 -22
  468. data/app/views/spree/shared/_base_mailer_footer.html.erb +0 -20
  469. data/app/views/spree/shared/_base_mailer_header.html.erb +0 -33
  470. data/app/views/spree/shared/_base_mailer_stylesheets.html.erb +0 -777
  471. data/app/views/spree/shared/_error_messages.html.erb +0 -11
  472. data/app/views/spree/shared/_mailer_line_item.html.erb +0 -16
  473. data/app/views/spree/shared/_paths.html.erb +0 -8
  474. data/app/views/spree/shipment_mailer/shipped_email.html.erb +0 -41
  475. data/app/views/spree/shipment_mailer/shipped_email.text.erb +0 -16
  476. data/app/views/spree/test_mailer/test_email.html.erb +0 -40
  477. data/app/views/spree/test_mailer/test_email.text.erb +0 -4
  478. data/config/initializers/assets.rb +0 -1
  479. data/config/initializers/premailer_assets.rb +0 -1
  480. data/config/initializers/premailer_rails.rb +0 -3
  481. data/db/default/spree/countries.rb +0 -18
  482. data/db/default/spree/default_reimbursement_type.rb +0 -1
  483. data/db/default/spree/roles.rb +0 -2
  484. data/db/default/spree/states.rb +0 -12
  485. data/db/default/spree/stores.rb +0 -10
  486. data/db/default/spree/zones.rb +0 -26
  487. data/db/migrate/20120831092320_spree_one_two.rb +0 -481
  488. data/db/migrate/20120831092359_spree_promo_one_two.rb +0 -45
  489. data/db/migrate/20120905145253_add_tax_rate_label.rb +0 -5
  490. data/db/migrate/20120905151823_add_toggle_tax_rate_display.rb +0 -5
  491. data/db/migrate/20120929093553_remove_unused_preference_columns.rb +0 -8
  492. data/db/migrate/20121009142519_add_lock_version_to_variant.rb +0 -5
  493. data/db/migrate/20121010142909_add_states_required_to_countries.rb +0 -5
  494. data/db/migrate/20121012071449_add_on_demand_to_product_and_variant.rb +0 -6
  495. data/db/migrate/20121017010007_remove_not_null_constraint_from_products_on_hand.rb +0 -11
  496. data/db/migrate/20121031162139_split_prices_from_variants.rb +0 -31
  497. data/db/migrate/20121107003422_remove_not_null_from_spree_prices_amount.rb +0 -9
  498. data/db/migrate/20121107184631_add_currency_to_line_items.rb +0 -5
  499. data/db/migrate/20121107194006_add_currency_to_orders.rb +0 -5
  500. data/db/migrate/20121109173623_add_cost_currency_to_variants.rb +0 -5
  501. data/db/migrate/20121111231553_remove_display_on_from_payment_methods.rb +0 -5
  502. data/db/migrate/20121124203911_add_position_to_taxonomies.rb +0 -5
  503. data/db/migrate/20121126040517_add_last_ip_to_spree_orders.rb +0 -5
  504. data/db/migrate/20121213162028_add_state_to_spree_adjustments.rb +0 -6
  505. data/db/migrate/20130114053446_add_display_on_to_spree_payment_methods.rb +0 -9
  506. data/db/migrate/20130120201805_add_position_to_product_properties.spree.rb +0 -6
  507. data/db/migrate/20130203232234_add_identifier_to_spree_payments.rb +0 -5
  508. data/db/migrate/20130207155350_add_order_id_index_to_payments.rb +0 -9
  509. data/db/migrate/20130208032954_add_primary_to_spree_products_taxons.rb +0 -5
  510. data/db/migrate/20130211190146_create_spree_stock_items.rb +0 -14
  511. data/db/migrate/20130211191120_create_spree_stock_locations.rb +0 -11
  512. data/db/migrate/20130213191427_create_default_stock.rb +0 -33
  513. data/db/migrate/20130222032153_add_order_id_index_to_shipments.rb +0 -5
  514. data/db/migrate/20130226032817_change_meta_description_on_spree_products_to_text.rb +0 -5
  515. data/db/migrate/20130226191231_add_stock_location_id_to_spree_shipments.rb +0 -5
  516. data/db/migrate/20130227143905_add_pending_to_inventory_unit.rb +0 -6
  517. data/db/migrate/20130228164411_remove_on_demand_from_product_and_variant.rb +0 -6
  518. data/db/migrate/20130228210442_create_shipping_method_zone.rb +0 -21
  519. data/db/migrate/20130301162745_remove_shipping_category_id_from_shipping_method.rb +0 -5
  520. data/db/migrate/20130301162924_create_shipping_method_categories.rb +0 -13
  521. data/db/migrate/20130301205200_add_tracking_url_to_spree_shipping_methods.rb +0 -5
  522. data/db/migrate/20130304162240_create_spree_shipping_rates.rb +0 -24
  523. data/db/migrate/20130304192936_remove_category_match_attributes_from_shipping_method.rb +0 -7
  524. data/db/migrate/20130305143310_create_stock_movements.rb +0 -12
  525. data/db/migrate/20130306181701_add_address_fields_to_stock_location.rb +0 -22
  526. data/db/migrate/20130306191917_add_active_field_to_stock_locations.rb +0 -5
  527. data/db/migrate/20130306195650_add_backorderable_to_stock_item.rb +0 -5
  528. data/db/migrate/20130307161754_add_default_quantity_to_stock_movement.rb +0 -5
  529. data/db/migrate/20130318151756_add_source_and_destination_to_stock_movements.rb +0 -8
  530. data/db/migrate/20130319062004_change_orders_total_precision.rb +0 -8
  531. data/db/migrate/20130319063911_change_spree_payments_amount_precision.rb +0 -7
  532. data/db/migrate/20130319064308_change_spree_return_authorization_amount_precision.rb +0 -7
  533. data/db/migrate/20130319082943_change_adjustments_amount_precision.rb +0 -7
  534. data/db/migrate/20130319183250_add_originator_to_stock_movement.rb +0 -7
  535. data/db/migrate/20130319190507_drop_source_and_destination_from_stock_movement.rb +0 -15
  536. data/db/migrate/20130325163316_migrate_inventory_unit_sold_to_on_hand.rb +0 -9
  537. data/db/migrate/20130326175857_add_stock_location_to_rma.rb +0 -5
  538. data/db/migrate/20130328130308_update_shipment_state_for_canceled_orders.rb +0 -15
  539. data/db/migrate/20130328195253_add_seo_metas_to_taxons.rb +0 -9
  540. data/db/migrate/20130329134939_remove_stock_item_and_variant_lock.rb +0 -14
  541. data/db/migrate/20130413230529_add_name_to_spree_credit_cards.rb +0 -5
  542. data/db/migrate/20130414000512_update_name_fields_on_spree_credit_cards.rb +0 -13
  543. data/db/migrate/20130417120034_add_index_to_source_columns_on_adjustments.rb +0 -5
  544. data/db/migrate/20130417120035_update_adjustment_states.rb +0 -16
  545. data/db/migrate/20130417123427_add_shipping_rates_to_shipments.rb +0 -15
  546. data/db/migrate/20130418125341_create_spree_stock_transfers.rb +0 -14
  547. data/db/migrate/20130423110707_drop_products_count_on_hand.rb +0 -5
  548. data/db/migrate/20130423223847_set_default_shipping_rate_cost.rb +0 -5
  549. data/db/migrate/20130509115210_add_number_to_stock_transfer.rb +0 -23
  550. data/db/migrate/20130514151929_add_sku_index_to_spree_variants.rb +0 -5
  551. data/db/migrate/20130515180736_add_backorderable_default_to_spree_stock_location.rb +0 -5
  552. data/db/migrate/20130516151222_add_propage_all_variants_to_spree_stock_location.rb +0 -5
  553. data/db/migrate/20130611054351_rename_shipping_methods_zones_to_spree_shipping_methods_zones.rb +0 -5
  554. data/db/migrate/20130611185927_add_user_id_index_to_spree_orders.rb +0 -5
  555. data/db/migrate/20130618041418_add_updated_at_to_spree_countries.rb +0 -9
  556. data/db/migrate/20130619012236_add_updated_at_to_spree_states.rb +0 -9
  557. data/db/migrate/20130626232741_add_cvv_result_code_and_cvv_result_message_to_spree_payments.rb +0 -6
  558. data/db/migrate/20130628021056_add_unique_index_to_permalink_on_spree_products.rb +0 -5
  559. data/db/migrate/20130628022817_add_unique_index_to_orders_shipments_and_stock_transfers.rb +0 -7
  560. data/db/migrate/20130708052307_add_deleted_at_to_spree_tax_rates.rb +0 -5
  561. data/db/migrate/20130711200933_remove_lock_version_from_inventory_units.rb +0 -6
  562. data/db/migrate/20130718042445_add_cost_price_to_line_item.rb +0 -5
  563. data/db/migrate/20130718233855_set_backorderable_to_default_to_false.rb +0 -6
  564. data/db/migrate/20130725031716_add_created_by_id_to_spree_orders.rb +0 -5
  565. data/db/migrate/20130729214043_index_completed_at_on_spree_orders.rb +0 -5
  566. data/db/migrate/20130802014537_add_tax_category_id_to_spree_line_items.rb +0 -5
  567. data/db/migrate/20130802022321_migrate_tax_categories_to_line_items.rb +0 -10
  568. data/db/migrate/20130806022521_drop_spree_mail_methods.rb +0 -12
  569. data/db/migrate/20130806145853_set_default_stock_location_on_shipments.rb +0 -8
  570. data/db/migrate/20130807024301_upgrade_adjustments.rb +0 -46
  571. data/db/migrate/20130807024302_rename_adjustment_fields.rb +0 -20
  572. data/db/migrate/20130809164245_add_admin_name_column_to_spree_shipping_methods.rb +0 -5
  573. data/db/migrate/20130809164330_add_admin_name_column_to_spree_stock_locations.rb +0 -5
  574. data/db/migrate/20130813004002_add_shipment_total_to_spree_orders.rb +0 -5
  575. data/db/migrate/20130813140619_expand_order_number_size.rb +0 -9
  576. data/db/migrate/20130813232134_rename_activators_to_promotions.rb +0 -5
  577. data/db/migrate/20130815000406_add_adjustment_total_to_line_items.rb +0 -5
  578. data/db/migrate/20130815024413_add_adjustment_total_to_shipments.rb +0 -5
  579. data/db/migrate/20130826062534_add_depth_to_spree_taxons.rb +0 -16
  580. data/db/migrate/20130828234942_add_tax_total_to_line_items_shipments_and_orders.rb +0 -8
  581. data/db/migrate/20130830001033_add_shipping_category_to_shipping_methods_and_products.rb +0 -15
  582. data/db/migrate/20130830001159_migrate_old_shipping_calculators.rb +0 -19
  583. data/db/migrate/20130903183026_add_code_to_spree_promotion_rules.rb +0 -5
  584. data/db/migrate/20130909115621_change_states_required_for_countries.rb +0 -9
  585. data/db/migrate/20130915032339_add_deleted_at_to_spree_stock_items.rb +0 -5
  586. data/db/migrate/20130917024658_remove_promotions_event_name_field.rb +0 -5
  587. data/db/migrate/20130924040529_add_promo_total_to_line_items_and_shipments_and_orders.rb +0 -7
  588. data/db/migrate/20131001013410_remove_unused_credit_card_fields.rb +0 -16
  589. data/db/migrate/20131026154747_add_track_inventory_to_variant.rb +0 -5
  590. data/db/migrate/20131107132123_add_tax_category_to_variants.rb +0 -6
  591. data/db/migrate/20131113035136_add_channel_to_spree_orders.rb +0 -5
  592. data/db/migrate/20131118043959_add_included_to_adjustments.rb +0 -5
  593. data/db/migrate/20131118050234_rename_tax_total_fields.rb +0 -11
  594. data/db/migrate/20131118183431_add_line_item_id_to_spree_inventory_units.rb +0 -21
  595. data/db/migrate/20131120234456_add_updated_at_to_variants.rb +0 -5
  596. data/db/migrate/20131127001002_add_position_to_classifications.rb +0 -5
  597. data/db/migrate/20131211112807_create_spree_orders_promotions.rb +0 -8
  598. data/db/migrate/20131211192741_unique_shipping_method_categories.rb +0 -24
  599. data/db/migrate/20131218054603_add_item_count_to_spree_orders.rb +0 -5
  600. data/db/migrate/20140106065820_remove_value_type_from_spree_preferences.rb +0 -8
  601. data/db/migrate/20140106224208_rename_permalink_to_slug_for_products.rb +0 -5
  602. data/db/migrate/20140120160805_add_index_to_variant_id_and_currency_on_prices.rb +0 -5
  603. data/db/migrate/20140124023232_rename_activator_id_in_rules_and_actions_to_promotion_id.rb +0 -6
  604. data/db/migrate/20140129024326_add_deleted_at_to_spree_prices.rb +0 -5
  605. data/db/migrate/20140203161722_add_approver_id_and_approved_at_to_orders.rb +0 -6
  606. data/db/migrate/20140204115338_add_confirmation_delivered_to_spree_orders.rb +0 -5
  607. data/db/migrate/20140204192230_add_auto_capture_to_payment_methods.rb +0 -5
  608. data/db/migrate/20140205120320_create_spree_payment_capture_events.rb +0 -12
  609. data/db/migrate/20140205144710_add_uncaptured_amount_to_payments.rb +0 -5
  610. data/db/migrate/20140205181631_default_variant_weight_to_zero.rb +0 -11
  611. data/db/migrate/20140207085910_add_tax_category_id_to_shipping_methods.rb +0 -5
  612. data/db/migrate/20140207093021_add_tax_rate_id_to_shipping_rates.rb +0 -5
  613. data/db/migrate/20140211040159_add_pre_tax_amount_to_line_items_and_shipments.rb +0 -6
  614. data/db/migrate/20140213184916_add_more_indexes.rb +0 -13
  615. data/db/migrate/20140219060952_add_considered_risky_to_orders.rb +0 -5
  616. data/db/migrate/20140227112348_add_preference_store_to_everything.rb +0 -8
  617. data/db/migrate/20140307235515_add_user_id_to_spree_credit_cards.rb +0 -13
  618. data/db/migrate/20140309023735_migrate_old_preferences.rb +0 -27
  619. data/db/migrate/20140309024355_create_spree_stores.rb +0 -25
  620. data/db/migrate/20140309033438_create_store_from_preferences.rb +0 -37
  621. data/db/migrate/20140315053743_add_timestamps_to_spree_assets.rb +0 -6
  622. data/db/migrate/20140318191500_create_spree_taxons_promotion_rules.rb +0 -8
  623. data/db/migrate/20140331100557_add_additional_store_fields.rb +0 -8
  624. data/db/migrate/20140410141842_add_many_missing_indexes.rb +0 -18
  625. data/db/migrate/20140410150358_correct_some_polymorphic_index_and_add_more_missing.rb +0 -66
  626. data/db/migrate/20140415041315_add_user_id_created_by_id_index_to_order.rb +0 -5
  627. data/db/migrate/20140508151342_change_spree_price_amount_precision.rb +0 -8
  628. data/db/migrate/20140518174634_add_token_to_spree_orders.rb +0 -5
  629. data/db/migrate/20140530024945_move_order_token_from_tokenized_permission.rb +0 -29
  630. data/db/migrate/20140601011216_set_shipment_total_for_users_upgrading.rb +0 -10
  631. data/db/migrate/20140604135309_drop_credit_card_first_name_and_last_name.rb +0 -6
  632. data/db/migrate/20140609201656_add_deleted_at_to_spree_promotion_actions.rb +0 -6
  633. data/db/migrate/20140616202624_remove_uncaptured_amount_from_spree_payments.rb +0 -5
  634. data/db/migrate/20140625214618_create_spree_refunds.rb +0 -12
  635. data/db/migrate/20140702140656_create_spree_return_authorization_inventory_unit.rb +0 -12
  636. data/db/migrate/20140707125621_rename_return_authorization_inventory_unit_to_return_items.rb +0 -5
  637. data/db/migrate/20140709160534_backfill_line_item_pre_tax_amount.rb +0 -10
  638. data/db/migrate/20140710041921_recreate_spree_return_authorizations.rb +0 -55
  639. data/db/migrate/20140710181204_add_amount_fields_to_return_items.rb +0 -7
  640. data/db/migrate/20140710190048_drop_return_authorization_amount.rb +0 -5
  641. data/db/migrate/20140713140455_create_spree_return_authorization_reasons.rb +0 -28
  642. data/db/migrate/20140713140527_create_spree_refund_reasons.rb +0 -14
  643. data/db/migrate/20140713142214_rename_return_authorization_reason.rb +0 -5
  644. data/db/migrate/20140715182625_create_spree_promotion_categories.rb +0 -11
  645. data/db/migrate/20140716204111_drop_received_at_on_return_items.rb +0 -9
  646. data/db/migrate/20140716212330_add_reception_and_acceptance_status_to_return_items.rb +0 -6
  647. data/db/migrate/20140717155155_create_default_refund_reason.rb +0 -9
  648. data/db/migrate/20140717185932_add_default_to_spree_stock_locations.rb +0 -7
  649. data/db/migrate/20140718133010_create_spree_customer_returns.rb +0 -9
  650. data/db/migrate/20140718133349_add_customer_return_id_to_return_item.rb +0 -6
  651. data/db/migrate/20140718195325_create_friendly_id_slugs.rb +0 -15
  652. data/db/migrate/20140723004419_rename_spree_refund_return_authorization_id.rb +0 -5
  653. data/db/migrate/20140723152808_increase_return_item_pre_tax_amount_precision.rb +0 -13
  654. data/db/migrate/20140723214541_copy_product_slugs_to_slug_history.rb +0 -15
  655. data/db/migrate/20140725131539_create_spree_reimbursements.rb +0 -21
  656. data/db/migrate/20140728225422_add_promotionable_to_spree_products.rb +0 -5
  657. data/db/migrate/20140729133613_add_exchange_inventory_unit_foreign_keys.rb +0 -7
  658. data/db/migrate/20140730155938_add_acceptance_status_errors_to_return_item.rb +0 -5
  659. data/db/migrate/20140731150017_create_spree_reimbursement_types.rb +0 -20
  660. data/db/migrate/20140804185157_add_default_to_shipment_cost.rb +0 -10
  661. data/db/migrate/20140805171035_add_default_to_spree_credit_cards.rb +0 -5
  662. data/db/migrate/20140805171219_make_existing_credit_cards_default.rb +0 -10
  663. data/db/migrate/20140806144901_add_type_to_reimbursement_type.rb +0 -9
  664. data/db/migrate/20140808184039_create_spree_reimbursement_credits.rb +0 -10
  665. data/db/migrate/20140827170513_add_meta_title_to_spree_products.rb +0 -7
  666. data/db/migrate/20140911173301_add_kind_to_zone.rb +0 -11
  667. data/db/migrate/20140924164824_add_code_to_spree_tax_categories.rb +0 -5
  668. data/db/migrate/20140927193717_default_pre_tax_amount_should_be_zero.rb +0 -6
  669. data/db/migrate/20141002191113_add_code_to_spree_shipping_methods.rb +0 -5
  670. data/db/migrate/20141007230328_add_cancel_audit_fields_to_spree_orders.rb +0 -6
  671. data/db/migrate/20141009204607_add_store_id_to_orders.rb +0 -8
  672. data/db/migrate/20141012083513_create_spree_taxons_prototypes.rb +0 -8
  673. data/db/migrate/20141021194502_add_state_lock_version_to_order.rb +0 -5
  674. data/db/migrate/20141023005240_add_counter_cache_from_spree_variants_to_spree_stock_items.rb +0 -8
  675. data/db/migrate/20141101231208_fix_adjustment_order_presence.rb +0 -13
  676. data/db/migrate/20141105213646_update_classifications_positions.rb +0 -9
  677. data/db/migrate/20141120135441_add_guest_token_index_to_spree_orders.rb +0 -5
  678. data/db/migrate/20141215232040_remove_token_permissions_table.rb +0 -6
  679. data/db/migrate/20141215235502_remove_extra_products_slug_index.rb +0 -5
  680. data/db/migrate/20141217215630_update_product_slug_index.rb +0 -6
  681. data/db/migrate/20141218025915_rename_identifier_to_number_for_payment.rb +0 -5
  682. data/db/migrate/20150118210639_create_spree_store_credits.rb +0 -24
  683. data/db/migrate/20150118211500_create_spree_store_credit_categories.rb +0 -8
  684. data/db/migrate/20150118212051_create_spree_store_credit_events.rb +0 -17
  685. data/db/migrate/20150118212101_create_spree_store_credit_types.rb +0 -10
  686. data/db/migrate/20150121022521_remove_environment_from_payment_method.rb +0 -6
  687. data/db/migrate/20150122145607_add_resellable_to_return_items.rb +0 -5
  688. data/db/migrate/20150122202432_add_code_to_spree_promotion_categories.rb +0 -5
  689. data/db/migrate/20150128032538_remove_environment_from_tracker.rb +0 -8
  690. data/db/migrate/20150128060325_remove_spree_configurations.rb +0 -16
  691. data/db/migrate/20150216173445_add_index_to_spree_stock_items_variant_id.rb +0 -13
  692. data/db/migrate/20150309161154_ensure_payments_have_numbers.rb +0 -13
  693. data/db/migrate/20150314013438_add_missing_indexes_on_spree_tables.rb +0 -67
  694. data/db/migrate/20150317174308_remove_duplicated_indexes_from_multi_columns.rb +0 -18
  695. data/db/migrate/20150324104002_remove_user_index_from_spree_state_changes.rb +0 -14
  696. data/db/migrate/20150515211137_fix_adjustment_order_id.rb +0 -70
  697. data/db/migrate/20150522071831_add_position_to_spree_payment_methods.rb +0 -5
  698. data/db/migrate/20150522181728_add_deleted_at_to_friendly_id_slugs.rb +0 -6
  699. data/db/migrate/20150609093816_increase_scale_on_pre_tax_amounts.rb +0 -16
  700. data/db/migrate/20150626181949_add_taxable_adjustment_total_to_line_item.rb +0 -19
  701. data/db/migrate/20150627090949_migrate_payment_methods_display.rb +0 -12
  702. data/db/migrate/20150707204155_enable_acts_as_paranoid_on_calculators.rb +0 -6
  703. data/db/migrate/20150714154102_spree_payment_method_store_credits.rb +0 -12
  704. data/db/migrate/20150726141425_rename_has_and_belongs_to_associations_to_model_names.rb +0 -18
  705. data/db/migrate/20150727191614_spree_store_credit_types.rb +0 -11
  706. data/db/migrate/20150819154308_add_discontinued_to_products_and_variants.rb +0 -68
  707. data/db/migrate/20151220072838_remove_shipping_method_id_from_spree_orders.rb +0 -13
  708. data/db/migrate/20160207191757_add_id_column_to_earlier_habtm_tables.rb +0 -16
  709. data/db/migrate/20160219165458_add_indexes.rb +0 -14
  710. data/db/migrate/20160509064646_remove_counter_cache_from_spree_variants_to_spree_stock_items.rb +0 -10
  711. data/db/migrate/20160608090604_add_zipcode_required_to_spree_countries.rb +0 -7
  712. data/db/migrate/20161014145148_add_created_at_to_variant.rb +0 -8
  713. data/db/migrate/20161014152814_add_null_false_to_spree_variants_timestamps.rb +0 -6
  714. data/db/migrate/20161125065505_add_quantity_to_inventory_units.rb +0 -5
  715. data/db/migrate/20170119122701_add_original_return_item_id_to_spree_inventory_units.rb +0 -29
  716. data/db/migrate/20170315152755_add_unique_index_on_number_to_spree_orders.rb +0 -16
  717. data/db/migrate/20170316154338_add_unique_index_on_number_to_spree_stock_transfer.rb +0 -16
  718. data/db/migrate/20170316205511_add_unique_index_on_number_to_spree_shipment.rb +0 -16
  719. data/db/migrate/20170320134043_add_unique_index_on_number_to_spree_payments.rb +0 -17
  720. data/db/migrate/20170320142750_add_unique_index_on_number_to_spree_return_authorizations.rb +0 -16
  721. data/db/migrate/20170320145040_add_unique_index_on_number_to_spree_customer_returns.rb +0 -16
  722. data/db/migrate/20170320145518_add_unique_index_on_number_to_spree_reimbursements.rb +0 -16
  723. data/db/migrate/20170323151450_add_missing_unique_indexes_for_unique_attributes.rb +0 -37
  724. data/db/migrate/20170329110859_add_index_on_stock_location_to_spree_customer_returns.rb +0 -5
  725. data/db/migrate/20170329113917_add_index_on_prototype_to_spree_option_type_prototype.rb +0 -19
  726. data/db/migrate/20170330082155_add_indexes_to_spree_option_value_variant.rb +0 -19
  727. data/db/migrate/20170330132215_add_index_on_promotion_id_to_order_promotions.rb +0 -5
  728. data/db/migrate/20170331101758_add_indexes_for_property_prototype.rb +0 -20
  729. data/db/migrate/20170331103334_add_index_for_prototype_id_to_prototype_taxons.rb +0 -5
  730. data/db/migrate/20170331110454_add_indexes_to_refunds.rb +0 -6
  731. data/db/migrate/20170331111757_add_indexes_to_reimbursement_credits.rb +0 -6
  732. data/db/migrate/20170331115246_add_indexes_to_return_authorizations.rb +0 -6
  733. data/db/migrate/20170331120125_add_indexes_to_return_items.rb +0 -11
  734. data/db/migrate/20170331121725_add_index_to_role_users.rb +0 -18
  735. data/db/migrate/20170331123625_add_index_to_shipping_method_categories.rb +0 -5
  736. data/db/migrate/20170331123832_add_index_to_shipping_method_zones.rb +0 -20
  737. data/db/migrate/20170331124251_add_index_to_spree_shipping_rates.rb +0 -6
  738. data/db/migrate/20170331124513_add_index_to_spree_stock_items.rb +0 -5
  739. data/db/migrate/20170331124924_add_index_to_spree_stock_movement.rb +0 -5
  740. data/db/migrate/20170413211707_change_indexes_on_friendly_id_slugs.rb +0 -10
  741. data/db/migrate/20170722102643_add_analytics_kind_to_spree_trackers.rb +0 -5
  742. data/db/migrate/20170727103056_rename_tracker_kind_field.rb +0 -5
  743. data/db/migrate/20171004223836_remove_icon_from_taxons.rb +0 -8
  744. data/db/migrate/20180222133746_add_unique_index_on_spree_promotions_code.rb +0 -6
  745. data/db/migrate/20180613080857_rename_guest_token_to_token_in_orders.rb +0 -5
  746. data/db/migrate/20180915160001_add_timestamps_to_spree_prices.rb +0 -12
  747. data/db/migrate/20181024100754_add_deleted_at_to_spree_credit_cards.rb +0 -6
  748. data/db/migrate/20190305121659_add_iso_and_iso3_validation_on_presence_and_uniqueness.rb +0 -18
  749. data/db/migrate/20190523092729_add_user_id_and_deleted_at_to_spree_addresses.rb +0 -12
  750. data/lib/friendly_id/slug_rails5_patch.rb +0 -11
  751. data/lib/generators/spree/install/templates/vendor/assets/javascripts/spree/backend/all.js +0 -17
  752. data/lib/generators/spree/install/templates/vendor/assets/javascripts/spree/frontend/all.js +0 -18
  753. data/lib/generators/spree/install/templates/vendor/assets/stylesheets/spree/backend/all.css +0 -16
  754. data/lib/generators/spree/install/templates/vendor/assets/stylesheets/spree/frontend/all.css +0 -16
  755. data/lib/spree/dependencies_helper.rb +0 -11
  756. data/lib/spree/i18n/base.rb +0 -17
  757. data/lib/spree/i18n/initializer.rb +0 -1
  758. data/lib/tasks/email.rake +0 -10
  759. data/vendor/assets/javascripts/fetch.umd.js +0 -531
  760. data/vendor/assets/javascripts/jquery.payment.js +0 -652
  761. data/vendor/assets/javascripts/jsuri.js +0 -458
  762. data/vendor/assets/javascripts/polyfill.min.js +0 -1
  763. /data/app/models/spree/return_item/eligibility_validator/{r_m_a_required.rb → rma_required.rb} +0 -0
  764. /data/{app/models/spree → lib/spree/core}/preferences/scoped_store.rb +0 -0
@@ -6,16 +6,18 @@ en:
6
6
  attributes:
7
7
  desired_shipment:
8
8
  can_not_transfer_within_same_shipment: can not be same as current shipment
9
- not_enough_stock_at_desired_location: not enough stock in desired stock location
9
+ has_not_enough_stock_at_desired_location: has not enough stock in desired stock location
10
10
  current_shipment:
11
11
  has_already_been_shipped: has already been shipped
12
12
  can_not_have_backordered_inventory_units: has backordered inventory units
13
13
  activerecord:
14
14
  attributes:
15
15
  spree/address:
16
+ label: Address name
16
17
  address1: Address
17
18
  address2: Address (contd.)
18
19
  city: City
20
+ company: Company
19
21
  country: Country
20
22
  firstname: First Name
21
23
  lastname: Last Name
@@ -50,12 +52,13 @@ en:
50
52
  spree/option_type:
51
53
  name: Name
52
54
  presentation: Presentation
55
+ filterable: Filterable
53
56
  spree/order:
54
57
  checkout_complete: Checkout Complete
55
58
  completed_at: Completed At
56
59
  coupon_code: Coupon Code
57
60
  created_at: Order Date
58
- email: Customer E-Mail
61
+ email: Email
59
62
  ip_address: IP Address
60
63
  item_total: Item Total
61
64
  number: Number
@@ -88,6 +91,7 @@ en:
88
91
  name: Name
89
92
  spree/product:
90
93
  available_on: Available On
94
+ make_active_at: Make Active At
91
95
  discontinue_on: Discontinue On
92
96
  cost_currency: Cost Currency
93
97
  cost_price: Cost Price
@@ -97,6 +101,8 @@ en:
97
101
  on_hand: On Hand
98
102
  shipping_category: Shipping Category
99
103
  tax_category: Tax Category
104
+ less_than: Less than
105
+ more_than: More than
100
106
  spree/promotion:
101
107
  advertise: Advertise
102
108
  code: Code
@@ -138,11 +144,12 @@ en:
138
144
  url: Site URL
139
145
  meta_description: Meta Description
140
146
  meta_keywords: Meta Keywords
141
- seo_title: Seo Title
147
+ seo_robots: SEO Robots
148
+ seo_title: SEO Title
142
149
  name: Site Name
143
150
  mail_from_address: Mail From Address
144
151
  spree/store_credit:
145
- amount_used: "Amount used"
152
+ amount_used: Amount used
146
153
  spree/store_credit_category:
147
154
  name: Name
148
155
  spree/tax_category:
@@ -178,6 +185,12 @@ en:
178
185
  spree/address:
179
186
  one: Address
180
187
  other: Addresses
188
+ spree/cms_page:
189
+ one: Page
190
+ other: Pages
191
+ spree/cms_section:
192
+ one: Section
193
+ other: Sections
181
194
  spree/country:
182
195
  one: Country
183
196
  other: Countries
@@ -319,6 +332,22 @@ en:
319
332
  base:
320
333
  card_expired: "Card has expired"
321
334
  expiry_invalid: "Card expiration is invalid"
335
+ spree/legacy_user:
336
+ attributes:
337
+ bill_address_id:
338
+ belongs_to_other_user: belongs to other user
339
+ deprecated_in_completed_order: deprecated in completed order
340
+ ship_address_id:
341
+ belongs_to_other_user: belongs to other user
342
+ deprecated_in_completed_order: deprecated in completed order
343
+ spree/user:
344
+ attributes:
345
+ bill_address_id:
346
+ belongs_to_other_user: belongs to other user
347
+ deprecated_in_completed_order: deprecated in completed order
348
+ ship_address_id:
349
+ belongs_to_other_user: belongs to other user
350
+ deprecated_in_completed_order: deprecated in completed order
322
351
  spree/line_item:
323
352
  attributes:
324
353
  currency:
@@ -332,7 +361,7 @@ en:
332
361
  discontinue_on:
333
362
  invalid_date_range: must be later than available date
334
363
  base:
335
- cannot_destroy_if_attached_to_line_items: Cannot delete products once they are attached to line items.
364
+ cannot_destroy_if_attached_to_line_items: Cannot delete Products that are added to placed Orders. In such cases, please discontinue them.
336
365
  spree/refund:
337
366
  attributes:
338
367
  amount:
@@ -354,7 +383,7 @@ en:
354
383
  spree/store:
355
384
  attributes:
356
385
  base:
357
- cannot_destroy_default_store: Cannot destroy the default Store.
386
+ cannot_destroy_only_store: Cannot destroy the only Store.
358
387
  spree/store_credit:
359
388
  attributes:
360
389
  amount_used:
@@ -369,7 +398,7 @@ en:
369
398
  spree/variant:
370
399
  attributes:
371
400
  base:
372
- cannot_destroy_if_attached_to_line_items: Cannot delete variants once they are attached to line items.
401
+ cannot_destroy_if_attached_to_line_items: Cannot delete Variants that are added to placed Orders. In such cases, please discontinue them.
373
402
  no_master_variant_found_to_infer_price: No master variant found to infer price
374
403
  must_supply_price_for_variant_or_master: Must supply price for variant or master price for product.
375
404
  spree/image:
@@ -381,6 +410,9 @@ en:
381
410
  attributes:
382
411
  attachment:
383
412
  not_allowed_content_type: has not allowed content type
413
+ address_book:
414
+ save: Save
415
+ successfully_created: New address has been successfully created
384
416
  devise:
385
417
  confirmations:
386
418
  confirmed: Your account was successfully confirmed. You are now signed in.
@@ -434,6 +466,13 @@ en:
434
466
  format:
435
467
  precision: 1
436
468
 
469
+ pagination:
470
+ first: "«"
471
+ last: "»"
472
+ previous: "‹"
473
+ next: "›"
474
+ truncate: "…"
475
+
437
476
  spree:
438
477
  abbreviation: Abbreviation
439
478
  accept: Accept
@@ -441,6 +480,7 @@ en:
441
480
  acceptance_errors: Acceptance errors
442
481
  accepted: Accepted
443
482
  account: Account
483
+ account_info: Account info
444
484
  account_updated: Account updated
445
485
  action: Action
446
486
  actions:
@@ -458,9 +498,11 @@ en:
458
498
  activate: Activate
459
499
  active: Active
460
500
  add: Add
501
+ add_new_credit_card: Add a new card
461
502
  add_action_of_type: Add action of type
462
503
  add_country: Add Country
463
504
  add_coupon_code: Add Coupon Code
505
+ add_new_address: Add new address
464
506
  add_new_header: Add New Header
465
507
  add_new_style: Add New Style
466
508
  add_one: Add One
@@ -472,19 +514,29 @@ en:
472
514
  add_stock: Add Stock
473
515
  add_to_cart: Add To Cart
474
516
  add_variant: Add Variant
517
+ add_store: New Store
475
518
  add_store_credit: Add Store Credit
519
+ added_to_cart: Added to cart successfully!
476
520
  additional_item: Additional Item
477
521
  address: Address
478
522
  address1: Address
479
523
  address2: Address (contd.)
480
524
  addresses: Addresses
525
+ address_action_popup:
526
+ delete_button: yes, delete
527
+ delete_text: Do you really want <br /> to delete this address?
528
+ delete_title: Are you sure?
481
529
  address_book:
482
530
  other_address: "Other address"
483
531
  add_new_shipping_address: "Add new address"
484
- new_shipping_address: "New Address"
485
- edit_shipping_address: "Edit Address"
532
+ label: Address Name
533
+ address_name_label: Address Name
534
+ address_name_placeholder: Give this address a unique name (Work, Home, etc.)
535
+ new_address: "New Address"
536
+ edit_address: "Edit Address"
537
+ remove_address: Remove Address
486
538
  no_shipping_addresses_on_file: "No addresses on file"
487
- shipping_addresses: "Addresses"
539
+ addresses: "Addresses"
488
540
  successfully_created: "Address has been successfully created."
489
541
  successfully_removed: "Address has been successfully removed."
490
542
  successfully_saved: "Saved successfully"
@@ -503,43 +555,9 @@ en:
503
555
  adjustment_successfully_opened: Adjustment has been successfully opened!
504
556
  adjustment_total: Adjustment Total
505
557
  adjustments: Adjustments
506
- admin:
507
- tab:
508
- configuration: Configuration
509
- option_types: Option Types
510
- orders: Orders
511
- overview: Overview
512
- products: Products
513
- promotions: Promotions
514
- promotion_categories: Promotion Categories
515
- properties: Properties
516
- prototypes: Prototypes
517
- reports: Reports
518
- taxonomies: Taxonomies
519
- taxons: Taxons
520
- users: Users
521
- return_authorizations: Return Authorizations
522
- customer_returns: Customer Returns
523
- order:
524
- events:
525
- approve: approve
526
- cancel: cancel
527
- resume: resume
528
- resend: Resend
529
- user:
530
- account: Account
531
- addresses: Addresses
532
- items: Items
533
- items_purchased: Items Purchased
534
- order_history: Order History
535
- order_num: "Order #"
536
- orders: Orders
537
- user_information: User Information
538
- stores: Stores
539
- store_credits: Store Credits
540
- no_store_credit: User has no Store Credit available.
541
- available_store_credit: User has %{amount} in Store Credit available.
542
558
  administration: Administration
559
+ add_new_store: Add New Store
560
+ adjustments_deleted: Adjustments Deleted
543
561
  advertise: Advertise
544
562
  agree_to_privacy_policy: Agree to Privacy Policy
545
563
  agree_to_terms_of_service: Agree to Terms of Service
@@ -548,6 +566,8 @@ en:
548
566
  all_adjustments_opened: All adjustments successfully opened!
549
567
  all_departments: All departments
550
568
  all_items_have_been_returned: All items have been returned
569
+ all_rights_reserved: All rights reserved
570
+ already_have_account: Already have an account?
551
571
  alt_text: Alternative Text
552
572
  alternative_phone: Alternative Phone
553
573
  amount: Amount
@@ -562,7 +582,9 @@ en:
562
582
  authorization_failure: Authorization Failure
563
583
  authorized: Authorized
564
584
  auto_capture: Auto Capture
585
+ availability: availability
565
586
  available_on: Available On
587
+ make_active_at: Make Active At
566
588
  available: Available
567
589
  average_order_value: Average Order Value
568
590
  avs_response: AVS Response
@@ -580,17 +602,22 @@ en:
580
602
  balance_due: Balance Due
581
603
  base_amount: Base Amount
582
604
  base_percent: Base Percent
605
+ basic_information: Basic Information
583
606
  bill_address: Bill Address
584
607
  billing: Billing
585
608
  billing_address: Billing Address
586
609
  both: Both
610
+ breadcrumbs: Breadcrumbs
587
611
  calculated_reimbursements: Calculated Reimbursements
588
612
  calculator: Calculator
589
613
  calculator_settings_warning: If you are changing the calculator type, you must save first before you can edit the calculator settings
614
+ call_us_now: 'Call us now: '
590
615
  cancel: cancel
591
616
  canceled: Canceled
592
617
  canceler: Canceler
593
618
  canceled_at: Canceled at
619
+ cannot_be_destroyed: Order cannot be destroyed.
620
+ cannot_empty: Cannot empty order.
594
621
  cannot_empty_completed_order: Order has already been processed so it cannot be emptied
595
622
  cannot_create_payment_without_payment_methods: You cannot create a payment for an order without any payment methods defined.
596
623
  cannot_create_customer_returns: Cannot create customer returns as this order has no shipped units.
@@ -600,19 +627,41 @@ en:
600
627
  cannot_set_shipping_method_without_address: Cannot set shipping method until customer details are provided.
601
628
  capture: Capture
602
629
  capture_events: Capture events
603
- card_code: Card Code
630
+ card_code: Card Verification Code (CVC)
604
631
  card_number: Card Number
605
632
  card_type: Brand
606
633
  card_type_is: Card type is
607
634
  cart: Cart
635
+ cart_page:
636
+ add_promo_code: ADD PROMO CODE
637
+ change_quantity: Change quantity
638
+ checkout: checkout
639
+ empty_info: 'Your cart is empty.'
640
+ header: Your shopping cart
641
+ product: product
642
+ quantity: quantity
643
+ remove_from_cart: Remove from cart
644
+ title: Shopping Cart
608
645
  cart_subtotal:
609
646
  one: 'Subtotal (1 item)'
610
647
  other: 'Subtotal (%{count} items)'
611
648
  categories: Categories
612
649
  category: Category
650
+ category_nav_bar:
651
+ get_up_to_30_percent_off: GET UP TO 30% OFF
652
+ jackets_and_coats: JACKET & COASTS
653
+ new_collection: NEW COLLECTION
654
+ special_offers: SPECIAL OFFERS
613
655
  channel: Channel
614
656
  charged: Charged
615
657
  checkout: Checkout
658
+ checkout_page:
659
+ main_navigation: Main navigation
660
+ checkout_navigation: Checkout navigation
661
+ back_to_cart: back to cart
662
+ delivery_method: delivery method
663
+ header: Checkout
664
+ product: Product
616
665
  choose_a_customer: Choose a customer
617
666
  choose_a_taxon_to_sort_products_for: "Choose a taxon to sort products for"
618
667
  choose_currency: Choose Currency
@@ -628,13 +677,17 @@ en:
628
677
  close_all_adjustments: Close All Adjustments
629
678
  code: Code
630
679
  company: Company
680
+ compare_at_price: Compare at price
631
681
  complete: complete
632
682
  configuration: Configuration
633
683
  configurations: Configurations
634
684
  confirm: Confirm
635
685
  confirm_delete: Confirm Deletion
636
686
  confirm_password: Password Confirmation
687
+ contact_phone: Contact phone
688
+ contact_us: Contact us
637
689
  continue: Continue
690
+ continue_as_guest: Continue as a guest
638
691
  continue_shopping: Continue shopping
639
692
  cost_currency: Cost Currency
640
693
  cost_price: Cost Price
@@ -662,6 +715,7 @@ en:
662
715
  coupon_code_max_usage: Coupon code usage limit exceeded
663
716
  coupon_code_not_eligible: This coupon code is not eligible for this order
664
717
  coupon_code_not_found: The coupon code you entered doesn't exist. Please try again.
718
+ coupon_code_removed: The coupon code was successfully removed from your order.
665
719
  coupon_code_unknown_error: This coupon code could not be applied to the cart at this time.
666
720
  create: Create
667
721
  create_a_new_account: Create a new account
@@ -671,28 +725,34 @@ en:
671
725
  created_by: Created By
672
726
  credit: Credit
673
727
  credit_card: Credit Card
728
+ credit_card_remove_confirmation: Are you sure you want to delete the credit card?
674
729
  credit_cards: Credit Cards
675
730
  credit_owed: Credit Owed
676
731
  credited: Credited
677
732
  credits: Credits
678
733
  currency: Currency
734
+ currencies: Currencies
679
735
  currency_settings: Currency Settings
680
736
  current: Current
681
- current_promotion_usage: ! 'Current Usage: %{count}'
737
+ current_promotion_usage: ! 'current usage: %{count}'
682
738
  customer: Customer
683
739
  customer_details: Customer Details
684
740
  customer_details_updated: Customer Details Updated
685
741
  customer_return: Customer Return
686
742
  customer_returns: Customer Returns
687
743
  customer_search: Customer Search
744
+ customer_support_email: Customer Support Email
745
+ new_order_notifications_email: New Order Notifications Email
688
746
  cut: Cut
747
+ cvv: CVV
748
+ no_cc_type: N/A
689
749
  cvv_response: CVV Response
690
750
  date: Date
691
751
  date_completed: Date Completed
692
752
  date_picker:
693
- first_day: 0
694
- format: ! '%Y/%m/%d'
695
- js_format: yy/mm/dd
753
+ # FlatPickr human friendly formatting
754
+ fpr_human_friendly_date_format: M j, Y
755
+ fpr_human_friendly_date_time_format: M j, Y at H:i
696
756
  date_range: Date Range
697
757
  default: Default
698
758
  default_country_cannot_be_deleted: Default country cannot be deleted
@@ -700,11 +760,15 @@ en:
700
760
  default_refund_amount: Default Refund Amount
701
761
  default_tax: Default Tax
702
762
  default_tax_zone: Default Tax Zone
763
+ default_wishlist_name: Wishlist
703
764
  delete: Delete
704
765
  deleted: Deleted
705
766
  delete_from_taxon: Delete From Taxon
767
+ digital:
768
+ digital_delivery: Digital Delivery
706
769
  discontinued_variants_present: Some line items in this order have products that are no longer available.
707
770
  delivery: Delivery
771
+ delivery_information: Delivery Information
708
772
  depth: Depth
709
773
  details: Details
710
774
  description: Description
@@ -716,10 +780,12 @@ en:
716
780
  dismiss_banner: No. Thanks! I'm not interested, do not display this message again
717
781
  display: Display
718
782
  doesnt_track_inventory: It doesn't track inventory
783
+ dont_have_account: No account?
784
+ draft_mode: Draft Mode
719
785
  edit: Edit
720
786
  editing_resource: 'Editing %{resource}'
721
787
  editing_rma_reason: Editing RMA Reason
722
- editing_user: Editing User
788
+ editing_user: Edit Your account
723
789
  eligibility_errors:
724
790
  messages:
725
791
  has_excluded_product: Your cart contains a product that prevents this coupon code from being applied.
@@ -740,13 +806,18 @@ en:
740
806
  empty_cart: Empty Cart
741
807
  enable_mail_delivery: Enable Mail Delivery
742
808
  end: End
809
+ ends_at: Ends at
810
+ ending_at: Ending at
743
811
  ending_in: Ending in
744
812
  error: error
745
813
  errors:
746
814
  messages:
815
+ store_association_can_not_be_changed: The store association can not be changed
816
+ store_is_already_set: Store is already set
747
817
  blank: can't be blank
748
818
  could_not_create_taxon: Could not create taxon
749
819
  no_shipping_methods_available: No shipping methods available for selected location, please change your address and try again.
820
+ cannot_remove_icon: Cannot remove image
750
821
  services:
751
822
  get_shipping_rates:
752
823
  no_shipping_address: To generate Shipping Rates Order needs to have a Shipping Address
@@ -755,6 +826,7 @@ en:
755
826
  one: 1 error prohibited this record from being saved
756
827
  other: ! '%{count} errors prohibited this record from being saved'
757
828
  error_user_destroy_with_orders: User associated with orders cannot be destroyed
829
+ error_user_does_not_have_any_store_credits: 'User does not have any Store Credits available'
758
830
  event: Event
759
831
  events:
760
832
  spree:
@@ -775,24 +847,33 @@ en:
775
847
  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."
776
848
  excl: excl.
777
849
  expiration: Expiration
850
+ expiration_date: Expiration Date
778
851
  extension: Extension
779
852
  extensions_directory: Extensions Directory
780
853
  existing_shipments: Existing shipments
854
+ facebook: Facebook
781
855
  failed_payment_attempts: Failed Payment Attempts
856
+ favicon: 'Favicon'
857
+ favicon_upload_info: "File format: PNG or ICO. File resolution: up to 256x256. File size: up to 1MB"
782
858
  filename: Filename
783
859
  fill_in_customer_info: Please fill in customer info
784
860
  filter: Filter
861
+ filterable: Filterable
785
862
  filter_results: Filter Results
786
863
  finalize: Finalize
787
864
  find_a_taxon: Find a Taxon
788
865
  finalized: Finalized
789
866
  first_item: First Item
790
867
  first_name: First Name
868
+ firstname: First Name
791
869
  first_name_begins_with: First Name Begins With
792
870
  flat_percent: Flat Percent
793
871
  flat_rate_per_order: Flat Rate
794
872
  flexible_rate: Flexible Rate
795
- forgot_password: Forgot Password?
873
+ follow_us: Follow us
874
+ footer: Footer
875
+ forgot_password: Forgot password?
876
+ free: Free
796
877
  free_shipping: Free Shipping
797
878
  free_shipping_amount: "-"
798
879
  front_end: Front End
@@ -801,16 +882,27 @@ en:
801
882
  general: General
802
883
  general_settings: General Settings
803
884
  generate_code: Generate coupon code
885
+ get_back_to_the: Get back to the
886
+ go_to_category: Go to category
887
+ go_to_facebook: Go to facebook
888
+ go_to_homepage: Go to Home Page
889
+ go_to_instagram: Go to instagram
890
+ go_to_twitter: Go to twitter
804
891
  guest_checkout: Guest Checkout
805
892
  guest_user_account: Checkout as a Guest
806
893
  has_no_shipped_units: has no shipped units
894
+ header_banner: Header banner
807
895
  height: Height
896
+ hide_from_subcategories_nav: Hide from subcategories navigation
808
897
  home: Home
898
+ home_page: homepage
809
899
  help_center: Help Center
810
900
  i18n:
811
901
  available_locales: Available Locales
812
902
  fields: Fields
813
903
  language: Language
904
+ country: Country
905
+ default_country: Default Country
814
906
  localization_settings: Localization Settings
815
907
  only_incomplete: Only incomplete
816
908
  only_complete: Only complete
@@ -822,8 +914,10 @@ en:
822
914
  icon: Icon
823
915
  image: Image
824
916
  images: Images
917
+ image_alt_text: Add Alt text to your image
825
918
  implement_eligible_for_return: "Must implement #eligible_for_return? for your EligibilityValidator."
826
919
  implement_requires_manual_intervention: "Must implement #requires_manual_intervention? for your EligibilityValidator."
920
+ in_stock: In Stock
827
921
  inactive: Inactive
828
922
  incl: incl.
829
923
  included_in_price: Included in Price
@@ -833,6 +927,7 @@ en:
833
927
  info_number_of_skus_not_shown:
834
928
  one: "and one other"
835
929
  other: "and %{count} others"
930
+ instagram: Instagram
836
931
  instructions_to_reset_password: Please enter your email on the form below
837
932
  insufficient_stock: Insufficient stock available, only %{on_hand} remaining
838
933
  insufficient_stock_item_quantity: Insufficient stock quantity available
@@ -840,6 +935,7 @@ en:
840
935
  intercept_email_address: Intercept Email Address
841
936
  intercept_email_instructions: Override email recipient and replace with this address.
842
937
  internal_name: Internal Name
938
+ internationalization: Internationalization
843
939
  invalid_credit_card: Invalid credit card.
844
940
  invalid_exchange_variant: Invalid exchange variant.
845
941
  invalid_payment_provider: Invalid payment provider.
@@ -850,7 +946,9 @@ en:
850
946
  inventory_error_flash_for_insufficient_quantity: An item in your cart has become unavailable.
851
947
  inventory_state: Inventory State
852
948
  is_not_available_to_shipment_address: is not available to shipment address
853
- iso_name: Iso Name
949
+ iso: ISO Alpha-2
950
+ iso3: ISO Alpha-3
951
+ iso_name: ISO Name
854
952
  issued_on: Issued On
855
953
  item: Item
856
954
  item_description: Item Description
@@ -866,10 +964,13 @@ en:
866
964
  items_to_be_reimbursed: Items to be reimbursed
867
965
  items_reimbursed: Items reimbursed
868
966
  join_slack: Join Slack
967
+ language: Language
869
968
  last_name: Last Name
969
+ lastname: Last Name
870
970
  last_name_begins_with: Last Name Begins With
871
971
  learn_more: Learn More
872
972
  lifetime_stats: Lifetime Stats
973
+ limit_usage_to: Limit usage to
873
974
  line_item_adjustments: "Line item adjustments"
874
975
  list: List
875
976
  loading: Loading
@@ -878,26 +979,34 @@ en:
878
979
  location: Location
879
980
  lock: Lock
880
981
  log_entries: "Log Entries"
982
+ log_in: Log in
983
+ log_in_to_continue: Log in to continue
881
984
  logs: "Logs"
882
985
  logged_in_as: Logged in as
883
- logged_in_succesfully: Logged in successfully
986
+ logged_in_successfully: Logged in successfully
884
987
  logged_out: You have been logged out.
885
988
  login: Login
886
989
  login_as_existing: Login as Existing Customer
887
990
  login_failed: Login authentication failed.
888
991
  login_name: Login
992
+ logo: Logo
993
+ logo_alt: Brand logo
889
994
  logout: Logout
890
995
  look_for_similar_items: Look for similar items
891
996
  make_refund: Make refund
892
997
  make_sure_the_above_reimbursement_amount_is_correct: Make sure the above reimbursement amount is correct
998
+ mail_from_address: Mail from address
999
+ mailer_logo: Mailer logo (JPG or PNG images only)
893
1000
  manage_promotion_categories: Manage Promotion Categories
894
1001
  manual_intervention_required: Manual intervention required
895
1002
  manage_variants: Manage Variants
1003
+ master: Master
896
1004
  master_price: Master Price
897
1005
  master_sku: Master SKU
898
1006
  match_choices:
899
1007
  all: All
900
1008
  none: None
1009
+ max: 'Max'
901
1010
  max_items: Max Items
902
1011
  member_since: Member Since
903
1012
  memo: Memo
@@ -906,6 +1015,8 @@ en:
906
1015
  meta_title: Meta Title
907
1016
  metadata: Metadata
908
1017
  mutable: Mutable
1018
+ must_have_one_store: The resource must belong to a store.
1019
+ min: 'Min'
909
1020
  minimal_amount: Minimal Amount
910
1021
  missing_return_authorization: ! 'Missing Return Authorization for %{item_name}.'
911
1022
  month: Month
@@ -916,9 +1027,24 @@ en:
916
1027
  name: Name
917
1028
  name_on_card: Name on card
918
1029
  name_or_sku: Name or SKU (enter at least first 3 characters of product name)
1030
+ nav_bar:
1031
+ admin_panel: Admin Panel
1032
+ change_country: Change country
1033
+ close_menu: Close menu
1034
+ go_to_previous_menu: Go to previous menu
1035
+ log_in: LOG IN
1036
+ log_out: LOG OUT
1037
+ my_account: MY ACCOUNT
1038
+ my_orders: MY ORDERS
1039
+ show_menu: Show menu
1040
+ show_search: Show search
1041
+ show_user_menu: Show user menu
1042
+ sign_up: SIGN UP
1043
+ desktop: Desktop navigation
1044
+ mobile: Mobile navigation
919
1045
  new: New
920
1046
  new_adjustment: New Adjustment
921
- new_customer: New Customer
1047
+ new_customer: Create new account
922
1048
  new_customer_return: New Customer Return
923
1049
  new_country: New Country
924
1050
  new_image: New Image
@@ -957,9 +1083,15 @@ en:
957
1083
  new_zone: New Zone
958
1084
  next: Next
959
1085
  no_actions_added: No actions added
1086
+ no_address_given: No address given
960
1087
  no_available_date_set: No available date set
1088
+ no_country: No country set
961
1089
  no_payment_found: No payment found
1090
+ no_payment_provider_settings_message: This payment provider has no custom settings available
962
1091
  no_pending_payments: No pending payments
1092
+ no_product_available:
1093
+ for_this_quantity: Sorry, it looks like some products are not available in selected quantity.
1094
+ oops: Oops!
963
1095
  no_products_found: No products found
964
1096
  no_results: No results
965
1097
  no_rules_added: No rules added
@@ -978,6 +1110,9 @@ en:
978
1110
  not_found: ! '%{resource} is not found'
979
1111
  note: Note
980
1112
  notice_messages:
1113
+ icon_removed: Image has been successfully removed
1114
+ prices_saved: Prices successfully saved
1115
+ translations_saved: Translations successfully saved
981
1116
  product_cloned: Product has been cloned
982
1117
  product_deleted: Product has been deleted
983
1118
  product_not_cloned: "Product could not be cloned. Reason: %{error}"
@@ -986,10 +1121,13 @@ en:
986
1121
  variant_not_deleted: "Variant could not be deleted. Reason: %{error}"
987
1122
  num_orders: "# Orders"
988
1123
  number: Number
1124
+ ok: OK
989
1125
  on_hand: On Hand
1126
+ only_active_products_can_be_added_to_cart: Draft and archived products cannot be added to cart, please mark the product as active before.
990
1127
  open: Open
991
1128
  open_all_adjustments: Open All Adjustments
992
1129
  option_type: Option Type
1130
+ 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.'
993
1131
  option_type_placeholder: Choose an option type
994
1132
  option_types: Option Types
995
1133
  option_value: Option Value
@@ -1010,17 +1148,25 @@ en:
1010
1148
  order_mailer:
1011
1149
  subtotal: ! 'Subtotal:'
1012
1150
  total: ! 'Order Total:'
1151
+ store_team: '%{store_name} Team'
1013
1152
  cancel_email:
1014
- dear_customer: Dear Customer,
1153
+ dear_customer: Dear %{name},
1015
1154
  instructions: Your order has been CANCELED. Please retain this cancellation information for your records.
1016
1155
  order_summary_canceled: Order %{number} Summary [CANCELED]
1017
1156
  subject: Cancellation of Order
1157
+ thanks: Thank you for your business.
1018
1158
  confirm_email:
1019
- dear_customer: Dear Customer,
1159
+ dear_customer: Dear %{name},
1020
1160
  instructions: Please review and retain the following order information for your records.
1021
1161
  order_summary: Order %{number} Summary
1022
1162
  subject: Order Confirmation
1023
1163
  thanks: Thank you for your business.
1164
+ store_owner_notification_email:
1165
+ heading: New Order Received
1166
+ instructions: You have received a new order.
1167
+ order_summary: Order %{number} Summary
1168
+ subject: '%{store_name} received a new order'
1169
+ thanks: Thank you for your business.
1024
1170
  order_not_found: We couldn't find your order. Please try that action again.
1025
1171
  order_number: Order %{number}
1026
1172
  order_processed_successfully: Your order has been processed successfully
@@ -1037,16 +1183,20 @@ en:
1037
1183
  payment: payment
1038
1184
  resumed: resumed
1039
1185
  returned: returned
1186
+ order_success: Order placed successfully
1187
+ order_success_explain: Your order information will be sent to your email
1040
1188
  order_summary: Order Summary
1041
1189
  order_sure_want_to: Are you sure you want to %{event} this order?
1042
1190
  order_total: Order Total
1043
1191
  order_updated: Order Updated
1044
1192
  orders: Orders
1045
1193
  out_of_stock: Out of Stock
1046
- backordered_info: Selected item is backordered so expect delays
1194
+ backordered_info: Backordered
1047
1195
  backordered_confirm_info: Selected item is backordered so expect delays. Are you sure you want to order it?
1048
1196
  overview: Overview
1049
1197
  package_from: package from
1198
+ page: Page
1199
+ page_not_found: Sorry! Page you are looking can’t be found.
1050
1200
  pagination:
1051
1201
  next_page: next page &raquo;
1052
1202
  previous_page: ! '&laquo; previous page'
@@ -1057,6 +1207,7 @@ en:
1057
1207
  pay: pay
1058
1208
  payment: Payment
1059
1209
  payment_could_not_be_created: Payment could not be created.
1210
+ payment_identifier: Payment Identifier
1060
1211
  payment_information: Payment Information
1061
1212
  payment_method: Payment Method
1062
1213
  payment_methods: Payment Methods
@@ -1064,8 +1215,8 @@ en:
1064
1215
  payment_processing_failed: Payment could not be processed, please check the details you entered
1065
1216
  payment_processor_choose_banner_text: If you need help choosing a payment processor, please visit
1066
1217
  payment_processor_choose_link: our payments page
1218
+ payment_provider_settings: Payment Provider Settings
1067
1219
  payment_state: Payment State
1068
- payment_identifier: Payment Identifier
1069
1220
  payment_states:
1070
1221
  balance_due: balance due
1071
1222
  checkout: checkout
@@ -1076,8 +1227,17 @@ en:
1076
1227
  pending: pending
1077
1228
  processing: processing
1078
1229
  void: void
1230
+ payment_type: Payment type
1079
1231
  payment_updated: Payment Updated
1080
1232
  payments: Payments
1233
+ pdp:
1234
+ checkout: Checkout
1235
+ description: Description
1236
+ details: Details
1237
+ products_included_in_promotion: Products included in the promotion
1238
+ quantity: Quantity
1239
+ view_cart: View cart
1240
+ you_may_also_like: You may also like
1081
1241
  percent: Percent
1082
1242
  percent_per_item: Percent Per Item
1083
1243
  permalink: Permalink
@@ -1087,6 +1247,32 @@ en:
1087
1247
  place_order: Place Order
1088
1248
  please_define_payment_methods: Please define some payment methods first.
1089
1249
  please_enter_reasonable_quantity: Please enter a reasonable quantity.
1250
+ plp:
1251
+ best_selling: BEST SELLING
1252
+ clear_all: CLEAR ALL
1253
+ collection: COLLECTION
1254
+ color: COLOR
1255
+ done: DONE
1256
+ default: DEFAULT
1257
+ filter_by: FILTER BY
1258
+ newest_first: NEWEST FIRST
1259
+ no_results: No results
1260
+ no_results_found: No results found
1261
+ not_found_filters1: We couldn’t find a match for these filters.
1262
+ not_found_filters2: Please try another choose.
1263
+ not_found_text1: We couldn’t find products for '%{keywords}'.
1264
+ not_found_text2: Please try another search.
1265
+ price: price
1266
+ price_high_to_low: PRICE (HIGH - LOW)
1267
+ price_low_to_high: PRICE (LOW - HIGH)
1268
+ name_a_z: NAME (A-Z)
1269
+ name_z_a: NAME (Z-A)
1270
+ result: RESULT
1271
+ results_for: RESULTS FOR
1272
+ size: SIZE
1273
+ sort_by: SORT BY
1274
+ top_sellers: TOP SELLERS
1275
+ type: TYPE
1090
1276
  populate_get_error: Something went wrong. Please try adding the item again.
1091
1277
  powered_by: Powered by
1092
1278
  pre_tax_refund_amount: Pre-Tax Refund Amount
@@ -1095,13 +1281,17 @@ en:
1095
1281
  preferred_reimbursement_type: Preferred Reimbursement Type
1096
1282
  presentation: Presentation
1097
1283
  preview_product: Preview Product
1284
+ preview_taxon: Preview Taxon
1098
1285
  previous: Previous
1099
1286
  previous_state_missing: "n/a"
1287
+ previously_used_card: Previously Used Cards
1100
1288
  price: Price
1289
+ prices: Prices
1101
1290
  price_range: Price Range
1102
1291
  price_sack: Price Sack
1103
1292
  process: Process
1104
1293
  product: Product
1294
+ product_name: Product Name
1105
1295
  product_details: Product Details
1106
1296
  product_has_no_description: This product has no description
1107
1297
  product_not_available_in_this_currency: This product is not available in the selected currency.
@@ -1213,9 +1403,12 @@ en:
1213
1403
  rejected: Rejected
1214
1404
  remember_me: Remember me
1215
1405
  remove: Remove
1406
+ remove_image: Remove Image
1216
1407
  rename: Rename
1217
1408
  report: Report
1218
1409
  reports: Reports
1410
+ required: '*'
1411
+ required_fields: required fields
1219
1412
  resellable: Resellable
1220
1413
  resend: Resend
1221
1414
  reset_password: Reset my password
@@ -1230,6 +1423,7 @@ en:
1230
1423
  authorized: Authorized
1231
1424
  canceled: Canceled
1232
1425
  return_authorization_updated: Return authorization updated
1426
+ return_authorization_canceled: Return authorization canceled
1233
1427
  return_authorizations: Return Authorizations
1234
1428
  return_item_inventory_unit_ineligible: Return item's inventory unit must be shipped
1235
1429
  return_item_inventory_unit_reimbursed: Return item's inventory unit is already reimbursed
@@ -1240,8 +1434,9 @@ en:
1240
1434
  return_items_cannot_be_associated_with_multiple_orders: Return items cannot be associated with multiple orders.
1241
1435
  reimbursement_mailer:
1242
1436
  reimbursement_email:
1437
+ store_team: '%{store_name} Team'
1243
1438
  days_to_send: ! 'You have %{days} days to send back any items awaiting exchange.'
1244
- dear_customer: Dear Customer,
1439
+ dear_customer: Dear %{name},
1245
1440
  exchange_summary: Exchange Summary
1246
1441
  for: for
1247
1442
  instructions: Your reimbursement has been processed.
@@ -1272,24 +1467,39 @@ en:
1272
1467
  say_no: 'No'
1273
1468
  say_yes: 'Yes'
1274
1469
  scope: Scope
1470
+ seed:
1471
+ shipping:
1472
+ categories:
1473
+ default: Default
1474
+ digital: Digital
1275
1475
  search: Search
1476
+ search_by: 'Search by:'
1477
+ search_order_number: Order Number
1276
1478
  search_results: Search results for '%{keywords}'
1277
1479
  searching: Searching
1278
1480
  secure_connection_type: Secure Connection Type
1279
1481
  security_settings: Security Settings
1280
1482
  select: Select
1281
1483
  select_from_prototype: Select From Prototype
1484
+ select_a_date: Select a date
1485
+ select_a_date_range: Select a date range
1282
1486
  select_a_return_authorization_reason: Select a reason for the return authorization
1283
1487
  select_a_stock_location: Select a stock location
1284
1488
  select_a_store_credit_reason: Select a reason for the store credit
1489
+ select_an_option: Select an option
1285
1490
  select_stock: Select stock
1491
+ select_stores: Select Store(s)
1286
1492
  selected_quantity_not_available: ! 'selected of %{item} is not available.'
1287
1493
  send_copy_of_all_mails_to: Send Copy of All Mails To
1288
1494
  send_mails_as: Send Mails As
1495
+ seo: SEO
1496
+ seo_robots: SEO Robots
1497
+ seo_title: SEO Title
1289
1498
  server: Server
1290
1499
  server_error: The server returned an error
1291
1500
  settings: Settings
1292
1501
  ship: Ship
1502
+ ship_to: "Shipping to:"
1293
1503
  ship_address: Ship Address
1294
1504
  ship_total: Ship Total
1295
1505
  shipment: Shipment
@@ -1297,7 +1507,8 @@ en:
1297
1507
  shipment_details: "From %{stock_location} via %{shipping_method}"
1298
1508
  shipment_mailer:
1299
1509
  shipped_email:
1300
- dear_customer: Dear Customer,
1510
+ store_team: '%{store_name} Team'
1511
+ dear_customer: Dear %{name},
1301
1512
  instructions: Your order %{number} has been shipped
1302
1513
  shipment_summary: Shipment Summary for order
1303
1514
  shipping_method: "Shipping method: %{shipping_method}"
@@ -1341,17 +1552,24 @@ en:
1341
1552
  show_discontinued: Show Discontinued
1342
1553
  show_only_complete_orders: Only show complete orders
1343
1554
  show_only_considered_risky: Only show risky orders
1555
+ show_property: Show Property
1344
1556
  show_rate_in_label: Show rate in label
1557
+ show_store_selector:
1558
+ short: Show Store selector
1559
+ long: Display the Store selector in the main nav bar of Storefront and allow users to change Store and Currency
1560
+ sign_up: Sign Up
1345
1561
  sku: SKU
1346
1562
  skus: SKUs
1347
1563
  slug: Slug
1348
1564
  source: Source
1565
+ social: Social
1349
1566
  special_instructions: Special Instructions
1350
1567
  split: Split
1351
1568
  spree_gateway_error_flash_for_checkout: There was a problem with your payment information. Please check your information and try again.
1352
1569
  ssl:
1353
1570
  change_protocol: "Please switch to using HTTP (rather than HTTPS) and retry this request."
1354
1571
  start: Start
1572
+ starting_from: Starts at
1355
1573
  state: State
1356
1574
  state_based: State Based
1357
1575
  states: States
@@ -1385,6 +1603,7 @@ en:
1385
1603
  reimbursed: Reimbursed
1386
1604
  resumed: Resumed
1387
1605
  returned: Returned
1606
+ shipment: Shipment
1388
1607
  shipped: Shipped
1389
1608
  void: Void
1390
1609
  states_required: States Required
@@ -1402,24 +1621,40 @@ en:
1402
1621
  stock_transfer_name: Stock Transfer
1403
1622
  stock_transfer:
1404
1623
  errors:
1405
- must_have_variant: You must add atleast one variant.
1624
+ must_have_variant: You must add at least one variant.
1625
+ variants_unavailable: "Some variants are not available on %{stock}"
1406
1626
  stock_transfers: Stock Transfers
1407
1627
  stop: Stop
1408
1628
  store: Store
1629
+ store_errors:
1630
+ unable_to_create: Unable to create store.
1631
+ unable_to_update: Unable to update store.
1632
+ unable_to_delete: Unable to delete store.
1633
+ store_form:
1634
+ 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)"
1635
+ checkout_zone_help: "Selecting zone will limit to which Countries or States products are shipped.
1636
+ For more information <a href='https://guides.spreecommerce.org/user/configuration/configuring_geography.html#zones' target='_blank' class='alert-link'>please see documentation</a>"
1637
+ 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"
1638
+ social_help: "If you want to link to your social accounts in the footer part of your website please fill below fields"
1639
+ default_country_help: "This is the Country that will be pre-selected on the Checkout Address form"
1640
+ footer_help: "This content is visible in the footer section of your Store"
1641
+ mail_from_address_help: "This is the email which will be the sender of all your Store emails (Order Confirmation, Shipment notification etc)"
1642
+ customer_support_email_help: "This email is visible to your Store visitors in the Footer section"
1643
+ 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"
1644
+ seo_robots: "Please check <a href='https://developers.google.com/search/reference/robots_meta_tag' target='_blank'>this page for more help</a>"
1409
1645
  stores: Stores
1410
- add_store: New Store
1411
1646
  store_credit_name: Store Credit
1412
1647
  store_credit:
1413
1648
  credit: "Credit"
1414
1649
  authorized: "Authorized"
1415
1650
  captured: "Used"
1416
1651
  allocated: "Added"
1417
- apply: Apply Store Credit
1418
- remove: Remove Store Credit
1419
- applicable_amount: "%{amount} in store credit will be applied to this order."
1420
- available_amount: "You have %{amount} in Store Credit available!"
1421
- remaining_amount: "You have %{amount} remaining in your account's Store Credit."
1422
- additional_payment_needed: Select another payment method for the remaining %{amount}.
1652
+ apply: Apply
1653
+ remove: Remove
1654
+ applicable_amount: "<strong>%{amount}</strong> in store credit will be applied to this order."
1655
+ available_amount: "You have <strong>%{amount}</strong> in Store Credit available!"
1656
+ remaining_amount: "You have <strong>%{amount}</strong> remaining in your account's Store Credit."
1657
+ additional_payment_needed: Select another payment method for the remaining <strong>%{amount}</strong>.
1423
1658
  errors:
1424
1659
  cannot_change_used_store_credit: You cannot change a store credit that has already been used
1425
1660
  unable_to_create: Unable to create store credit
@@ -1453,6 +1688,10 @@ en:
1453
1688
  successfully_removed: ! '%{resource} has been successfully removed!'
1454
1689
  successfully_updated: ! '%{resource} has been successfully updated!'
1455
1690
  summary: Summary
1691
+ support: Support
1692
+ supported_currencies: Supported Currencies
1693
+ supported_currencies_long: A comma separated list of supported currencies
1694
+ supported_locales: Supported Locales
1456
1695
  tax: Tax
1457
1696
  tax_included: "Tax (incl.)"
1458
1697
  tax_categories: Tax Categories
@@ -1465,6 +1704,7 @@ en:
1465
1704
  taxon_placeholder: Add a Taxon
1466
1705
  tags: Tags
1467
1706
  tags_placeholder: Add Tags
1707
+ taxon_missing_alt: Category banner description
1468
1708
  taxon_rule:
1469
1709
  choose_taxons: Choose taxons
1470
1710
  label: Order must contain x amount of these taxons
@@ -1476,7 +1716,7 @@ en:
1476
1716
  taxonomy_categories_name: Categories
1477
1717
  taxonomy_edit: Edit taxonomy
1478
1718
  taxonomy_tree_error: The requested change has not been accepted and the tree has been returned to its previous state, please try again.
1479
- taxonomy_tree_instruction: ! '* Right click a child in the tree to access the menu for adding, deleting or sorting a child.'
1719
+ 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.'
1480
1720
  taxons: Taxons
1481
1721
  test: Test
1482
1722
  test_mailer:
@@ -1485,6 +1725,7 @@ en:
1485
1725
  message: If you have received this email, then your email settings are correct.
1486
1726
  subject: Test Mail
1487
1727
  test_mode: Test Mode
1728
+ this_menu_already_has_a_root_item: This Menu already has a root item
1488
1729
  thank_you_for_your_order: Thank you for your business. Please print out a copy of this confirmation page for your records.
1489
1730
  there_are_no_items_for_this_order: There are no items for this order. Please add an item to the order to continue.
1490
1731
  there_were_problems_with_the_following_fields: There were problems with the following fields
@@ -1512,6 +1753,7 @@ en:
1512
1753
  tree: Tree
1513
1754
  type: Type
1514
1755
  type_to_search: Type to search
1756
+ twitter: Twitter
1515
1757
  unable_to_connect_to_gateway: Unable to connect to gateway.
1516
1758
  unable_to_create_reimbursements: Unable to create reimbursements because there are items pending manual intervention.
1517
1759
  under_price: Under %{price}
@@ -1544,9 +1786,14 @@ en:
1544
1786
  value: Value
1545
1787
  variant: Variant
1546
1788
  variant_placeholder: Choose a variant
1789
+ variant_prices_search_placeholder: Search for SKU or variant name...
1547
1790
  variants: Variants
1548
1791
  version: Version
1549
1792
  void: Void
1793
+ we_will_be_back: We will be back.
1794
+ we_are_busy_updating: "We're updating the %{store_name} homepage."
1795
+ we_are_busy_updating_page: "We're busy updating this page."
1796
+ please_check_back_soon: Please check back soon.
1550
1797
  weight: Weight
1551
1798
  what_is_a_cvv: What is a (CVV) Credit Card Code?
1552
1799
  what_is_this: What's This?
@@ -1557,5 +1804,7 @@ en:
1557
1804
  your_order_is_empty_add_product: Your order is empty, please search for and add a product above
1558
1805
  zip: Zip
1559
1806
  zipcode: Zip Code
1807
+ zipcode_required: Zip Code Required
1560
1808
  zone: Zone
1561
1809
  zones: Zones
1810
+ no_limits_zone: No Limits