From f72295634b44e574f4137b31ab234b1b730d1e0d Mon Sep 17 00:00:00 2001 From: dcsjapan Date: Sat, 4 Jun 2016 23:30:54 +0900 Subject: [PATCH] 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! --- extensions/lang-english/locale/flarum-tags.yml | 7 ------- extensions/lang-english/locale/validation.yml | 2 ++ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/extensions/lang-english/locale/flarum-tags.yml b/extensions/lang-english/locale/flarum-tags.yml index b7a216c2c..d21809ca7 100644 --- a/extensions/lang-english/locale/flarum-tags.yml +++ b/extensions/lang-english/locale/flarum-tags.yml @@ -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! ## diff --git a/extensions/lang-english/locale/validation.yml b/extensions/lang-english/locale/validation.yml index 6dfcfc885..b4948ebf5 100644 --- a/extensions/lang-english/locale/validation.yml +++ b/extensions/lang-english/locale/validation.yml @@ -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: