From 24cf42284f76fcb3fdcf098e423c602c171821fc Mon Sep 17 00:00:00 2001
From: mantikoros
Date: Mon, 19 Sep 2022 14:03:45 -0500
Subject: [PATCH] replace "predictor" => "trader"
---
common/user.ts | 12 ++++++------
functions/src/email-templates/new-unique-bettor.html | 4 ++--
.../src/email-templates/new-unique-bettors.html | 8 ++++----
functions/src/email-templates/one-week.html | 2 +-
web/components/contract/contract-details.tsx | 2 +-
web/pages/notifications.tsx | 4 ++--
6 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/common/user.ts b/common/user.ts
index 3a5b91e1..44b0e59b 100644
--- a/common/user.ts
+++ b/common/user.ts
@@ -88,9 +88,9 @@ export const MANIFOLD_AVATAR_URL = 'https://manifold.markets/logo-bg-white.png'
// TODO: remove. Hardcoding the strings would be better.
// Different views require different language.
-export const BETTOR = ENV_CONFIG.bettor ?? 'bettor' // aka predictor
-export const BETTORS = ENV_CONFIG.bettor + 's' ?? 'bettors'
-export const PRESENT_BET = ENV_CONFIG.presentBet ?? 'bet' // aka predict
-export const PRESENT_BETS = ENV_CONFIG.presentBet + 's' ?? 'bets'
-export const PAST_BET = ENV_CONFIG.pastBet ?? 'bet' // aka prediction
-export const PAST_BETS = ENV_CONFIG.pastBet + 's' ?? 'bets' // aka predictions
+export const BETTOR = ENV_CONFIG.bettor ?? 'trader'
+export const BETTORS = ENV_CONFIG.bettor + 's' ?? 'traders'
+export const PRESENT_BET = ENV_CONFIG.presentBet ?? 'trade'
+export const PRESENT_BETS = ENV_CONFIG.presentBet + 's' ?? 'trades'
+export const PAST_BET = ENV_CONFIG.pastBet ?? 'trade'
+export const PAST_BETS = ENV_CONFIG.pastBet + 's' ?? 'trades'
diff --git a/functions/src/email-templates/new-unique-bettor.html b/functions/src/email-templates/new-unique-bettor.html
index 51026121..d44a7de6 100644
--- a/functions/src/email-templates/new-unique-bettor.html
+++ b/functions/src/email-templates/new-unique-bettor.html
@@ -218,10 +218,10 @@
We sent you a {{bonusString}} 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.
- Keep up the good work and check out your newest predictor below!
+ Keep up the good work and check out your newest trader below!
diff --git a/functions/src/email-templates/new-unique-bettors.html b/functions/src/email-templates/new-unique-bettors.html
index 09c44d03..d9d0643c 100644
--- a/functions/src/email-templates/new-unique-bettors.html
+++ b/functions/src/email-templates/new-unique-bettors.html
@@ -9,7 +9,7 @@
- New unique predictors on your market
+ New unique traders on your market