update menu text
This commit is contained in:
@@ -22,18 +22,22 @@
|
||||
},
|
||||
"hostText": {
|
||||
"message": "Host: ",
|
||||
"description": "Message for the Reset Tunnel button"
|
||||
"description": "Host for the HTTP or SOCKS5 Proxy"
|
||||
},
|
||||
"portText": {
|
||||
"message": "Port: ",
|
||||
"description": "Message for the Reset Tunnel button"
|
||||
"description": "Port for the HTTP or SOCKS5 Proxy"
|
||||
},
|
||||
"controlHelpText": {
|
||||
"message": "These options will be inert if used with the default i2p HTTP or SOCKS proxy.",
|
||||
"description": "Help for configuring the options for the Reset Tunnel button"
|
||||
},
|
||||
"controlHostText": {
|
||||
"message": "Host: ",
|
||||
"description": "Message for the Reset Tunnel button"
|
||||
"message": "Control Host: ",
|
||||
"description": "Host for the Reset Tunnel button"
|
||||
},
|
||||
"controlPortText": {
|
||||
"message": "Port: ",
|
||||
"description": "Message for the Reset Tunnel button"
|
||||
"message": "Control Port: ",
|
||||
"description": "Port for the Reset Tunnel button"
|
||||
}
|
||||
}
|
||||
|
@@ -28,7 +28,8 @@
|
||||
|
||||
<section class="scheme-options control-options">
|
||||
<div class="title" >Controller Options</div>
|
||||
|
||||
<p id="controlHelpText"> These options will be inert if used with the default i2p HTTP or SOCKS
|
||||
proxy. </p>
|
||||
<label id="controlPortText">Control Host: </label>
|
||||
<input type="text" data="controlhost" id="controlhost" value="127.0.0.1"/>
|
||||
<br>
|
||||
|
@@ -3,6 +3,7 @@ var hosttext = browser.i18n.getMessage("hostText");
|
||||
var porttext = browser.i18n.getMessage("portText");
|
||||
var controlhosttext = browser.i18n.getMessage("controlHostText");
|
||||
var controlporttext = browser.i18n.getMessage("controlPortText");
|
||||
var controlhelptext = browser.i18n.getMessage("controlHelpText");
|
||||
|
||||
function getScheme() {
|
||||
const proxy_scheme = document.querySelector("#proxy_scheme");
|
||||
@@ -79,7 +80,7 @@ function checkStoredSettings(storedSettings) {
|
||||
}
|
||||
|
||||
function onError(e) {
|
||||
console.error(e);
|
||||
console.error(e);
|
||||
}
|
||||
|
||||
function setupProxy() {
|
||||
@@ -192,6 +193,11 @@ function SetControlPortText(){
|
||||
portid.textContent = controlporttext;
|
||||
}
|
||||
|
||||
function SetControlHelpText(){
|
||||
var portid = document.getElementById('controlHelpText');
|
||||
portid.textContent = controlhelptext;
|
||||
}
|
||||
|
||||
function onError(e) {
|
||||
console.error(e);
|
||||
}
|
||||
@@ -209,6 +215,7 @@ SetHostText()
|
||||
SetPortText()
|
||||
SetControlHostText()
|
||||
SetControlPortText()
|
||||
SetControlHelpText()
|
||||
|
||||
function RefreshIdentity(){
|
||||
console.log("Generating new identity")
|
||||
|
Reference in New Issue
Block a user