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.hbsindex 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.hbsindex 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-choosertags=searchedTerms.tagsallowCreate=false- filterPlaceholder=nulleveryTag=trueunlimitedTagCount=trueonChange=(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.hbsindex 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_nameseveryTag=trueallowCreate=true- filterPlaceholder="tagging.groups.tags_placeholder"unlimitedTagCount=trueexcludeSynonyms=true}}</section>@@ -20,8 +19,7 @@everyTag=truemaximum=1allowCreate=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.hbsindex 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-choosertags=model.watched_tagsblacklist=selectedTags- filterPlaceholder="select_kit.filter_placeholder"allowCreate=falseeveryTag=trueunlimitedTagCount=true@@ -21,7 +20,6 @@{{tag-choosertags=model.tracked_tagsblacklist=selectedTags- filterPlaceholder="select_kit.filter_placeholder"allowCreate=falseeveryTag=trueunlimitedTagCount=true}}@@ -34,7 +32,6 @@{{tag-choosertags=model.watching_first_post_tagsblacklist=selectedTags- filterPlaceholder="select_kit.filter_placeholder"allowCreate=falseeveryTag=trueunlimitedTagCount=true}}@@ -49,7 +46,6 @@{{tag-choosertags=model.muted_tagsblacklist=selectedTags- filterPlaceholder="select_kit.filter_placeholder"allowCreate=falseeveryTag=trueunlimitedTagCount=true}}diff --git a/config/locales/client.en.yml b/config/locales/client.en.ymlindex 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"