1
0
mirror of https://github.com/flarum/core.git synced 2025-08-15 12:54:47 +02:00

Move attributes to validation

- Moves attributes added in #79 to `validation.yml`.
- See flarum/core#973.
- `SaveTagsToDatabase.php` need to be revised to use these phrases.
- Caution: key names have been changed as well!
This commit is contained in:
dcsjapan
2016-06-04 23:30:54 +09:00
parent 619698f755
commit f72295634b
2 changed files with 2 additions and 7 deletions

View File

@@ -90,13 +90,6 @@ flarum-tags:
# This translation is displayed in place of the name of a tag that's been deleted.
deleted_tag_text: Deleted
# 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
##
# REUSED TRANSLATIONS - These keys should not be used directly in code!
##

View File

@@ -71,6 +71,8 @@ validation:
content: content
name_singular: singular name
name_plural: plural name
tag_count_primary: number of primary tags
tag_count_secondary: number of secondary tags
custom:
username: