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

4
src/user-rules.html

@ -14,14 +14,14 @@
<div id="diff"> <div id="diff">
<div class="pane left"> <div class="pane left">
<div> <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> <button type="button" id="revertButton"><span data-i18n="userRulesRevert"></span>&thinsp;<span class="fa">&#xf061;</span></button>
</div> </div>
<ul></ul> <ul></ul>
</div> </div>
<div class="pane right"> <div class="pane right">
<div> <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="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="editEnterButton" data-i18n="userRulesEdit"></button>
<button type="button" id="editStopButton" data-i18n="userRulesEditSave"></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.", "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" "description": "this will be used as short description in web stores: MUST BE 132 characters OR LESS"
}, },
"dashboardPageName": {
"message": "µMatrix — Dashboard",
"description": ""
},
"settingsPageName": { "settingsPageName": {
"message": "Settings", "message": "Settings",
"description": "a tab in dashboard" "description": "a tab in dashboard"
@ -323,6 +327,14 @@
}, },
"userRulesPermanentHeader": {
"message": "Permanent rules",
"description": ""
},
"userRulesTemporaryHeader": {
"message": "Temporary rules",
"description": ""
},
"userRulesRevert": { "userRulesRevert": {
"message": "Revert", "message": "Revert",
"description": "Will remove all temporary rules" "description": "Will remove all temporary rules"

Loading…
Cancel
Save