aboutsummaryrefslogtreecommitdiff
path: root/src/components/notifications/notifications.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/notifications/notifications.vue
parent81b08498893b37fe58bdcde343b29396562dbe4c (diff)
Prepare for i18n.
Diffstat (limited to 'src/components/notifications/notifications.vue')
-rw-r--r--src/components/notifications/notifications.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/notifications/notifications.vue b/src/components/notifications/notifications.vue
index 2ad7c488..dfc7b0c9 100644
--- a/src/components/notifications/notifications.vue
+++ b/src/components/notifications/notifications.vue
@@ -3,8 +3,8 @@
<div class="panel panel-default base00-background">
<div class="panel-heading base01-background base04">
<span class="unseen-count" v-if="unseenCount">{{unseenCount}}</span>
- Notifications
- <button @click.prevent="markAsSeen" class="base05 base01-background read-button">Read!</button>
+ {{$t('notifications.notifications')}}
+ <button @click.prevent="markAsSeen" class="base05 base01-background read-button">{{$t('notifications.read')}}</button>
</div>
<div class="panel-body base03-border">
<div v-for="notification in visibleNotifications" :key="notification" class="notification" :class='{"unseen": !notification.seen}'>
@@ -44,7 +44,7 @@
<i class="fa icon-user-plus lit"></i>
</h1>
<div>
- <router-link :to="{ name: 'user-profile', params: { id: notification.action.user.id } }">@{{ notification.action.user.screen_name }}</router-link> followed you
+ <router-link :to="{ name: 'user-profile', params: { id: notification.action.user.id } }">@{{ notification.action.user.screen_name }}</router-link> {{$t('notifications.followed_you')}}
</div>
</div>
</div>