You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please complete the following fields as applicable:
What version of the DMPRoadmap code are you running? (e.g. v2.2.0)
v4.1.1
Expected behaviour:
Validation messages should render in the same language that is selected within the app.
Actual behaviour:
Validation messages where a message: argument is provided (e.g. validates :text, presence: { message: QUESTION_TEXT_PRESENCE_MESSAGE } only appear to render in the default language.
When an attribute name is included in a validation message, its name is always in the default language.
Steps to reproduce:
Select a non-default language
Perform any action that triggers a validation messages where a message: argument is provided
Observe the rendered validation message.
Screenshots of some rendered validation messages when the 'Français (CA)' language is selected:
The text was updated successfully, but these errors were encountered:
Please complete the following fields as applicable:
What version of the DMPRoadmap code are you running? (e.g. v2.2.0)
Expected behaviour:
Actual behaviour:
message:
argument is provided (e.g.validates :text, presence: { message: QUESTION_TEXT_PRESENCE_MESSAGE }
only appear to render in the default language.Steps to reproduce:
message:
argument is providedScreenshots of some rendered validation messages when the 'Français (CA)' language is selected:
The text was updated successfully, but these errors were encountered: