Remove example CSS selectors from locale file

This commit is contained in:
Gerhard Schlager 2015-10-11 14:48:37 +02:00
parent 43cd0912e6
commit 11a6b61cbd
4 changed files with 4 additions and 11 deletions

View File

@ -6,11 +6,6 @@ export default Ember.Component.extend({
@computed('field') @computed('field')
inputId(field) { return field.dasherize(); }, inputId(field) { return field.dasherize(); },
@computed('placeholder')
placeholderValue(placeholder) {
return placeholder ? I18n.t(placeholder) : null;
},
@computed('field') @computed('field')
translationKey(field) { return `admin.embedding.${field}`; }, translationKey(field) { return `admin.embedding.${field}`; },

View File

@ -5,7 +5,7 @@
</label> </label>
{{else}} {{else}}
<label for={{inputId}}>{{i18n translationKey}}</label> <label for={{inputId}}>{{i18n translationKey}}</label>
{{input value=value id=inputId placeholder=placeholderValue}} {{input value=value id=inputId placeholder=placeholder}}
{{/if}} {{/if}}
<div class='clearfix'></div> <div class='clearfix'></div>

View File

@ -48,11 +48,11 @@
{{embedding-setting field="embed_whitelist_selector" {{embedding-setting field="embed_whitelist_selector"
value=embedding.embed_whitelist_selector value=embedding.embed_whitelist_selector
placeholder="admin.embedding.whitelist_example"}} placeholder="article, #story, .post"}}
{{embedding-setting field="embed_blacklist_selector" {{embedding-setting field="embed_blacklist_selector"
value=embedding.embed_blacklist_selector value=embedding.embed_blacklist_selector
placeholder="admin.embedding.blacklist_example"}} placeholder=".ad-unit, header"}}
</div> </div>
<div class='embedding-secondary'> <div class='embedding-secondary'>

View File

@ -2595,9 +2595,7 @@ en:
embed_username_key_from_feed: "Key to pull discourse username from feed" embed_username_key_from_feed: "Key to pull discourse username from feed"
embed_truncate: "Truncate the embedded posts" embed_truncate: "Truncate the embedded posts"
embed_whitelist_selector: "CSS selector for elements that are allowed in embeds" 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" 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_enabled: "Import posts via RSS/ATOM"
feed_polling_url: "URL of RSS/ATOM feed to crawl" feed_polling_url: "URL of RSS/ATOM feed to crawl"
save: "Save Embedding Settings" save: "Save Embedding Settings"