mirror of
https://github.com/FreeTubeApp/FreeTube
synced 2024-11-22 09:56:23 +01:00
Add page-specific titles for each feed type
This commit is contained in:
parent
1831912817
commit
c55eebe3da
@ -9,12 +9,12 @@
|
||||
v-if="lastRefreshTimestamp"
|
||||
class="lastRefreshTimestamp"
|
||||
>
|
||||
{{ $t('Subscriptions.Feed last updated', { date: lastRefreshTimestamp }) }}
|
||||
{{ $t('Feed.Feed Last Updated', { feedName: title, date: lastRefreshTimestamp }) }}
|
||||
</p>
|
||||
<ft-icon-button
|
||||
:icon="['fas', 'sync']"
|
||||
class="refreshButton"
|
||||
:title="title"
|
||||
:title="$t('Feed.Refresh Feed', { subscriptionName: title })"
|
||||
:size="12"
|
||||
theme="primary"
|
||||
@click="$emit('click')"
|
||||
|
@ -7,6 +7,7 @@
|
||||
:is-community="true"
|
||||
:initial-data-limit="20"
|
||||
:last-refresh-timestamp="lastCommunityRefreshTimestamp"
|
||||
:title="$t('Global.Community')"
|
||||
@refresh="loadPostsForSubscriptionsFromRemote"
|
||||
/>
|
||||
</template>
|
||||
|
@ -5,6 +5,7 @@
|
||||
:error-channels="errorChannels"
|
||||
:attempted-fetch="attemptedFetch"
|
||||
:last-refresh-timestamp="lastLiveRefreshTimestamp"
|
||||
:title="$t('Global.Live')"
|
||||
@refresh="loadVideosForSubscriptionsFromRemote"
|
||||
/>
|
||||
</template>
|
||||
|
@ -5,6 +5,7 @@
|
||||
:error-channels="errorChannels"
|
||||
:attempted-fetch="attemptedFetch"
|
||||
:last-refresh-timestamp="lastShortRefreshTimestamp"
|
||||
:title="$t('Global.Shorts')"
|
||||
@refresh="loadVideosForSubscriptionsFromRemote"
|
||||
/>
|
||||
</template>
|
||||
|
@ -47,6 +47,10 @@ export default defineComponent({
|
||||
lastRefreshTimestamp: {
|
||||
type: String,
|
||||
required: true
|
||||
},
|
||||
title: {
|
||||
type: String,
|
||||
required: true
|
||||
}
|
||||
},
|
||||
data: function () {
|
||||
|
@ -58,7 +58,7 @@
|
||||
<ft-refresh-widget
|
||||
v-if="!isLoading"
|
||||
:last-refresh-timestamp="lastRefreshTimestamp"
|
||||
:title="$t('Subscriptions.Refresh Subscriptions')"
|
||||
:title="title"
|
||||
@click="$emit('refresh')"
|
||||
/>
|
||||
</div>
|
||||
|
@ -5,6 +5,7 @@
|
||||
:error-channels="errorChannels"
|
||||
:last-refresh-timestamp="lastVideoRefreshTimestamp"
|
||||
:attempted-fetch="attemptedFetch"
|
||||
:title="$t('Global.Videos')"
|
||||
@refresh="loadVideosForSubscriptionsFromRemote"
|
||||
/>
|
||||
</template>
|
||||
|
@ -16,7 +16,7 @@
|
||||
<ft-refresh-widget
|
||||
v-if="!isLoading"
|
||||
:last-refresh-timestamp="lastPopularRefreshTimestamp"
|
||||
:title="$t('Refresh Most Popular')"
|
||||
:title="$t('Most Popular')"
|
||||
@click="fetchPopularInfo"
|
||||
/>
|
||||
</div>
|
||||
|
@ -88,7 +88,7 @@
|
||||
<ft-refresh-widget
|
||||
v-if="!isLoading"
|
||||
:last-refresh-timestamp="lastTrendingRefreshTimestamp"
|
||||
:title="$t('Refresh Trending')"
|
||||
:title="$t('Trending.Trending')"
|
||||
@click="getTrendingInfo(true)"
|
||||
/>
|
||||
</div>
|
||||
|
@ -106,8 +106,6 @@ Subscriptions:
|
||||
Empty Channels: Your subscribed channels currently does not have any videos.
|
||||
'Getting Subscriptions. Please wait.': Getting Subscriptions. Please wait.
|
||||
Empty Posts: Your subscribed channels currently do not have any posts.
|
||||
Feed last updated: 'Feed last updated: {date}'
|
||||
Refresh Subscriptions: Refresh Subscriptions
|
||||
Load More Videos: Load More Videos
|
||||
Load More Posts: Load More Posts
|
||||
Subscriptions Tabs: Subscriptions Tabs
|
||||
@ -130,8 +128,9 @@ Trending:
|
||||
Movies: Movies
|
||||
Trending Tabs: Trending Tabs
|
||||
Most Popular: Most Popular
|
||||
Refresh Most Popular: Refresh Most Popular
|
||||
Refresh Trending: Refresh Trending
|
||||
Feed:
|
||||
Feed Last Updated: '{feedName} feed last updated: {date}'
|
||||
Refresh Feed: Refresh {subscriptionName}
|
||||
Playlists: Playlists
|
||||
User Playlists:
|
||||
Your Playlists: Your Playlists
|
||||
|
Loading…
Reference in New Issue
Block a user