mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-03 22:06:07 +00:00
Rename translation key
So that it can be used for more general purposes.
This commit is contained in:
@@ -47,7 +47,7 @@ export default class extends Controller {
|
||||
console.error(reflex + ":\n " + error);
|
||||
|
||||
// show error message
|
||||
alert(I18n.t("errors.stimulus_reflex_error"));
|
||||
alert(I18n.t("errors.general_error.message"));
|
||||
}
|
||||
|
||||
reflexForbidden(element, reflex, noop, reflexId) {
|
||||
|
||||
@@ -175,14 +175,15 @@ en:
|
||||
message_html: "<p>The change you wanted was rejected. Maybe you tried to change something you don't have access to.
|
||||
<br><h3><a href='/' >Return home</a></h3>
|
||||
</p>"
|
||||
stimulus_reflex_error: "We're sorry, but something went wrong.
|
||||
general_error:
|
||||
message: "We're sorry, but something went wrong.
|
||||
|
||||
|
||||
This might be a temporary problem, so please try again or reload the page.
|
||||
This might be a temporary problem, so please try again or reload the page.
|
||||
|
||||
We record all errors and may be working on a fix.
|
||||
We record all errors and may be working on a fix.
|
||||
|
||||
If the problem persists or is urgent, please contact us."
|
||||
If the problem persists or is urgent, please contact us."
|
||||
stripe:
|
||||
error_code:
|
||||
incorrect_number: "The card number is incorrect."
|
||||
|
||||
Reference in New Issue
Block a user