Skip to content

Commit

Permalink
Rework owner fee at the New voting form (#508)
Browse files Browse the repository at this point in the history
* Rework owner fee at the New voting form

* Rework owner fee at the New voting form

* Rework owner fee at the New voting form

* Add i18n keys
  • Loading branch information
midenaio authored Jan 7, 2021
1 parent 21c3485 commit fb12b5c
Show file tree
Hide file tree
Showing 24 changed files with 222 additions and 43 deletions.
1 change: 1 addition & 0 deletions i18next-scanner.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ module.exports = {
loadPath: 'locales/{{lng}}/{{ns}}.json',
savePath: 'locales/{{lng}}/{{ns}}.json',
jsonIndent: 2,
lineEnding: '\n',
},
keySeparator: false,
},
Expand Down
9 changes: 8 additions & 1 deletion locales/bg/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -547,5 +547,12 @@
"Including a share of minority voters' deposit": "Including a share of minority voters' deposit",
"Your max reward": "Your max reward",
"Paid to oracles": "Paid to oracles",
"Paid to owner": "Paid to owner"
"Paid to owner": "Paid to owner",
"The number of randomly selected oracles allowed to vote": "The number of randomly selected oracles allowed to vote",
"Cost of voting": "Cost of voting",
"Total funds": "Total funds",
"Total funds locked during the voting and paid to oracles and owner afterwards": "Total funds locked during the voting and paid to oracles and owner afterwards",
"Min reward per oracle: {{amount}}": "Min reward per oracle: {{amount}}",
"% of the Total funds you receive": "% of the Total funds you receive",
"Paid to owner: {{amount}}": "Paid to owner: {{amount}}"
}
9 changes: 8 additions & 1 deletion locales/de/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -544,5 +544,12 @@
"Including a share of minority voters' deposit": "Including a share of minority voters' deposit",
"Your max reward": "Your max reward",
"Paid to oracles": "Paid to oracles",
"Paid to owner": "Paid to owner"
"Paid to owner": "Paid to owner",
"The number of randomly selected oracles allowed to vote": "The number of randomly selected oracles allowed to vote",
"Cost of voting": "Cost of voting",
"Total funds": "Total funds",
"Total funds locked during the voting and paid to oracles and owner afterwards": "Total funds locked during the voting and paid to oracles and owner afterwards",
"Min reward per oracle: {{amount}}": "Min reward per oracle: {{amount}}",
"% of the Total funds you receive": "% of the Total funds you receive",
"Paid to owner: {{amount}}": "Paid to owner: {{amount}}"
}
9 changes: 8 additions & 1 deletion locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -547,5 +547,12 @@
"Including a share of minority voters' deposit": "Including a share of minority voters' deposit",
"Your max reward": "Your max reward",
"Paid to oracles": "Paid to oracles",
"Paid to owner": "Paid to owner"
"Paid to owner": "Paid to owner",
"The number of randomly selected oracles allowed to vote": "The number of randomly selected oracles allowed to vote",
"Cost of voting": "Cost of voting",
"Total funds": "Total funds",
"Total funds locked during the voting and paid to oracles and owner afterwards": "Total funds locked during the voting and paid to oracles and owner afterwards",
"Min reward per oracle: {{amount}}": "Min reward per oracle: {{amount}}",
"% of the Total funds you receive": "% of the Total funds you receive",
"Paid to owner: {{amount}}": "Paid to owner: {{amount}}"
}
9 changes: 8 additions & 1 deletion locales/es/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -544,5 +544,12 @@
"Including a share of minority voters' deposit": "Including a share of minority voters' deposit",
"Your max reward": "Your max reward",
"Paid to oracles": "Paid to oracles",
"Paid to owner": "Paid to owner"
"Paid to owner": "Paid to owner",
"The number of randomly selected oracles allowed to vote": "The number of randomly selected oracles allowed to vote",
"Cost of voting": "Cost of voting",
"Total funds": "Total funds",
"Total funds locked during the voting and paid to oracles and owner afterwards": "Total funds locked during the voting and paid to oracles and owner afterwards",
"Min reward per oracle: {{amount}}": "Min reward per oracle: {{amount}}",
"% of the Total funds you receive": "% of the Total funds you receive",
"Paid to owner: {{amount}}": "Paid to owner: {{amount}}"
}
9 changes: 8 additions & 1 deletion locales/fr/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -547,5 +547,12 @@
"Including a share of minority voters' deposit": "Including a share of minority voters' deposit",
"Your max reward": "Your max reward",
"Paid to oracles": "Paid to oracles",
"Paid to owner": "Paid to owner"
"Paid to owner": "Paid to owner",
"The number of randomly selected oracles allowed to vote": "The number of randomly selected oracles allowed to vote",
"Cost of voting": "Cost of voting",
"Total funds": "Total funds",
"Total funds locked during the voting and paid to oracles and owner afterwards": "Total funds locked during the voting and paid to oracles and owner afterwards",
"Min reward per oracle: {{amount}}": "Min reward per oracle: {{amount}}",
"% of the Total funds you receive": "% of the Total funds you receive",
"Paid to owner: {{amount}}": "Paid to owner: {{amount}}"
}
9 changes: 8 additions & 1 deletion locales/hi/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -547,5 +547,12 @@
"Including a share of minority voters' deposit": "Including a share of minority voters' deposit",
"Your max reward": "Your max reward",
"Paid to oracles": "Paid to oracles",
"Paid to owner": "Paid to owner"
"Paid to owner": "Paid to owner",
"The number of randomly selected oracles allowed to vote": "The number of randomly selected oracles allowed to vote",
"Cost of voting": "Cost of voting",
"Total funds": "Total funds",
"Total funds locked during the voting and paid to oracles and owner afterwards": "Total funds locked during the voting and paid to oracles and owner afterwards",
"Min reward per oracle: {{amount}}": "Min reward per oracle: {{amount}}",
"% of the Total funds you receive": "% of the Total funds you receive",
"Paid to owner: {{amount}}": "Paid to owner: {{amount}}"
}
9 changes: 8 additions & 1 deletion locales/hr/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -550,5 +550,12 @@
"Including a share of minority voters' deposit": "Including a share of minority voters' deposit",
"Your max reward": "Your max reward",
"Paid to oracles": "Paid to oracles",
"Paid to owner": "Paid to owner"
"Paid to owner": "Paid to owner",
"The number of randomly selected oracles allowed to vote": "The number of randomly selected oracles allowed to vote",
"Cost of voting": "Cost of voting",
"Total funds": "Total funds",
"Total funds locked during the voting and paid to oracles and owner afterwards": "Total funds locked during the voting and paid to oracles and owner afterwards",
"Min reward per oracle: {{amount}}": "Min reward per oracle: {{amount}}",
"% of the Total funds you receive": "% of the Total funds you receive",
"Paid to owner: {{amount}}": "Paid to owner: {{amount}}"
}
9 changes: 8 additions & 1 deletion locales/id/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -540,5 +540,12 @@
"Including a share of minority voters' deposit": "Including a share of minority voters' deposit",
"Your max reward": "Your max reward",
"Paid to oracles": "Paid to oracles",
"Paid to owner": "Paid to owner"
"Paid to owner": "Paid to owner",
"The number of randomly selected oracles allowed to vote": "The number of randomly selected oracles allowed to vote",
"Cost of voting": "Cost of voting",
"Total funds": "Total funds",
"Total funds locked during the voting and paid to oracles and owner afterwards": "Total funds locked during the voting and paid to oracles and owner afterwards",
"Min reward per oracle: {{amount}}": "Min reward per oracle: {{amount}}",
"% of the Total funds you receive": "% of the Total funds you receive",
"Paid to owner: {{amount}}": "Paid to owner: {{amount}}"
}
9 changes: 8 additions & 1 deletion locales/it/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -544,5 +544,12 @@
"Including a share of minority voters' deposit": "Including a share of minority voters' deposit",
"Your max reward": "Your max reward",
"Paid to oracles": "Paid to oracles",
"Paid to owner": "Paid to owner"
"Paid to owner": "Paid to owner",
"The number of randomly selected oracles allowed to vote": "The number of randomly selected oracles allowed to vote",
"Cost of voting": "Cost of voting",
"Total funds": "Total funds",
"Total funds locked during the voting and paid to oracles and owner afterwards": "Total funds locked during the voting and paid to oracles and owner afterwards",
"Min reward per oracle: {{amount}}": "Min reward per oracle: {{amount}}",
"% of the Total funds you receive": "% of the Total funds you receive",
"Paid to owner: {{amount}}": "Paid to owner: {{amount}}"
}
9 changes: 8 additions & 1 deletion locales/ja/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -541,5 +541,12 @@
"Including a share of minority voters' deposit": "Including a share of minority voters' deposit",
"Your max reward": "Your max reward",
"Paid to oracles": "Paid to oracles",
"Paid to owner": "Paid to owner"
"Paid to owner": "Paid to owner",
"The number of randomly selected oracles allowed to vote": "The number of randomly selected oracles allowed to vote",
"Cost of voting": "Cost of voting",
"Total funds": "Total funds",
"Total funds locked during the voting and paid to oracles and owner afterwards": "Total funds locked during the voting and paid to oracles and owner afterwards",
"Min reward per oracle: {{amount}}": "Min reward per oracle: {{amount}}",
"% of the Total funds you receive": "% of the Total funds you receive",
"Paid to owner: {{amount}}": "Paid to owner: {{amount}}"
}
9 changes: 8 additions & 1 deletion locales/ko/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -538,5 +538,12 @@
"Including a share of minority voters' deposit": "Including a share of minority voters' deposit",
"Your max reward": "Your max reward",
"Paid to oracles": "Paid to oracles",
"Paid to owner": "Paid to owner"
"Paid to owner": "Paid to owner",
"The number of randomly selected oracles allowed to vote": "The number of randomly selected oracles allowed to vote",
"Cost of voting": "Cost of voting",
"Total funds": "Total funds",
"Total funds locked during the voting and paid to oracles and owner afterwards": "Total funds locked during the voting and paid to oracles and owner afterwards",
"Min reward per oracle: {{amount}}": "Min reward per oracle: {{amount}}",
"% of the Total funds you receive": "% of the Total funds you receive",
"Paid to owner: {{amount}}": "Paid to owner: {{amount}}"
}
9 changes: 8 additions & 1 deletion locales/pl/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -547,5 +547,12 @@
"Including a share of minority voters' deposit": "Including a share of minority voters' deposit",
"Your max reward": "Your max reward",
"Paid to oracles": "Paid to oracles",
"Paid to owner": "Paid to owner"
"Paid to owner": "Paid to owner",
"The number of randomly selected oracles allowed to vote": "The number of randomly selected oracles allowed to vote",
"Cost of voting": "Cost of voting",
"Total funds": "Total funds",
"Total funds locked during the voting and paid to oracles and owner afterwards": "Total funds locked during the voting and paid to oracles and owner afterwards",
"Min reward per oracle: {{amount}}": "Min reward per oracle: {{amount}}",
"% of the Total funds you receive": "% of the Total funds you receive",
"Paid to owner: {{amount}}": "Paid to owner: {{amount}}"
}
9 changes: 8 additions & 1 deletion locales/pt/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -544,5 +544,12 @@
"Including a share of minority voters' deposit": "Including a share of minority voters' deposit",
"Your max reward": "Your max reward",
"Paid to oracles": "Paid to oracles",
"Paid to owner": "Paid to owner"
"Paid to owner": "Paid to owner",
"The number of randomly selected oracles allowed to vote": "The number of randomly selected oracles allowed to vote",
"Cost of voting": "Cost of voting",
"Total funds": "Total funds",
"Total funds locked during the voting and paid to oracles and owner afterwards": "Total funds locked during the voting and paid to oracles and owner afterwards",
"Min reward per oracle: {{amount}}": "Min reward per oracle: {{amount}}",
"% of the Total funds you receive": "% of the Total funds you receive",
"Paid to owner: {{amount}}": "Paid to owner: {{amount}}"
}
9 changes: 8 additions & 1 deletion locales/ro/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -544,5 +544,12 @@
"Including a share of minority voters' deposit": "Including a share of minority voters' deposit",
"Your max reward": "Your max reward",
"Paid to oracles": "Paid to oracles",
"Paid to owner": "Paid to owner"
"Paid to owner": "Paid to owner",
"The number of randomly selected oracles allowed to vote": "The number of randomly selected oracles allowed to vote",
"Cost of voting": "Cost of voting",
"Total funds": "Total funds",
"Total funds locked during the voting and paid to oracles and owner afterwards": "Total funds locked during the voting and paid to oracles and owner afterwards",
"Min reward per oracle: {{amount}}": "Min reward per oracle: {{amount}}",
"% of the Total funds you receive": "% of the Total funds you receive",
"Paid to owner: {{amount}}": "Paid to owner: {{amount}}"
}
9 changes: 8 additions & 1 deletion locales/ru/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -544,5 +544,12 @@
"Including a share of minority voters' deposit": "Including a share of minority voters' deposit",
"Your max reward": "Your max reward",
"Paid to oracles": "Paid to oracles",
"Paid to owner": "Paid to owner"
"Paid to owner": "Paid to owner",
"The number of randomly selected oracles allowed to vote": "The number of randomly selected oracles allowed to vote",
"Cost of voting": "Cost of voting",
"Total funds": "Total funds",
"Total funds locked during the voting and paid to oracles and owner afterwards": "Total funds locked during the voting and paid to oracles and owner afterwards",
"Min reward per oracle: {{amount}}": "Min reward per oracle: {{amount}}",
"% of the Total funds you receive": "% of the Total funds you receive",
"Paid to owner: {{amount}}": "Paid to owner: {{amount}}"
}
9 changes: 8 additions & 1 deletion locales/sl/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -556,5 +556,12 @@
"Including a share of minority voters' deposit": "Including a share of minority voters' deposit",
"Your max reward": "Your max reward",
"Paid to oracles": "Paid to oracles",
"Paid to owner": "Paid to owner"
"Paid to owner": "Paid to owner",
"The number of randomly selected oracles allowed to vote": "The number of randomly selected oracles allowed to vote",
"Cost of voting": "Cost of voting",
"Total funds": "Total funds",
"Total funds locked during the voting and paid to oracles and owner afterwards": "Total funds locked during the voting and paid to oracles and owner afterwards",
"Min reward per oracle: {{amount}}": "Min reward per oracle: {{amount}}",
"% of the Total funds you receive": "% of the Total funds you receive",
"Paid to owner: {{amount}}": "Paid to owner: {{amount}}"
}
9 changes: 8 additions & 1 deletion locales/sr/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -550,5 +550,12 @@
"Including a share of minority voters' deposit": "Including a share of minority voters' deposit",
"Your max reward": "Your max reward",
"Paid to oracles": "Paid to oracles",
"Paid to owner": "Paid to owner"
"Paid to owner": "Paid to owner",
"The number of randomly selected oracles allowed to vote": "The number of randomly selected oracles allowed to vote",
"Cost of voting": "Cost of voting",
"Total funds": "Total funds",
"Total funds locked during the voting and paid to oracles and owner afterwards": "Total funds locked during the voting and paid to oracles and owner afterwards",
"Min reward per oracle: {{amount}}": "Min reward per oracle: {{amount}}",
"% of the Total funds you receive": "% of the Total funds you receive",
"Paid to owner: {{amount}}": "Paid to owner: {{amount}}"
}
9 changes: 8 additions & 1 deletion locales/sv/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -541,5 +541,12 @@
"Including a share of minority voters' deposit": "Including a share of minority voters' deposit",
"Your max reward": "Your max reward",
"Paid to oracles": "Paid to oracles",
"Paid to owner": "Paid to owner"
"Paid to owner": "Paid to owner",
"The number of randomly selected oracles allowed to vote": "The number of randomly selected oracles allowed to vote",
"Cost of voting": "Cost of voting",
"Total funds": "Total funds",
"Total funds locked during the voting and paid to oracles and owner afterwards": "Total funds locked during the voting and paid to oracles and owner afterwards",
"Min reward per oracle: {{amount}}": "Min reward per oracle: {{amount}}",
"% of the Total funds you receive": "% of the Total funds you receive",
"Paid to owner: {{amount}}": "Paid to owner: {{amount}}"
}
9 changes: 8 additions & 1 deletion locales/tr/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -543,5 +543,12 @@
"Including a share of minority voters' deposit": "Including a share of minority voters' deposit",
"Your max reward": "Your max reward",
"Paid to oracles": "Paid to oracles",
"Paid to owner": "Paid to owner"
"Paid to owner": "Paid to owner",
"The number of randomly selected oracles allowed to vote": "The number of randomly selected oracles allowed to vote",
"Cost of voting": "Cost of voting",
"Total funds": "Total funds",
"Total funds locked during the voting and paid to oracles and owner afterwards": "Total funds locked during the voting and paid to oracles and owner afterwards",
"Min reward per oracle: {{amount}}": "Min reward per oracle: {{amount}}",
"% of the Total funds you receive": "% of the Total funds you receive",
"Paid to owner: {{amount}}": "Paid to owner: {{amount}}"
}
9 changes: 8 additions & 1 deletion locales/uk/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -550,5 +550,12 @@
"Including a share of minority voters' deposit": "Including a share of minority voters' deposit",
"Your max reward": "Your max reward",
"Paid to oracles": "Paid to oracles",
"Paid to owner": "Paid to owner"
"Paid to owner": "Paid to owner",
"The number of randomly selected oracles allowed to vote": "The number of randomly selected oracles allowed to vote",
"Cost of voting": "Cost of voting",
"Total funds": "Total funds",
"Total funds locked during the voting and paid to oracles and owner afterwards": "Total funds locked during the voting and paid to oracles and owner afterwards",
"Min reward per oracle: {{amount}}": "Min reward per oracle: {{amount}}",
"% of the Total funds you receive": "% of the Total funds you receive",
"Paid to owner: {{amount}}": "Paid to owner: {{amount}}"
}
9 changes: 8 additions & 1 deletion locales/zh/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -538,5 +538,12 @@
"Including a share of minority voters' deposit": "Including a share of minority voters' deposit",
"Your max reward": "Your max reward",
"Paid to oracles": "Paid to oracles",
"Paid to owner": "Paid to owner"
"Paid to owner": "Paid to owner",
"The number of randomly selected oracles allowed to vote": "The number of randomly selected oracles allowed to vote",
"Cost of voting": "Cost of voting",
"Total funds": "Total funds",
"Total funds locked during the voting and paid to oracles and owner afterwards": "Total funds locked during the voting and paid to oracles and owner afterwards",
"Min reward per oracle: {{amount}}": "Min reward per oracle: {{amount}}",
"% of the Total funds you receive": "% of the Total funds you receive",
"Paid to owner: {{amount}}": "Paid to owner: {{amount}}"
}
Loading

0 comments on commit fb12b5c

Please sign in to comment.