aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/_locales/en/messages.json6
-rw-r--r--src/css/dyna-rules.css5
-rw-r--r--src/dyna-rules.html4
3 files changed, 10 insertions, 5 deletions
diff --git a/src/_locales/en/messages.json b/src/_locales/en/messages.json
index 60f463d..706ee92 100644
--- a/src/_locales/en/messages.json
+++ b/src/_locales/en/messages.json
@@ -351,12 +351,12 @@
"message": "my-ublock-dynamic-rules_{{datetime}}.txt",
"description": "default file name to use"
},
- "dynaRulesHint": {
+ "rulesHint": {
"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>).",
+ "rulesFormatHint": {
+ "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":{
diff --git a/src/css/dyna-rules.css b/src/css/dyna-rules.css
index 5273afe..2a3a134 100644
--- a/src/css/dyna-rules.css
+++ b/src/css/dyna-rules.css
@@ -11,3 +11,8 @@ div > p:last-child {
white-space: pre;
text-align: left;
}
+code {
+ background-color: #eee;
+ font: 11px monospace;
+ padding: 2px 4px;
+} \ No newline at end of file
diff --git a/src/dyna-rules.html b/src/dyna-rules.html
index 4362052..0f161ca 100644
--- a/src/dyna-rules.html
+++ b/src/dyna-rules.html
@@ -11,8 +11,8 @@
<body>
<div>
- <p data-i18n="dynaRulesHint"></p>
- <p data-i18n="dynaRulesFormatHint"></p>
+ <p data-i18n="rulesHint"></p>
+ <p data-i18n="rulesFormatHint"></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;