mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-31 21:37:16 +00:00
Unify the capital letters of the "Back To Xyz List" buttons and update specs
I decided to use the most frequently used version as the default, which is every word beginning with a capital letter
This commit is contained in:
@@ -531,7 +531,7 @@ en:
|
||||
password_confirmation: Password Confirmation
|
||||
reset_password_token: Reset password token
|
||||
expired: has expired, please request a new one
|
||||
back_to_payments_list: "Back to Payments List"
|
||||
back_to_payments_list: "Back To Payments List"
|
||||
maestro_or_solo_cards: "Maestro/Solo cards"
|
||||
backordered: "Backordered"
|
||||
on_hand: "On Hand"
|
||||
@@ -854,7 +854,7 @@ en:
|
||||
variants:
|
||||
infinity: "Infinity"
|
||||
to_order_tip: "Items made to order do not have a set stock level, such as loaves of bread made fresh to order."
|
||||
back_to_products_list: "Back to products list"
|
||||
back_to_products_list: "Back To Products List"
|
||||
editing_product: "Editing Product"
|
||||
tabs:
|
||||
product_details: "Product Details"
|
||||
@@ -1467,10 +1467,10 @@ en:
|
||||
contact_name: Contact Name
|
||||
edit:
|
||||
editing: 'Settings:'
|
||||
back_link: Back to enterprises list
|
||||
back_link: Back To Enterprises List
|
||||
new:
|
||||
title: New Enterprise
|
||||
back_link: Back to enterprises list
|
||||
back_link: Back To Enterprises List
|
||||
welcome:
|
||||
welcome_title: Welcome to the Open Food Network!
|
||||
welcome_text: You have successfully created a
|
||||
@@ -3365,7 +3365,7 @@ See the %{link} to find out more about %{sitename}'s features and to start using
|
||||
order_cycles_no_permission_to_coordinate_error: "None of your enterprises have permission to coordinate an order cycle"
|
||||
order_cycles_no_permission_to_create_error: "You don't have permission to create an order cycle coordinated by that enterprise"
|
||||
order_cycle_closed: "The order cycle you've selected has just closed. Please try again!"
|
||||
back_to_orders_list: "Back to order list"
|
||||
back_to_orders_list: "Back To Orders List"
|
||||
no_orders_found: "No Orders Found"
|
||||
order_information: "Order Information"
|
||||
new_payment: "New Payment"
|
||||
@@ -4066,7 +4066,7 @@ See the %{link} to find out more about %{sitename}'s features and to start using
|
||||
tax_rate_amount_explanation: "Tax rates are a decimal amount to aid in calculations, (i.e. if the tax rate is 5% then enter 0.05)"
|
||||
included_in_price: "Included in Price"
|
||||
show_rate_in_label: "Show rate in label"
|
||||
back_to_tax_rates_list: "Back to Tax Rates List"
|
||||
back_to_tax_rates_list: "Back To Tax Rates List"
|
||||
|
||||
tax_settings: "Tax Settings"
|
||||
zones: "Zones"
|
||||
@@ -4081,7 +4081,7 @@ See the %{link} to find out more about %{sitename}'s features and to start using
|
||||
iso_name: "ISO Name"
|
||||
states_required: "States Required"
|
||||
editing_country: "Editing Country"
|
||||
back_to_countries_list: "Back to Countries List"
|
||||
back_to_countries_list: "Back To Countries List"
|
||||
|
||||
states: "States"
|
||||
abbreviation: "Abbreviation"
|
||||
@@ -4257,7 +4257,7 @@ See the %{link} to find out more about %{sitename}'s features and to start using
|
||||
continue: "Continue"
|
||||
new:
|
||||
new_return_authorization: "New Return Authorization"
|
||||
back_to_return_authorizations_list: "Back To Return Authorization List"
|
||||
back_to_return_authorizations_list: "Back To Return Authorizations List"
|
||||
continue: "Continue"
|
||||
edit:
|
||||
receive: "receive"
|
||||
@@ -4581,7 +4581,7 @@ See the %{link} to find out more about %{sitename}'s features and to start using
|
||||
total: "Total"
|
||||
billing_address_name: "Name"
|
||||
taxons:
|
||||
back_to_list: "Back to Product Categeory List"
|
||||
back_to_list: "Back To Product Categories List"
|
||||
index:
|
||||
title: "Product Categories"
|
||||
new_taxon: 'New product category'
|
||||
|
||||
@@ -309,7 +309,7 @@ RSpec.describe '
|
||||
describe "editing page" do
|
||||
let!(:product) { create(:simple_product, name: 'a product', supplier_id: supplier2.id) }
|
||||
|
||||
describe "'Back to products list' and 'Cancel' buttons" do
|
||||
describe "'Back To Products List' and 'Cancel' buttons" do
|
||||
context "navigates to edit from the bulk product update page with searched results" do
|
||||
it "should navigate back to the same searched results page" do
|
||||
# Navigating to a searched URL
|
||||
@@ -326,7 +326,7 @@ RSpec.describe '
|
||||
click_link('Edit', href: spree.edit_admin_product_path(product))
|
||||
end
|
||||
|
||||
expect(page).to have_link('Back to products list',
|
||||
expect(page).to have_link('Back To Products List',
|
||||
href: products_page_url)
|
||||
expect(page).to have_link('Cancel',
|
||||
href: products_page_url)
|
||||
@@ -338,7 +338,7 @@ RSpec.describe '
|
||||
# Navigating to a searched URL
|
||||
visit spree.edit_admin_product_path(product)
|
||||
|
||||
expect(page).to have_link('Back to products list',
|
||||
expect(page).to have_link('Back To Products List',
|
||||
href: admin_products_url)
|
||||
expect(page).to have_link('Cancel',
|
||||
href: admin_products_url)
|
||||
|
||||
Reference in New Issue
Block a user