typo fixes

This commit is contained in:
silversword411 2022-12-16 09:03:45 -05:00
parent b52385406f
commit b09f783cef
No known key found for this signature in database
GPG Key ID: 6F4BD176F56B50CA
4 changed files with 17 additions and 17 deletions

View File

@ -3680,7 +3680,7 @@ function processConsoleCommand(cmd, args, rights, sessionid) {
break;
}
case 'mousetrails':
try { require('win-deskutils'); } catch (ex) { response = 'Unknown command "mousetrails", type "help" for list of avaialble commands.'; break; }
try { require('win-deskutils'); } catch (ex) { response = 'Unknown command "mousetrails", type "help" for list of available commands.'; break; }
var id = require('user-sessions').getProcessOwnerName(process.pid).tsid == 0 ? 1 : null;
switch (args['_'].length)
{
@ -3701,7 +3701,7 @@ function processConsoleCommand(cmd, args, rights, sessionid) {
}
break;
case 'deskbackground':
try { require('win-deskutils'); } catch (ex) { response = 'Unknown command "deskbackground", type "help" for list of avaialble commands.'; break; }
try { require('win-deskutils'); } catch (ex) { response = 'Unknown command "deskbackground", type "help" for list of available commands.'; break; }
var id = require('user-sessions').getProcessOwnerName(process.pid).tsid == 0 ? 1 : null;
switch (args['_'].length)
{
@ -3718,7 +3718,7 @@ function processConsoleCommand(cmd, args, rights, sessionid) {
}
break;
case 'taskbar':
try { require('win-utils'); } catch (ex) { response = 'Unknown command "taskbar", type "help" for list of avaialble commands.'; break; }
try { require('win-utils'); } catch (ex) { response = 'Unknown command "taskbar", type "help" for list of available commands.'; break; }
switch (args['_'].length) {
case 1:
case 2:
@ -3741,7 +3741,7 @@ function processConsoleCommand(cmd, args, rights, sessionid) {
break;
case 'privacybar':
if (process.platform != 'win32' || require('notifybar-desktop').DefaultPinned == null) {
response = 'Unknown command "privacybar", type "help" for list of avaialble commands.';
response = 'Unknown command "privacybar", type "help" for list of available commands.';
}
else {
switch (args['_'].length) {
@ -3774,7 +3774,7 @@ function processConsoleCommand(cmd, args, rights, sessionid) {
case 'domaininfo':
{
if (process.platform != 'win32') {
response = 'Unknown command "cs", type "help" for list of avaialble commands.';
response = 'Unknown command "cs", type "help" for list of available commands.';
break;
}
if (global._domainQuery != null) {
@ -3822,7 +3822,7 @@ function processConsoleCommand(cmd, args, rights, sessionid) {
break;
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.
{
try { require('linux-dhcp'); } catch (ex) { response = 'Unknown command "dhcp", type "help" for list of avaialble commands.'; break; }
try { require('linux-dhcp'); } catch (ex) { response = 'Unknown command "dhcp", type "help" for list of available commands.'; break; }
if (args['_'].length == 0) {
var j = require('os').networkInterfaces();
var ifcs = [];
@ -3849,7 +3849,7 @@ function processConsoleCommand(cmd, args, rights, sessionid) {
}
case 'cs':
if (process.platform != 'win32') {
response = 'Unknown command "cs", type "help" for list of avaialble commands.';
response = 'Unknown command "cs", type "help" for list of available commands.';
break;
}
switch (args['_'].length) {
@ -3929,7 +3929,7 @@ function processConsoleCommand(cmd, args, rights, sessionid) {
break;
case 'dnsinfo':
if (require('os').dns == null) {
response = "Unknown command \"" + cmd + "\", type \"help\" for list of avaialble commands.";
response = "Unknown command \"" + cmd + "\", type \"help\" for list of available commands.";
}
else {
response = 'DNS Servers: ';
@ -4112,7 +4112,7 @@ function processConsoleCommand(cmd, args, rights, sessionid) {
break;
case 'uac':
if (process.platform != 'win32') {
response = 'Unknown command "uac", type "help" for list of avaialble commands.';
response = 'Unknown command "uac", type "help" for list of available commands.';
break;
}
if (args['_'].length != 1) {
@ -4154,7 +4154,7 @@ function processConsoleCommand(cmd, args, rights, sessionid) {
break;
case 'kvmmode':
if (require('MeshAgent').maxKvmTileSize == null) {
response = "Unknown command \"kvmmode\", type \"help\" for list of avaialble commands.";
response = "Unknown command \"kvmmode\", type \"help\" for list of available commands.";
}
else {
if (require('MeshAgent').maxKvmTileSize == 0) {
@ -4967,7 +4967,7 @@ function processConsoleCommand(cmd, args, rights, sessionid) {
break;
}
default: { // This is an unknown command, return an error message
response = "Unknown command \"" + cmd + "\", type \"help\" for list of avaialble commands.";
response = "Unknown command \"" + cmd + "\", type \"help\" for list of available commands.";
break;
}
}

View File

@ -575,7 +575,7 @@ module.exports.CreateMeshMail = function (parent, domain) {
}
//
// Device connetion and disconnection notifications
// Device connection and disconnection notifications
//
obj.deviceNotifications = {}; // UserId --> { timer, nodes: nodeid --> connectType }

View File

@ -469,7 +469,7 @@ module.exports.CreateServer = function (parent) {
//
// Device connetion and disconnection notifications
// Device connection and disconnection notifications
//
obj.deviceNotifications = {}; // UserId --> { timer, nodes: nodeid --> connectType }

View File

@ -50,7 +50,7 @@ var Channel = {
};
/**
* Channel Definde
* Channel Defined
*/
const RdpdrChannelDef = new type.Component({
name: new type.BinaryString(Buffer.from('rdpdr' + '\x00\x00\x00', 'binary'), { readLength: new type.CallableValue(8) }),
@ -239,7 +239,7 @@ function Client(transport) {
this.clientNetworkData = gcc.clientNetworkData(new type.Component([RdpdrChannelDef, CliprdrChannelDef, RdpsndChannelDef]));
this.clientSecurityData = gcc.clientSecurityData();
// must be readed from protocol
// must be read from protocol
this.serverCoreData = null;
this.serverSecurityData = null;
this.serverNetworkData = null;
@ -414,7 +414,7 @@ Client.prototype.connectChannels = function(s) {
self.recv(s);
});
// send client and sever gcc informations
// send client and sever gcc information
this.emit('connect',
{
core : this.clientCoreData.obj,
@ -497,7 +497,7 @@ Server.prototype.recvConnectInitial = function (s) {
};
/**
* State 2 in mcs server connetion automata
* State 2 in mcs server connection automata
*/
Server.prototype.sendConnectResponse = function () {
var ccReq = gcc.writeConferenceCreateResponse(new type.Component([