Commit cef5fca1 authored by Max Alekseenko's avatar Max Alekseenko

change texts

parent a309ca17
......@@ -9,7 +9,7 @@ import IconSvg from 'ui/shared/IconSvg';
import Stars from './Stars';
import type { RateFunction } from './useRatings';
const ratingDescriptions = [ 'Terrible', 'Poor', 'Average', 'Very good', 'Outstanding' ];
const ratingDescriptions = [ 'Very bad', 'Bad', 'Average', 'Good', 'Excellent' ];
type Props = {
appId: string;
......
......@@ -64,7 +64,7 @@ const Rating = ({
canRate={ canRate }
/>
</PopoverTrigger>
<PopoverContent w="274px" mx={ 3 }>
<PopoverContent w="250px" mx={ 3 }>
<PopoverBody p={ 4 }>
<Content
appId={ appId }
......
......@@ -15,12 +15,12 @@ type Props = {
const getTooltipText = (canRate: boolean | undefined) => {
if (canRate === undefined) {
return <>You need a connected wallet to leave your rating.<br/>Link your wallet to Blockscout first</>;
return <>Please connect your wallet to Blockscout to rate this DApp.<br/>Only wallets with 5+ transactions are eligible</>;
}
if (!canRate) {
return <>New wallet users are not eligible to leave ratings.<br/>Please connect a different wallet</>;
return <>Brand new wallets cannot leave ratings.<br/>Please connect a wallet with 5 or more transactions on this chain</>;
}
return <>Ratings are derived from reviews by trusted users.<br/>Click here to rate!</>;
return <>Ratings come from verified users.<br/>Click here to rate!</>;
};
const TriggerButton = (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment