Fix: newStyleInUsercss -> newStyleAsUsercss
This commit is contained in:
parent
0c292c3150
commit
95e3ba13cd
|
@ -974,7 +974,7 @@
|
|||
"optionsAdvancedContextDelete": {
|
||||
"message": "Add 'Delete' in editor context menu"
|
||||
},
|
||||
"optionsAdvancedNewStyleInUsercss": {
|
||||
"optionsAdvancedNewStyleAsUsercss": {
|
||||
"message": "Write new style as usercss"
|
||||
},
|
||||
"optionsActions": {
|
||||
|
|
|
@ -1354,7 +1354,7 @@ function setStyleMeta(style) {
|
|||
function isUsercss(style) {
|
||||
return (
|
||||
style.usercssData ||
|
||||
!style.id && prefs.get('newStyleInUsercss')
|
||||
!style.id && prefs.get('newStyleAsUsercss')
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ var prefs = new function Prefs() {
|
|||
'show-badge': true, // display text on popup menu icon
|
||||
'disableAll': false, // boss key
|
||||
'exposeIframes': false, // Add 'stylus-iframe' attribute to HTML element in all iframes
|
||||
'newStyleInUsercss': false, // create new style in usercss format
|
||||
'newStyleAsUsercss': false, // create new style in usercss format
|
||||
|
||||
'popup.breadcrumbs': true, // display 'New style' links as URL breadcrumbs
|
||||
'popup.breadcrumbs.usePath': false, // use URL path for 'this URL'
|
||||
|
|
|
@ -124,9 +124,9 @@
|
|||
</span>
|
||||
</label>
|
||||
<label>
|
||||
<span i18n-text="optionsAdvancedNewStyleInUsercss"></span>
|
||||
<span i18n-text="optionsAdvancedNewStyleAsUsercss"></span>
|
||||
<span class="onoffswitch">
|
||||
<input type="checkbox" id="newStyleInUsercss">
|
||||
<input type="checkbox" id="newStyleAsUsercss">
|
||||
<span></span>
|
||||
</span>
|
||||
</label>
|
||||
|
|
Loading…
Reference in New Issue
Block a user