0
Fork 0
mirror of https://codeberg.org/SafeTwitch/safetwitch.git synced 2024-12-22 05:12:57 -05:00

Fix missing translations

This commit is contained in:
dragongoose 2023-10-21 12:29:04 -04:00
parent 2a1b326f94
commit 118ffcb22d
No known key found for this signature in database
GPG key ID: 01397EEC371CDAA5
3 changed files with 8 additions and 8 deletions

View file

@ -75,7 +75,7 @@ export default {
<div class="fixed top-0 bottom-0 left-0 right-0 flex w-full z-50 h-[100vh] bg-opacity-50 bg-black">
<div class="bg-crust my-auto h-min mx-auto w-[35rem] max-w-[95vw] p-5 rounded-md relative z-50 text-contrast">
<div class="flex justify-between">
<h1 class="text-3xl font-bold">Share</h1>
<h1 class="text-3xl font-bold">{{ $t('share.share') }}</h1>
<button @click="$emit('close')">
<v-icon name="io-close-sharp" scale="1.8"></v-icon>
</button>
@ -89,18 +89,18 @@ export default {
<ul class="mt-1">
<li>
<label class="flex items-center">
<input :disabled="!useTime" class="align-middle w-4 h-4 mr-1 disabled:opacity-50" type="checkbox" @change="toggleTime()" v-model="usingTime" /> Add Timestamp
<input :disabled="!useTime" class="align-middle w-4 h-4 mr-1 disabled:opacity-50" type="checkbox" @change="toggleTime()" v-model="usingTime" /> {{ $t('share.addTimestamp') }}
</label>
<label class="flex items-center">
<input class="align-middle w-4 h-4 mr-1" @change="toggleTwitchUrl()" v-model="usingTwitchUrl" type="checkbox" /> Twitch URL
<input class="align-middle w-4 h-4 mr-1" @change="toggleTwitchUrl()" v-model="usingTwitchUrl" type="checkbox" /> {{ $t('share.twitchUrl') }}
</label>
</li>
</ul>
<div class="space-x-2 mt-1">
<button class="p-2 py-1.5 bg-surface0 rounded-md" @click="copyUrl()">Copy Link</button>
<button class="p-2 py-1.5 bg-surface0 rounded-md" @click="gotoUrl()" >Go to</button>
<button class="p-2 py-1.5 bg-surface0 rounded-md" @click="copyUrl()">{{ $t('share.copyLink') }}</button>
<button class="p-2 py-1.5 bg-surface0 rounded-md" @click="gotoUrl()" >{{ $t('share.goto') }}</button>
</div>
</div>
</div>

View file

@ -33,7 +33,7 @@ export default {
<span class="pr-3 font-bold text-3xl">{{ $t('streamer.about') }}</span>
</div>
<p class="mb-5">{{ about || "No about provided" }}</p>
<p class="mb-5">{{ about || $t('streamer.noAbout') }}</p>
<hr class="my-auto w-full bg-gray-200 rounded-full opacity-40" />
@ -46,6 +46,6 @@ export default {
</li>
</ul>
<p v-else> No socials provided </p>
<p v-else> {{$t('streamer.noSocials')}} </p>
</div>
</template>

@ -1 +1 @@
Subproject commit 5234fd436d659ba94018635b9f3977c12bdaafe7
Subproject commit ca6aecba78fba0f2d9a84d7aa71d83784a81ee52