1
0
mirror of https://github.com/flarum/core.git synced 2025-08-30 11:30:21 +02:00

[1.x] Implement Support for Translatable Validation Attribute Errors (#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
This commit is contained in:
Davide Iadeluca
2024-11-20 09:51:17 +01:00
committed by GitHub
parent 79e17b3bde
commit 397642ab5a
7 changed files with 112 additions and 0 deletions

View File

@@ -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