Skip to content

Commit

Permalink
Merge pull request #150 from Mottie/stylelint
Browse files Browse the repository at this point in the history
Include both CSSLint and stylelint
  • Loading branch information
tophf authored Aug 28, 2017
2 parents 6f2883c + fdeffde commit da565a5
Show file tree
Hide file tree
Showing 33 changed files with 4,763 additions and 424 deletions.
17 changes: 11 additions & 6 deletions _locales/bg/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
"message": "Изнасяне",
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
},
"issues": {
"linterIssues": {
"message": "Проблеми",
"description": "Label for the CSSLint issues block on the style edit page"
"description": "Label for the CSS linter issues block on the style edit page"
},
"optionsBadgeNormal": {
"message": "Цвят на фона",
Expand Down Expand Up @@ -664,9 +664,14 @@
"message": "Прозорец за настройките",
"description": "Go to Options UI"
},
"issuesHelp": {
"message": "Проблеми, намерени от <a href='https://github.com/CSSLint/csslint' target='_blank'>CSSLint</a> при следните правила:",
"description": "Help popup message for the CSSLint issues block on the style edit page"
"linterIssuesHelp": {
"message": "Проблеми, намерени от $link$ при следните правила:",
"description": "Help popup message for the selected CSS linter issues block on the style edit page",
"placeholders": {
"link": {
"content": "$1"
}
}
},
"optionsCustomizeBadge": {
"message": "Значка на иконката на лентата",
Expand Down Expand Up @@ -764,4 +769,4 @@
"message": "Пресъздайте стила на Мрежата със Стайлус, разширението за стилове. То ви позволява лесно да инсталиране теми за много сайтове.",
"description": "Extension description"
}
}
}
17 changes: 11 additions & 6 deletions _locales/cs/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
"message": "Exportovat",
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
},
"issues": {
"linterIssues": {
"message": "Problémy",
"description": "Label for the CSSLint issues block on the style edit page"
"description": "Label for the CSS linter issues block on the style edit page"
},
"optionsBadgeNormal": {
"message": "Barva pozadí",
Expand Down Expand Up @@ -652,9 +652,14 @@
"message": "Možnosti rozhraní",
"description": "Go to Options UI"
},
"issuesHelp": {
"message": "Problémy nalezené aplikací <a href='https://github.com/CSSLint/csslint' target='_blank'>CSSLint</a> s těmito povolenými pravidly:",
"description": "Help popup message for the CSSLint issues block on the style edit page"
"linterIssuesHelp": {
"message": "Problémy nalezené aplikací $link$ s těmito povolenými pravidly:",
"description": "Help popup message for the selected CSS linter issues block on the style edit page",
"placeholders": {
"link": {
"content": "$1"
}
}
},
"optionsCustomizeBadge": {
"message": "Ikona tlačítka na panelu",
Expand Down Expand Up @@ -752,4 +757,4 @@
"message": "Změňte vzhled webů pomocí správce uživatelských stylů. Stylus umožňuje snadnou instalaci vzhledů a modifikací pro spoustu webů.",
"description": "Extension description"
}
}
}
17 changes: 11 additions & 6 deletions _locales/de/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
"message": "Exportieren",
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
},
"issues": {
"linterIssues": {
"message": "Probleme",
"description": "Label for the CSSLint issues block on the style edit page"
"description": "Label for the CSS linter issues block on the style edit page"
},
"optionsBadgeNormal": {
"message": "Hintergrundfarbe",
Expand Down Expand Up @@ -632,9 +632,14 @@
"message": "Optionen",
"description": "Go to Options UI"
},
"issuesHelp": {
"message": "Die von <a href='https://github.com/CSSLint/csslint' target='_blank'>CSSLint</a> gefunden Fehler haben die folgenden Einstellungen:",
"description": "Help popup message for the CSSLint issues block on the style edit page"
"linterIssuesHelp": {
"message": "Die von $link$ gefunden Fehler haben die folgenden Einstellungen:",
"description": "Help popup message for the selected CSS linter issues block on the style edit page",
"placeholders": {
"link": {
"content": "$1"
}
}
},
"optionsCustomizeBadge": {
"message": "Badge auf dem Toolbar-Icon",
Expand Down Expand Up @@ -728,4 +733,4 @@
"message": "Gestalte das Web neu mit Stylus, dem Style Manager. Stylus ermöglicht dir ganz einfach Themes und Designs für viele populäre Websites zu installieren.",
"description": "Extension description"
}
}
}
90 changes: 70 additions & 20 deletions _locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,34 +107,38 @@
"message": "Word wrap",
"description": "Label for the checkbox controlling word wrap option for the style editor."
},
"cm_smartIndent": {
"message": "Use smart indentation",
"description": "Label for the checkbox controlling smart indentation option for the style editor."
},
"cm_tabSize": {
"message": "Tab size",
"description": "Label for the text box controlling tab size option for the style editor."
},
"cm_theme": {
"message": "Theme",
"description": "Label for the style editor's CSS theme."
"cm_linter": {
"message": "CSS Linter",
"description": "Select the linter to check for CSS issues"
},
"cm_matchHighlight": {
"message": "Highlight",
"description": "Label for the drop-down list controlling the automatic highlighting of current word/selection occurrences in the style editor."
},
"cm_matchHighlightToken": {
"message": "Token under cursor",
"description": "Style editor's 'highglight' drop-down list option: highlight the occurrences of of the word/token under cursor even if nothing is selected"
},
"cm_matchHighlightSelection": {
"message": "Selection only",
"description": "Style editor's 'highglight' drop-down list option: highlight the occurrences of currently selected text"
},
"cm_matchHighlightToken": {
"message": "Token under cursor",
"description": "Style editor's 'highglight' drop-down list option: highlight the occurrences of of the word/token under cursor even if nothing is selected"
},
"cm_resizeGripHint": {
"message": "Double-click to maximize/restore the height",
"description": "Tooltip for the resize grip in style editor"
},
"cm_smartIndent": {
"message": "Use smart indentation",
"description": "Label for the checkbox controlling smart indentation option for the style editor."
},
"cm_tabSize": {
"message": "Tab size",
"description": "Label for the text box controlling tab size option for the style editor."
},
"cm_theme": {
"message": "Theme",
"description": "Label for the style editor's CSS theme."
},
"dysfunctional": {
"message": "Stylus cannot function because Firefox is either in private mode or is applying its website cookies policy to IndexedDB storage used by Stylus, which erroneously marks the secure moz-extension:// origin as insecure even though WebExtensions aren't websites and Stylus doesn't use cookies.\n\n1. Open Firefox options\n2. Go to 'Privacy & Security'\n3. Set 'History' mode to 'Use custom settings'\n4. Click 'Exceptions'\n5. Paste our manifest URL and click 'Allow'\n6. Click 'Save settings'\n7. Uncheck 'Always use private browsing mode'\n\nThe actual manifest URL is shown below.\nYou can also find it on about:debugging page.",
"description": "Displayed in Firefox when its settings make Stylus dysfunctional"
Expand All @@ -151,6 +155,14 @@
"message": "History",
"description": "Used in various places to show a history log of something"
},
"genericResetLabel": {
"message": "Reset",
"description": "Used in various parts of UI to indicate that something may be reset to its original state"
},
"genericSavedMessage": {
"message": "Saved",
"description": "Used in various parts of the UI to indicate that something was saved"
},
"confirmNo": {
"message": "No",
"description": "'No' button in a confirm dialog"
Expand Down Expand Up @@ -337,13 +349,51 @@
"message": "Install update",
"description": "Label for the button to install an update for a single style"
},
"issues": {
"linterConfigPopupTitle": {
"message": "Set $linter$ rules configuration",
"description": "Stylelint or CSSLint popup header",
"placeholders": {
"linter": {
"content": "$1"
}
}
},
"linterConfigTooltip": {
"message": "Click to configure this linter",
"description": "Icon tooltip to indicate that it opens a popup with the selected linter configuration"
},
"linterCSSLintSettings": {
"message": "(Set rule as: 0 = disabled; 1 = warning; 2 = error)",
"description": "CSSLint rule config values"
},
"linterInvalidConfigError": {
"message": "Not saved due to these invalid configuration settings:",
"description": "Invalid linter config will show a message followed by a list of invalid entries"
},
"linterIssues": {
"message": "Issues",
"description": "Label for the CSSLint issues block on the style edit page"
"description": "Label for the CSS linter issues block on the style edit page"
},
"linterIssuesHelp": {
"message": "These issues were found by $link$:",
"description": "Help popup message for the selected CSS linter issues block on the style edit page",
"placeholders": {
"link": {
"content": "$1"
}
}
},
"linterJSONError": {
"message": "Invalid JSON format",
"description": "Setting linter config with invalid JSON"
},
"linterResetMessage": {
"message": "To undo accidental reset, press Ctrl-Z (or Cmd-Z) in the text box",
"description": "Reset button tooltip to inform user on how to undo an accidental reset"
},
"issuesHelp": {
"message": "The issues found by <a href='https://github.com/CSSLint/csslint' target='_blank'>CSSLint</a> with these rules enabled:",
"description": "Help popup message for the CSSLint issues block on the style edit page"
"linterRulesLink": {
"message": "See a full list of rules",
"description": "Stylelint or CSSLint rules label added immediately before a link"
},
"manageFilters": {
"message": "Filters",
Expand Down
17 changes: 11 additions & 6 deletions _locales/es/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
"message": "Exportar",
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
},
"issues": {
"linterIssues": {
"message": "Problemas",
"description": "Label for the CSSLint issues block on the style edit page"
"description": "Label for the CSS linter issues block on the style edit page"
},
"optionsBadgeNormal": {
"message": "Color de fondo",
Expand Down Expand Up @@ -656,9 +656,14 @@
"message": "Interfaz de opciones",
"description": "Go to Options UI"
},
"issuesHelp": {
"message": "Problemas encontrados por <a href='https://github.com/CSSLint/csslint' target='_blank'>CSSLint</a> con estas reglas aplicadas:",
"description": "Help popup message for the CSSLint issues block on the style edit page"
"linterIssuesHelp": {
"message": "Problemas encontrados por $link$ con estas reglas aplicadas:",
"description": "Help popup message for the selected CSS linter issues block on the style edit page",
"placeholders": {
"link": {
"content": "$1"
}
}
},
"optionsCustomizeBadge": {
"message": "Distintivo en el icono de barra de herramientas",
Expand Down Expand Up @@ -752,4 +757,4 @@
"message": "Rediseñe la web con Stylus, un administrador de estilos de usuario. Stylus le permite instalar fácilmente temas y coberturas para muchos sitios populares.",
"description": "Extension description"
}
}
}
17 changes: 11 additions & 6 deletions _locales/et/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
"message": "Ekspordi",
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
},
"issues": {
"linterIssues": {
"message": "Vead",
"description": "Label for the CSSLint issues block on the style edit page"
"description": "Label for the CSS linter issues block on the style edit page"
},
"optionsBadgeNormal": {
"message": "Taustavärv",
Expand Down Expand Up @@ -652,9 +652,14 @@
"message": "Valikute liides",
"description": "Go to Options UI"
},
"issuesHelp": {
"message": "<a href='https://github.com/CSSLint/csslint' target='_blank'>CSSLint</a> poolt leitud vead nende lubatud reeglitega:",
"description": "Help popup message for the CSSLint issues block on the style edit page"
"linterIssuesHelp": {
"message": "$link$ poolt leitud vead nende lubatud reeglitega:",
"description": "Help popup message for the selected CSS linter issues block on the style edit page",
"placeholders": {
"link": {
"content": "$1"
}
}
},
"optionsCustomizeBadge": {
"message": "Number tööriistaribaikoonil",
Expand Down Expand Up @@ -752,4 +757,4 @@
"message": "Disaini veeb ümber Stylus'ega - kasutajastiilide haldur. Stylus võimaldab sul lihtsalt installida teemasid ja välimusi mitmetele populaarsetele saitidele.",
"description": "Extension description"
}
}
}
17 changes: 11 additions & 6 deletions _locales/ja/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
"message": "エクスポート",
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
},
"issues": {
"linterIssues": {
"message": "問題点",
"description": "Label for the CSSLint issues block on the style edit page"
"description": "Label for the CSS linter issues block on the style edit page"
},
"optionsBadgeNormal": {
"message": "背景色",
Expand Down Expand Up @@ -648,9 +648,14 @@
"message": "オプション UI",
"description": "Go to Options UI"
},
"issuesHelp": {
"message": "これらのルールを有効にして <a href='https://github.com/CSSLint/csslint' target='_blank'>CSSLint</a> で見つかった問題:",
"description": "Help popup message for the CSSLint issues block on the style edit page"
"linterIssuesHelp": {
"message": "これらのルールを有効にして $link$ で見つかった問題:",
"description": "Help popup message for the selected CSS linter issues block on the style edit page",
"placeholders": {
"link": {
"content": "$1"
}
}
},
"optionsCustomizeBadge": {
"message": "ツールバーアイコンのバッジ",
Expand Down Expand Up @@ -748,4 +753,4 @@
"message": "Stylus はユーザー スタイルを管理するツールで、ウェブのスタイルを変更することができます。Stylus を利用すると、さまざまなサイトに対応したテーマやスキンを簡単にインストールできます。",
"description": "Extension description"
}
}
}
17 changes: 11 additions & 6 deletions _locales/nl/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"message": "Exporteren",
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
},
"issues": {
"linterIssues": {
"message": "Problemen",
"description": "Label for the CSSLint issues block on the style edit page"
"description": "Label for the CSS linter issues block on the style edit page"
},
"cm_tabSize": {
"message": "Tabgrootte",
Expand Down Expand Up @@ -344,9 +344,14 @@
"message": "Controleer alle stijlen op updates",
"description": "Label for the button to check all styles for updates"
},
"issuesHelp": {
"message": "De door CSSLint gevonden problemen, <a href='https://github.com/CSSLint/csslint' target='_blank'>CSSLint</a>, met deze ingeschakelde regels:",
"description": "Help popup message for the CSSLint issues block on the style edit page"
"linterIssuesHelp": {
"message": "De door stylelint gevonden problemen, $link$, met deze ingeschakelde regels:",
"description": "Help popup message for the selected CSS linter issues block on the style edit page",
"placeholders": {
"link": {
"content": "$1"
}
}
},
"confirmNo": {
"message": "Nee",
Expand Down Expand Up @@ -396,4 +401,4 @@
"message": "Voorzie het web van een ander uiterlijk met Stylus, een gebruikersstijlbeheerder. Stylus stelt u in staat om eenvoudig thema's en stijlen te installeren voor vele populaire websites.",
"description": "Extension description"
}
}
}
Loading

0 comments on commit da565a5

Please sign in to comment.