mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-25 23:45:13 +00:00
replaced ti-music
This commit is contained in:
parent
0b72513ce5
commit
d21d428d64
6 changed files with 6 additions and 5 deletions
|
@ -18,7 +18,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<button v-if="hide" :class="$style.hidden" @click="hide = false">
|
<button v-if="hide" :class="$style.hidden" @click="hide = false">
|
||||||
<div :class="$style.hiddenTextWrapper">
|
<div :class="$style.hiddenTextWrapper">
|
||||||
<b v-if="audio.isSensitive" style="display: block;"><i class="ti ti-eye-exclamation"></i> {{ i18n.ts.sensitive }}{{ defaultStore.state.dataSaver.media ? ` (${i18n.ts.audio}${audio.size ? ' ' + bytes(audio.size) : ''})` : '' }}</b>
|
<b v-if="audio.isSensitive" style="display: block;"><i class="ti ti-eye-exclamation"></i> {{ i18n.ts.sensitive }}{{ defaultStore.state.dataSaver.media ? ` (${i18n.ts.audio}${audio.size ? ' ' + bytes(audio.size) : ''})` : '' }}</b>
|
||||||
<b v-else style="display: block;"><i class="ph-music-notes ph-bold ph-lg"></i> {{ defaultStore.state.dataSaver.media && audio.size ? bytes(audio.size) : i18n.ts.audio }}</b>
|
<b v-else style="display: block;"><i class="ti ti-music"></i> {{ defaultStore.state.dataSaver.media && audio.size ? bytes(audio.size) : i18n.ts.audio }}</b>
|
||||||
<span style="display: block;">{{ i18n.ts.clickToShow }}</span>
|
<span style="display: block;">{{ i18n.ts.clickToShow }}</span>
|
||||||
</div>
|
</div>
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -35,7 +35,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
</div>
|
</div>
|
||||||
<div class="_woodenFrameInner">
|
<div class="_woodenFrameInner">
|
||||||
<div class="_gaps" style="padding: 16px;">
|
<div class="_gaps" style="padding: 16px;">
|
||||||
<div style="font-size: 90%;"><i class="ph-music-notes ph-bold ph-lg"></i> {{ i18n.ts.soundWillBePlayed }}</div>
|
<div style="font-size: 90%;"><i class="ti ti-music"></i> {{ i18n.ts.soundWillBePlayed }}</div>
|
||||||
<MkSwitch v-model="mute">
|
<MkSwitch v-model="mute">
|
||||||
<template #label>{{ i18n.ts.mute }}</template>
|
<template #label>{{ i18n.ts.mute }}</template>
|
||||||
</MkSwitch>
|
</MkSwitch>
|
||||||
|
|
|
@ -15,7 +15,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<MkButton primary gradate rounded @click="matchAny">{{ i18n.ts._reversi.freeMatch }}</MkButton>
|
<MkButton primary gradate rounded @click="matchAny">{{ i18n.ts._reversi.freeMatch }}</MkButton>
|
||||||
<MkButton primary gradate rounded @click="matchUser">{{ i18n.ts.invite }}</MkButton>
|
<MkButton primary gradate rounded @click="matchUser">{{ i18n.ts.invite }}</MkButton>
|
||||||
</div>
|
</div>
|
||||||
<div style="font-size: 90%; opacity: 0.7; text-align: center;"><i class="ph-music-notes ph-bold ph-lg"></i> {{ i18n.ts.soundWillBePlayed }}</div>
|
<div style="font-size: 90%; opacity: 0.7; text-align: center;"><i class="ti ti-music"></i> {{ i18n.ts.soundWillBePlayed }}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<MkFolder v-if="invitations.length > 0" :defaultOpen="true">
|
<MkFolder v-if="invitations.length > 0" :defaultOpen="true">
|
||||||
|
|
|
@ -120,7 +120,7 @@ const menuDef = computed(() => [{
|
||||||
to: '/settings/statusbar',
|
to: '/settings/statusbar',
|
||||||
active: currentPage.value?.route.name === 'statusbar',
|
active: currentPage.value?.route.name === 'statusbar',
|
||||||
}, {
|
}, {
|
||||||
icon: 'ph-music-notes ph-bold ph-lg',
|
icon: 'ti ti-music',
|
||||||
text: i18n.ts.sounds,
|
text: i18n.ts.sounds,
|
||||||
to: '/settings/sounds',
|
to: '/settings/sounds',
|
||||||
active: currentPage.value?.route.name === 'sounds',
|
active: currentPage.value?.route.name === 'sounds',
|
||||||
|
|
|
@ -96,6 +96,6 @@ const headerTabs = computed(() => []);
|
||||||
|
|
||||||
definePageMetadata(() => ({
|
definePageMetadata(() => ({
|
||||||
title: i18n.ts.sounds,
|
title: i18n.ts.sounds,
|
||||||
icon: 'ph-music-notes ph-bold ph-lg',
|
icon: 'ti ti-music',
|
||||||
}));
|
}));
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -213,6 +213,7 @@ export function getConfig(): UserConfig {
|
||||||
'ti ti-hourglass-empty': 'ph-hourglass ph-bold ph-lg',
|
'ti ti-hourglass-empty': 'ph-hourglass ph-bold ph-lg',
|
||||||
'ti ti-search': 'ph-magnifying-glass ph-bold ph-lg',
|
'ti ti-search': 'ph-magnifying-glass ph-bold ph-lg',
|
||||||
'ti ti-external-link': 'ph-arrow-square-out ph-bold ph-lg',
|
'ti ti-external-link': 'ph-arrow-square-out ph-bold ph-lg',
|
||||||
|
'ti ti-music': 'ph-music-notes ph-bold ph-lg',
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
...process.env.NODE_ENV === 'production'
|
...process.env.NODE_ENV === 'production'
|
||||||
|
|
Loading…
Reference in a new issue