Merge pull request #2466 from krimsonkla/develop

Contribution: "Last of the typos"
This commit is contained in:
Luis Fernando Molina authored and GitHub committed 2021-11-04 04:02:36 -04:00
commit 347cace378
176 files changed
+449 -449

No files matched your search

@@ -1,7 +1,7 @@
{
"type": "Voting Program",
"definition": {
"text": "This node defined the section where votes are going to flow like vote-streams, going through Votes Swithces and several different types of Vote nodes. Via references they are later sent to recipient nodes living at other hierarchies.",
"text": "This node defined the section where votes are going to flow like vote-streams, going through Votes Switches and several different types of Vote nodes. Via references they are later sent to recipient nodes living at other hierarchies.",
"updated": 1622989230849
},
"paragraphs": [
@@ -121,7 +121,7 @@ function newGovernanceFunctionLibraryStakingProgram() {
if (programNode === undefined || programNode.payload === undefined) { return }
/*
Here we will convert Token Power into Staking Power.
As per system rules Staking Powar = tokensPower
As per system rules Staking Power = tokensPower
*/
let programPower = programNode.payload.tokenPower
programNode.payload.stakingProgram.ownPower = programPower
@@ -90,7 +90,7 @@ function newGovernanceFunctionLibraryTokenPower() {
if (userProfile.payload === undefined) { return }
if (userProfile.payload.blockchainTokens === undefined) { return }
/*
The tokenPower is comming from blockchainTokens.
The tokenPower is coming from blockchainTokens.
*/
let tokenPower = userProfile.payload.blockchainTokens
/*
@@ -116,7 +116,7 @@ function newGovernanceFunctionLibraryTokenPower() {
if (userProfile.payload.blockchainTokens === undefined) { return }
if (userProfile.payload.delegationProgram === undefined) { return }
/*
The Deletated Power is already accumilated at userProfile.payload.tokenPower
The Delegated Power is already accumulated at userProfile.payload.tokenPower
*/
let tokenPower = userProfile.payload.delegationProgram.programPower
/*
@@ -45,7 +45,7 @@ function newGovernanceFunctionLibraryTokens() {
node.payload.tokens = 0
/*
If there is a reference parent defined, this means that the token flow is
transfered to it and not distributed among children.
transferred to it and not distributed among children.
*/
if (node.payload.referenceParent !== undefined) {
resetTokenFlow(node.payload.referenceParent)
@@ -101,7 +101,7 @@ function newGovernanceFunctionLibraryTokens() {
let schemaDocument = getSchemaDocument(node)
if (schemaDocument === undefined) { return }
/*
At hierarchy heads we will shouw how many tokens are comming in.
At hierarchy heads we will show how many tokens are coming in.
*/
if (
schemaDocument.isHierarchyHead === true
@@ -121,7 +121,7 @@ function newGovernanceFunctionLibraryTokens() {
}
/*
If there is a reference parent defined, this means that the token flow is
transfered to it and not distributed among children.
transferred to it and not distributed among children.
*/
if (node.payload.referenceParent !== undefined) {
distributeTokens(node.payload.referenceParent, node.payload.tokens)
@@ -110,7 +110,7 @@ function newGovernanceFunctionLibraryVotingProgram() {
node.type === 'Feature Contribution Claim'
) { return }
/*
For Votes to Profiles there is a special treamtment that needs to be done
For Votes to Profiles there is a special treatment that needs to be done
so that votes can flow from Profiles to the Program without being affected
by Percentages.
*/
@@ -132,7 +132,7 @@ function newGovernanceFunctionLibraryVotingProgram() {
}
/*
If there is a reference parent defined, this means that the voting power is
transfered to it and not distributed among children.
transferred to it and not distributed among children.
*/
if (
node.payload.referenceParent !== undefined &&
@@ -232,7 +232,7 @@ function newGovernanceFunctionLibraryVotingProgram() {
node.type === 'Feature Contribution Claim'
) { return }
/*
For Votes to Profiles there is a special treamtment that needs to be done
For Votes to Profiles there is a special treatment that needs to be done
so that votes can flow from Profiles to the Program without being affected
by Percentages.
*/
@@ -268,7 +268,7 @@ function newGovernanceFunctionLibraryVotingProgram() {
}
/*
If there is a reference parent defined, this means that the voting power is
transfered to it and not distributed among children.
transferred to it and not distributed among children.
*/
if (
node.payload.referenceParent !== undefined &&
@@ -127,7 +127,7 @@ function newGobernanceReportsSpace() {
function initialize() {
/*
If the workspace is not related to governance, then we exit the Intialize Function
If the workspace is not related to governance, then we exit the initialize Function
*/
let governanceProject = UI.projects.foundations.spaces.designSpace.workspace.getProjectHeadByNodeType('Governance Project')
if (governanceProject === undefined) { return }
@@ -22,7 +22,7 @@ function newGovernanceUserProfileSpace() {
function initialize() {
/*
If the workspace is not related to governance, then we exit the Intialize Function
If the workspace is not related to governance, then we exit the Initialize Function
*/
let governanceProject = UI.projects.foundations.spaces.designSpace.workspace.getProjectHeadByNodeType('Governance Project')
if (governanceProject === undefined) { return }
@@ -365,7 +365,7 @@ function newGovernanceUserProfileSpace() {
if (UI.projects.foundations.spaces.designSpace.workspace === undefined) { return }
/*
If the workspace is not related to governance, then we exit the Intialize Function
If the workspace is not related to governance, then we exit the Initialize Function
*/
let governanceProject = UI.projects.foundations.spaces.designSpace.workspace.getProjectHeadByNodeType('Governance Project')
if (governanceProject === undefined) { return }
+2 -2
View File
@@ -74,7 +74,7 @@ function newGovernanceUtilitiesTables() {
let orderArrow
/*
If the property is the one defining the order, then the new order will be
the opossite order.
the opposite order.
*/
if (property.name === sortingOrder.property) {
if (sortingOrder.order === 'ascending') {
@@ -87,7 +87,7 @@ function newGovernanceUtilitiesTables() {
} else {
orderArrow = ""
/*
If the property is not the current defininf the order, then the new order will
If the property is not the current defining the order, then the new order will
be the default order for that property.
*/
for (let i = 0; i < tableRecordDefinition.properties.length; i++) {