Remove example CSS selectors from locale file
This commit is contained in:
parent
43cd0912e6
commit
11a6b61cbd
|
@ -6,11 +6,6 @@ export default Ember.Component.extend({
|
|||
@computed('field')
|
||||
inputId(field) { return field.dasherize(); },
|
||||
|
||||
@computed('placeholder')
|
||||
placeholderValue(placeholder) {
|
||||
return placeholder ? I18n.t(placeholder) : null;
|
||||
},
|
||||
|
||||
@computed('field')
|
||||
translationKey(field) { return `admin.embedding.${field}`; },
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
</label>
|
||||
{{else}}
|
||||
<label for={{inputId}}>{{i18n translationKey}}</label>
|
||||
{{input value=value id=inputId placeholder=placeholderValue}}
|
||||
{{input value=value id=inputId placeholder=placeholder}}
|
||||
{{/if}}
|
||||
|
||||
<div class='clearfix'></div>
|
||||
|
|
|
@ -48,11 +48,11 @@
|
|||
|
||||
{{embedding-setting field="embed_whitelist_selector"
|
||||
value=embedding.embed_whitelist_selector
|
||||
placeholder="admin.embedding.whitelist_example"}}
|
||||
placeholder="article, #story, .post"}}
|
||||
|
||||
{{embedding-setting field="embed_blacklist_selector"
|
||||
value=embedding.embed_blacklist_selector
|
||||
placeholder="admin.embedding.blacklist_example"}}
|
||||
placeholder=".ad-unit, header"}}
|
||||
</div>
|
||||
|
||||
<div class='embedding-secondary'>
|
||||
|
|
|
@ -2595,9 +2595,7 @@ en:
|
|||
embed_username_key_from_feed: "Key to pull discourse username from feed"
|
||||
embed_truncate: "Truncate the embedded posts"
|
||||
embed_whitelist_selector: "CSS selector for elements that are allowed in embeds"
|
||||
whitelist_example: "article, #story, .post"
|
||||
embed_blacklist_selector: "CSS selector for elements that are removed from embeds"
|
||||
blacklist_example: ".ad-unit, header"
|
||||
feed_polling_enabled: "Import posts via RSS/ATOM"
|
||||
feed_polling_url: "URL of RSS/ATOM feed to crawl"
|
||||
save: "Save Embedding Settings"
|
||||
|
|
Loading…
Reference in New Issue