Skip to content

Commit

Permalink
[1.x] Implement Support for Translatable Validation Attribute Errors …
Browse files Browse the repository at this point in the history
…(#4070)

* chore: add validation translations

* feat: implement ability to translate validation attributes

* chore: change translation key

* style: formatting

* perf: cache `getAttributeNames`

* perf: cache `getAttributeNames`

* chore

* style: formatting
  • Loading branch information
DavideIadeluca authored Nov 20, 2024
1 parent d93ab38 commit 8c62430
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions locale/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,7 @@ flarum-suspend:
You have been unsuspended. You can head back to the forum by clicking on the following link:
{forum_url}
validation:
attributes:
suspendedUntil: suspended until

0 comments on commit 8c62430

Please sign in to comment.