diff --git a/packages/frontend/src/components/Election/Admin/SendEmailDialog.tsx b/packages/frontend/src/components/Election/Admin/SendEmailDialog.tsx index 159bd9a6..74ab3d85 100644 --- a/packages/frontend/src/components/Election/Admin/SendEmailDialog.tsx +++ b/packages/frontend/src/components/Election/Admin/SendEmailDialog.tsx @@ -49,7 +49,7 @@ export default ({open, onClose, onSubmit, targetedEmail=undefined}) => { setEmailBody(t(`emails.${template_id}.body`, { skipProcessing: true, // processing must occur in backend title: election.title, - description: election.description ? `\n${t('emails.description', {description: election.description, skipProcessing: true})}\n`: '', + description: election.description ? `\n${t('emails.election_description', {description: election.description, skipProcessing: true})}\n`: '', voting_begin: election.start_time ? `\n${t('emails.voting_begin', {datetime: election.start_time, skipProcessing: true})}\n` : '', voting_end: election.end_time ? `\n${t('emails.voting_end', {datetime: election.end_time, skipProcessing: true})}\n` : '', })) diff --git a/packages/frontend/src/components/Election/Results/Results.tsx b/packages/frontend/src/components/Election/Results/Results.tsx index 05c946e1..91fad618 100644 --- a/packages/frontend/src/components/Election/Results/Results.tsx +++ b/packages/frontend/src/components/Election/Results/Results.tsx @@ -359,7 +359,7 @@ function PRResultsViewer() { let remainingVoters = (results.summaryData.nValidVotes*(1 - ((page-1)/results.summaryData.weightedScoresByRound.length))) remainingVoters = Math.round(remainingVoters*10)/10; - return <> + return @@ -393,7 +393,7 @@ function PRResultsViewer() { - + } export default function Results({ race, results }: {race: Race, results: ElectionResults}) { diff --git a/packages/frontend/src/i18n/en.yaml b/packages/frontend/src/i18n/en.yaml index bfcc66e1..8745fad1 100644 --- a/packages/frontend/src/i18n/en.yaml +++ b/packages/frontend/src/i18n/en.yaml @@ -281,7 +281,7 @@ ballot_submitted: title: '{{capital_ballot}} Submitted' description: Thank you for voting! results: Results - donate: Donate + donate: Donate to Equal Vote end_time: '{{capital_election}} ends {{date}} at {{time}}' # Landing Page -> New Election Dialog @@ -404,7 +404,7 @@ about: onboarding and to be involved in discussions donate_title: Donate donate_description: Help us to continue supporting the website - donate_button: Donate + donate_button: Donate to Equal Vote donate_link: https://www.equal.vote/donate # Results page @@ -935,7 +935,7 @@ methods: star_pr: full_name: Proportional STAR Voting short_name: STAR PR - learn_link: https://www.equal.vote/pr + learn_link: https://www.starvoting.org/star-pr approval: full_name: Approval Voting short_name: Approval Voting