Add embed button
This commit is contained in:
parent
ed8d4f0c3f
commit
fa038032e6
|
@ -126,7 +126,7 @@ const checkAndSwitch = async (url: string) => {
|
|||
type="submit"
|
||||
:class="['ui', 'icon', {loading: isLoading}, 'button']"
|
||||
>
|
||||
{{ $t('components.SetInstanceModal.button.submit') }}
|
||||
{{ $t('global.button.submit') }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -94,7 +94,7 @@ const remove = () => emit('remove')
|
|||
@click="showEmbedModal = !showEmbedModal"
|
||||
>
|
||||
<i class="code icon" />
|
||||
{{ $t('components.library.AlbumDropdown.button.embed') }}
|
||||
{{ $t('global.button.embed') }}
|
||||
</div>
|
||||
<a
|
||||
v-if="isAlbum && musicbrainzUrl"
|
||||
|
|
|
@ -196,7 +196,7 @@ watch(() => props.id, fetchData, { immediate: true })
|
|||
@click.prevent="showEmbedModal = !showEmbedModal"
|
||||
>
|
||||
<i class="code icon" />
|
||||
{{ $t('components.library.ArtistBase.button.embed') }}
|
||||
{{ $t('global.button.embed') }}
|
||||
</button>
|
||||
<a
|
||||
:href="wikipediaUrl"
|
||||
|
|
|
@ -227,7 +227,7 @@ const remove = async () => {
|
|||
@click="showEmbedModal = !showEmbedModal"
|
||||
>
|
||||
<i class="code icon" />
|
||||
{{ $t('components.library.TrackBase.button.embed') }}
|
||||
{{ $t('global.button.embed') }}
|
||||
</div>
|
||||
<a
|
||||
:href="wikipediaUrl"
|
||||
|
|
|
@ -4510,7 +4510,9 @@
|
|||
"edit": "Edit",
|
||||
"delete": "Delete",
|
||||
"search": "Search",
|
||||
"clear": "Clear"
|
||||
"clear": "Clear",
|
||||
"embed": "Embed",
|
||||
"submit": "Submit"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -256,7 +256,7 @@ const updateSubscriptionCount = (delta: number) => {
|
|||
@click.prevent="showEmbedModal = !showEmbedModal"
|
||||
>
|
||||
<i class="code icon" />
|
||||
{{ $t('views.channels.DetailBase.button.embed') }}
|
||||
{{ $t('global.button.embed') }}
|
||||
</a>
|
||||
<a
|
||||
v-if="object.actor && object.actor.domain != $store.getters['instance/domain']"
|
||||
|
|
|
@ -132,7 +132,7 @@ const deletePlaylist = async () => {
|
|||
@click="showEmbedModal = !showEmbedModal"
|
||||
>
|
||||
<i class="code icon" />
|
||||
{{ $t('views.playlists.Detail.button.embed') }}
|
||||
{{ $t('global.button.embed') }}
|
||||
</button>
|
||||
<dangerous-button
|
||||
v-if="$store.state.auth.profile && playlist.user.id === $store.state.auth.profile.id"
|
||||
|
|
Loading…
Reference in New Issue