mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-22 14:05:12 +00:00
[Client] Resolve #3500
This commit is contained in:
parent
65d0dbb7d8
commit
20c0690352
8 changed files with 0 additions and 76 deletions
|
@ -171,7 +171,6 @@ common:
|
|||
polls: "アンケート"
|
||||
post-form: "投稿フォーム"
|
||||
server: "サーバー情報"
|
||||
donation: "寄付のお願い"
|
||||
nav: "ナビゲーション"
|
||||
tips: "ヒント"
|
||||
hashtags: "ハッシュタグ"
|
||||
|
@ -530,10 +529,6 @@ common/views/widgets/calendar.vue:
|
|||
this-month: "今月:"
|
||||
this-year: "今年:"
|
||||
|
||||
common/views/widgets/donation.vue:
|
||||
title: "寄付のお願い"
|
||||
text: "Misskeyの運営にはドメイン、サーバー等のコストが掛かります。Misskeyは広告を掲載したりしないため、収入を皆様からの寄付に頼っています。もしご興味があれば、{}までご連絡ください。ご協力ありがとうございます。"
|
||||
|
||||
common/views/widgets/photo-stream.vue:
|
||||
title: "フォトストリーム"
|
||||
no-photos: "写真はありません"
|
||||
|
|
|
@ -1,56 +0,0 @@
|
|||
<template>
|
||||
<div>
|
||||
<mk-widget-container :show-header="false">
|
||||
<article class="dolfvtibguprpxxhfndqaosjitixjohx">
|
||||
<h1><fa icon="heart"/>{{ $t('title') }}</h1>
|
||||
<p v-if="meta">
|
||||
{{ this.$t('text').substr(0, this.$t('text').indexOf('{')) }}
|
||||
<a :href="'mailto:' + meta.maintainer.email">{{ meta.maintainer.name }}</a>
|
||||
{{ this.$t('text').substr(this.$t('text').indexOf('}') + 1) }}
|
||||
</p>
|
||||
</article>
|
||||
</mk-widget-container>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import define from '../../../common/define-widget';
|
||||
import i18n from '../../../i18n';
|
||||
|
||||
export default define({
|
||||
name: 'donation'
|
||||
}).extend({
|
||||
i18n: i18n('common/views/widgets/donation.vue'),
|
||||
data() {
|
||||
return {
|
||||
meta: null
|
||||
};
|
||||
},
|
||||
created() {
|
||||
this.$root.getMeta().then(meta => {
|
||||
this.meta = meta;
|
||||
});
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="stylus" scoped>
|
||||
.dolfvtibguprpxxhfndqaosjitixjohx
|
||||
padding 20px
|
||||
background var(--donationBg)
|
||||
color var(--donationFg)
|
||||
|
||||
> h1
|
||||
margin 0 0 5px 0
|
||||
font-size 1em
|
||||
|
||||
> [data-icon]
|
||||
margin-right 0.25em
|
||||
|
||||
> p
|
||||
display block
|
||||
z-index 1
|
||||
margin 0
|
||||
font-size 0.8em
|
||||
|
||||
</style>
|
|
@ -11,7 +11,6 @@ import wCalendar from './calendar.vue';
|
|||
import wPhotoStream from './photo-stream.vue';
|
||||
import wSlideshow from './slideshow.vue';
|
||||
import wTips from './tips.vue';
|
||||
import wDonation from './donation.vue';
|
||||
import wNav from './nav.vue';
|
||||
import wHashtags from './hashtags.vue';
|
||||
|
||||
|
@ -21,7 +20,6 @@ Vue.component('mkw-calendar', wCalendar);
|
|||
Vue.component('mkw-photo-stream', wPhotoStream);
|
||||
Vue.component('mkw-slideshow', wSlideshow);
|
||||
Vue.component('mkw-tips', wTips);
|
||||
Vue.component('mkw-donation', wDonation);
|
||||
Vue.component('mkw-broadcast', wBroadcast);
|
||||
Vue.component('mkw-server', wServer);
|
||||
Vue.component('mkw-posts-monitor', wPostsMonitor);
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
<option value="hashtags">{{ $t('@.widgets.hashtags') }}</option>
|
||||
<option value="posts-monitor">{{ $t('@.widgets.posts-monitor') }}</option>
|
||||
<option value="server">{{ $t('@.widgets.server') }}</option>
|
||||
<option value="donation">{{ $t('@.widgets.donation') }}</option>
|
||||
<option value="nav">{{ $t('@.widgets.nav') }}</option>
|
||||
<option value="tips">{{ $t('@.widgets.tips') }}</option>
|
||||
</select>
|
||||
|
@ -95,7 +94,6 @@ const defaultDesktopHomeWidgets = {
|
|||
'users',
|
||||
'polls',
|
||||
'server',
|
||||
'donation',
|
||||
'nav',
|
||||
'tips'
|
||||
]
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
<option value="hashtags">{{ $t('@.widgets.hashtags') }}</option>
|
||||
<option value="posts-monitor">{{ $t('@.widgets.posts-monitor') }}</option>
|
||||
<option value="server">{{ $t('@.widgets.server') }}</option>
|
||||
<option value="donation">{{ $t('@.widgets.donation') }}</option>
|
||||
<option value="nav">{{ $t('@.widgets.nav') }}</option>
|
||||
<option value="tips">{{ $t('@.widgets.tips') }}</option>
|
||||
</select>
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
<option value="version">{{ $t('@.widgets.version') }}</option>
|
||||
<option value="server">{{ $t('@.widgets.server') }}</option>
|
||||
<option value="memo">{{ $t('@.widgets.memo') }}</option>
|
||||
<option value="donation">{{ $t('@.widgets.donation') }}</option>
|
||||
<option value="nav">{{ $t('@.widgets.nav') }}</option>
|
||||
<option value="tips">{{ $t('@.widgets.tips') }}</option>
|
||||
</select>
|
||||
|
@ -89,9 +88,6 @@ export default Vue.extend({
|
|||
}, {
|
||||
name: 'photo-stream',
|
||||
id: 'd', data: {}
|
||||
}, {
|
||||
name: 'donation',
|
||||
id: 'e', data: {}
|
||||
}, {
|
||||
name: 'nav',
|
||||
id: 'f', data: {}
|
||||
|
|
|
@ -111,9 +111,6 @@
|
|||
announcementsTitle: '#539eff',
|
||||
announcementsText: '#fff',
|
||||
|
||||
donationBg: '#5d5242',
|
||||
donationFg: '#e4dbce',
|
||||
|
||||
googleSearchBg: 'rgba(0, 0, 0, 0.2)',
|
||||
googleSearchFg: '#dee4e8',
|
||||
googleSearchBorder: 'rgba(255, 255, 255, 0.2)',
|
||||
|
|
|
@ -111,9 +111,6 @@
|
|||
announcementsTitle: '#4078c0',
|
||||
announcementsText: '#57616f',
|
||||
|
||||
donationBg: '#fbead4',
|
||||
donationFg: '#777d71',
|
||||
|
||||
googleSearchBg: '#fff',
|
||||
googleSearchFg: '#55595c',
|
||||
googleSearchBorder: 'rgba(0, 0, 0, 0.2)',
|
||||
|
|
Loading…
Reference in a new issue