fix labels
This commit is contained in:
parent
350ab35856
commit
f71791bdd5
|
@ -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
|
||||
|
|
|
@ -42,7 +42,7 @@ export default function BetButton(props: {
|
|||
)}
|
||||
onClick={() => setOpen(true)}
|
||||
>
|
||||
{PRESENT_BET}
|
||||
Predict
|
||||
</Button>
|
||||
) : (
|
||||
<BetSignUpPrompt />
|
||||
|
|
|
@ -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) + '%'}
|
||||
</>
|
||||
|
|
Loading…
Reference in New Issue
Block a user