Rephrase the misleading "only edited styles" option
This commit is contained in:
parent
af365568fb
commit
50ec32a7b2
|
@ -7,10 +7,6 @@
|
||||||
"message": "default",
|
"message": "default",
|
||||||
"description": "Default CodeMirror CSS theme option on the edit style page"
|
"description": "Default CodeMirror CSS theme option on the edit style page"
|
||||||
},
|
},
|
||||||
"manageOnlyEdited": {
|
|
||||||
"message": "Only edited styles",
|
|
||||||
"description": "Checkbox to show only locally edited styles"
|
|
||||||
},
|
|
||||||
"exportLabel": {
|
"exportLabel": {
|
||||||
"message": "Export",
|
"message": "Export",
|
||||||
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
|
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
|
||||||
|
|
|
@ -7,10 +7,6 @@
|
||||||
"message": "výchozí",
|
"message": "výchozí",
|
||||||
"description": "Default CodeMirror CSS theme option on the edit style page"
|
"description": "Default CodeMirror CSS theme option on the edit style page"
|
||||||
},
|
},
|
||||||
"manageOnlyEdited": {
|
|
||||||
"message": "Pouze upravené styly.",
|
|
||||||
"description": "Checkbox to show only locally edited styles"
|
|
||||||
},
|
|
||||||
"exportLabel": {
|
"exportLabel": {
|
||||||
"message": "Exportovat",
|
"message": "Exportovat",
|
||||||
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
|
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
|
||||||
|
|
|
@ -11,10 +11,6 @@
|
||||||
"message": "Styles Exportieren",
|
"message": "Styles Exportieren",
|
||||||
"description": ""
|
"description": ""
|
||||||
},
|
},
|
||||||
"manageOnlyEdited": {
|
|
||||||
"message": "Nur bearbeitete Styles",
|
|
||||||
"description": "Checkbox to show only locally edited styles"
|
|
||||||
},
|
|
||||||
"optionsUpdateInterval": {
|
"optionsUpdateInterval": {
|
||||||
"message": "Automatischer Update- und Installations-Intervall (in Stunden)",
|
"message": "Automatischer Update- und Installations-Intervall (in Stunden)",
|
||||||
"description": ""
|
"description": ""
|
||||||
|
|
|
@ -7,10 +7,6 @@
|
||||||
"message": "default",
|
"message": "default",
|
||||||
"description": "Default CodeMirror CSS theme option on the edit style page"
|
"description": "Default CodeMirror CSS theme option on the edit style page"
|
||||||
},
|
},
|
||||||
"manageOnlyEdited": {
|
|
||||||
"message": "Μόνο επεξεργασμενα στυλ",
|
|
||||||
"description": "Checkbox to show only locally edited styles"
|
|
||||||
},
|
|
||||||
"exportLabel": {
|
"exportLabel": {
|
||||||
"message": "Export",
|
"message": "Export",
|
||||||
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
|
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
|
||||||
|
|
|
@ -322,9 +322,13 @@
|
||||||
"message": "Only enabled styles",
|
"message": "Only enabled styles",
|
||||||
"description": "Checkbox to show only enabled styles"
|
"description": "Checkbox to show only enabled styles"
|
||||||
},
|
},
|
||||||
"manageOnlyEdited": {
|
"manageOnlyLocal": {
|
||||||
"message": "Only edited styles",
|
"message": "Only locally created styles",
|
||||||
"description": "Checkbox to show only locally edited styles"
|
"description": "Checkbox to show only locally created styles i.e. non-updatable"
|
||||||
|
},
|
||||||
|
"manageOnlyLocalTooltip": {
|
||||||
|
"message": "(the styles not installed through a userstyles.org page)",
|
||||||
|
"description": "Tooltip for the checkbox to show only locally created styles i.e. non-updatable"
|
||||||
},
|
},
|
||||||
"manageOnlyUpdates": {
|
"manageOnlyUpdates": {
|
||||||
"message": "Only with updates or issues",
|
"message": "Only with updates or issues",
|
||||||
|
|
|
@ -11,10 +11,6 @@
|
||||||
"message": "Exportar estilos",
|
"message": "Exportar estilos",
|
||||||
"description": ""
|
"description": ""
|
||||||
},
|
},
|
||||||
"manageOnlyEdited": {
|
|
||||||
"message": "Sólo estilos editados",
|
|
||||||
"description": "Checkbox to show only locally edited styles"
|
|
||||||
},
|
|
||||||
"optionsUpdateInterval": {
|
"optionsUpdateInterval": {
|
||||||
"message": "Buscar e instalar automáticamente todas las actualizaciones disponibles de estilos de usuario (en horas)",
|
"message": "Buscar e instalar automáticamente todas las actualizaciones disponibles de estilos de usuario (en horas)",
|
||||||
"description": ""
|
"description": ""
|
||||||
|
|
|
@ -7,10 +7,6 @@
|
||||||
"message": "default",
|
"message": "default",
|
||||||
"description": "Default CodeMirror CSS theme option on the edit style page"
|
"description": "Default CodeMirror CSS theme option on the edit style page"
|
||||||
},
|
},
|
||||||
"manageOnlyEdited": {
|
|
||||||
"message": "Only edited styles",
|
|
||||||
"description": "Checkbox to show only locally edited styles"
|
|
||||||
},
|
|
||||||
"exportLabel": {
|
"exportLabel": {
|
||||||
"message": "Export",
|
"message": "Export",
|
||||||
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
|
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
|
||||||
|
|
|
@ -7,10 +7,6 @@
|
||||||
"message": "défaut",
|
"message": "défaut",
|
||||||
"description": "Default CodeMirror CSS theme option on the edit style page"
|
"description": "Default CodeMirror CSS theme option on the edit style page"
|
||||||
},
|
},
|
||||||
"manageOnlyEdited": {
|
|
||||||
"message": "Only edited styles",
|
|
||||||
"description": "Checkbox to show only locally edited styles"
|
|
||||||
},
|
|
||||||
"exportLabel": {
|
"exportLabel": {
|
||||||
"message": "Exportez",
|
"message": "Exportez",
|
||||||
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
|
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
|
||||||
|
|
|
@ -7,10 +7,6 @@
|
||||||
"message": "default",
|
"message": "default",
|
||||||
"description": "Default CodeMirror CSS theme option on the edit style page"
|
"description": "Default CodeMirror CSS theme option on the edit style page"
|
||||||
},
|
},
|
||||||
"manageOnlyEdited": {
|
|
||||||
"message": "Only edited styles",
|
|
||||||
"description": "Checkbox to show only locally edited styles"
|
|
||||||
},
|
|
||||||
"exportLabel": {
|
"exportLabel": {
|
||||||
"message": "Export",
|
"message": "Export",
|
||||||
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
|
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
|
||||||
|
|
|
@ -7,10 +7,6 @@
|
||||||
"message": "default",
|
"message": "default",
|
||||||
"description": "Default CodeMirror CSS theme option on the edit style page"
|
"description": "Default CodeMirror CSS theme option on the edit style page"
|
||||||
},
|
},
|
||||||
"manageOnlyEdited": {
|
|
||||||
"message": "Only edited styles",
|
|
||||||
"description": "Checkbox to show only locally edited styles"
|
|
||||||
},
|
|
||||||
"exportLabel": {
|
"exportLabel": {
|
||||||
"message": "Export",
|
"message": "Export",
|
||||||
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
|
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
|
||||||
|
|
|
@ -7,10 +7,6 @@
|
||||||
"message": "standaard",
|
"message": "standaard",
|
||||||
"description": "Default CodeMirror CSS theme option on the edit style page"
|
"description": "Default CodeMirror CSS theme option on the edit style page"
|
||||||
},
|
},
|
||||||
"manageOnlyEdited": {
|
|
||||||
"message": "Alleen bewerkte stijlen",
|
|
||||||
"description": "Checkbox to show only locally edited styles"
|
|
||||||
},
|
|
||||||
"exportLabel": {
|
"exportLabel": {
|
||||||
"message": "Exporteren",
|
"message": "Exporteren",
|
||||||
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
|
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
|
||||||
|
|
|
@ -7,10 +7,6 @@
|
||||||
"message": "default",
|
"message": "default",
|
||||||
"description": "Default CodeMirror CSS theme option on the edit style page"
|
"description": "Default CodeMirror CSS theme option on the edit style page"
|
||||||
},
|
},
|
||||||
"manageOnlyEdited": {
|
|
||||||
"message": "Only edited styles",
|
|
||||||
"description": "Checkbox to show only locally edited styles"
|
|
||||||
},
|
|
||||||
"exportLabel": {
|
"exportLabel": {
|
||||||
"message": "Export",
|
"message": "Export",
|
||||||
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
|
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
|
||||||
|
|
|
@ -7,10 +7,6 @@
|
||||||
"message": "по-умолчанию",
|
"message": "по-умолчанию",
|
||||||
"description": "Default CodeMirror CSS theme option on the edit style page"
|
"description": "Default CodeMirror CSS theme option on the edit style page"
|
||||||
},
|
},
|
||||||
"manageOnlyEdited": {
|
|
||||||
"message": "Только отредактированные стили",
|
|
||||||
"description": "Checkbox to show only locally edited styles"
|
|
||||||
},
|
|
||||||
"exportLabel": {
|
"exportLabel": {
|
||||||
"message": "Экспорт",
|
"message": "Экспорт",
|
||||||
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
|
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
|
||||||
|
|
|
@ -7,10 +7,6 @@
|
||||||
"message": "подразумевано",
|
"message": "подразумевано",
|
||||||
"description": "Default CodeMirror CSS theme option on the edit style page"
|
"description": "Default CodeMirror CSS theme option on the edit style page"
|
||||||
},
|
},
|
||||||
"manageOnlyEdited": {
|
|
||||||
"message": "Само уређени стилови",
|
|
||||||
"description": "Checkbox to show only locally edited styles"
|
|
||||||
},
|
|
||||||
"exportLabel": {
|
"exportLabel": {
|
||||||
"message": "Извези",
|
"message": "Извези",
|
||||||
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
|
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
|
||||||
|
@ -295,7 +291,8 @@
|
||||||
"description": "Heading for the section with buttons to import/export Mozilla format of the style"
|
"description": "Heading for the section with buttons to import/export Mozilla format of the style"
|
||||||
},
|
},
|
||||||
"stylusUnavailableForURL": {
|
"stylusUnavailableForURL": {
|
||||||
"message": "Stylus не ради на страницама као што је ова.",
"description": "Note in the toolbar pop-up when on a URL Stylus can't affect"
|
"message": "Stylus не ради на страницама као што је ова.",
|
||||||
|
"description": "Note in the toolbar pop-up when on a URL Stylus can't affect"
|
||||||
},
|
},
|
||||||
"sectionRemove": {
|
"sectionRemove": {
|
||||||
"message": "Уклони одељак",
|
"message": "Уклони одељак",
|
||||||
|
|
|
@ -7,10 +7,6 @@
|
||||||
"message": "default",
|
"message": "default",
|
||||||
"description": "Default CodeMirror CSS theme option on the edit style page"
|
"description": "Default CodeMirror CSS theme option on the edit style page"
|
||||||
},
|
},
|
||||||
"manageOnlyEdited": {
|
|
||||||
"message": "Endast ändrade stilar",
|
|
||||||
"description": "Checkbox to show only locally edited styles"
|
|
||||||
},
|
|
||||||
"exportLabel": {
|
"exportLabel": {
|
||||||
"message": "Export",
|
"message": "Export",
|
||||||
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
|
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
|
||||||
|
|
|
@ -7,10 +7,6 @@
|
||||||
"message": "default",
|
"message": "default",
|
||||||
"description": "Default CodeMirror CSS theme option on the edit style page"
|
"description": "Default CodeMirror CSS theme option on the edit style page"
|
||||||
},
|
},
|
||||||
"manageOnlyEdited": {
|
|
||||||
"message": "Endast ändrade stilar",
|
|
||||||
"description": "Checkbox to show only locally edited styles"
|
|
||||||
},
|
|
||||||
"exportLabel": {
|
"exportLabel": {
|
||||||
"message": "Export",
|
"message": "Export",
|
||||||
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
|
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
|
||||||
|
|
|
@ -7,10 +7,6 @@
|
||||||
"message": "default",
|
"message": "default",
|
||||||
"description": "Default CodeMirror CSS theme option on the edit style page"
|
"description": "Default CodeMirror CSS theme option on the edit style page"
|
||||||
},
|
},
|
||||||
"manageOnlyEdited": {
|
|
||||||
"message": "Only edited styles",
|
|
||||||
"description": "Checkbox to show only locally edited styles"
|
|
||||||
},
|
|
||||||
"exportLabel": {
|
"exportLabel": {
|
||||||
"message": "Export",
|
"message": "Export",
|
||||||
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
|
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
|
||||||
|
|
|
@ -7,10 +7,6 @@
|
||||||
"message": "default",
|
"message": "default",
|
||||||
"description": "Default CodeMirror CSS theme option on the edit style page"
|
"description": "Default CodeMirror CSS theme option on the edit style page"
|
||||||
},
|
},
|
||||||
"manageOnlyEdited": {
|
|
||||||
"message": "Only edited styles",
|
|
||||||
"description": "Checkbox to show only locally edited styles"
|
|
||||||
},
|
|
||||||
"exportLabel": {
|
"exportLabel": {
|
||||||
"message": "Export",
|
"message": "Export",
|
||||||
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
|
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
|
||||||
|
|
|
@ -7,10 +7,6 @@
|
||||||
"message": "default",
|
"message": "default",
|
||||||
"description": "Default CodeMirror CSS theme option on the edit style page"
|
"description": "Default CodeMirror CSS theme option on the edit style page"
|
||||||
},
|
},
|
||||||
"manageOnlyEdited": {
|
|
||||||
"message": "Only edited styles",
|
|
||||||
"description": "Checkbox to show only locally edited styles"
|
|
||||||
},
|
|
||||||
"exportLabel": {
|
"exportLabel": {
|
||||||
"message": "Export",
|
"message": "Export",
|
||||||
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
|
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
|
||||||
|
|
|
@ -11,10 +11,6 @@
|
||||||
"message": "导出所有样式",
|
"message": "导出所有样式",
|
||||||
"description": ""
|
"description": ""
|
||||||
},
|
},
|
||||||
"manageOnlyEdited": {
|
|
||||||
"message": "仅修改过的样式",
|
|
||||||
"description": "Checkbox to show only locally edited styles"
|
|
||||||
},
|
|
||||||
"optionsUpdateInterval": {
|
"optionsUpdateInterval": {
|
||||||
"message": "每 N 小时,检查所有样式更新(0 为关闭检查)",
|
"message": "每 N 小时,检查所有样式更新(0 为关闭检查)",
|
||||||
"description": ""
|
"description": ""
|
||||||
|
|
|
@ -7,10 +7,6 @@
|
||||||
"message": "默認",
|
"message": "默認",
|
||||||
"description": "Default CodeMirror CSS theme option on the edit style page"
|
"description": "Default CodeMirror CSS theme option on the edit style page"
|
||||||
},
|
},
|
||||||
"manageOnlyEdited": {
|
|
||||||
"message": "只顯示已禁用的樣式",
|
|
||||||
"description": "Checkbox to show only locally edited styles"
|
|
||||||
},
|
|
||||||
"exportLabel": {
|
"exportLabel": {
|
||||||
"message": "導出",
|
"message": "導出",
|
||||||
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
|
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
|
||||||
|
|
2
dom.js
2
dom.js
|
@ -68,7 +68,7 @@ function enforceInputRange(element) {
|
||||||
|
|
||||||
|
|
||||||
function $(selector, base = document) {
|
function $(selector, base = document) {
|
||||||
// we have ids with . like #manage.onlyEdited which look like #id.class
|
// we have ids with . like #manage.onlyEnabled which looks like #id.class
|
||||||
// so since getElementById is superfast we'll try it anyway
|
// so since getElementById is superfast we'll try it anyway
|
||||||
const byId = selector.startsWith('#') && document.getElementById(selector.slice(1));
|
const byId = selector.startsWith('#') && document.getElementById(selector.slice(1));
|
||||||
return byId || base.querySelector(selector);
|
return byId || base.querySelector(selector);
|
||||||
|
|
|
@ -141,10 +141,10 @@
|
||||||
<span i18n-text="manageOnlyEnabled"></span>
|
<span i18n-text="manageOnlyEnabled"></span>
|
||||||
</label>
|
</label>
|
||||||
<label>
|
<label>
|
||||||
<input id="manage.onlyEdited" type="checkbox"
|
<input id="manage.onlyLocal" type="checkbox"
|
||||||
data-filter=":not(.updatable)"
|
data-filter=":not(.updatable)"
|
||||||
data-filter-hide=".updatable">
|
data-filter-hide=".updatable">
|
||||||
<span i18n-text="manageOnlyEdited"></span>
|
<span i18n-text="manageOnlyLocal" i18n-title="manageOnlyLocalTooltip"></span>
|
||||||
</label>
|
</label>
|
||||||
<label id="onlyUpdates" class="hidden">
|
<label id="onlyUpdates" class="hidden">
|
||||||
<input type="checkbox"
|
<input type="checkbox"
|
||||||
|
|
2
prefs.js
2
prefs.js
|
@ -15,7 +15,7 @@ var prefs = new function Prefs() {
|
||||||
'popup.stylesFirst': true, // display enabled styles before disabled styles
|
'popup.stylesFirst': true, // display enabled styles before disabled styles
|
||||||
|
|
||||||
'manage.onlyEnabled': false, // display only enabled styles
|
'manage.onlyEnabled': false, // display only enabled styles
|
||||||
'manage.onlyEdited': false, // display only styles created locally
|
'manage.onlyLocal': false, // display only styles created locally
|
||||||
'manage.newUI': true, // use the new compact layout
|
'manage.newUI': true, // use the new compact layout
|
||||||
'manage.newUI.favicons': false, // show favicons for the sites in applies-to
|
'manage.newUI.favicons': false, // show favicons for the sites in applies-to
|
||||||
'manage.newUI.faviconsGray': true, // gray out favicons
|
'manage.newUI.faviconsGray': true, // gray out favicons
|
||||||
|
|
Loading…
Reference in New Issue
Block a user