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 93ec028 commit c4ea318
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions locale/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,3 +161,23 @@ flarum-extension-manager:

why_not_modal:
title: Why Won't it Update

validation:
attributes:
minimum_stability: minimum stability
repositories: repositories
repositories.*: repositories
repositories.*.type: repository type
repositories.*.url: repository URL
extension_id: extension ID
update_mode: update mode
package: package
version: version
github_oauth: GitHub OAuth
github_oauth.*: GitHub OAuth
gitlab_oauth: GitLab OAuth
gitlab_oauth.*: GitLab OAuth
gitlab_token: GitLab Token
gitlab_token.*: GitLab Token
bearer: HTTP Bearer
bearer.*: HTTP Bearer

0 comments on commit c4ea318

Please sign in to comment.