Skip to content

Commit

Permalink
Changed success image, removed "share buttons" on the successModal, i…
Browse files Browse the repository at this point in the history
…mproved texts and fixed bug with "Continue" action showing the text of "Canceling" action
  • Loading branch information
jpaulet authored and elboletaire committed Mar 12, 2024
1 parent f150a67 commit 391bcad
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
Binary file modified public/pxll/assets/spreadsheet-success-modal.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/Process/View.tsx
Expand Up @@ -204,7 +204,7 @@ const SuccessVoteModal = () => {
p: <Text mb={2} />,
}}
/>
<UnorderedList listStyleType='none' display='flex' justifyContent='center' gap={6} mt={6} mb={2} ml={0}>
<UnorderedList listStyleType='none' display='none' justifyContent='center' gap={6} mt={6} mb={2} ml={0}>
<ListItem>
<Link
href={twitter}
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/components.tsx
Expand Up @@ -4,7 +4,7 @@ export const translations = (t: TFunction<string, string>) => ({
actions: {
cancel_description: t('cc.actions.cancel_description').toString(),
cancel: t('cc.actions.cancel').toString(),
continue_description: t('cc.actions.cancel_description').toString(),
continue_description: t('cc.actions.continue_description').toString(),
continue: t('cc.actions.continue').toString(),
end_description: t('cc.actions.end_description').toString(),
end: t('cc.actions.end').toString(),
Expand Down
3 changes: 2 additions & 1 deletion src/i18n/locales/ca.json
Expand Up @@ -31,8 +31,9 @@
"cc": {
"actions": {
"cancel": "Cancel·la immediatament el procés de votació, sense permetre nous vots i sense comptabilitzar resultats (precaució: no es pot desfer)",
"cancel_description": "cancel·lant el procés de votació \"{{ election.title.default }}\"...\nAtenció: aquesta acció no es pot desfer i cancel·larà els vots que s'hagin emès.",
"cancel_description": "Cancel·lant el procés de votació \"{{ election.title.default }}\"...\nAtenció: aquesta acció no es pot desfer i cancel·larà els vots que s'hagin emès.",
"continue": "Continua el procés immediatament, si s'ha pausat",
"continue_description": "Reobrint el procés \"{{ election.title.default }}\"",
"end": "Finalitza immediatament el procés, impedint que es presentin nous vots, i mostra els resultats de votació (precaució: no es pot desfer)",
"end_description": "Finalitzant el procés de votació \"{{ election.title.default }}\"...\nAtenció: aquesta acció no es pot desfer i els votants no podran emetre nous vots.",
"error_title": "S'ha produït algun error en executar la transacció",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/en.json
Expand Up @@ -31,6 +31,7 @@
"cancel": "Cancel the process immediately, not allowing new votes and not counting any results (caution: it cannot be reverted)",
"cancel_description": "Canceling \"{{ election.title.default }}\"...\nAttention: this action is irreversible and will cancel all the previous votes on it",
"continue": "Resume the process immediately, in case it has been paused",
"continue_description": "Resuming \"{{ election.title.default }}\" voting process...",
"end": "End the process immediately, preventing new votes to be submitted, and shows the voting results (caution: it cannot be reverted)",
"end_description": "Ending \"{{ election.title.default }}\" voting process...\nAttention: this action is irreversible and voters will no longer be able to vote.",
"error_title": "There was some error while executing the transaction",
Expand Down

0 comments on commit 391bcad

Please sign in to comment.