merge: develop

This commit is contained in:
Mar0xy 2023-11-04 21:52:12 +01:00
commit db29a5c2da
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828
134 changed files with 282 additions and 282 deletions

View file

@ -30,12 +30,12 @@ SPDX-License-Identifier: AGPL-3.0-only
<FormSection>
<div class="_gaps_s">
<FormLink to="https://github.com/transfem-org/Sharkey" external>
<template #icon><i class="ph-code ph-bold pg-lg"></i></template>
<template #icon><i class="ph-code ph-bold ph-lg"></i></template>
{{ i18n.ts._aboutMisskey.source }}
<template #suffix>GitHub</template>
</FormLink>
<FormLink to="https://ko-fi.com/transfem" external>
<template #icon><i class="ph-piggy-bank ph-bold pg-lg"></i></template>
<template #icon><i class="ph-piggy-bank ph-bold ph-lg"></i></template>
{{ i18n.ts._aboutMisskey.donate }}
<template #suffix>Ko-Fi</template>
</FormLink>

View file

@ -148,7 +148,7 @@ const headerTabs = $computed(() => [{
}, {
key: 'emojis',
title: i18n.ts.customEmojis,
icon: 'ph-smiley ph-bold pg-lg',
icon: 'ph-smiley ph-bold ph-lg',
}, {
key: 'federation',
title: i18n.ts.federation,
@ -156,7 +156,7 @@ const headerTabs = $computed(() => [{
}, {
key: 'charts',
title: i18n.ts.charts,
icon: 'ph-chart-line ph-bold pg-lg',
icon: 'ph-chart-line ph-bold ph-lg',
}]);
definePageMetadata(computed(() => ({

View file

@ -135,7 +135,7 @@ const headerTabs = $computed(() => [{
} : null, {
key: 'raw',
title: 'Raw data',
icon: 'ph-code ph-bold pg-lg',
icon: 'ph-code ph-bold ph-lg',
}]);
definePageMetadata(computed(() => ({

View file

@ -72,7 +72,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</MkKeyValue>
</div>
<MkButton @click="updateRemoteUser"><i class="ph-arrows-counter-clockwise ph-bold pg-lg"></i> {{ i18n.ts.updateRemoteUser }}</MkButton>
<MkButton @click="updateRemoteUser"><i class="ph-arrows-counter-clockwise ph-bold ph-lg"></i> {{ i18n.ts.updateRemoteUser }}</MkButton>
</div>
</FormSection>
@ -474,7 +474,7 @@ const headerTabs = $computed(() => [{
}, {
key: 'roles',
title: i18n.ts.roles,
icon: 'ph-seal-check ph-bold pg-lg',
icon: 'ph-seal-check ph-bold ph-lg',
}, {
key: 'announcements',
title: i18n.ts.announcements,
@ -486,11 +486,11 @@ const headerTabs = $computed(() => [{
}, {
key: 'chart',
title: i18n.ts.charts,
icon: 'ph-chart-line ph-bold pg-lg',
icon: 'ph-chart-line ph-bold ph-lg',
}, {
key: 'raw',
title: 'Raw',
icon: 'ph-code ph-bold pg-lg',
icon: 'ph-code ph-bold ph-lg',
}]);
definePageMetadata(computed(() => ({

View file

@ -65,7 +65,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<div class="buttons">
<MkButton class="button" inline primary style="margin-right: 12px;" @click="save(ad)">
<i
class="ph-floppy-disk ph-bold pg-lg"
class="ph-floppy-disk ph-bold ph-lg"
></i> {{ i18n.ts.save }}
</MkButton>
<MkButton class="button" inline danger @click="remove(ad)">

View file

@ -53,7 +53,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</MkSwitch>
<p v-if="announcement.reads">{{ i18n.t('nUsersRead', { n: announcement.reads }) }}</p>
<div class="buttons _buttons">
<MkButton class="button" inline primary @click="save(announcement)"><i class="ph-floppy-disk ph-bold pg-lg"></i> {{ i18n.ts.save }}</MkButton>
<MkButton class="button" inline primary @click="save(announcement)"><i class="ph-floppy-disk ph-bold ph-lg"></i> {{ i18n.ts.save }}</MkButton>
<MkButton v-if="announcement.id != null" class="button" inline @click="archive(announcement)"><i class="ph-check ph-bold ph-lg"></i> {{ i18n.ts._announcement.end }} ({{ i18n.ts.archive }})</MkButton>
<MkButton v-if="announcement.id != null" class="button" inline danger @click="del(announcement)"><i class="ph-trash ph-bold ph-lg"></i> {{ i18n.ts.delete }}</MkButton>
</div>

View file

@ -50,7 +50,7 @@ const headerTabs = $computed(() => []);
definePageMetadata(computed(() => ({
title: i18n.ts.approvals,
icon: 'ph-chalkboard-teacher ph-bold pg-lg',
icon: 'ph-chalkboard-teacher ph-bold ph-lg',
})));
</script>

View file

@ -57,7 +57,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</FormSlot>
</template>
<MkButton primary @click="save"><i class="ph-floppy-disk ph-bold pg-lg"></i> {{ i18n.ts.save }}</MkButton>
<MkButton primary @click="save"><i class="ph-floppy-disk ph-bold ph-lg"></i> {{ i18n.ts.save }}</MkButton>
</div>
</FormSuspense>
</div>

View file

@ -35,6 +35,6 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.database,
icon: 'ph-database ph-bold pg-lg',
icon: 'ph-database ph-bold ph-lg',
});
</script>

View file

@ -45,7 +45,7 @@ const router = useRouter();
const indexInfo = {
title: i18n.ts.controlPanel,
icon: 'ph-gear ph-bold pg-lg',
icon: 'ph-gear ph-bold ph-lg',
hideHeader: true,
};
@ -101,12 +101,12 @@ const menuDef = $computed(() => [{
}, {
title: i18n.ts.administration,
items: [{
icon: 'ph-gauge ph-bold pg-lg',
icon: 'ph-gauge ph-bold ph-lg',
text: i18n.ts.dashboard,
to: '/admin/overview',
active: currentPage?.route.name === 'overview',
}, {
icon: 'ph-users ph-bold pg-lg',
icon: 'ph-users ph-bold ph-lg',
text: i18n.ts.users,
to: '/admin/users',
active: currentPage?.route.name === 'users',
@ -121,12 +121,12 @@ const menuDef = $computed(() => [{
to: '/admin/approvals',
active: currentPage?.route.name === 'approvals',
}, {
icon: 'ph-seal-check ph-bold pg-lg',
icon: 'ph-seal-check ph-bold ph-lg',
text: i18n.ts.roles,
to: '/admin/roles',
active: currentPage?.route.name === 'roles',
}, {
icon: 'ph-smiley ph-bold pg-lg',
icon: 'ph-smiley ph-bold ph-lg',
text: i18n.ts.customEmojis,
to: '/admin/emojis',
active: currentPage?.route.name === 'emojis',
@ -166,7 +166,7 @@ const menuDef = $computed(() => [{
to: '/admin/abuses',
active: currentPage?.route.name === 'abuses',
}, {
icon: 'ph-list ph-bold pg-lg-search',
icon: 'ph-list ph-bold ph-lg-search',
text: i18n.ts.moderationLogs,
to: '/admin/modlog',
active: currentPage?.route.name === 'modlog',
@ -174,7 +174,7 @@ const menuDef = $computed(() => [{
}, {
title: i18n.ts.settings,
items: [{
icon: 'ph-gear ph-bold pg-lg',
icon: 'ph-gear ph-bold ph-lg',
text: i18n.ts.general,
to: '/admin/settings',
active: currentPage?.route.name === 'settings',
@ -204,7 +204,7 @@ const menuDef = $computed(() => [{
to: '/admin/security',
active: currentPage?.route.name === 'security',
}, {
icon: 'ph-planet ph-bold pg-lg',
icon: 'ph-planet ph-bold ph-lg',
text: i18n.ts.relays,
to: '/admin/relays',
active: currentPage?.route.name === 'relays',
@ -219,7 +219,7 @@ const menuDef = $computed(() => [{
to: '/admin/proxy-account',
active: currentPage?.route.name === 'proxy-account',
}, {
icon: 'ph-arrow-square-out ph-bold pg-lg',
icon: 'ph-arrow-square-out ph-bold ph-lg',
text: i18n.ts.externalServices,
to: '/admin/external-services',
active: currentPage?.route.name === 'external-services',
@ -232,7 +232,7 @@ const menuDef = $computed(() => [{
}, {
title: i18n.ts.info,
items: [{
icon: 'ph-database ph-bold pg-lg',
icon: 'ph-database ph-bold ph-lg',
text: i18n.ts.database,
to: '/admin/database',
active: currentPage?.route.name === 'database',
@ -314,7 +314,7 @@ const lookup = (ev) => {
},
}, {
text: i18n.ts.instance,
icon: 'ph-planet ph-bold pg-lg',
icon: 'ph-planet ph-bold ph-lg',
action: () => {
alert('TODO');
},

View file

@ -16,7 +16,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<span>{{ i18n.ts.silencedInstances }}</span>
<template #caption>{{ i18n.ts.silencedInstancesDescription }}</template>
</MkTextarea>
<MkButton primary @click="save"><i class="ph-floppy-disk ph-bold pg-lg"></i> {{ i18n.ts.save }}</MkButton>
<MkButton primary @click="save"><i class="ph-floppy-disk ph-bold ph-lg"></i> {{ i18n.ts.save }}</MkButton>
</FormSuspense>
</MkSpacer>
</MkStickyContainer>

View file

@ -62,6 +62,6 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.moderationLogs,
icon: 'ph-list ph-bold pg-lg-search',
icon: 'ph-list ph-bold ph-lg-search',
});
</script>

View file

@ -9,7 +9,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkLoading v-if="fetching"/>
<div v-else :class="$style.root">
<div class="item _panel users">
<div class="icon"><i class="ph-users ph-bold pg-lg"></i></div>
<div class="icon"><i class="ph-users ph-bold ph-lg"></i></div>
<div class="body">
<div class="value">
<MkNumber :value="stats.originalUsersCount" style="margin-right: 0.5em;"/>
@ -29,7 +29,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</div>
</div>
<div class="item _panel instances">
<div class="icon"><i class="ph-planet ph-bold pg-lg"></i></div>
<div class="icon"><i class="ph-planet ph-bold ph-lg"></i></div>
<div class="body">
<div class="value">
<MkNumber :value="stats.instances" style="margin-right: 0.5em;"/>
@ -38,7 +38,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</div>
</div>
<div class="item _panel emojis">
<div class="icon"><i class="ph-smiley ph-bold pg-lg"></i></div>
<div class="icon"><i class="ph-smiley ph-bold ph-lg"></i></div>
<div class="body">
<div class="value">
<MkNumber :value="customEmojis.length" style="margin-right: 0.5em;"/>

View file

@ -177,7 +177,7 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.dashboard,
icon: 'ph-gauge ph-bold pg-lg',
icon: 'ph-gauge ph-bold ph-lg',
});
</script>

View file

@ -84,7 +84,7 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.relays,
icon: 'ph-planet ph-bold pg-lg',
icon: 'ph-planet ph-bold ph-lg',
});
</script>

View file

@ -87,10 +87,10 @@ const headerTabs = $computed(() => []);
definePageMetadata(computed(() => role ? {
title: i18n.ts._role.edit + ': ' + role.name,
icon: 'ph-seal-check ph-bold pg-lg',
icon: 'ph-seal-check ph-bold ph-lg',
} : {
title: i18n.ts._role.new,
icon: 'ph-seal-check ph-bold pg-lg',
icon: 'ph-seal-check ph-bold ph-lg',
}));
</script>

View file

@ -39,7 +39,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</MkSelect>
<MkSelect v-model="role.target" :readonly="readonly">
<template #label><i class="ph-users ph-bold pg-lg"></i> {{ i18n.ts._role.assignTarget }}</template>
<template #label><i class="ph-users ph-bold ph-lg"></i> {{ i18n.ts._role.assignTarget }}</template>
<template #caption><div v-html="i18n.ts._role.descriptionOfAssignTarget.replaceAll('\n', '<br>')"></div></template>
<option value="manual">{{ i18n.ts._role.manual }}</option>
<option value="conditional">{{ i18n.ts._role.conditional }}</option>
@ -588,7 +588,7 @@ let q = $ref('');
function getPriorityIcon(option) {
if (option.priority === 2) return 'ph-arrow-up ph-bold ph-lg';
if (option.priority === 1) return 'ph-arrow-up ph-bold ph-lg';
return 'ph-circle ph-bold pg-lg';
return 'ph-circle ph-bold ph-lg';
}
function matchQuery(keywords: string[]): boolean {

View file

@ -19,7 +19,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<XEditor :modelValue="role" readonly/>
</MkFolder>
<MkFolder v-if="role.target === 'manual'" defaultOpen>
<template #icon><i class="ph-users ph-bold pg-lg"></i></template>
<template #icon><i class="ph-users ph-bold ph-lg"></i></template>
<template #label>{{ i18n.ts.users }}</template>
<template #suffix>{{ role.usersCount }}</template>
<div class="_gaps">
@ -173,7 +173,7 @@ const headerTabs = $computed(() => []);
definePageMetadata(computed(() => ({
title: i18n.ts.role + ': ' + role.name,
icon: 'ph-seal-check ph-bold pg-lg',
icon: 'ph-seal-check ph-bold ph-lg',
})));
</script>

View file

@ -264,7 +264,7 @@ const headerTabs = $computed(() => []);
definePageMetadata(computed(() => ({
title: i18n.ts.roles,
icon: 'ph-seal-check ph-bold pg-lg',
icon: 'ph-seal-check ph-bold ph-lg',
})));
</script>

View file

@ -59,7 +59,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</MkSwitch>
-->
<MkButton primary @click="save"><i class="ph-floppy-disk ph-bold pg-lg"></i> {{ i18n.ts.save }}</MkButton>
<MkButton primary @click="save"><i class="ph-floppy-disk ph-bold ph-lg"></i> {{ i18n.ts.save }}</MkButton>
</div>
</MkFolder>
@ -97,7 +97,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<template #label>Summaly Proxy URL</template>
</MkInput>
<MkButton primary @click="save"><i class="ph-floppy-disk ph-bold pg-lg"></i> {{ i18n.ts.save }}</MkButton>
<MkButton primary @click="save"><i class="ph-floppy-disk ph-bold ph-lg"></i> {{ i18n.ts.save }}</MkButton>
</div>
</MkFolder>
</div>

View file

@ -228,7 +228,7 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.general,
icon: 'ph-gear ph-bold pg-lg',
icon: 'ph-gear ph-bold ph-lg',
});
</script>

View file

@ -140,7 +140,7 @@ const headerTabs = $computed(() => []);
definePageMetadata(computed(() => ({
title: i18n.ts.users,
icon: 'ph-users ph-bold pg-lg',
icon: 'ph-users ph-bold ph-lg',
})));
</script>

View file

@ -95,11 +95,11 @@ const headerActions = $computed(() => []);
const headerTabs = $computed(() => [{
key: 'current',
title: i18n.ts.currentAnnouncements,
icon: 'ph-fire ph-bold pg-lg',
icon: 'ph-fire ph-bold ph-lg',
}, {
key: 'past',
title: i18n.ts.pastAnnouncements,
icon: 'ph-circle ph-bold pg-lg',
icon: 'ph-circle ph-bold ph-lg',
}]);
definePageMetadata({

View file

@ -82,7 +82,7 @@ const headerActions = $computed(() => antenna ? [{
text: i18n.ts.jumpToSpecifiedDate,
handler: timetravel,
}, {
icon: 'ph-gear ph-bold pg-lg',
icon: 'ph-gear ph-bold ph-lg',
text: i18n.ts.settings,
handler: settings,
}] : []);
@ -91,7 +91,7 @@ const headerTabs = $computed(() => []);
definePageMetadata(computed(() => antenna ? {
title: antenna.name,
icon: 'ph-flying-saucer ph-bold pg-lg',
icon: 'ph-flying-saucer ph-bold ph-lg',
} : null));
</script>

View file

@ -120,7 +120,7 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts._auth.shareAccessTitle,
icon: 'ph-squares-four ph-bold pg-lg',
icon: 'ph-squares-four ph-bold ph-lg',
});
</script>

View file

@ -60,7 +60,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</MkFolder>
<div class="_buttons">
<MkButton primary @click="save()"><i class="ph-floppy-disk ph-bold pg-lg"></i> {{ channelId ? i18n.ts.save : i18n.ts.create }}</MkButton>
<MkButton primary @click="save()"><i class="ph-floppy-disk ph-bold ph-lg"></i> {{ channelId ? i18n.ts.save : i18n.ts.create }}</MkButton>
<MkButton v-if="channelId" danger @click="archive()"><i class="ph-trash ph-bold ph-lg"></i> {{ i18n.ts.archive }}</MkButton>
</div>
</div>

View file

@ -10,11 +10,11 @@ SPDX-License-Identifier: AGPL-3.0-only
<div v-if="channel && tab === 'overview'" class="_gaps">
<div class="_panel" :class="$style.bannerContainer">
<XChannelFollowButton :channel="channel" :full="true" :class="$style.subscribe"/>
<MkButton v-if="favorited" v-tooltip="i18n.ts.unfavorite" asLike class="button" rounded primary :class="$style.favorite" @click="unfavorite()"><i class="ph-star ph-bold pg-lg"></i></MkButton>
<MkButton v-else v-tooltip="i18n.ts.favorite" asLike class="button" rounded :class="$style.favorite" @click="favorite()"><i class="ph-star ph-bold pg-lg"></i></MkButton>
<MkButton v-if="favorited" v-tooltip="i18n.ts.unfavorite" asLike class="button" rounded primary :class="$style.favorite" @click="unfavorite()"><i class="ph-star ph-bold ph-lg"></i></MkButton>
<MkButton v-else v-tooltip="i18n.ts.favorite" asLike class="button" rounded :class="$style.favorite" @click="favorite()"><i class="ph-star ph-bold ph-lg"></i></MkButton>
<div :style="{ backgroundImage: channel.bannerUrl ? `url(${channel.bannerUrl})` : null }" :class="$style.banner">
<div :class="$style.bannerStatus">
<div><i class="ph-users ph-bold pg-lg ti-fw"></i><I18n :src="i18n.ts._channel.usersCount" tag="span" style="margin-left: 4px;"><template #n><b>{{ channel.usersCount }}</b></template></I18n></div>
<div><i class="ph-users ph-bold ph-lg ti-fw"></i><I18n :src="i18n.ts._channel.usersCount" tag="span" style="margin-left: 4px;"><template #n><b>{{ channel.usersCount }}</b></template></I18n></div>
<div><i class="ph-pencil ph-bold ph-lg ti-fw"></i><I18n :src="i18n.ts._channel.notesCount" tag="span" style="margin-left: 4px;"><template #n><b>{{ channel.notesCount }}</b></template></I18n></div>
</div>
<div v-if="channel.isSensitive" :class="$style.sensitiveIndicator">{{ i18n.ts.sensitive }}</div>
@ -168,7 +168,7 @@ async function search() {
const headerActions = $computed(() => {
if (channel && channel.userId) {
const share = {
icon: 'ph-share-network ph-bold pg-lg',
icon: 'ph-share-network ph-bold ph-lg',
text: i18n.ts.share,
handler: async (): Promise<void> => {
navigator.share({
@ -181,7 +181,7 @@ const headerActions = $computed(() => {
const canEdit = ($i && $i.id === channel.userId) || iAmModerator;
return canEdit ? [share, {
icon: 'ph-gear ph-bold pg-lg',
icon: 'ph-gear ph-bold ph-lg',
text: i18n.ts.edit,
handler: edit,
}] : [share];
@ -201,7 +201,7 @@ const headerTabs = $computed(() => [{
}, {
key: 'featured',
title: i18n.ts.featured,
icon: 'ph-lightning ph-bold pg-lg',
icon: 'ph-lightning ph-bold ph-lg',
}, {
key: 'search',
title: i18n.ts.search,

View file

@ -138,7 +138,7 @@ const headerTabs = $computed(() => [{
}, {
key: 'favorites',
title: i18n.ts.favorites,
icon: 'ph-star ph-bold pg-lg',
icon: 'ph-star ph-bold ph-lg',
}, {
key: 'following',
title: i18n.ts._channel.following,
@ -146,7 +146,7 @@ const headerTabs = $computed(() => [{
}, {
key: 'owned',
title: i18n.ts._channel.owned,
icon: 'ph-pencil-line ph-bold pg-lg',
icon: 'ph-pencil-line ph-bold ph-lg',
}]);
definePageMetadata(computed(() => ({

View file

@ -18,7 +18,7 @@ import { definePageMetadata } from '@/scripts/page-metadata.js';
definePageMetadata({
title: '🍪👈',
icon: 'ph-cookie ph-bold pg-lg',
icon: 'ph-cookie ph-bold ph-lg',
});
</script>

View file

@ -118,7 +118,7 @@ const headerActions = $computed(() => clip && isOwned ? [{
clipsCache.delete();
},
}, ...(clip.isPublic ? [{
icon: 'ph-share-network ph-bold pg-lg',
icon: 'ph-share-network ph-bold ph-lg',
text: i18n.ts.share,
handler: async (): Promise<void> => {
navigator.share({

View file

@ -316,7 +316,7 @@ const headerTabs = $computed(() => [{
definePageMetadata(computed(() => ({
title: i18n.ts.customEmojis,
icon: 'ph-smiley ph-bold pg-lg',
icon: 'ph-smiley ph-bold ph-lg',
})));
</script>

View file

@ -16,7 +16,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkUserList :pagination="pinnedUsers"/>
</MkFoldableSection>
<MkFoldableSection class="_margin" persistKey="explore-popular-users">
<template #header><i class="ph-chart-line ph-bold pg-lg ti-fw" style="margin-right: 0.5em;"></i>{{ i18n.ts.popularUsers }}</template>
<template #header><i class="ph-chart-line ph-bold ph-lg ti-fw" style="margin-right: 0.5em;"></i>{{ i18n.ts.popularUsers }}</template>
<MkUserList :pagination="popularUsers"/>
</MkFoldableSection>
<MkFoldableSection class="_margin" persistKey="explore-recently-updated-users">
@ -46,7 +46,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<template v-if="tag == null">
<MkFoldableSection class="_margin">
<template #header><i class="ph-chart-line ph-bold pg-lg ti-fw" style="margin-right: 0.5em;"></i>{{ i18n.ts.popularUsers }}</template>
<template #header><i class="ph-chart-line ph-bold ph-lg ti-fw" style="margin-right: 0.5em;"></i>{{ i18n.ts.popularUsers }}</template>
<MkUserList :pagination="popularUsersF"/>
</MkFoldableSection>
<MkFoldableSection class="_margin">
@ -54,7 +54,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkUserList :pagination="recentlyUpdatedUsersF"/>
</MkFoldableSection>
<MkFoldableSection class="_margin">
<template #header><i class="ph-rocket-launch ph-bold pg-lg ti-fw" style="margin-right: 0.5em;"></i>{{ i18n.ts.recentlyDiscoveredUsers }}</template>
<template #header><i class="ph-rocket-launch ph-bold ph-lg ti-fw" style="margin-right: 0.5em;"></i>{{ i18n.ts.recentlyDiscoveredUsers }}</template>
<MkUserList :pagination="recentlyRegisteredUsersF"/>
</MkFoldableSection>
</template>

View file

@ -47,15 +47,15 @@ const headerActions = $computed(() => []);
const headerTabs = $computed(() => [{
key: 'featured',
icon: 'ph-lightning ph-bold pg-lg',
icon: 'ph-lightning ph-bold ph-lg',
title: i18n.ts.featured,
}, {
key: 'users',
icon: 'ph-users ph-bold pg-lg',
icon: 'ph-users ph-bold ph-lg',
title: i18n.ts.users,
}, {
key: 'roles',
icon: 'ph-seal-check ph-bold pg-lg',
icon: 'ph-seal-check ph-bold ph-lg',
title: i18n.ts.roles,
}]);

View file

@ -40,7 +40,7 @@ const pagination = {
definePageMetadata({
title: i18n.ts.favorites,
icon: 'ph-star ph-bold pg-lg',
icon: 'ph-star ph-bold ph-lg',
});
</script>

View file

@ -76,11 +76,11 @@ const headerActions = $computed(() => [{
const headerTabs = $computed(() => [{
key: 'featured',
title: i18n.ts._play.featured,
icon: 'ph-fire ph-bold pg-lg',
icon: 'ph-fire ph-bold ph-lg',
}, {
key: 'my',
title: i18n.ts._play.my,
icon: 'ph-pencil-line ph-bold pg-lg',
icon: 'ph-pencil-line ph-bold ph-lg',
}, {
key: 'liked',
title: i18n.ts._play.liked,
@ -89,6 +89,6 @@ const headerTabs = $computed(() => [{
definePageMetadata(computed(() => ({
title: 'Play',
icon: 'ph-play ph-bold pg-lg',
icon: 'ph-play ph-bold ph-lg',
})));
</script>

View file

@ -18,7 +18,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkButton v-if="flash.isLiked" v-tooltip="i18n.ts.unlike" asLike class="button" rounded primary @click="unlike()"><i class="ph-heart ph-bold ph-lg"></i><span v-if="flash.likedCount > 0" style="margin-left: 6px;">{{ flash.likedCount }}</span></MkButton>
<MkButton v-else v-tooltip="i18n.ts.like" asLike class="button" rounded @click="like()"><i class="ph-heart ph-bold ph-lg"></i><span v-if="flash.likedCount > 0" style="margin-left: 6px;">{{ flash.likedCount }}</span></MkButton>
<MkButton v-tooltip="i18n.ts.shareWithNote" class="button" rounded @click="shareWithNote"><i class="ph-repeat ph-bold ph-lg ti-fw"></i></MkButton>
<MkButton v-tooltip="i18n.ts.share" class="button" rounded @click="share"><i class="ph-share-network ph-bold pg-lg ti-fw"></i></MkButton>
<MkButton v-tooltip="i18n.ts.share" class="button" rounded @click="share"><i class="ph-share-network ph-bold ph-lg ti-fw"></i></MkButton>
</div>
</div>
<div v-else :class="$style.ready">
@ -33,7 +33,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</div>
</Transition>
<MkFolder :defaultOpen="false" :max-height="280" class="_margin">
<template #icon><i class="ph-code ph-bold pg-lg"></i></template>
<template #icon><i class="ph-code ph-bold ph-lg"></i></template>
<template #label>{{ i18n.ts._play.viewSource }}</template>
<MkCode :code="flash.script" lang="is" :inline="false" class="_monospace"/>

View file

@ -27,8 +27,8 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkSwitch v-model="isSensitive">{{ i18n.ts.markAsSensitive }}</MkSwitch>
<div class="_buttons">
<MkButton v-if="postId" primary @click="save"><i class="ph-floppy-disk ph-bold pg-lg"></i> {{ i18n.ts.save }}</MkButton>
<MkButton v-else primary @click="save"><i class="ph-floppy-disk ph-bold pg-lg"></i> {{ i18n.ts.publish }}</MkButton>
<MkButton v-if="postId" primary @click="save"><i class="ph-floppy-disk ph-bold ph-lg"></i> {{ i18n.ts.save }}</MkButton>
<MkButton v-else primary @click="save"><i class="ph-floppy-disk ph-bold ph-lg"></i> {{ i18n.ts.publish }}</MkButton>
<MkButton v-if="postId" danger @click="del"><i class="ph-trash ph-bold ph-lg"></i> {{ i18n.ts.delete }}</MkButton>
</div>

View file

@ -107,7 +107,7 @@ const headerActions = $computed(() => [{
const headerTabs = $computed(() => [{
key: 'explore',
title: i18n.ts.gallery,
icon: 'ph-images-square ph-bold pg-lg',
icon: 'ph-images-square ph-bold ph-lg',
}, {
key: 'liked',
title: i18n.ts._gallery.liked,
@ -115,12 +115,12 @@ const headerTabs = $computed(() => [{
}, {
key: 'my',
title: i18n.ts._gallery.my,
icon: 'ph-pencil-line ph-bold pg-lg',
icon: 'ph-pencil-line ph-bold ph-lg',
}]);
definePageMetadata({
title: i18n.ts.gallery,
icon: 'ph-images-square ph-bold pg-lg',
icon: 'ph-images-square ph-bold ph-lg',
});
</script>

View file

@ -29,7 +29,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<div class="other">
<button v-if="$i && $i.id === post.user.id" v-tooltip="i18n.ts.edit" v-click-anime class="_button" @click="edit"><i class="ph-pencil ph-bold ph-lg ti-fw"></i></button>
<button v-tooltip="i18n.ts.shareWithNote" v-click-anime class="_button" @click="shareWithNote"><i class="ph-repeat ph-bold ph-lg ti-fw"></i></button>
<button v-tooltip="i18n.ts.share" v-click-anime class="_button" @click="share"><i class="ph-share-network ph-bold pg-lg ti-fw"></i></button>
<button v-tooltip="i18n.ts.share" v-click-anime class="_button" @click="share"><i class="ph-share-network ph-bold ph-lg ti-fw"></i></button>
</div>
</div>
<div class="user">

View file

@ -37,7 +37,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkSwitch v-model="suspended" :disabled="!instance" @update:modelValue="toggleSuspend">{{ i18n.ts.stopActivityDelivery }}</MkSwitch>
<MkSwitch v-model="isBlocked" :disabled="!meta || !instance" @update:modelValue="toggleBlock">{{ i18n.ts.blockThisInstance }}</MkSwitch>
<MkSwitch v-model="isSilenced" :disabled="!meta || !instance" @update:modelValue="toggleSilenced">{{ i18n.ts.silenceThisInstance }}</MkSwitch>
<MkButton @click="refreshMetadata"><i class="ph-arrows-counter-clockwise ph-bold pg-lg"></i> Refresh metadata</MkButton>
<MkButton @click="refreshMetadata"><i class="ph-arrows-counter-clockwise ph-bold ph-lg"></i> Refresh metadata</MkButton>
</div>
</FormSection>
@ -228,15 +228,15 @@ const headerTabs = $computed(() => [{
}, {
key: 'chart',
title: i18n.ts.charts,
icon: 'ph-chart-line ph-bold pg-lg',
icon: 'ph-chart-line ph-bold ph-lg',
}, {
key: 'users',
title: i18n.ts.users,
icon: 'ph-users ph-bold pg-lg',
icon: 'ph-users ph-bold ph-lg',
}, {
key: 'raw',
title: 'Raw',
icon: 'ph-code ph-bold pg-lg',
icon: 'ph-code ph-bold ph-lg',
}]);
definePageMetadata({

View file

@ -101,7 +101,7 @@ const headerTabs = $computed(() => []);
definePageMetadata(computed(() => list ? {
title: list.name,
icon: 'ph-list ph-bold pg-lg',
icon: 'ph-list ph-bold ph-lg',
} : null));
</script>
<style lang="scss" module>

View file

@ -95,7 +95,7 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: 'MiAuth',
icon: 'ph-squares-four ph-bold pg-lg',
icon: 'ph-squares-four ph-bold ph-lg',
});
</script>

View file

@ -39,6 +39,6 @@ function onAntennaCreated() {
definePageMetadata({
title: i18n.ts.manageAntennas,
icon: 'ph-flying-saucer ph-bold pg-lg',
icon: 'ph-flying-saucer ph-bold ph-lg',
});
</script>

View file

@ -36,6 +36,6 @@ os.api('antennas/show', { antennaId: props.antennaId }).then((antennaResponse) =
definePageMetadata({
title: i18n.ts.manageAntennas,
icon: 'ph-flying-saucer ph-bold pg-lg',
icon: 'ph-flying-saucer ph-bold ph-lg',
});
</script>

View file

@ -41,7 +41,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkSwitch v-model="notify">{{ i18n.ts.notifyAntenna }}</MkSwitch>
</div>
<div :class="$style.actions">
<MkButton inline primary @click="saveAntenna()"><i class="ph-floppy-disk ph-bold pg-lg"></i> {{ i18n.ts.save }}</MkButton>
<MkButton inline primary @click="saveAntenna()"><i class="ph-floppy-disk ph-bold ph-lg"></i> {{ i18n.ts.save }}</MkButton>
<MkButton v-if="antenna.id != null" inline danger @click="deleteAntenna()"><i class="ph-trash ph-bold ph-lg"></i> {{ i18n.ts.delete }}</MkButton>
</div>
</div>

View file

@ -45,7 +45,7 @@ fetch();
const headerActions = $computed(() => [{
asFullButton: true,
icon: 'ph-arrows-counter-clockwise ph-bold pg-lg',
icon: 'ph-arrows-counter-clockwise ph-bold ph-lg',
text: i18n.ts.reload,
handler: () => {
antennasCache.delete();
@ -57,7 +57,7 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.manageAntennas,
icon: 'ph-flying-saucer ph-bold pg-lg',
icon: 'ph-flying-saucer ph-bold ph-lg',
});
onActivated(() => {

View file

@ -59,7 +59,7 @@ async function create() {
const headerActions = $computed(() => [{
asFullButton: true,
icon: 'ph-arrows-counter-clockwise ph-bold pg-lg',
icon: 'ph-arrows-counter-clockwise ph-bold ph-lg',
text: i18n.ts.reload,
handler: () => {
userListsCache.delete();
@ -71,7 +71,7 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.manageLists,
icon: 'ph-list ph-bold pg-lg',
icon: 'ph-list ph-bold ph-lg',
});
onActivated(() => {

View file

@ -185,7 +185,7 @@ const headerTabs = $computed(() => []);
definePageMetadata(computed(() => list ? {
title: list.name,
icon: 'ph-list ph-bold pg-lg',
icon: 'ph-list ph-bold ph-lg',
} : null));
</script>

View file

@ -80,7 +80,7 @@ const headerActions = $computed(() => [tab === 'all' ? {
const headerTabs = $computed(() => [{
key: 'all',
title: i18n.ts.all,
icon: 'ph-circle ph-bold pg-lg',
icon: 'ph-circle ph-bold ph-lg',
}, {
key: 'mentions',
title: i18n.ts.mentions,
@ -93,6 +93,6 @@ const headerTabs = $computed(() => [{
definePageMetadata(computed(() => ({
title: i18n.ts.notifications,
icon: 'ph-bell ph-bold pg-lg',
icon: 'ph-bell ph-bold ph-lg',
})));
</script>

View file

@ -53,7 +53,7 @@ function onLogin(res): void {
definePageMetadata({
title: 'OAuth',
icon: 'ph-squares-four ph-bold pg-lg',
icon: 'ph-squares-four ph-bold ph-lg',
});
</script>

View file

@ -9,7 +9,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkSpacer :contentMax="700">
<div class="jqqmcavi">
<MkButton v-if="pageId" class="button" inline link :to="`/@${ author.username }/pages/${ currentName }`"><i class="ph-arrow-square-out ph-bold ph-lg"></i> {{ i18n.ts._pages.viewPage }}</MkButton>
<MkButton v-if="!readonly" inline primary class="button" @click="save"><i class="ph-floppy-disk ph-bold pg-lg"></i> {{ i18n.ts.save }}</MkButton>
<MkButton v-if="!readonly" inline primary class="button" @click="save"><i class="ph-floppy-disk ph-bold ph-lg"></i> {{ i18n.ts.save }}</MkButton>
<MkButton v-if="pageId" inline class="button" @click="duplicate"><i class="ph-copy ph-bold ph-lg"></i> {{ i18n.ts.duplicate }}</MkButton>
<MkButton v-if="pageId && !readonly" inline class="button" danger @click="del"><i class="ph-trash ph-bold ph-lg"></i> {{ i18n.ts.delete }}</MkButton>
</div>
@ -275,7 +275,7 @@ const headerActions = $computed(() => []);
const headerTabs = $computed(() => [{
key: 'settings',
title: i18n.ts._pages.pageSetting,
icon: 'ph-gear ph-bold pg-lg',
icon: 'ph-gear ph-bold ph-lg',
}, {
key: 'contents',
title: i18n.ts._pages.contents,

View file

@ -34,7 +34,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</div>
<div class="other">
<button v-tooltip="i18n.ts.shareWithNote" v-click-anime class="_button" @click="shareWithNote"><i class="ph-rocket-launch ph-bold ph-lg ti-fw"></i></button>
<button v-tooltip="i18n.ts.share" v-click-anime class="_button" @click="share"><i class="ph-share-network ph-bold pg-lg ti-fw"></i></button>
<button v-tooltip="i18n.ts.share" v-click-anime class="_button" @click="share"><i class="ph-share-network ph-bold ph-lg ti-fw"></i></button>
</div>
</div>
<div class="user">

View file

@ -74,11 +74,11 @@ const headerActions = $computed(() => [{
const headerTabs = $computed(() => [{
key: 'featured',
title: i18n.ts._pages.featured,
icon: 'ph-fire ph-bold pg-lg',
icon: 'ph-fire ph-bold ph-lg',
}, {
key: 'my',
title: i18n.ts._pages.my,
icon: 'ph-pencil-line ph-bold pg-lg',
icon: 'ph-pencil-line ph-bold ph-lg',
}, {
key: 'liked',
title: i18n.ts._pages.liked,

View file

@ -30,7 +30,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<template #label>{{ i18n.ts.value }} (JSON)</template>
</MkTextarea>
<MkButton primary @click="save"><i class="ph-floppy-disk ph-bold pg-lg"></i> {{ i18n.ts.save }}</MkButton>
<MkButton primary @click="save"><i class="ph-floppy-disk ph-bold ph-lg"></i> {{ i18n.ts.save }}</MkButton>
<MkKeyValue>
<template #key>{{ i18n.ts.updatedAt }}</template>

View file

@ -74,7 +74,7 @@ const users = $computed(() => ({
const headerTabs = $computed(() => [{
key: 'users',
icon: 'ph-users ph-bold pg-lg',
icon: 'ph-users ph-bold ph-lg',
title: i18n.ts.users,
}, {
key: 'timeline',
@ -84,7 +84,7 @@ const headerTabs = $computed(() => [{
definePageMetadata(computed(() => ({
title: role?.name,
icon: 'ph-seal-check ph-bold pg-lg',
icon: 'ph-seal-check ph-bold ph-lg',
})));
</script>

View file

@ -47,7 +47,7 @@ const headerTabs = $computed(() => [{
}, {
key: 'user',
title: i18n.ts.users,
icon: 'ph-users ph-bold pg-lg',
icon: 'ph-users ph-bold ph-lg',
}]);
definePageMetadata(computed(() => ({

View file

@ -42,7 +42,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</div>
<div class="_buttonsCenter" style="margin-top: 16px;">
<MkButton rounded @click="cancel">{{ i18n.ts.cancel }}</MkButton>
<MkButton primary rounded gradate @click="page++">{{ i18n.ts.continue }} <i class="ph-arrow-right ph-bold pg-lg"></i></MkButton>
<MkButton primary rounded gradate @click="page++">{{ i18n.ts.continue }} <i class="ph-arrow-right ph-bold ph-lg"></i></MkButton>
</div>
</MkSpacer>
</div>
@ -56,8 +56,8 @@ SPDX-License-Identifier: AGPL-3.0-only
<div>{{ i18n.ts._2fa.step3 }}</div>
</div>
<div class="_buttonsCenter" style="margin-top: 16px;">
<MkButton rounded @click="page--"><i class="ph-arrow-left ph-bold pg-lg"></i> {{ i18n.ts.goBack }}</MkButton>
<MkButton primary rounded gradate @click="tokenDone">{{ i18n.ts.continue }} <i class="ph-arrow-right ph-bold pg-lg"></i></MkButton>
<MkButton rounded @click="page--"><i class="ph-arrow-left ph-bold ph-lg"></i> {{ i18n.ts.goBack }}</MkButton>
<MkButton primary rounded gradate @click="tokenDone">{{ i18n.ts.continue }} <i class="ph-arrow-right ph-bold ph-lg"></i></MkButton>
</div>
</MkSpacer>
</div>

View file

@ -9,7 +9,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<div class="_gaps">
<div class="_buttons">
<MkButton primary @click="addAccount"><i class="ph-plus ph-bold ph-lg"></i> {{ i18n.ts.addAccount }}</MkButton>
<MkButton @click="init"><i class="ph-arrows-counter-clockwise ph-bold pg-lg"></i> {{ i18n.ts.reloadAccountsList }}</MkButton>
<MkButton @click="init"><i class="ph-arrows-counter-clockwise ph-bold ph-lg"></i> {{ i18n.ts.reloadAccountsList }}</MkButton>
</div>
<MkUserCardMini v-for="user in accounts" :key="user.id" :user="user" :class="$style.user" @click.prevent="menu(user, $event)"/>
@ -107,7 +107,7 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.accounts,
icon: 'ph-users ph-bold pg-lg',
icon: 'ph-users ph-bold ph-lg',
});
</script>

View file

@ -46,6 +46,6 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: 'API',
icon: 'ph-webhooks-logo ph-bold pg-lg',
icon: 'ph-webhooks-logo ph-bold ph-lg',
});
</script>

View file

@ -47,6 +47,6 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.customCss,
icon: 'ph-code ph-bold pg-lg',
icon: 'ph-code ph-bold ph-lg',
});
</script>

View file

@ -189,7 +189,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</div>
</MkFolder>
<FormLink to="/settings/deck">{{ i18n.ts.deck }}</FormLink>
<FormLink to="/settings/custom-css"><template #icon><i class="ph-code ph-bold pg-lg"></i></template>{{ i18n.ts.customCss }}</FormLink>
<FormLink to="/settings/custom-css"><template #icon><i class="ph-code ph-bold ph-lg"></i></template>{{ i18n.ts.customCss }}</FormLink>
</div>
</FormSection>
</div>

View file

@ -14,7 +14,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</MkFolder>
</FormSection>
<FormSection>
<template #label><i class="ph-star ph-bold pg-lg"></i> {{ i18n.ts._exportOrImport.favoritedNotes }}</template>
<template #label><i class="ph-star ph-bold ph-lg"></i> {{ i18n.ts._exportOrImport.favoritedNotes }}</template>
<MkFolder>
<template #label>{{ i18n.ts.export }}</template>
<template #icon><i class="ph-download ph-bold ph-lg"></i></template>
@ -22,7 +22,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</MkFolder>
</FormSection>
<FormSection>
<template #label><i class="ph-users ph-bold pg-lg"></i> {{ i18n.ts._exportOrImport.followingList }}</template>
<template #label><i class="ph-users ph-bold ph-lg"></i> {{ i18n.ts._exportOrImport.followingList }}</template>
<div class="_gaps_s">
<MkFolder>
<template #label>{{ i18n.ts.export }}</template>
@ -48,7 +48,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</div>
</FormSection>
<FormSection>
<template #label><i class="ph-users ph-bold pg-lg"></i> {{ i18n.ts._exportOrImport.userLists }}</template>
<template #label><i class="ph-users ph-bold ph-lg"></i> {{ i18n.ts._exportOrImport.userLists }}</template>
<div class="_gaps_s">
<MkFolder>
<template #label>{{ i18n.ts.export }}</template>
@ -93,7 +93,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</div>
</FormSection>
<FormSection>
<template #label><i class="ph-flying-saucer ph-bold pg-lg"></i> {{ i18n.ts.antennas }}</template>
<template #label><i class="ph-flying-saucer ph-bold ph-lg"></i> {{ i18n.ts.antennas }}</template>
<div class="_gaps_s">
<MkFolder>
<template #label>{{ i18n.ts.export }}</template>

View file

@ -42,7 +42,7 @@ import { fetchCustomEmojis } from '@/custom-emojis.js';
const indexInfo = {
title: i18n.ts.settings,
icon: 'ph-gear ph-bold pg-lg',
icon: 'ph-gear ph-bold ph-lg',
hideHeader: true,
};
const INFO = ref(indexInfo);
@ -84,7 +84,7 @@ const menuDef = computed(() => [{
to: '/settings/drive',
active: currentPage?.route.name === 'drive',
}, {
icon: 'ph-bell ph-bold pg-lg',
icon: 'ph-bell ph-bold ph-lg',
text: i18n.ts.notifications,
to: '/settings/notifications',
active: currentPage?.route.name === 'notifications',
@ -122,7 +122,7 @@ const menuDef = computed(() => [{
to: '/settings/statusbar',
active: currentPage?.route.name === 'statusbar',
}, {
icon: 'ph-music-notes ph-bold pg-lg',
icon: 'ph-music-notes ph-bold ph-lg',
text: i18n.ts.sounds,
to: '/settings/sounds',
active: currentPage?.route.name === 'sounds',
@ -135,7 +135,7 @@ const menuDef = computed(() => [{
}, {
title: i18n.ts.otherSettings,
items: [{
icon: 'ph-seal-check ph-bold pg-lg',
icon: 'ph-seal-check ph-bold ph-lg',
text: i18n.ts.roles,
to: '/settings/roles',
active: currentPage?.route.name === 'roles',
@ -145,7 +145,7 @@ const menuDef = computed(() => [{
to: '/settings/mute-block',
active: currentPage?.route.name === 'mute-block',
}, {
icon: 'ph-key ph-bold pg-lg',
icon: 'ph-key ph-bold ph-lg',
text: 'API',
to: '/settings/api',
active: currentPage?.route.name === 'api',
@ -172,7 +172,7 @@ const menuDef = computed(() => [{
}],
}, {
items: [{
icon: 'ph-floppy-disk ph-bold pg-lg',
icon: 'ph-floppy-disk ph-bold ph-lg',
text: i18n.ts.preferencesBackups,
to: '/settings/preferences-backups',
active: currentPage?.route.name === 'preferences-backups',

View file

@ -10,7 +10,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<template #label>{{ i18n.ts._instanceMute.heading }}</template>
<template #caption>{{ i18n.ts._instanceMute.instanceMuteDescription }}<br>{{ i18n.ts._instanceMute.instanceMuteDescription2 }}</template>
</MkTextarea>
<MkButton primary :disabled="!changed" @click="save()"><i class="ph-floppy-disk ph-bold pg-lg"></i> {{ i18n.ts.save }}</MkButton>
<MkButton primary :disabled="!changed" @click="save()"><i class="ph-floppy-disk ph-bold ph-lg"></i> {{ i18n.ts.save }}</MkButton>
</div>
</template>

View file

@ -11,7 +11,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<template #caption>{{ i18n.ts._wordMute.muteWordsDescription }}<br>{{ i18n.ts._wordMute.muteWordsDescription2 }}</template>
</MkTextarea>
</div>
<MkButton primary inline :disabled="!changed" @click="save()"><i class="ph-floppy-disk ph-bold pg-lg"></i> {{ i18n.ts.save }}</MkButton>
<MkButton primary inline :disabled="!changed" @click="save()"><i class="ph-floppy-disk ph-bold ph-lg"></i> {{ i18n.ts.save }}</MkButton>
</div>
</template>

View file

@ -32,7 +32,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<div class="_buttons">
<MkButton @click="addItem"><i class="ph-plus ph-bold ph-lg"></i> {{ i18n.ts.addItem }}</MkButton>
<MkButton danger @click="reset"><i class="ph-arrow-clockwise ph-bold ph-lg"></i> {{ i18n.ts.default }}</MkButton>
<MkButton primary class="save" @click="save"><i class="ph-floppy-disk ph-bold pg-lg"></i> {{ i18n.ts.save }}</MkButton>
<MkButton primary class="save" @click="save"><i class="ph-floppy-disk ph-bold ph-lg"></i> {{ i18n.ts.save }}</MkButton>
</div>
<MkRadios v-model="menuDisplay">
@ -121,7 +121,7 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.navbar,
icon: 'ph-list ph-bold pg-lg',
icon: 'ph-list ph-bold ph-lg',
});
</script>

View file

@ -114,6 +114,6 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.notifications,
icon: 'ph-bell ph-bold pg-lg',
icon: 'ph-bell ph-bold ph-lg',
});
</script>

View file

@ -58,7 +58,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</MkFolder>
<MkFolder>
<template #icon><i class="ph-code ph-bold pg-lg"></i></template>
<template #icon><i class="ph-code ph-bold ph-lg"></i></template>
<template #label>{{ i18n.ts.developer }}</template>
<div class="_gaps_m">

View file

@ -37,12 +37,12 @@ SPDX-License-Identifier: AGPL-3.0-only
</div>
<div class="_buttons">
<MkButton v-if="plugin.config" inline @click="config(plugin)"><i class="ph-gear ph-bold pg-lg"></i> {{ i18n.ts.settings }}</MkButton>
<MkButton v-if="plugin.config" inline @click="config(plugin)"><i class="ph-gear ph-bold ph-lg"></i> {{ i18n.ts.settings }}</MkButton>
<MkButton inline danger @click="uninstall(plugin)"><i class="ph-trash ph-bold ph-lg"></i> {{ i18n.ts.uninstall }}</MkButton>
</div>
<MkFolder>
<template #icon><i class="ph-code ph-bold pg-lg"></i></template>
<template #icon><i class="ph-code ph-bold ph-lg"></i></template>
<template #label>{{ i18n.ts._plugin.viewSource }}</template>
<div class="_gaps_s">

View file

@ -400,7 +400,7 @@ function menu(ev: MouseEvent, profileId: string) {
action: () => rename(profileId),
}, {
text: ts._preferencesBackups.save,
icon: 'ph-floppy-disk ph-bold pg-lg',
icon: 'ph-floppy-disk ph-bold ph-lg',
action: () => save(profileId),
}, null, {
text: ts.delete,
@ -426,7 +426,7 @@ onUnmounted(() => {
definePageMetadata(computed(() => ({
title: ts.preferencesBackups,
icon: 'ph-floppy-disk ph-bold pg-lg',
icon: 'ph-floppy-disk ph-bold ph-lg',
})));
</script>

View file

@ -45,7 +45,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<FormSlot>
<MkFolder>
<template #icon><i class="ph-list ph-bold pg-lg"></i></template>
<template #icon><i class="ph-list ph-bold ph-lg"></i></template>
<template #label>{{ i18n.ts._profile.metadataEdit }}</template>
<div :class="$style.metadataRoot">
@ -90,7 +90,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</FormSlot>
<MkFolder>
<template #icon><i class="ph-sparkle ph-bold pg-lg"></i></template>
<template #icon><i class="ph-sparkle ph-bold ph-lg"></i></template>
<template #label>{{ i18n.ts.avatarDecorations }}</template>
<div style="display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); grid-gap: 12px;">

View file

@ -52,7 +52,7 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.roles,
icon: 'ph-seal-check ph-bold pg-lg',
icon: 'ph-seal-check ph-bold ph-lg',
});
</script>

View file

@ -32,7 +32,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<FormSection>
<FormSlot>
<MkButton danger @click="regenerateToken"><i class="ph-arrows-counter-clockwise ph-bold pg-lg"></i> {{ i18n.ts.regenerateLoginToken }}</MkButton>
<MkButton danger @click="regenerateToken"><i class="ph-arrows-counter-clockwise ph-bold ph-lg"></i> {{ i18n.ts.regenerateLoginToken }}</MkButton>
<template #caption>{{ i18n.ts.regenerateLoginTokenDescription }}</template>
</FormSlot>
</FormSection>

View file

@ -14,7 +14,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</MkRange>
<div class="_buttons">
<MkButton inline @click="listen"><i class="ph-play ph-bold pg-lg"></i> {{ i18n.ts.listen }}</MkButton>
<MkButton inline @click="listen"><i class="ph-play ph-bold ph-lg"></i> {{ i18n.ts.listen }}</MkButton>
<MkButton inline primary @click="save"><i class="ph-check ph-bold ph-lg"></i> {{ i18n.ts.save }}</MkButton>
</div>
</div>

View file

@ -72,6 +72,6 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.sounds,
icon: 'ph-music-notes ph-bold pg-lg',
icon: 'ph-music-notes ph-bold ph-lg',
});
</script>

View file

@ -51,6 +51,6 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.statusbar,
icon: 'ph-list ph-bold pg-lg',
icon: 'ph-list ph-bold ph-lg',
});
</script>

View file

@ -168,6 +168,6 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.share,
icon: 'ph-share-network ph-bold pg-lg',
icon: 'ph-share-network ph-bold ph-lg',
});
</script>

View file

@ -47,7 +47,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</MkFolder>
<MkFolder :defaultOpen="false">
<template #icon><i class="ph-code ph-bold pg-lg"></i></template>
<template #icon><i class="ph-code ph-bold ph-lg"></i></template>
<template #label>{{ i18n.ts.editCode }}</template>
<div class="_gaps_m">

View file

@ -168,7 +168,7 @@ const headerActions = $computed(() => {
} : undefined, {
type: 'switch',
text: i18n.ts.fileAttachedOnly,
icon: 'ph-image ph-bold pg-lg',
icon: 'ph-image ph-bold ph-lg',
ref: $$(onlyFiles),
}], ev.currentTarget ?? ev.target);
},
@ -176,7 +176,7 @@ const headerActions = $computed(() => {
];
if (deviceKind === 'desktop') {
tmp.unshift({
icon: 'ph-arrows-counter-clockwise ph-bold pg-lg',
icon: 'ph-arrows-counter-clockwise ph-bold ph-lg',
text: i18n.ts.reload,
handler: (ev: Event) => {
console.log('called');
@ -190,7 +190,7 @@ const headerActions = $computed(() => {
const headerTabs = $computed(() => [...(defaultStore.reactiveState.pinnedUserLists.value.map(l => ({
key: 'list:' + l.id,
title: l.name,
icon: 'ph-star ph-bold pg-lg',
icon: 'ph-star ph-bold ph-lg',
iconOnly: true,
}))), {
key: 'home',
@ -200,12 +200,12 @@ const headerTabs = $computed(() => [...(defaultStore.reactiveState.pinnedUserLis
}, ...(isLocalTimelineAvailable ? [{
key: 'local',
title: i18n.ts._timelines.local,
icon: 'ph-planet ph-bold pg-lg',
icon: 'ph-planet ph-bold ph-lg',
iconOnly: true,
}, {
key: 'social',
title: i18n.ts._timelines.social,
icon: 'ph-rocket-launch ph-bold pg-lg',
icon: 'ph-rocket-launch ph-bold ph-lg',
iconOnly: true,
}] : []), ...(isGlobalTimelineAvailable ? [{
key: 'global',
@ -213,12 +213,12 @@ const headerTabs = $computed(() => [...(defaultStore.reactiveState.pinnedUserLis
icon: 'ph-globe-hemisphere-west ph-bold ph-lg',
iconOnly: true,
}] : []), {
icon: 'ph-list ph-bold pg-lg',
icon: 'ph-list ph-bold ph-lg',
title: i18n.ts.lists,
iconOnly: true,
onClick: chooseList,
}, {
icon: 'ph-flying-saucer ph-bold pg-lg',
icon: 'ph-flying-saucer ph-bold ph-lg',
title: i18n.ts.antennas,
iconOnly: true,
onClick: chooseAntenna,
@ -233,7 +233,7 @@ const headerTabsWhenNotLogin = $computed(() => [
...(isLocalTimelineAvailable ? [{
key: 'local',
title: i18n.ts._timelines.local,
icon: 'ph-planet ph-bold pg-lg',
icon: 'ph-planet ph-bold ph-lg',
iconOnly: true,
}] : []),
...(isGlobalTimelineAvailable ? [{
@ -246,7 +246,7 @@ const headerTabsWhenNotLogin = $computed(() => [
definePageMetadata(computed(() => ({
title: i18n.ts.timeline,
icon: src === 'local' ? 'ph-planet ph-bold pg-lg' : src === 'social' ? 'ph-rocket-launch ph-bold pg-lg' : src === 'global' ? 'ph-globe-hemisphere-west ph-bold ph-lg' : 'ph-house ph-bold ph-lg',
icon: src === 'local' ? 'ph-planet ph-bold ph-lg' : src === 'social' ? 'ph-rocket-launch ph-bold ph-lg' : src === 'global' ? 'ph-globe-hemisphere-west ph-bold ph-lg' : 'ph-house ph-bold ph-lg',
})));
</script>

View file

@ -62,7 +62,7 @@ function settings() {
}
const headerActions = $computed(() => list ? [{
icon: 'ph-gear ph-bold pg-lg',
icon: 'ph-gear ph-bold ph-lg',
text: i18n.ts.settings,
handler: settings,
}] : []);
@ -71,7 +71,7 @@ const headerTabs = $computed(() => []);
definePageMetadata(computed(() => list ? {
title: list.name,
icon: 'ph-list ph-bold pg-lg',
icon: 'ph-list ph-bold ph-lg',
} : null));
</script>

View file

@ -15,7 +15,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<XNotes :user="user"/>
</MkFoldableSection>
<MkFoldableSection class="item">
<template #header><i class="ph-users ph-bold pg-lg"></i> Following</template>
<template #header><i class="ph-users ph-bold ph-lg"></i> Following</template>
<XFollowing :user="user"/>
</MkFoldableSection>
<MkFoldableSection class="item">

View file

@ -26,7 +26,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<span v-if="user.isLocked" :title="i18n.ts.isLocked"><i class="ph-lock ph-bold ph-lg"></i></span>
<span v-if="user.isBot" :title="i18n.ts.isBot"><i class="ph-robot ph-bold ph-lg"></i></span>
<button v-if="!isEditingMemo && !memoDraft" class="_button add-note-button" @click="showMemoTextarea">
<i class="ph-pencil-line ph-bold pg-lg"/> {{ i18n.ts.addMemo }}
<i class="ph-pencil-line ph-bold ph-lg"/> {{ i18n.ts.addMemo }}
</button>
</div>
</div>

View file

@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<template>
<MkContainer>
<template #icon><i class="ph-chart-line ph-bold pg-lg"></i></template>
<template #icon><i class="ph-chart-line ph-bold ph-lg"></i></template>
<template #header>{{ i18n.ts.activity }}</template>
<template #func="{ buttonStyleClass }">
<button class="_button" :class="buttonStyleClass" @click="showMenu">

View file

@ -19,7 +19,7 @@
</a>
<a :href="listenbrainz.listenbrainzurl">
<div class="playicon">
<i class="ph-play ph-bold pg-lg-filled"></i>
<i class="ph-play ph-bold ph-lg-filled"></i>
</div>
</a>
</div>

View file

@ -83,7 +83,7 @@ const headerTabs = $computed(() => user ? [{
}, {
key: 'activity',
title: i18n.ts.activity,
icon: 'ph-chart-line ph-bold pg-lg',
icon: 'ph-chart-line ph-bold ph-lg',
}, ...(user.host == null ? [{
key: 'achievements',
title: i18n.ts.achievements,
@ -99,7 +99,7 @@ const headerTabs = $computed(() => user ? [{
}, {
key: 'lists',
title: i18n.ts.lists,
icon: 'ph-list ph-bold pg-lg',
icon: 'ph-list ph-bold ph-lg',
}, {
key: 'pages',
title: i18n.ts.pages,
@ -107,11 +107,11 @@ const headerTabs = $computed(() => user ? [{
}, {
key: 'flashs',
title: 'Play',
icon: 'ph-play ph-bold pg-lg',
icon: 'ph-play ph-bold ph-lg',
}, {
key: 'gallery',
title: i18n.ts.gallery,
icon: 'ph-images-square ph-bold pg-lg',
icon: 'ph-images-square ph-bold ph-lg',
}] : []);
definePageMetadata(computed(() => user ? {

View file

@ -9,7 +9,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<div v-for="note in notes" :key="note.id" :class="$style.note">
<div class="_panel" :class="$style.content">
<div>
<MkA v-if="note.replyId" class="reply" :to="`/notes/${note.replyId}`"><i class="ph-arrow-u-up-left ph-bold pg-lg"></i></MkA>
<MkA v-if="note.replyId" class="reply" :to="`/notes/${note.replyId}`"><i class="ph-arrow-u-up-left ph-bold ph-lg"></i></MkA>
<Mfm v-if="note.text" :text="note.text" :author="note.user"/>
<MkA v-if="note.renoteId" class="rp" :to="`/notes/${note.renoteId}`">RN: ...</MkA>
</div>