Skip to content

Commit

Permalink
Added the install voice link to our blog
Browse files Browse the repository at this point in the history
  • Loading branch information
Ratatinator97 committed Jan 23, 2025
1 parent 141b1d2 commit f4c8bd5
Showing 1 changed file with 33 additions and 12 deletions.
45 changes: 33 additions & 12 deletions components/pictos/installVoice.vue
Original file line number Diff line number Diff line change
@@ -1,20 +1,41 @@
<template>
<div>
<div class="title is-4">{{ $t('NoVoiceAvailable')}} ⛔</div>
<div class="title is-6">{{ $t('SignupNoVoiceText')}}</div>
<div class="title is-6">{{ $t('SignupNoVoiceAll')}}
<br>
<a href="https://aulaabierta.arasaac.org/fr/communicateur-dynamique-asterics-grid-installation-de-voix-synthetiques-tts-sur-android">aulaabierta.arasaac.org
</a>
<div>
<div class="title is-4">{{ $t('NoVoiceAvailable') }} ⛔</div>
<div class="title is-6">{{ $t('SignupNoVoiceText') }}</div>
<div class="title is-6">{{ $t('SignupNoVoiceAll') }}
<br>
<a :href="getArticleUrl">www.pictalk.org
</a>
</div>
</div>
<div class="title is-6">{{ $t('SignupNoVoiceSamsung')}}
<br>
<a href="https://www.samsung.com/fr/support/mobile-devices/what-is-tts-text-to-speech/">https://www.samsung.com/fr/</a>
</div>
</div>
</template>
<script>
import lang from '../../mixins/lang';
export default {
name: 'installVoice',
mixins: [lang],
methods: {
getLocaleCode() {
return this.localeCode();
}
},
computed: {
getArticleUrl() {
if (this.getLocaleCode() == 'fr') {
return "https://www.pictalk.org/fr/article/install-synthetic-voice"
} else if (this.getLocaleCode() == 'es') {
return "https://www.pictalk.org/es/article/instalar-voces-sinteticas"
} else if (this.getLocaleCode() == 'it') {
return "https://www.pictalk.org/it/article/installare-voci-sintetiche"
} else if (this.getLocaleCode() == 'pt') {
return "https://www.pictalk.org/pt/article/instalar-vozes-sinteticas"
} else if (this.getLocaleCode() == 'de') {
return "https://www.pictalk.org/de/article/installiere-synthetische-stimmen"
} else {
return "https://www.pictalk.org/en/article/install-synthetic-voices"
}
}
}
}
</script>

0 comments on commit f4c8bd5

Please sign in to comment.