Rephrase the misleading "only edited styles" option

This commit is contained in:
tophf 2017-04-26 03:05:41 +03:00
parent af365568fb
commit 50ec32a7b2
24 changed files with 14 additions and 89 deletions

View File

@ -7,10 +7,6 @@
"message": "default",
"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": {
"message": "Export",
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"

View File

@ -7,10 +7,6 @@
"message": "výchozí",
"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": {
"message": "Exportovat",
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"

View File

@ -11,10 +11,6 @@
"message": "Styles Exportieren",
"description": ""
},
"manageOnlyEdited": {
"message": "Nur bearbeitete Styles",
"description": "Checkbox to show only locally edited styles"
},
"optionsUpdateInterval": {
"message": "Automatischer Update- und Installations-Intervall (in Stunden)",
"description": ""
@ -520,4 +516,4 @@
"message": "Gestalten Sie das Web mit Stylus, einem Manager für Benutzer-Styles, um. Stylus lässt Sie ganz einfach Themes und Skins für viele beliebte Webseiten installieren.",
"description": "Extension description"
}
}
}

View File

@ -7,10 +7,6 @@
"message": "default",
"description": "Default CodeMirror CSS theme option on the edit style page"
},
"manageOnlyEdited": {
"message": "Μόνο επεξεργασμενα στυλ",
"description": "Checkbox to show only locally edited styles"
},
"exportLabel": {
"message": "Export",
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"

View File

@ -322,9 +322,13 @@
"message": "Only enabled styles",
"description": "Checkbox to show only enabled styles"
},
"manageOnlyEdited": {
"message": "Only edited styles",
"description": "Checkbox to show only locally edited styles"
"manageOnlyLocal": {
"message": "Only locally created 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": {
"message": "Only with updates or issues",

View File

@ -11,10 +11,6 @@
"message": "Exportar estilos",
"description": ""
},
"manageOnlyEdited": {
"message": "Sólo estilos editados",
"description": "Checkbox to show only locally edited styles"
},
"optionsUpdateInterval": {
"message": "Buscar e instalar automáticamente todas las actualizaciones disponibles de estilos de usuario (en horas)",
"description": ""

View File

@ -7,10 +7,6 @@
"message": "default",
"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": {
"message": "Export",
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"

View File

@ -7,10 +7,6 @@
"message": "défaut",
"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": {
"message": "Exportez",
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"

View File

@ -7,10 +7,6 @@
"message": "default",
"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": {
"message": "Export",
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"

View File

@ -7,10 +7,6 @@
"message": "default",
"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": {
"message": "Export",
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"

View File

@ -7,10 +7,6 @@
"message": "standaard",
"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": {
"message": "Exporteren",
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"

View File

@ -7,10 +7,6 @@
"message": "default",
"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": {
"message": "Export",
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"

View File

@ -7,10 +7,6 @@
"message": "по-умолчанию",
"description": "Default CodeMirror CSS theme option on the edit style page"
},
"manageOnlyEdited": {
"message": "Только отредактированные стили",
"description": "Checkbox to show only locally edited styles"
},
"exportLabel": {
"message": "Экспорт",
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"

View File

@ -7,10 +7,6 @@
"message": "подразумевано",
"description": "Default CodeMirror CSS theme option on the edit style page"
},
"manageOnlyEdited": {
"message": "Само уређени стилови",
"description": "Checkbox to show only locally edited styles"
},
"exportLabel": {
"message": "Извези",
"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"
},
"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": {
"message": "Уклони одељак",

View File

@ -7,10 +7,6 @@
"message": "default",
"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": {
"message": "Export",
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"

View File

@ -7,10 +7,6 @@
"message": "default",
"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": {
"message": "Export",
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"

View File

@ -7,10 +7,6 @@
"message": "default",
"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": {
"message": "Export",
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"

View File

@ -7,10 +7,6 @@
"message": "default",
"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": {
"message": "Export",
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"

View File

@ -7,10 +7,6 @@
"message": "default",
"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": {
"message": "Export",
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"

View File

@ -11,10 +11,6 @@
"message": "导出所有样式",
"description": ""
},
"manageOnlyEdited": {
"message": "仅修改过的样式",
"description": "Checkbox to show only locally edited styles"
},
"optionsUpdateInterval": {
"message": "每 N 小时检查所有样式更新0 为关闭检查)",
"description": ""

View File

@ -7,10 +7,6 @@
"message": "默認",
"description": "Default CodeMirror CSS theme option on the edit style page"
},
"manageOnlyEdited": {
"message": "只顯示已禁用的樣式",
"description": "Checkbox to show only locally edited styles"
},
"exportLabel": {
"message": "導出",
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"

2
dom.js
View File

@ -68,7 +68,7 @@ function enforceInputRange(element) {
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
const byId = selector.startsWith('#') && document.getElementById(selector.slice(1));
return byId || base.querySelector(selector);

View File

@ -141,10 +141,10 @@
<span i18n-text="manageOnlyEnabled"></span>
</label>
<label>
<input id="manage.onlyEdited" type="checkbox"
<input id="manage.onlyLocal" type="checkbox"
data-filter=":not(.updatable)"
data-filter-hide=".updatable">
<span i18n-text="manageOnlyEdited"></span>
<span i18n-text="manageOnlyLocal" i18n-title="manageOnlyLocalTooltip"></span>
</label>
<label id="onlyUpdates" class="hidden">
<input type="checkbox"

View File

@ -15,7 +15,7 @@ var prefs = new function Prefs() {
'popup.stylesFirst': true, // display enabled styles before disabled 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.favicons': false, // show favicons for the sites in applies-to
'manage.newUI.faviconsGray': true, // gray out favicons