fix some typos, move some phrases to the i18n toml file
This commit is contained in:
parent
1e3f7f671d
commit
b5d57817cf
|
@ -574,18 +574,12 @@ function getToken(err, state) {
|
||||||
, end: function () {
|
, end: function () {
|
||||||
utils.putConfig('enable', [], function (err) {
|
utils.putConfig('enable', [], function (err) {
|
||||||
if (err) { console.error(err); return; }
|
if (err) { console.error(err); return; }
|
||||||
console.info("Success");
|
console.info(TPLS.remote.success);
|
||||||
|
|
||||||
// workaround for https://github.com/nodejs/node/issues/21319
|
// workaround for https://github.com/nodejs/node/issues/21319
|
||||||
if (state._useTty) {
|
if (state._useTty) {
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
console.info("Some fun things to try first:\n");
|
console.info(TPLS.remote.next_steps);
|
||||||
console.info(" ~/telebit http ~/public");
|
|
||||||
console.info(" ~/telebit tcp 5050");
|
|
||||||
console.info(" ~/telebit ssh auto");
|
|
||||||
console.info();
|
|
||||||
console.info("Press any key to continue...");
|
|
||||||
console.info();
|
|
||||||
process.exit(0);
|
process.exit(0);
|
||||||
}, 0.5 * 1000);
|
}, 0.5 * 1000);
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -135,7 +135,7 @@ usage: telebit http <path/port/none> [subdomain]
|
||||||
|
|
||||||
Use cases:
|
Use cases:
|
||||||
|
|
||||||
- Lazy man's AirDrop (works or lazy women too!)
|
- Lazy man's AirDrop (works for lazy women too!)
|
||||||
- Testing dev sites on a phone
|
- Testing dev sites on a phone
|
||||||
- Sharing indie music and movies with friends"
|
- Sharing indie music and movies with friends"
|
||||||
|
|
||||||
|
@ -145,7 +145,7 @@ usage: telebit ssh <auto|port|none>
|
||||||
|
|
||||||
All https traffic will be inspected to see if it looks like ssh Once enabled all traffic that looks
|
All https traffic will be inspected to see if it looks like ssh Once enabled all traffic that looks
|
||||||
|
|
||||||
ssh auto Make ssh Just Works™ (on port 22)
|
ssh auto Make ssh Just Work™ (on port 22)
|
||||||
|
|
||||||
ssh <port> forward ssh traffic to non-standard port
|
ssh <port> forward ssh traffic to non-standard port
|
||||||
ex: telebit ssh 22 ex: explicitly forward ssh-looking packets to localhost:22
|
ex: telebit ssh 22 ex: explicitly forward ssh-looking packets to localhost:22
|
||||||
|
@ -466,6 +466,17 @@ code = "
|
||||||
|
|
||||||
waiting = "waiting for you to check your email..."
|
waiting = "waiting for you to check your email..."
|
||||||
|
|
||||||
|
success = "Success"
|
||||||
|
|
||||||
|
next_steps = "Some fun things to try first:
|
||||||
|
|
||||||
|
~/telebit http ~/Public
|
||||||
|
~/telebit tcp 5050
|
||||||
|
~/telebit ssh auto
|
||||||
|
|
||||||
|
Press any key to continue...
|
||||||
|
"
|
||||||
|
|
||||||
[remote.setup]
|
[remote.setup]
|
||||||
|
|
||||||
email = "Welcome!
|
email = "Welcome!
|
||||||
|
|
Loading…
Reference in New Issue