code4romania / code4romania/onghub

Microcopy fix: Rewrite all mandatory field validation error messages to a universal format

Open
#486 0 comments 0 reactions 1 assignee Claimed by @anastk-code4 View on GitHub
enhancement :rocket: low-priority
Dominant language
TypeScript
Stars
6
Forks
5
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
For mandatory fields, error messages use the label of the field in their text. This makes it harder to keep them correct and updated when changes are done to the labels of the field, also it means more time for translation options.
Example of current behavior:
image

**Describe the solution you'd like**
All error messages of this type of validation should have an universal format: "This field is mandatory." / "Câmpul este obligatoriu."

**Describe alternatives you've considered**
-

**Additional context**
Changes must be done in the json files, and updates must be noted the Data dictionary

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.