Skip to content

Commit

Permalink
fix: add user friendly error message for "Forbidden (QuoteRequest is …
Browse files Browse the repository at this point in the history
…not editable)" with reload link (ISREST-943)
  • Loading branch information
shauke committed Feb 20, 2020
1 parent 2e87448 commit 671aad3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/assets/i18n/de_DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -2669,5 +2669,6 @@
"basket.add_quotelineitem.error": "Das Preisangebot kann nicht in den Warenkorb gelegt werden. Es enthält ungültige Produkte.",
"quote.already_in_basket.error": "Das Preisangebot befindet sich bereits im Warenkorb.",
"quote.not_found.error": "Das Preisangebot konnte nicht gefunden werden.",
"basket.add_quote.error": "Das Preisangebot konnte nicht in den Warenkorb gelegt werden."
"basket.add_quote.error": "Das Preisangebot konnte nicht in den Warenkorb gelegt werden.",
"quoterequest.not_editable.error": "Sie haben die Preisanfrage bereits gesendet. <a href=\"javascript:location.reload()\">Laden Sie diese Seite neu</a>, um die Änderungen zu sehen."
}
3 changes: 2 additions & 1 deletion src/assets/i18n/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -2670,5 +2670,6 @@
"basket.add_quotelineitem.error": "The quote cannot be added to the shopping cart. It contains invalid products.",
"quote.already_in_basket.error": "The quote is already in the cart.",
"quote.not_found.error": "The quote could not be found.",
"basket.add_quote.error": "The quote could not be added to the cart."
"basket.add_quote.error": "The quote could not be added to the cart.",
"quoterequest.not_editable.error": "You have already submitted the quote request. Please <a href=\"javascript:location.reload()\">reload</a> this page to view the changes."
}
3 changes: 2 additions & 1 deletion src/assets/i18n/fr_FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -2668,5 +2668,6 @@
"basket.add_quotelineitem.error": "Le devis ne peut pas être ajouté au panier. Il contient des produits non valides.",
"quote.already_in_basket.error": "Le devis se trouve déjà dans le panier.",
"quote.not_found.error": "Le devis n’a pas pu être trouvé.",
"basket.add_quote.error": "Le devis n’a pas pu être ajouté au panier."
"basket.add_quote.error": "Le devis n’a pas pu être ajouté au panier.",
"quoterequest.not_editable.error": "Vous avez déjà soumis la demande de devis. Veuillez <a href=\"javascript:location.reload()\">rafraîchir</a> cette page pour afficher les modifications."
}

0 comments on commit 671aad3

Please sign in to comment.