Localize uniqueness validation message

Otherwise it'd say "Parent already taken" instead of "Target already smiled"
This commit is contained in:
Andreas Nedbal 2024-03-19 22:04:06 +01:00 committed by Andreas Nedbal
parent 536d50f53d
commit 997953565f
1 changed files with 7 additions and 0 deletions

View File

@ -54,6 +54,8 @@ en:
success_text: "Success text colour"
warning_color: "Warning colour"
warning_text: "Warning text colour"
reaction:
parent_id: "Target"
user:
created_at: "Account created at"
current_password: "Current password"
@ -107,6 +109,11 @@ en:
errors:
messages:
invalid_url: "does not look like a valid URL"
models:
reaction:
attributes:
parent_id:
taken: "already smiled"
helpers:
submit:
user: