aboutsummaryrefslogtreecommitdiff
path: root/src/components/timeline/timeline.vue
diff options
context:
space:
mode:
authorRoger Braun <rbraun@Bobble.local>2017-11-07 15:14:37 +0100
committerRoger Braun <rbraun@Bobble.local>2017-11-07 15:14:37 +0100
commit7516cd859f0c9bc078548f801cbb6a63b72ced97 (patch)
tree0bf5186d8739bad07c1a3b43b7d84d1a5fe3b104 /src/components/timeline/timeline.vue
parent81b08498893b37fe58bdcde343b29396562dbe4c (diff)
Prepare for i18n.
Diffstat (limited to 'src/components/timeline/timeline.vue')
-rw-r--r--src/components/timeline/timeline.vue12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/components/timeline/timeline.vue b/src/components/timeline/timeline.vue
index f36770d6..01f330c2 100644
--- a/src/components/timeline/timeline.vue
+++ b/src/components/timeline/timeline.vue
@@ -5,20 +5,20 @@
{{title}}
</div>
<button @click.prevent="showNewStatuses" class="base05 base01-background loadmore-button" v-if="timeline.newStatusCount > 0 && !timelineError">
- Show new ({{timeline.newStatusCount}})
+ {{$t('timeline.show_new')}} ({{timeline.newStatusCount}})
</button>
<div @click.prevent class="base06 error loadmore-text" v-if="timelineError">
- Error fetching updates
+ {{$t('timeline.error_fetching')}}
</div>
<div @click.prevent class="base04 base01-background loadmore-text" v-if="!timeline.newStatusCount > 0 && !timelineError">
- Up-to-date
+ {{$t('timeline.up_to_date')}}
</div>
</div>
<div class="panel-body">
<div class="timeline">
<status-or-conversation v-for="status in timeline.visibleStatuses" :key="status.id" v-bind:statusoid="status"></status-or-conversation>
<a href="#" v-on:click.prevent='fetchOlderStatuses()' v-if="!timeline.loading">
- <div class="base01-background base03-border new-status-notification text-center">Load older statuses.</div>
+ <div class="base01-background base03-border new-status-notification text-center">{{$t('timeline.load_older')}}</div>
</a>
<div class="base01-background base03-border new-status-notification text-center" v-else>...</div>
</div>
@@ -27,7 +27,7 @@
<div class="timeline panel panel-default" v-else-if="viewing == 'followers'">
<div class="panel-heading timeline-heading base01-background base04">
<div class="title">
- Followers
+ {{$t('user_card.followers')}}
</div>
</div>
<div class="panel-body">
@@ -39,7 +39,7 @@
<div class="timeline panel panel-default" v-else-if="viewing == 'friends'">
<div class="panel-heading timeline-heading base01-background base04">
<div class="title">
- Following
+ {{$t('user_card.followees')}}
</div>
</div>
<div class="panel-body">