Skip to content

Loading…

Add "My rules" tab hints #538

Merged
merged 1 commit into from

3 participants

@chrisaljoudi

Addresses #513

@gorhill gorhill merged commit 641f7dc into chrisaljoudi:master

1 check passed

Details continuous-integration/travis-ci The Travis CI build passed
@Mikey1993

This seems not to exist in the latest FF version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 18, 2015
  1. Add "My rules" tab hints

    committed
This page is out of date. Refresh to see the latest.
Showing with 10 additions and 1 deletion.
  1. +8 −0 src/_locales/en/messages.json
  2. +2 −1 src/dyna-rules.html
View
8 src/_locales/en/messages.json
@@ -351,6 +351,14 @@
"message": "my-ublock-dynamic-rules_{{datetime}}.txt",
"description": "default file name to use"
},
+ "dynaRulesHint": {
+ "message": "List of your dynamic filtering rules.",
+ "description": "English: List of your dynamic filtering rules."
+ },
+ "dynaRulesFormatHint": {
+ "message": "Rule syntax: <code>source destination type action</code> (<a href='https://github.com/gorhill/uBlock/wiki/Dynamic-filtering:-rule-syntax'>full documentation</a>).",
+ "description": "English: dynamic rule syntax and full documentation."
+ },
"whitelistPrompt":{
"message":"Your list of host names for which µBlock will be disabled. One entry per line. Invalid host names will be silently ignored.",
"description":"English: Your list of host names for which µBlock will be disabled. One host name per line. Invalid host names will be silently ignored."
View
3 src/dyna-rules.html
@@ -11,7 +11,8 @@
<body>
<div>
- <p data-i18n="rulesFormatHint"></p>
+ <p data-i18n="dynaRulesHint"></p>
+ <p data-i18n="dynaRulesFormatHint"></p>
<p><button id="rulesApply" disabled="true" data-i18n="1pApplyChanges"></button></p>
<textarea id="rulesEditor" spellcheck="false" dir="auto"></textarea>
<p><button id="importButton" type="button" data-i18n="1pImport"></button> &emsp;
Something went wrong with that request. Please try again.