Skip to content

Commit

Permalink
add 'already registered' message
Browse files Browse the repository at this point in the history
  • Loading branch information
yuetloo committed Aug 19, 2023
1 parent 5c9a7b8 commit 8c76f37
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
5 changes: 3 additions & 2 deletions vue-app/src/locales/cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@
},
"verified": {
"h1": "准备好贡献了!",
"div1": "您已经参加了这次筹款!并且得到 BrightID 验证了",
"div1": "您可以参加这次筹款了!我们已验证了您的账户",
"p1": "您现在可以开始做捐献给您喜欢的项目了。",
"link1": "查看项目",
"link2": "回首页"
Expand Down Expand Up @@ -836,7 +836,8 @@
"div3": "捐赠提早关闭 - 您不能再捐款了!由于社区的慷慨和一些技术限制,我们不得不比预期更早地结束这一次筹款活动。如果您已经捐赠过,您仍然有时间重新分配。如果您没有机会捐赠,您仍然可以通过捐赠匹配池来帮助。",
"link2": "我已验证了 BrightID",
"link3": "返回",
"linkVerify": "我准备好了!"
"linkVerify": "我准备好了!",
"already_registered": "您已注册。您可以开始捐献给您喜欢的项目了。"
},
"addToCartButton": {
"input1": "加入捐款车",
Expand Down
5 changes: 3 additions & 2 deletions vue-app/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@
},
"verified": {
"h1": "Ready to contribute!",
"div1": "You’re on board this funding round! And fully verified for BrightID for this funding round.",
"div1": "You’re on board this funding round! And fully verified for this funding round.",
"p1": "You can now start contributing to your favorite projects.",
"link1": "View projects",
"link2": "Go home"
Expand Down Expand Up @@ -836,7 +836,8 @@
"div3": "Contributions closed early – you can no longer donate! Due to the community's generosity and some technical constraints we had to close the round earlier than expected. If you already contributed, you still have time to reallocate if you need to. If you didn't get a chance to contribute, you can still help by donating to the matching pool",
"link2": "I am BrightID verified",
"link3": "Go back",
"linkVerify": "I am ready!"
"linkVerify": "I am ready!",
"already_registered": "You are registered. You can now start contributing to your favorite projects."
},
"addToCartButton": {
"input1": "Add to cart",
Expand Down
5 changes: 3 additions & 2 deletions vue-app/src/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@
},
"verified": {
"h1": "¡Listo para contribuir!",
"div1": "¡Estás en esta ronda de financiamiento! Y completamente verificado para BrightID en esta ronda de financiamiento.",
"div1": "¡Estás en esta ronda de financiamiento! Y completamente verificado en esta ronda de financiamiento.",
"p1": "Ahora puedes comenzar a contribuir a tus proyectos favoritos.",
"link1": "Ver proyectos",
"link2": "Ir a inicio"
Expand Down Expand Up @@ -836,7 +836,8 @@
"div3": "Las contribuciones se cerraron anticipadamente, ¡ya no puedes donar! Debido a la generosidad de la comunidad y algunas limitaciones técnicas, tuvimos que cerrar la ronda antes de lo previsto. Si ya has contribuido, todavía tienes tiempo para reasignar si es necesario. Si no tuviste la oportunidad de contribuir, aún puedes ayudar donando al matching pool",
"link2": "Tengo BrightID instalado",
"link3": "Volver",
"linkVerify": "Estoy listo!"
"linkVerify": "Estoy listo!",
"already_registered": "Estás registrado. Ahora puedes comenzar a contribuir a tus proyectos favoritos."
},
"addToCartButton": {
"input1": "Agregar",
Expand Down
3 changes: 3 additions & 0 deletions vue-app/src/views/VerifyLanding.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@
<div v-else-if="isRoundFull" class="warning-message">
{{ $t('verifyLanding.div3') }}
</div>
<div v-else-if="Boolean(currentUser?.isRegistered)" class="warning-message">
{{ $t('verifyLanding.already_registered') }}
</div>
<div class="btn-container mt2">
<div v-if="!isRoundOver">
<wallet-widget v-if="!currentUser" :isActionButton="true" :fullWidthMobile="true" />
Expand Down

0 comments on commit 8c76f37

Please sign in to comment.