aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris <abody.97@gmail.com>2015-01-18 12:17:03 -0700
committerChris <abody.97@gmail.com>2015-01-18 12:17:03 -0700
commitd9700f01e3689fa120e353ab5ec5ff7b3ce5c451 (patch)
treecd50c36f1be7077f2ccfa120a64e132fa3add50f
parente8fb45d54f3cbe76a7d75ffd2d9b63b123b6023b (diff)
downloaduBlock-d9700f01e3689fa120e353ab5ec5ff7b3ce5c451.zip
uBlock-d9700f01e3689fa120e353ab5ec5ff7b3ce5c451.tar.gz
uBlock-d9700f01e3689fa120e353ab5ec5ff7b3ce5c451.tar.bz2
Add "My rules" tab hints
-rw-r--r--src/_locales/en/messages.json8
-rw-r--r--src/dyna-rules.html3
2 files changed, 10 insertions, 1 deletions
diff --git a/src/_locales/en/messages.json b/src/_locales/en/messages.json
index 85e0b16..60f463d 100644
--- a/src/_locales/en/messages.json
+++ b/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."
diff --git a/src/dyna-rules.html b/src/dyna-rules.html
index 167182a..4362052 100644
--- a/src/dyna-rules.html
+++ b/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;