mirror of
https://github.com/flarum/core.git
synced 2025-08-14 12:24:33 +02:00
Add translations for API error messages
- Adds `:attribute` values for use in `validation.between.numeric`. - Partially solves flarum/core/#973. - Code needs to be revised to use these phrases.
This commit is contained in:
@@ -84,6 +84,13 @@ flarum-tags:
|
|||||||
removed_tags_text: "{username} removed the {tagsRemoved}."
|
removed_tags_text: "{username} removed the {tagsRemoved}."
|
||||||
tags_text: "{tags} tag|{tags} tags"
|
tags_text: "{tags} tag|{tags} tags"
|
||||||
|
|
||||||
|
# Translations in this namespace are used in messages output by the API.
|
||||||
|
api:
|
||||||
|
|
||||||
|
# These translations are used in messages regarding the number of tags assigned to a discussion.
|
||||||
|
primary_tag_count_text: number of primary tags
|
||||||
|
secondary_tag_count_text: number of secondary tags
|
||||||
|
|
||||||
# Translations in this namespace are used by the forum and admin interfaces.
|
# Translations in this namespace are used by the forum and admin interfaces.
|
||||||
lib:
|
lib:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user