Browse Source

this addresses some of #28 issues

pull/2/head
gorhill 10 years ago
parent
commit
575676e415
  1. 2
      src/dashboard.html
  2. 4
      src/user-rules.html
  3. 12
      tools/_locales/en/messages.json

2
src/dashboard.html

@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>µMatrix — Dashboard</title>
<title data-i18n="dashboardPageName"></title>
<style>
body {
margin: 0;

4
src/user-rules.html

@ -14,14 +14,14 @@
<div id="diff">
<div class="pane left">
<div>
<h2>Permanent rules</h2>
<h2 data-i18n="userRulesPermanentHeader"></h2>
<button type="button" id="revertButton"><span data-i18n="userRulesRevert"></span>&thinsp;<span class="fa">&#xf061;</span></button>
</div>
<ul></ul>
</div>
<div class="pane right">
<div>
<h2>Temporary rules</h2>
<h2 data-i18n="userRulesTemporaryHeader"></h2>
<button type="button" id="commitButton"><span class="fa">&#xf060;</span>&thinsp;<span data-i18n="userRulesCommit"></span></button>
<button type="button" id="editEnterButton" data-i18n="userRulesEdit"></button>
<button type="button" id="editStopButton" data-i18n="userRulesEditSave"></button>

12
tools/_locales/en/messages.json

@ -7,6 +7,10 @@
"message": "Point & click to forbid/allow any class of requests made by your browser. Use it to block scripts, iframes, ads, facebook, etc.",
"description": "this will be used as short description in web stores: MUST BE 132 characters OR LESS"
},
"dashboardPageName": {
"message": "µMatrix — Dashboard",
"description": ""
},
"settingsPageName": {
"message": "Settings",
"description": "a tab in dashboard"
@ -323,6 +327,14 @@
},
"userRulesPermanentHeader": {
"message": "Permanent rules",
"description": ""
},
"userRulesTemporaryHeader": {
"message": "Temporary rules",
"description": ""
},
"userRulesRevert": {
"message": "Revert",
"description": "Will remove all temporary rules"

Loading…
Cancel
Save