Skip to content

A platform for community discussion. Free, open, simple.

FIX: filterPlaceholder is a computed property

Robin Ward72c5a389ebd3
diff --git a/app/assets/javascripts/discourse/app/templates/bulk-tag.hbs b/app/assets/javascripts/discourse/app/templates/bulk-tag.hbs
index 3a54edf758d..4ed48ddc2b6 100644
--- a/app/assets/javascripts/discourse/app/templates/bulk-tag.hbs
+++ b/app/assets/javascripts/discourse/app/templates/bulk-tag.hbs
@@ -1,5 +1,5 @@
<p>{{i18n (concat "topics.bulk." title)}}</p>
-<p>{{tag-chooser filterPlaceholder=null tags=tags categoryId=categoryId}}</p>
+<p>{{tag-chooser tags=tags categoryId=categoryId}}</p>
{{d-button action=action disabled=emptyTags label=(concat "topics.bulk." label)}}
diff --git a/app/assets/javascripts/discourse/app/templates/components/search-advanced-options.hbs b/app/assets/javascripts/discourse/app/templates/components/search-advanced-options.hbs
index 9b46c49f424..334df9f68cf 100644
--- a/app/assets/javascripts/discourse/app/templates/components/search-advanced-options.hbs
+++ b/app/assets/javascripts/discourse/app/templates/components/search-advanced-options.hbs
@@ -48,7 +48,6 @@
{{tag-chooser
tags=searchedTerms.tags
allowCreate=false
- filterPlaceholder=null
everyTag=true
unlimitedTagCount=true
onChange=(action (mut searchedTerms.tags))
diff --git a/app/assets/javascripts/discourse/app/templates/components/tag-groups-form.hbs b/app/assets/javascripts/discourse/app/templates/components/tag-groups-form.hbs
index 0bca43013d5..0fdf7ec3c44 100644
--- a/app/assets/javascripts/discourse/app/templates/components/tag-groups-form.hbs
+++ b/app/assets/javascripts/discourse/app/templates/components/tag-groups-form.hbs
@@ -8,7 +8,6 @@
tags=buffered.tag_names
everyTag=true
allowCreate=true
- filterPlaceholder="tagging.groups.tags_placeholder"
unlimitedTagCount=true
excludeSynonyms=true}}
</section>
@@ -20,8 +19,7 @@
everyTag=true
maximum=1
allowCreate=true
- excludeSynonyms=true
- filterPlaceholder="tagging.groups.parent_tag_placeholder"}}
+ excludeSynonyms=true}}
<span class="description">{{i18n "tagging.groups.parent_tag_description"}}</span>
</section>
diff --git a/app/assets/javascripts/discourse/app/templates/preferences/tags.hbs b/app/assets/javascripts/discourse/app/templates/preferences/tags.hbs
index 9774a0def21..85973fb5fba 100644
--- a/app/assets/javascripts/discourse/app/templates/preferences/tags.hbs
+++ b/app/assets/javascripts/discourse/app/templates/preferences/tags.hbs
@@ -7,7 +7,6 @@
{{tag-chooser
tags=model.watched_tags
blacklist=selectedTags
- filterPlaceholder="select_kit.filter_placeholder"
allowCreate=false
everyTag=true
unlimitedTagCount=true
@@ -21,7 +20,6 @@
{{tag-chooser
tags=model.tracked_tags
blacklist=selectedTags
- filterPlaceholder="select_kit.filter_placeholder"
allowCreate=false
everyTag=true
unlimitedTagCount=true}}
@@ -34,7 +32,6 @@
{{tag-chooser
tags=model.watching_first_post_tags
blacklist=selectedTags
- filterPlaceholder="select_kit.filter_placeholder"
allowCreate=false
everyTag=true
unlimitedTagCount=true}}
@@ -49,7 +46,6 @@
{{tag-chooser
tags=model.muted_tags
blacklist=selectedTags
- filterPlaceholder="select_kit.filter_placeholder"
allowCreate=false
everyTag=true
unlimitedTagCount=true}}
diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml
index da5d17237ca..776fa48bd93 100644
--- a/config/locales/client.en.yml
+++ b/config/locales/client.en.yml
@@ -3355,9 +3355,7 @@ en:
about: "Add tags to groups to manage them more easily."
new: "New Group"
tags_label: "Tags in this group:"
- tags_placeholder: "tags"
parent_tag_label: "Parent tag:"
- parent_tag_placeholder: "Optional"
parent_tag_description: "Tags from this group can't be used unless the parent tag is present."
one_per_topic_label: "Limit one tag per topic from this group"
new_name: "New Tag Group"