Skip to content

Commit

Permalink
clearer error message and clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwardLi-coder committed Aug 15, 2024
1 parent 059dceb commit 4211605
Show file tree
Hide file tree
Showing 46 changed files with 1 addition and 88 deletions.
2 changes: 0 additions & 2 deletions config/locales/ar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2653,7 +2653,6 @@ ar:
spree_admin_single_enterprise_hint: "لمحة: للسماح للأشخاص بالعثور عليك ، قم بتشغيل الرؤية الخاصة بك أسفل"
spree_admin_eg_pickup_from_school: "على سبيل المثال. "البيك اب من المدرسة الابتدائية""
spree_admin_eg_collect_your_order: "على سبيل المثال. "يرجى جمع طلبك من 123 Imaginary St، Northcote ، 3070""
spree_classification_primary_taxon_error: "Taxon %{taxon} هو التصنيف الأساسي %{product} ولا يمكن حذفه"
spree_order_availability_error: "لا يمكن لموزع أو دورة طلب توفير المنتجات في سلة التسوق"
spree_order_populator_error: "لا يمكن لهذا الموزع أو دورة الطلب توفير جميع المنتجات في سلة التسوق. الرجاء اختيار آخر."
spree_order_cycle_error: "الرجاء اختيار دورة الطلب لهذا الطلب."
Expand Down Expand Up @@ -4458,7 +4457,6 @@ ar:
key_cleared: "تم مسح المفتاح"
shipment:
cannot_ready: "لا يمكن تجهيز الشحنة"
invalid_taxonomy_id: "معرف التصنيف غير صالح."
toggle_api_key_view: "إظهار عرض مفتاح API للمستخدم"
activerecord:
models:
Expand Down
2 changes: 0 additions & 2 deletions config/locales/ca.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2658,7 +2658,6 @@ ca:
spree_admin_single_enterprise_hint: "Suggeriment: per permetre que la gent us trobi, activeu la vostra visibilitat"
spree_admin_eg_pickup_from_school: "p. ex: 'Recollida al local del grup de consum'"
spree_admin_eg_collect_your_order: "p. ex: \"Recolliu la vostra comanda al c/Ample, n. 123'"
spree_classification_primary_taxon_error: "El taxó %{taxon} és el principal taxó d'%{product} i no es pot eliminar"
spree_order_availability_error: "La distribuïdora o el cicle de comanda no pot subministrar els productes de la vostra cistella"
spree_order_populator_error: "Aquesta distribuïdora o cicle de comanda no pot subministrar tots els productes de la vostra cistella. Si us plau trieu-ne d'altres."
spree_order_cycle_error: "Seleccioneu un cicle per a aquesta comanda."
Expand Down Expand Up @@ -4326,7 +4325,6 @@ ca:
key_cleared: "La clau esborrada"
shipment:
cannot_ready: "No es pot fer l'enviament."
invalid_taxonomy_id: "Identificador de taxonomia no vàlid."
activerecord:
models:
spree/payment:
Expand Down
2 changes: 0 additions & 2 deletions config/locales/cy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2801,7 +2801,6 @@ cy:
spree_admin_single_enterprise_hint: "Awgrym: Er mwyn caniatáu i bobl ddod o hyd i chi, gofalwch fod pobl yn gallu eich gweld"
spree_admin_eg_pickup_from_school: "e.e. 'Casglu o'r Ysgol Gynradd'"
spree_admin_eg_collect_your_order: "e.e. 'Dylid casglu eich archeb o 123 Ffordd y Don, Pwllheli'"
spree_classification_primary_taxon_error: "Tacson %{taxon} yw prif dacson %{product} ac ni ellir ei ddileu"
spree_order_availability_error: "Ni all dosbarthwr neu gylch archebu gyflenwi'r cynnyrch yn eich basged"
spree_order_populator_error: "Ni all y dosbarthwr neu'r cylch archebu dan sylw gyflenwi'r holl gynnyrch yn eich basged. Dewiswch un arall."
spree_order_cycle_error: "Dewiswch gylch archebu ar gyfer archeb hwn."
Expand Down Expand Up @@ -4593,7 +4592,6 @@ cy:
key_cleared: "Cliriwyd yr Allwedd"
shipment:
cannot_ready: "Methu â pharatoi'r llwyth."
invalid_taxonomy_id: "Tacsonomeg id. annilys"
toggle_api_key_view: "Dangos gwedd yr allwedd API ar gyfer y defnyddiwr."
activerecord:
models:
Expand Down
2 changes: 0 additions & 2 deletions config/locales/de_CH.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2576,7 +2576,6 @@ de_CH:
spree_admin_single_enterprise_hint: "Tipp: Damit andere Nutzer Sie finden können, aktivieren Sie Ihre Sichtbarkeit unter:"
spree_admin_eg_pickup_from_school: "z. B. \"Abholung von der Grundschule\""
spree_admin_eg_collect_your_order: "z. B. 'Bitte holen Sie Ihre Bestellung in der Gartenstrasse 123 in 30701 Nordwestheim ab.'"
spree_classification_primary_taxon_error: "Kategorie %{taxon} ist die primäre Kategorie von %{product} und kann nicht gelöscht werden."
spree_order_availability_error: "Verteilstelle oder Bestellzyklus kann die Produkte in Ihrem Warenkorb nicht liefern"
spree_order_populator_error: "Diese Verteilstelle oder dieser Bestellzyklus kann nicht alle Produkte aus Ihrem Warenkorb liefern. Bitte ändern Sie Ihre Auswahl."
spree_order_cycle_error: "Bitte wählen Sie einen Bestellzyklus für diese Bestellung aus."
Expand Down Expand Up @@ -4223,7 +4222,6 @@ de_CH:
key_cleared: "Schlüssel gelöscht"
shipment:
cannot_ready: "Versand nicht möglich."
invalid_taxonomy_id: "Ungültige Kategorie-ID"
activerecord:
models:
spree/payment:
Expand Down
2 changes: 0 additions & 2 deletions config/locales/de_DE.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2781,7 +2781,6 @@ de_DE:
spree_admin_single_enterprise_hint: "Tipp: Damit andere Nutzer Sie finden können, aktivieren Sie Ihre Sichtbarkeit unter:"
spree_admin_eg_pickup_from_school: "z. B. \"Abholung von der Grundschule\""
spree_admin_eg_collect_your_order: "z. B. 'Bitte holen Sie Ihre Bestellung in der Gartenstraße 123 in 30701 Nordwestheim ab.'"
spree_classification_primary_taxon_error: "Kategorie %{taxon} ist die primäre Kategorie von %{product} und kann nicht gelöscht werden."
spree_order_availability_error: "Verteilstelle oder Bestellzyklus kann die Produkte in Ihrem Warenkorb nicht liefern"
spree_order_populator_error: "Diese Verteilstelle oder dieser Bestellzyklus kann nicht alle Produkte aus Ihrem Warenkorb liefern. Bitte ändern Sie Ihre Auswahl."
spree_order_cycle_error: "Bitte wählen Sie einen Bestellzyklus für diese Bestellung aus."
Expand Down Expand Up @@ -4520,7 +4519,6 @@ de_DE:
key_cleared: "Schlüssel gelöscht"
shipment:
cannot_ready: "Versand nicht möglich."
invalid_taxonomy_id: "Ungültige Kategorie-ID"
toggle_api_key_view: "API-Schlüssel dem Benutzer anzeigen"
activerecord:
models:
Expand Down
2 changes: 0 additions & 2 deletions config/locales/el.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2859,7 +2859,6 @@ el:
spree_admin_single_enterprise_hint: "Υπόδειξη: Για να επιτρέψεις στους άλλους να σε βρουν, ενεργοποίησε την ορατότητά σου κάτω"
spree_admin_eg_pickup_from_school: "π.χ. \"Παραλαβή από το Δημοτικό Σχολείο\""
spree_admin_eg_collect_your_order: "π.χ. "Παρακαλώ συλλέξτε την παραγγελία σας από 123 Imaginary St, Northcote, 3070""
spree_classification_primary_taxon_error: "Το Taxon %{taxon} είναι το κύριο ταξινομικό του %{product} και δεν μπορεί να διαγραφεί"
spree_order_availability_error: "Ο κύκλος διανομής ή παραγγελίας δεν μπορεί να παρέχει τα προϊόντα στο καλάθι σας"
spree_order_populator_error: "Αυτός ο κύκλος διανομέων ή παραγγελιών δεν μπορεί να παρέχει όλα τα προϊόντα στο καλάθι σας. Επιλέξτε άλλο."
spree_order_cycle_error: "Επιλέξτε έναν κύκλο παραγγελιών για αυτήν την παραγγελία."
Expand Down Expand Up @@ -4599,7 +4598,6 @@ el:
key_cleared: "Το κλειδί διαγράφηκε"
shipment:
cannot_ready: "Δεν είναι έτοιμη η αποστολή."
invalid_taxonomy_id: "Μη έγκυρο αναγνωριστικό ταξινόμησης."
toggle_api_key_view: "Εμφάνιση προβολής κλειδιού API για τον χρήστη"
activerecord:
models:
Expand Down
4 changes: 1 addition & 3 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3043,7 +3043,6 @@ See the %{link} to find out more about %{sitename}'s features and to start using
spree_admin_single_enterprise_hint: "Hint: To allow people to find you, turn on your visibility under"
spree_admin_eg_pickup_from_school: "eg. 'Pick-up from Primary School'"
spree_admin_eg_collect_your_order: "eg. 'Please collect your order from 123 Imaginary St, Northcote, 3070'"
spree_classification_primary_taxon_error: "Taxon %{taxon} is the primary taxon of %{product} and cannot be deleted"
spree_order_availability_error: "Distributor or order cycle cannot supply the products in your cart"
spree_order_populator_error: "That distributor or order cycle can't supply all the products in your cart. Please choose another."
spree_order_cycle_error: "Please choose an order cycle for this order."
Expand Down Expand Up @@ -4592,7 +4591,7 @@ See the %{link} to find out more about %{sitename}'s features and to start using
destroy:
delete_taxon:
success: "Successfully deleted the product category"
error: "Unable to delete the product category"
error: "Unable to delete the product category due to assigned products"
form:
name: Name
meta_title: Meta Title
Expand Down Expand Up @@ -4836,7 +4835,6 @@ See the %{link} to find out more about %{sitename}'s features and to start using
key_cleared: "Key cleared"
shipment:
cannot_ready: "Cannot ready shipment."
invalid_taxonomy_id: "Invalid taxonomy id."
toggle_api_key_view: "Show API key view for user"
activerecord:
models:
Expand Down
2 changes: 0 additions & 2 deletions config/locales/en_AU.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2335,7 +2335,6 @@ en_AU:
spree_admin_single_enterprise_hint: "Hint: To allow people to find you, turn on your visibility under"
spree_admin_eg_pickup_from_school: "eg. 'Pick-up from Primary School'"
spree_admin_eg_collect_your_order: "eg. 'Please collect your order from 123 Imaginary St, Northcote, 3070'"
spree_classification_primary_taxon_error: "Taxon %{taxon} is the primary taxon of %{product} and cannot be deleted"
spree_order_availability_error: "Distributor or order cycle cannot supply the products in your cart"
spree_order_populator_error: "That distributor or order cycle can't supply all the products in your cart. Please choose another."
spree_order_populator_availability_error: "That product is not available from the chosen distributor or order cycle."
Expand Down Expand Up @@ -3840,7 +3839,6 @@ en_AU:
key_cleared: "Key cleared"
shipment:
cannot_ready: "Cannot ready shipment."
invalid_taxonomy_id: "Invalid taxonomy id."
activerecord:
models:
spree/payment:
Expand Down
1 change: 0 additions & 1 deletion config/locales/en_BE.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2194,7 +2194,6 @@ en_BE:
spree_admin_single_enterprise_hint: "Hint: To allow people to find you, turn on your visibility under"
spree_admin_eg_pickup_from_school: "eg. 'Pick-up from Primary School'"
spree_admin_eg_collect_your_order: "eg. 'Please collect your order from 123 Imaginary St, Northcote, 3070'"
spree_classification_primary_taxon_error: "Taxon %{taxon} is the primary taxon of %{product} and cannot be deleted"
spree_order_availability_error: "Distributor or order cycle cannot supply the products in your cart"
spree_order_populator_error: "That distributor or order cycle can't supply all the products in your cart. Please choose another."
spree_order_populator_availability_error: "That product is not available from the chosen distributor or order cycle."
Expand Down
2 changes: 0 additions & 2 deletions config/locales/en_CA.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2893,7 +2893,6 @@ en_CA:
spree_admin_single_enterprise_hint: "Hint: To allow people to find you, turn on your visibility under"
spree_admin_eg_pickup_from_school: "eg. 'Pick-up from Primary School'"
spree_admin_eg_collect_your_order: "eg. 'Please collect your order from 123 Imaginary St, Your City'"
spree_classification_primary_taxon_error: "Taxon %{taxon} is the primary taxon of %{product} and cannot be deleted"
spree_order_availability_error: "Distributor or order cycle cannot supply the products in your cart"
spree_order_populator_error: "That distributor or order cycle can't supply all the products in your cart. Please choose another."
spree_order_cycle_error: "Please choose an order cycle for this order"
Expand Down Expand Up @@ -4643,7 +4642,6 @@ en_CA:
key_cleared: "Key cleared"
shipment:
cannot_ready: "Cannot ready shipment."
invalid_taxonomy_id: "Invalid taxonomy id."
toggle_api_key_view: "Show API key view for user"
activerecord:
models:
Expand Down
1 change: 0 additions & 1 deletion config/locales/en_DE.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2203,7 +2203,6 @@ en_DE:
spree_admin_single_enterprise_hint: "Hint: To allow people to find you, turn on your visibility under"
spree_admin_eg_pickup_from_school: "eg. 'Pick-up from Primary School'"
spree_admin_eg_collect_your_order: "eg. 'Please collect your order from 123 Imaginary St, Northcote, 3070'"
spree_classification_primary_taxon_error: "Taxon %{taxon} is the primary taxon of %{product} and cannot be deleted"
spree_order_availability_error: "Distributor or order cycle cannot supply the products in your cart"
spree_order_populator_error: "That distributor or order cycle can't supply all the products in your cart. Please choose another."
spree_order_populator_availability_error: "That product is not available from the chosen distributor or order cycle."
Expand Down
2 changes: 0 additions & 2 deletions config/locales/en_FR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2886,7 +2886,6 @@ en_FR:
spree_admin_single_enterprise_hint: "Hint: To allow people to find you, turn on your visibility under"
spree_admin_eg_pickup_from_school: "eg. 'Pick-up from Primary School'"
spree_admin_eg_collect_your_order: "eg. 'Please collect your order from 123 Imaginary St, Northcote, 3070'"
spree_classification_primary_taxon_error: "Taxon %{taxon} is the primary taxon of %{product} and cannot be deleted"
spree_order_availability_error: "Distributor or order cycle cannot supply the products in your cart"
spree_order_populator_error: "That distributor or order cycle can't supply all the products in your cart. Please choose another."
spree_order_cycle_error: "Please choose an order cycle for this order."
Expand Down Expand Up @@ -4637,7 +4636,6 @@ en_FR:
key_cleared: "Key cleared"
shipment:
cannot_ready: "Cannot ready shipment."
invalid_taxonomy_id: "Invalid taxonomy id."
toggle_api_key_view: "Show API key view for user"
activerecord:
models:
Expand Down
2 changes: 0 additions & 2 deletions config/locales/en_GB.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2841,7 +2841,6 @@ en_GB:
spree_admin_single_enterprise_hint: "Hint: To allow people to find you, turn on your visibility under"
spree_admin_eg_pickup_from_school: "eg. 'Pick-up from Primary School'"
spree_admin_eg_collect_your_order: "eg. 'Please collect your order from 123 Imaginary St, Newcastle, NE1 1AA'"
spree_classification_primary_taxon_error: "Taxon %{taxon} is the primary taxon of %{product} and cannot be deleted"
spree_order_availability_error: "Distributor or order cycle cannot supply the products in your cart"
spree_order_populator_error: "That distributor or order cycle can't supply all the products in your cart. Please choose another."
spree_order_cycle_error: "Please choose an order cycle for this order."
Expand Down Expand Up @@ -4596,7 +4595,6 @@ en_GB:
key_cleared: "Key cleared"
shipment:
cannot_ready: "Cannot ready shipment."
invalid_taxonomy_id: "Invalid taxonomy id."
toggle_api_key_view: "Show API key view for user"
activerecord:
models:
Expand Down
2 changes: 0 additions & 2 deletions config/locales/en_IE.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2838,7 +2838,6 @@ en_IE:
spree_admin_single_enterprise_hint: "Hint: To allow people to find you, turn on your visibility under"
spree_admin_eg_pickup_from_school: "eg. 'Pick-up from Primary School'"
spree_admin_eg_collect_your_order: "eg. 'Please collect your order from 123 Imaginary St, Dublin, D01 XXXX'"
spree_classification_primary_taxon_error: "Taxon %{taxon} is the primary taxon of %{product} and cannot be deleted"
spree_order_availability_error: "Distributor or order cycle cannot supply the products in your cart"
spree_order_populator_error: "That distributor or order cycle can't supply all the products in your cart. Please choose another."
spree_order_cycle_error: "Please choose an order cycle for this order."
Expand Down Expand Up @@ -4593,7 +4592,6 @@ en_IE:
key_cleared: "Key cleared"
shipment:
cannot_ready: "Cannot ready shipment."
invalid_taxonomy_id: "Invalid taxonomy id."
toggle_api_key_view: "Show API key view for user"
activerecord:
models:
Expand Down
2 changes: 0 additions & 2 deletions config/locales/en_IN.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2273,7 +2273,6 @@ en_IN:
spree_admin_single_enterprise_hint: "Hint: To allow people to find you, turn on your visibility under"
spree_admin_eg_pickup_from_school: "eg. 'Pick-up from Primary School'"
spree_admin_eg_collect_your_order: "eg. 'Please collect your order from 123 Imaginary St, Newcastle, NE1 1AA'"
spree_classification_primary_taxon_error: "Taxon %{taxon} is the primary taxon of %{product} and cannot be deleted"
spree_order_availability_error: "Distributor or order cycle cannot supply the products in your cart"
spree_order_populator_error: "That distributor or order cycle can't supply all the products in your cart. Please choose another."
spree_order_populator_availability_error: "That product is not available from the chosen distributor or order cycle."
Expand Down Expand Up @@ -3735,7 +3734,6 @@ en_IN:
key_cleared: "Key cleared"
shipment:
cannot_ready: "Cannot ready shipment."
invalid_taxonomy_id: "Invalid taxonomy id."
unit: unit
components:
search_input:
Expand Down
2 changes: 0 additions & 2 deletions config/locales/en_NZ.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2566,7 +2566,6 @@ en_NZ:
spree_admin_single_enterprise_hint: "Hint: To allow people to find you, turn on your visibility under"
spree_admin_eg_pickup_from_school: "eg. 'Pick-up from Primary School'"
spree_admin_eg_collect_your_order: "eg. 'Please collect your order from 123 Imaginary St, Northcote, 3070'"
spree_classification_primary_taxon_error: "Taxon %{taxon} is the primary taxon of %{product} and cannot be deleted"
spree_order_availability_error: "Distributor or order cycle cannot supply the products in your cart"
spree_order_populator_error: "That distributor or order cycle can't supply all the products in your cart. Please choose another."
spree_order_cycle_error: "Please choose an order cycle for this order."
Expand Down Expand Up @@ -4127,7 +4126,6 @@ en_NZ:
key_cleared: "Key cleared"
shipment:
cannot_ready: "Cannot ready shipment."
invalid_taxonomy_id: "Invalid taxonomy id."
activerecord:
models:
spree/payment:
Expand Down
2 changes: 0 additions & 2 deletions config/locales/en_PH.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2244,7 +2244,6 @@ en_PH:
spree_admin_single_enterprise_hint: "Hint: To allow people to find you, turn on your visibility under"
spree_admin_eg_pickup_from_school: "eg. 'Pick-up from Primary School'"
spree_admin_eg_collect_your_order: "eg. 'Please collect your order from 123 Kapayapaan St., Tobias Fornier, Antique 5716'"
spree_classification_primary_taxon_error: "Taxon %{taxon} is the primary taxon of %{product} and cannot be deleted"
spree_order_availability_error: "Distributor or order cycle cannot supply the products in your cart"
spree_order_populator_error: "That distributor or order cycle can't supply all the products in your cart. Please choose another."
spree_order_populator_availability_error: "That product is not available from the chosen distributor or order cycle."
Expand Down Expand Up @@ -3660,7 +3659,6 @@ en_PH:
key_cleared: "Key cleared"
shipment:
cannot_ready: "Cannot ready shipment."
invalid_taxonomy_id: "Invalid category ID."
unit: unit
components:
search_input:
Expand Down
2 changes: 0 additions & 2 deletions config/locales/en_US.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2518,7 +2518,6 @@ en_US:
spree_admin_single_enterprise_hint: "Hint: To allow people to find you, turn on your visibility under"
spree_admin_eg_pickup_from_school: "eg. 'Pick up at Community Center'"
spree_admin_eg_collect_your_order: "eg. 'Please collect your order from 123 High Street, Asheville, NC 22806'"
spree_classification_primary_taxon_error: "Taxon %{taxon} is the primary taxon of %{product} and cannot be deleted"
spree_order_availability_error: "Distributor or order cycle cannot supply the products in your cart"
spree_order_populator_error: "That distributor or order cycle can't supply all the products in your cart. Please choose another."
spree_order_cycle_error: "Please choose an order cycle for this order."
Expand Down Expand Up @@ -4147,7 +4146,6 @@ en_US:
key_cleared: "Key cleared"
shipment:
cannot_ready: "Cannot ready shipment."
invalid_taxonomy_id: "Invalid taxonomy id."
activerecord:
models:
spree/payment:
Expand Down
Loading

0 comments on commit 4211605

Please sign in to comment.