Feat/800: Couple of translation additions
This commit is contained in:
@@ -38,7 +38,6 @@ export function useNetworkParamWithKeys(params: string[]) {
|
||||
? data?.networkParameters
|
||||
: data?.networkParameters?.filter((p) => params.includes(p.key));
|
||||
|
||||
// if foundParams length is greater than 0, sort params by key property
|
||||
const sortedParams =
|
||||
foundParams && foundParams.length > 0
|
||||
? [...foundParams].sort((a, b) => {
|
||||
|
||||
@@ -642,10 +642,13 @@
|
||||
"totalSupply": "Total Supply",
|
||||
"viaWallet": "via wallet",
|
||||
"viaContract": "via vesting",
|
||||
"UseMin": "Use min",
|
||||
"UseMax": "Use max",
|
||||
"Proposal": "Proposal",
|
||||
"ProposalRationale": "Proposal rationale",
|
||||
"ProposalTitle": "Title",
|
||||
"ProposalTitleText": "Tell people what you are proposing and why (100 characters or less)",
|
||||
"ProposalsGuide": "proposals guide",
|
||||
"ProposalDescription": "Description",
|
||||
"ProposalDescriptionText": "Full justification for what you are proposing (20,000 characters or less). Markdown is recommended. When linking to external resources please use IPFS",
|
||||
"ProposalTerms": "Proposal terms (JSON format)",
|
||||
|
||||
+2
-2
@@ -64,10 +64,10 @@ export const ProposalFormEnactmentDeadline = function ({
|
||||
</div>
|
||||
<div className="flex items-center gap-4 text-sm">
|
||||
<ButtonLink onClick={() => setInputValue(minEnactHours)}>
|
||||
Use min
|
||||
{t('UseMin')}
|
||||
</ButtonLink>
|
||||
<ButtonLink onClick={() => setInputValue(maxEnactHours)}>
|
||||
Use max
|
||||
{t('UseMax')}
|
||||
</ButtonLink>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -32,7 +32,7 @@ export const ProposalFormTerms = function ({
|
||||
target="_blank"
|
||||
className="underline"
|
||||
>
|
||||
proposals guide
|
||||
{t('ProposalsGuide')}
|
||||
</Link>
|
||||
</div>
|
||||
<TextArea
|
||||
|
||||
@@ -60,10 +60,10 @@ export const ProposalFormVoteDeadline = function ({
|
||||
</div>
|
||||
<div className="flex items-center gap-4 text-sm">
|
||||
<ButtonLink onClick={() => setInputValue(minVoteHours)}>
|
||||
Use min
|
||||
{t('UseMin')}
|
||||
</ButtonLink>
|
||||
<ButtonLink onClick={() => setInputValue(maxVoteHours)}>
|
||||
Use max
|
||||
{t('UseMax')}
|
||||
</ButtonLink>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user