replace "predictor" => "trader"

This commit is contained in:
mantikoros 2022-09-19 14:03:45 -05:00
parent 6aa45a2d12
commit 24cf42284f
6 changed files with 16 additions and 16 deletions

View File

@ -88,9 +88,9 @@ export const MANIFOLD_AVATAR_URL = 'https://manifold.markets/logo-bg-white.png'
// TODO: remove. Hardcoding the strings would be better. // TODO: remove. Hardcoding the strings would be better.
// Different views require different language. // Different views require different language.
export const BETTOR = ENV_CONFIG.bettor ?? 'bettor' // aka predictor export const BETTOR = ENV_CONFIG.bettor ?? 'trader'
export const BETTORS = ENV_CONFIG.bettor + 's' ?? 'bettors' export const BETTORS = ENV_CONFIG.bettor + 's' ?? 'traders'
export const PRESENT_BET = ENV_CONFIG.presentBet ?? 'bet' // aka predict export const PRESENT_BET = ENV_CONFIG.presentBet ?? 'trade'
export const PRESENT_BETS = ENV_CONFIG.presentBet + 's' ?? 'bets' export const PRESENT_BETS = ENV_CONFIG.presentBet + 's' ?? 'trades'
export const PAST_BET = ENV_CONFIG.pastBet ?? 'bet' // aka prediction export const PAST_BET = ENV_CONFIG.pastBet ?? 'trade'
export const PAST_BETS = ENV_CONFIG.pastBet + 's' ?? 'bets' // aka predictions export const PAST_BETS = ENV_CONFIG.pastBet + 's' ?? 'trades'

View File

@ -218,10 +218,10 @@
<br/> <br/>
<br/> <br/>
We sent you a <span style='color: #11b981'>{{bonusString}}</span> bonus for We sent you a <span style='color: #11b981'>{{bonusString}}</span> bonus for
creating a market that appeals to others, and we'll do so for each new predictor. creating a market that appeals to others, and we'll do so for each new trader.
<br/> <br/>
<br/> <br/>
Keep up the good work and check out your newest predictor below! Keep up the good work and check out your newest trader below!
</span></p> </span></p>
</div> </div>
</td> </td>

View File

@ -9,7 +9,7 @@
<head> <head>
<meta name="viewport" content="width=device-width" /> <meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>New unique predictors on your market</title> <title>New unique traders on your market</title>
<style type="text/css"> <style type="text/css">
img { img {
@ -217,11 +217,11 @@
Your market <a href='{{marketUrl}}'>{{marketTitle}}</a> got predictions from a total of {{totalPredictors}} users! Your market <a href='{{marketUrl}}'>{{marketTitle}}</a> got predictions from a total of {{totalPredictors}} users!
<br/> <br/>
<br/> <br/>
We sent you a <span style='color: #11b981'>{{bonusString}}</span> bonus for getting {{newPredictors}} new predictors, We sent you a <span style='color: #11b981'>{{bonusString}}</span> bonus for getting {{newPredictors}} new traders,
and we'll continue to do so for each new predictor, (although we won't send you any more emails about it for this market). and we'll continue to do so for each new trader, (although we won't send you any more emails about it for this market).
<br/> <br/>
<br/> <br/>
Keep up the good work and check out your newest predictors below! Keep up the good work and check out your newest traders below!
</span></p> </span></p>
</div> </div>
</td> </td>

View File

@ -192,7 +192,7 @@
tips on comments and markets</span></li> tips on comments and markets</span></li>
<li style="line-height:23px;"><span <li style="line-height:23px;"><span
style="font-family:Arial, sans-serif;font-size:18px;">Unique style="font-family:Arial, sans-serif;font-size:18px;">Unique
predictor bonus for each user who predicts on your trader bonus for each user who trades on your
markets</span></li> markets</span></li>
<li style="line-height:23px;"><span style="font-family:Arial, sans-serif;font-size:18px;"><a <li style="line-height:23px;"><span style="font-family:Arial, sans-serif;font-size:18px;"><a
class="link-build-content" style="color:inherit;; text-decoration: none;" class="link-build-content" style="color:inherit;; text-decoration: none;"

View File

@ -309,7 +309,7 @@ export function ExtraMobileContractDetails(props: {
<Tooltip <Tooltip
text={`${formatMoney( text={`${formatMoney(
volume volume
)} bet - ${uniqueBettors} unique predictors`} )} bet - ${uniqueBettors} unique traders`}
> >
{volumeTranslation} {volumeTranslation}
</Tooltip> </Tooltip>

View File

@ -435,7 +435,7 @@ function IncomeNotificationItem(props: {
reasonText = !simple reasonText = !simple
? `Bonus for ${ ? `Bonus for ${
parseInt(sourceText) / UNIQUE_BETTOR_BONUS_AMOUNT parseInt(sourceText) / UNIQUE_BETTOR_BONUS_AMOUNT
} new predictors on` } new traders on`
: 'bonus on' : 'bonus on'
} else if (sourceType === 'tip') { } else if (sourceType === 'tip') {
reasonText = !simple ? `tipped you on` : `in tips on` reasonText = !simple ? `tipped you on` : `in tips on`
@ -556,7 +556,7 @@ function IncomeNotificationItem(props: {
{(isTip || isUniqueBettorBonus) && ( {(isTip || isUniqueBettorBonus) && (
<MultiUserTransactionLink <MultiUserTransactionLink
userInfos={userLinks} userInfos={userLinks}
modalLabel={isTip ? 'Who tipped you' : 'Unique predictors'} modalLabel={isTip ? 'Who tipped you' : 'Unique traders'}
/> />
)} )}
<Row className={'line-clamp-2 flex max-w-xl'}> <Row className={'line-clamp-2 flex max-w-xl'}>