diff --git a/_locales/en/messages.json b/_locales/en/messages.json index bf75459a..d8b8cb9f 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -974,7 +974,7 @@ "optionsAdvancedContextDelete": { "message": "Add 'Delete' in editor context menu" }, - "optionsAdvancedNewStyleInUsercss": { + "optionsAdvancedNewStyleAsUsercss": { "message": "Write new style as usercss" }, "optionsActions": { diff --git a/edit/edit.js b/edit/edit.js index 941e8cd6..ce6253f0 100644 --- a/edit/edit.js +++ b/edit/edit.js @@ -1354,7 +1354,7 @@ function setStyleMeta(style) { function isUsercss(style) { return ( style.usercssData || - !style.id && prefs.get('newStyleInUsercss') + !style.id && prefs.get('newStyleAsUsercss') ); } diff --git a/js/prefs.js b/js/prefs.js index c6506cb1..761e0adc 100644 --- a/js/prefs.js +++ b/js/prefs.js @@ -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' diff --git a/options.html b/options.html index d3cffdd1..4528eb73 100644 --- a/options.html +++ b/options.html @@ -124,9 +124,9 @@