Skip to content

Commit

Permalink
fix: add translations
Browse files Browse the repository at this point in the history
  • Loading branch information
wa0x6e committed Nov 14, 2023
1 parent 33daf5d commit 03d1fd7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 4 additions & 6 deletions src/components/SpaceCreateWarnings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,14 @@ const isAdmin = computed(() => {
level="warning"
is-responsive
>
This space has been hibernated, and proposals creation has been disabled until the space is reactivated by an admin.
<BaseLink link="https://discord.snapshot.org/">
{{$t('create.errorSpaceHibernated')}}
<BaseLink link="https://docs.snapshot.org/">
{{ $t('learnMore') }}
</BaseLink>

<p v-if="isAdmin" class="mt-3">
<BaseButton @click="handleReactivateSpace">
Reactivate this space
<BaseButton v-if="isAdmin" class="mt-3" @click="handleReactivateSpace">
{{$t('reactivateSpace')}}
</BaseButton>
</p>
</BaseMessageBlock>

<MessageWarningGnosisNetwork
Expand Down
4 changes: 3 additions & 1 deletion src/locales/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@
"createASpace": "Create a space",
"getStarted": "Get started",
"skip": "Skip",
"reactivateSpace": "Reactivate the space",
"newSpaceNotice": {
"header": "Your space is live!",
"mainText": "You can change how voting power is calculated via strategies in your {settings}. Changes to your settings will only affect new proposals, existing proposals can not be changed.",
Expand Down Expand Up @@ -235,7 +236,8 @@
"uploading": "Uploading image",
"markdown": "Styling with Markdown is supported",
"errorGettingSnapshot": "We encountered an error while fetching the snapshot block number which is needed to calculate your voting power. Please try again later.",
"errorTimeInPast": "Entered time is in the past. Please select a future time."
"errorTimeInPast": "Entered time is in the past. Please select a future time.",
"errorSpaceHibernated": "This space has been hibernated, and proposals creation has been disabled until the space is reactivated by an admin."
},
"delegates": {
"header": "Delegates",
Expand Down

0 comments on commit 03d1fd7

Please sign in to comment.