better locale & style

This commit is contained in:
naskya 2023-07-08 22:29:36 +00:00
parent 5fca02ade1
commit 88e14729c2
3 changed files with 5 additions and 4 deletions

View file

@ -1114,8 +1114,8 @@ isPatron: "Calckey Patron"
reactionPickerSkinTone: "Preferred emoji skin tone" reactionPickerSkinTone: "Preferred emoji skin tone"
enableServerMachineStats: "Enable server hardware statistics" enableServerMachineStats: "Enable server hardware statistics"
enableIdenticonGeneration: "Enable Identicon generation" enableIdenticonGeneration: "Enable Identicon generation"
showPopup: "Notify users about this announcement with a popup" showPopup: "Notify users with popup"
isGoodNews: "This is a good news" showWithSparkles: "Show with sparkles"
youHaveUnreadAnnouncements: "You have unread announcements" youHaveUnreadAnnouncements: "You have unread announcements"
_sensitiveMediaDetection: _sensitiveMediaDetection:

View file

@ -981,7 +981,7 @@ noGraze: "ブラウザの拡張機能「Graze for Mastodon」は、Calckeyの動
enableServerMachineStats: "サーバーのマシン情報を公開する" enableServerMachineStats: "サーバーのマシン情報を公開する"
enableIdenticonGeneration: "ユーザーごとのIdenticon生成を有効にする" enableIdenticonGeneration: "ユーザーごとのIdenticon生成を有効にする"
showPopup: "ポップアップを表示してユーザーに知らせる" showPopup: "ポップアップを表示してユーザーに知らせる"
isGoodNews: "これは良いお知らせです" showWithSparcles: "タイトルをキラキラさせる"
youHaveUnreadAnnouncements: "未読のお知らせがあります" youHaveUnreadAnnouncements: "未読のお知らせがあります"
_sensitiveMediaDetection: _sensitiveMediaDetection:

View file

@ -2,7 +2,7 @@
<MkModal ref="modal" :z-priority="'middle'" @closed="$emit('closed')"> <MkModal ref="modal" :z-priority="'middle'" @closed="$emit('closed')">
<div :class="$style.root"> <div :class="$style.root">
<div :class="$style.title"> <div :class="$style.title">
<MkSparkle v-if="isGoodNews">{{ title }}</MkSparkle> <MkSparkle v-if="showWithSparcles">{{ title }}</MkSparkle>
<p v-else>{{ title }}</p> <p v-else>{{ title }}</p>
</div> </div>
<Mfm :text="text" /> <Mfm :text="text" />
@ -54,6 +54,7 @@ const gotIt = () => {
border-radius: var(--radius); border-radius: var(--radius);
> img { > img {
border-radius: 10px;
max-height: 100%; max-height: 100%;
max-width: 100%; max-width: 100%;
} }