Skip to content

Commit

Permalink
GIX-1890: Improve copy
Browse files Browse the repository at this point in the history
  • Loading branch information
lmuntaner committed Sep 18, 2023
1 parent 6443a5a commit 598c5a1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions frontend/src/lib/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,7 @@
"spawn": "Spawn",
"stake_maturity_disabled_tooltip": "Currently, you do not have any maturity available to stake into this neuron.",
"disburse_maturity_disabled_tooltip": "Currently, you do not have any maturity available to disburse.",
"disburse_maturity_modal_disabled_tooltip": "You need at least $amount to disburse.",
"stake_maturity_tooltip": "Merge Maturity has been replaced by Stake Maturity. <a href=\"https://wiki.internetcomputer.org/wiki/NNS_neuron_operations_related_to_maturity\" rel=\"noopener noreferrer\" aria-label=\"Find more information about the new stake maturity\" target=\"_blank\">Learn more</a>.",
"start_dissolve_description": "This will cause your neuron to lose its age bonus.\nAre you sure you wish to continue?",
"stop_dissolve_description": "Are you sure you want to stop the dissolve process?",
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/lib/modals/neurons/DisburseMaturityModal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
$: disabledText =
disableDisburse && percentageToDisburse > 0
? replacePlaceholders(
$i18n.neuron_detail.disburse_maturity_disabled_tooltip,
{ $fee: formatToken({ value: transactionFeeE8s }) }
$i18n.neuron_detail.disburse_maturity_modal_disabled_tooltip,
{ $amount: formatToken({ value: transactionFeeE8s }) }
)
: undefined;
Expand Down
1 change: 1 addition & 0 deletions frontend/src/lib/types/i18n.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,7 @@ interface I18nNeuron_detail {
spawn: string;
stake_maturity_disabled_tooltip: string;
disburse_maturity_disabled_tooltip: string;
disburse_maturity_modal_disabled_tooltip: string;
stake_maturity_tooltip: string;
start_dissolve_description: string;
stop_dissolve_description: string;
Expand Down

0 comments on commit 598c5a1

Please sign in to comment.