Skip to content

Commit

Permalink
Updated texts regarding dates
Browse files Browse the repository at this point in the history
  • Loading branch information
biwano committed Jan 6, 2022
1 parent e8c4093 commit 21f5dd6
Show file tree
Hide file tree
Showing 5 changed files with 321 additions and 273 deletions.
10 changes: 5 additions & 5 deletions app/components/views/Bond/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -381,8 +381,8 @@ export const Bond: FC<Props> = (props) => {
message: "Amount of KLIMA that has already vested and can be redeemed",
});
defineMessage({
id: "bond.time_until_fully_vested.tooltip",
message: "Time remaining until the entire bond value can be redeemed",
id: "bond.date_of_full_vesting.tooltip",
message: "Date when the entire bond value can be redeemed",
});

return (
Expand Down Expand Up @@ -700,12 +700,12 @@ export const Bond: FC<Props> = (props) => {
</li>
<li className={styles.dataContainer_row}>
<div className={styles.dataContainer_label}>
<Trans id="bond.time_until_fully_vested">
Time until fully vested
<Trans id="bond.date_of_full_vesting">
Date of full vesting
</Trans>
<TextInfoTooltip
singleton={singleton}
content={i18n._("bond.time_until_fully_vested.tooltip")}
content={i18n._("bond.date_of_full_vesting.tooltip")}
>
<div tabIndex={0} className={styles.infoIconWrapper}>
<InfoOutlined />
Expand Down
8 changes: 4 additions & 4 deletions app/components/views/Stake/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,8 @@ export const Stake = (props: Props) => {
message: "Approximate amount of sKLIMA you will receive at next rebase",
});
defineMessage({
id: "stake.time_until_rebase.tooltip",
message: "Approximate time remaining until next rewards distribution",
id: "stake.date_of_next_rebase.tooltip",
message: "Approximate date of next rewards distribution",
});
defineMessage({
id: "stake.roi.tooltip",
Expand Down Expand Up @@ -415,10 +415,10 @@ export const Stake = (props: Props) => {
</li>
<li className={styles.dataContainer_row}>
<div className={styles.dataContainer_label}>
<Trans id="stake.time_until_rebase">Time until rebase</Trans>
<Trans id="stake.date_of_next_rebase">Time until rebase</Trans>
<TextInfoTooltip
singleton={singleton}
content={i18n._("stake.time_until_rebase.tooltip")}
content={i18n._("stake.date_of_next_rebase.tooltip")}
>
<div tabIndex={0} className={styles.infoIconWrapper}>
<InfoOutlined />
Expand Down
Loading

0 comments on commit 21f5dd6

Please sign in to comment.