cherrypicked from sharkey
This commit is contained in:
parent
9dbb4124da
commit
80f4260648
4 changed files with 34 additions and 8 deletions
|
@ -136,8 +136,10 @@ markAsSensitive: "Mark as sensitive"
|
||||||
unmarkAsSensitive: "Unmark as sensitive"
|
unmarkAsSensitive: "Unmark as sensitive"
|
||||||
enterFileName: "Enter filename"
|
enterFileName: "Enter filename"
|
||||||
mute: "Mute"
|
mute: "Mute"
|
||||||
|
muted: "Muted"
|
||||||
unmute: "Unmute"
|
unmute: "Unmute"
|
||||||
renoteMute: "Mute Renotes"
|
renoteMute: "Mute Renotes"
|
||||||
|
renoteMuted: "Boosts muted"
|
||||||
renoteUnmute: "Unmute Renotes"
|
renoteUnmute: "Unmute Renotes"
|
||||||
mutedReactions: "Mute reactions"
|
mutedReactions: "Mute reactions"
|
||||||
muteThisReaction: "Mute this reaction"
|
muteThisReaction: "Mute this reaction"
|
||||||
|
|
10
locales/index.d.ts
vendored
10
locales/index.d.ts
vendored
|
@ -568,6 +568,10 @@ export interface Locale extends ILocale {
|
||||||
* ミュート
|
* ミュート
|
||||||
*/
|
*/
|
||||||
"mute": string;
|
"mute": string;
|
||||||
|
/**
|
||||||
|
* ミュート
|
||||||
|
*/
|
||||||
|
"muted": string;
|
||||||
/**
|
/**
|
||||||
* ミュート解除
|
* ミュート解除
|
||||||
*/
|
*/
|
||||||
|
@ -576,6 +580,10 @@ export interface Locale extends ILocale {
|
||||||
* リノートをミュート
|
* リノートをミュート
|
||||||
*/
|
*/
|
||||||
"renoteMute": string;
|
"renoteMute": string;
|
||||||
|
/**
|
||||||
|
* ブースト・ミュート
|
||||||
|
*/
|
||||||
|
"renoteMuted": string;
|
||||||
/**
|
/**
|
||||||
* リノートのミュートを解除
|
* リノートのミュートを解除
|
||||||
*/
|
*/
|
||||||
|
@ -6843,7 +6851,7 @@ export interface Locale extends ILocale {
|
||||||
};
|
};
|
||||||
"_tutorialCompleted": {
|
"_tutorialCompleted": {
|
||||||
/**
|
/**
|
||||||
* Misskey初心者講座 修了証
|
* Forkey初心者講座 修了証
|
||||||
*/
|
*/
|
||||||
"title": string;
|
"title": string;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -138,8 +138,10 @@ markAsSensitive: "センシティブとして設定"
|
||||||
unmarkAsSensitive: "センシティブを解除する"
|
unmarkAsSensitive: "センシティブを解除する"
|
||||||
enterFileName: "ファイル名を入力"
|
enterFileName: "ファイル名を入力"
|
||||||
mute: "ミュート"
|
mute: "ミュート"
|
||||||
|
muted: "ミュート"
|
||||||
unmute: "ミュート解除"
|
unmute: "ミュート解除"
|
||||||
renoteMute: "リノートをミュート"
|
renoteMute: "リノートをミュート"
|
||||||
|
renoteMuted: "ブースト・ミュート"
|
||||||
renoteUnmute: "リノートのミュートを解除"
|
renoteUnmute: "リノートのミュートを解除"
|
||||||
mutedReactions: "リアクションのミュート"
|
mutedReactions: "リアクションのミュート"
|
||||||
muteThisReaction: "このリアクションをミュートする"
|
muteThisReaction: "このリアクションをミュートする"
|
||||||
|
|
|
@ -32,7 +32,12 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<span v-if="$i && $i.id != user.id && user.isFollowed" class="followed">{{ i18n.ts.followsYou }}</span>
|
<div v-if="$i && $i.id != user.id" class="info-badges">
|
||||||
|
<span v-if="user.isFollowed">{{ i18n.ts.followsYou }}</span>
|
||||||
|
<span v-if="user.isMuted">{{ i18n.ts.muted }}</span>
|
||||||
|
<span v-if="user.isRenoteMuted">{{ i18n.ts.renoteMuted }}</span>
|
||||||
|
<span v-if="user.isBlocking">{{ i18n.ts.blocked }}</span>
|
||||||
|
</div>
|
||||||
<div v-if="$i" class="actions">
|
<div v-if="$i" class="actions">
|
||||||
<button class="menu _button" @click="menu"><i class="ti ti-dots"></i></button>
|
<button class="menu _button" @click="menu"><i class="ti ti-dots"></i></button>
|
||||||
<MkFollowButton v-if="$i.id != user.id" v-model:user="user" :inline="true" :transparent="false" :full="true" class="koudoku"/>
|
<MkFollowButton v-if="$i.id != user.id" v-model:user="user" :inline="true" :transparent="false" :full="true" class="koudoku"/>
|
||||||
|
@ -469,15 +474,24 @@ onUnmounted(() => {
|
||||||
background: linear-gradient(transparent, rgba(#000, 0.7));
|
background: linear-gradient(transparent, rgba(#000, 0.7));
|
||||||
}
|
}
|
||||||
|
|
||||||
> .followed {
|
> .info-badges {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 12px;
|
top: 12px;
|
||||||
left: 12px;
|
left: 12px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
|
||||||
|
> * {
|
||||||
padding: 4px 8px;
|
padding: 4px 8px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background: rgba(0, 0, 0, 0.7);
|
background: rgba(0, 0, 0, 0.7);
|
||||||
font-size: 0.7em;
|
font-size: 0.7em;
|
||||||
border-radius: 6px;
|
border-radius: var(--radius);
|
||||||
|
}
|
||||||
|
|
||||||
|
> :not(:first-child) {
|
||||||
|
margin-left: 8px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
> .actions {
|
> .actions {
|
||||||
|
|
Loading…
Reference in a new issue