typo fixes

silversword411 committed Dec 16, 2022 at 09:03 UTC b09f783cef506d7df2ab357c7cc57725b295f5a8
4 files changed +17 -17
agents/meshcore.js
+11 -11
@@ -3680,7 +3680,7 @@ function processConsoleCommand(cmd, args, rights, sessionid) {
3680 break;
3681 }
3682 case 'mousetrails':
3683 - try { require('win-deskutils'); } catch (ex) { response = 'Unknown command "mousetrails", type "help" for list of avaialble commands.'; break; }
3683 + try { require('win-deskutils'); } catch (ex) { response = 'Unknown command "mousetrails", type "help" for list of available commands.'; break; }
3684 var id = require('user-sessions').getProcessOwnerName(process.pid).tsid == 0 ? 1 : null;
3685 switch (args['_'].length)
3686 {
@@ -3701,7 +3701,7 @@ function processConsoleCommand(cmd, args, rights, sessionid) {
3701 }
3702 break;
3703 case 'deskbackground':
3704 - try { require('win-deskutils'); } catch (ex) { response = 'Unknown command "deskbackground", type "help" for list of avaialble commands.'; break; }
3704 + try { require('win-deskutils'); } catch (ex) { response = 'Unknown command "deskbackground", type "help" for list of available commands.'; break; }
3705 var id = require('user-sessions').getProcessOwnerName(process.pid).tsid == 0 ? 1 : null;
3706 switch (args['_'].length)
3707 {
@@ -3718,7 +3718,7 @@ function processConsoleCommand(cmd, args, rights, sessionid) {
3718 }
3719 break;
3720 case 'taskbar':
3721 - try { require('win-utils'); } catch (ex) { response = 'Unknown command "taskbar", type "help" for list of avaialble commands.'; break; }
3721 + try { require('win-utils'); } catch (ex) { response = 'Unknown command "taskbar", type "help" for list of available commands.'; break; }
3722 switch (args['_'].length) {
3723 case 1:
3724 case 2:
@@ -3741,7 +3741,7 @@ function processConsoleCommand(cmd, args, rights, sessionid) {
3741 break;
3742 case 'privacybar':
3743 if (process.platform != 'win32' || require('notifybar-desktop').DefaultPinned == null) {
3744 - response = 'Unknown command "privacybar", type "help" for list of avaialble commands.';
3744 + response = 'Unknown command "privacybar", type "help" for list of available commands.';
3745 }
3746 else {
3747 switch (args['_'].length) {
@@ -3774,7 +3774,7 @@ function processConsoleCommand(cmd, args, rights, sessionid) {
3774 case 'domaininfo':
3775 {
3776 if (process.platform != 'win32') {
3777 - response = 'Unknown command "cs", type "help" for list of avaialble commands.';
3777 + response = 'Unknown command "cs", type "help" for list of available commands.';
3778 break;
3779 }
3780 if (global._domainQuery != null) {
@@ -3822,7 +3822,7 @@ function processConsoleCommand(cmd, args, rights, sessionid) {
3822 break;
3823 case 'dhcp': // This command is only supported on Linux, this is because Linux does not give us the DNS suffix for each network adapter independently so we have to ask the DHCP server.
3824 {
3825 - try { require('linux-dhcp'); } catch (ex) { response = 'Unknown command "dhcp", type "help" for list of avaialble commands.'; break; }
3825 + try { require('linux-dhcp'); } catch (ex) { response = 'Unknown command "dhcp", type "help" for list of available commands.'; break; }
3826 if (args['_'].length == 0) {
3827 var j = require('os').networkInterfaces();
3828 var ifcs = [];
@@ -3849,7 +3849,7 @@ function processConsoleCommand(cmd, args, rights, sessionid) {
3849 }
3850 case 'cs':
3851 if (process.platform != 'win32') {
3852 - response = 'Unknown command "cs", type "help" for list of avaialble commands.';
3852 + response = 'Unknown command "cs", type "help" for list of available commands.';
3853 break;
3854 }
3855 switch (args['_'].length) {
@@ -3929,7 +3929,7 @@ function processConsoleCommand(cmd, args, rights, sessionid) {
3929 break;
3930 case 'dnsinfo':
3931 if (require('os').dns == null) {
3932 - response = "Unknown command \"" + cmd + "\", type \"help\" for list of avaialble commands.";
3932 + response = "Unknown command \"" + cmd + "\", type \"help\" for list of available commands.";
3933 }
3934 else {
3935 response = 'DNS Servers: ';
@@ -4112,7 +4112,7 @@ function processConsoleCommand(cmd, args, rights, sessionid) {
4112 break;
4113 case 'uac':
4114 if (process.platform != 'win32') {
4115 - response = 'Unknown command "uac", type "help" for list of avaialble commands.';
4115 + response = 'Unknown command "uac", type "help" for list of available commands.';
4116 break;
4117 }
4118 if (args['_'].length != 1) {
@@ -4154,7 +4154,7 @@ function processConsoleCommand(cmd, args, rights, sessionid) {
4154 break;
4155 case 'kvmmode':
4156 if (require('MeshAgent').maxKvmTileSize == null) {
4157 - response = "Unknown command \"kvmmode\", type \"help\" for list of avaialble commands.";
4157 + response = "Unknown command \"kvmmode\", type \"help\" for list of available commands.";
4158 }
4159 else {
4160 if (require('MeshAgent').maxKvmTileSize == 0) {
@@ -4967,7 +4967,7 @@ function processConsoleCommand(cmd, args, rights, sessionid) {
4967 break;
4968 }
4969 default: { // This is an unknown command, return an error message
4970 - response = "Unknown command \"" + cmd + "\", type \"help\" for list of avaialble commands.";
4970 + response = "Unknown command \"" + cmd + "\", type \"help\" for list of available commands.";
4971 break;
4972 }
4973 }
meshmail.js
+1 -1
@@ -575,7 +575,7 @@ module.exports.CreateMeshMail = function (parent, domain) {
575 }
576
577 //
578 - // Device connetion and disconnection notifications
578 + // Device connection and disconnection notifications
579 //
580
581 obj.deviceNotifications = {}; // UserId --> { timer, nodes: nodeid --> connectType }
meshmessaging.js
+1 -1
@@ -469,7 +469,7 @@ module.exports.CreateServer = function (parent) {
469
470
471 //
472 - // Device connetion and disconnection notifications
472 + // Device connection and disconnection notifications
473 //
474
475 obj.deviceNotifications = {}; // UserId --> { timer, nodes: nodeid --> connectType }
rdp/protocol/t125/mcs.js
+4 -4
@@ -50,7 +50,7 @@ var Channel = {
50 };
51
52 /**
53 - * Channel Definde
53 + * Channel Defined
54 */
55 const RdpdrChannelDef = new type.Component({
56 name: new type.BinaryString(Buffer.from('rdpdr' + '\x00\x00\x00', 'binary'), { readLength: new type.CallableValue(8) }),
@@ -239,7 +239,7 @@ function Client(transport) {
239 this.clientNetworkData = gcc.clientNetworkData(new type.Component([RdpdrChannelDef, CliprdrChannelDef, RdpsndChannelDef]));
240 this.clientSecurityData = gcc.clientSecurityData();
241
242 - // must be readed from protocol
242 + // must be read from protocol
243 this.serverCoreData = null;
244 this.serverSecurityData = null;
245 this.serverNetworkData = null;
@@ -414,7 +414,7 @@ Client.prototype.connectChannels = function(s) {
414 self.recv(s);
415 });
416
417 - // send client and sever gcc informations
417 + // send client and sever gcc information
418 this.emit('connect',
419 {
420 core : this.clientCoreData.obj,
@@ -497,7 +497,7 @@ Server.prototype.recvConnectInitial = function (s) {
497 };
498
499 /**
500 - * State 2 in mcs server connetion automata
500 + * State 2 in mcs server connection automata
501 */
502 Server.prototype.sendConnectResponse = function () {
503 var ccReq = gcc.writeConferenceCreateResponse(new type.Component([