fix labels

This commit is contained in:
mantikoros 2022-09-17 19:10:34 -05:00
parent 350ab35856
commit f71791bdd5
3 changed files with 4 additions and 2 deletions

View File

@ -86,6 +86,8 @@ export type PortfolioMetrics = {
export const MANIFOLD_USERNAME = 'ManifoldMarkets'
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

View File

@ -42,7 +42,7 @@ export default function BetButton(props: {
)}
onClick={() => setOpen(true)}
>
{PRESENT_BET}
Predict
</Button>
) : (
<BetSignUpPrompt />

View File

@ -255,7 +255,7 @@ function CommentStatus(props: {
const { contract, outcome, prob } = props
return (
<>
{` ${PRESENT_BET}ing `}
{` predicting `}
<OutcomeLabel outcome={outcome} contract={contract} truncate="short" />
{prob && ' at ' + Math.round(prob * 100) + '%'}
</>